[IPSUR-commits] r154 - in www/book: . download

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Thu Jan 21 17:20:21 CET 2010


Author: gkerns
Date: 2010-01-21 17:20:20 +0100 (Thu, 21 Jan 2010)
New Revision: 154

Added:
   www/book/download/generateIPSUR
Modified:
   www/book/downloads.php
Log:
small changes


Added: www/book/download/generateIPSUR
===================================================================
--- www/book/download/generateIPSUR	                        (rev 0)
+++ www/book/download/generateIPSUR	2010-01-21 16:20:20 UTC (rev 154)
@@ -0,0 +1,13 @@
+#!/bin/bash
+
+# Make sure to change colors on hyperlinks and Sweave to black
+
+R CMD Sweave IPSUR.Rnw
+latex IPSUR.tex
+bibtex IPSUR
+makeindex IPSUR
+latex IPSUR.tex
+latex IPSUR.tex
+dvips IPSUR
+gs -dSAFER -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sPAPERSIZE=a4 -dPDFSETTINGS=/printer -dCompatibilityLevel=1.3 -dMaxSubsetPct=100 -dSubsetFonts=true -dEmbedAllFonts=true -sOutputFile=IPSUR.pdf IPSUR.ps
+

Modified: www/book/downloads.php
===================================================================
--- www/book/downloads.php	2010-01-21 15:41:15 UTC (rev 153)
+++ www/book/downloads.php	2010-01-21 16:20:20 UTC (rev 154)
@@ -44,25 +44,17 @@
 </p>
 
 <p>
-If you would like to print your own copy of the <strong>published</strong> edition of <span class="name">IPSUR</span> then you may want to use the following publication-ready PDF of the book.  It has been typeset in black-and-white to optimize the display of the code and figures. All of the fonts have been embedded so your printer should not have trouble with any of the symbols.
+If you would like to print your own copy of the <strong>published</strong> edition of <span class="name">IPSUR</span> then you may want to use the following publication-ready PDF of the book.  It has been typeset in black-and-white to optimize the code display. All of the fonts have been embedded so your printer should not have trouble with any of the symbols.
 </p>
 
 <p>
 <div align="center">
 	<strong>Publisher Quality PDF from Lulu.com</strong><br />
-	<a href="http://www.lulu.com/product/download/introduction-to-probability-and-statistics-using-r/6272282">IPSUR.pdf</a>
+	<a href="http://www.lulu.com/product/download/introduction-to-probability-and-statistics-using-r/6272282">Download page</a>
 </div>
 </p>
 
 <p>
-You can print your own copy of the <em>development</em> edition of <span class="name">IPSUR</span>, but I do not recommend it for several reasons.  First of all, the electronic copy is in color which does not show up well on black-and-white paper.  Second of all, the electronic copy is optimized for web viewing which means that not all of the fonts are embedded - your printer may not render all of the symbols correctly.  Finally, unless you have a very fancy printer you will be printing only on one side of the page - which wastes paper.
-</p>
-
-<p>
-If you are determined to print your own copy of the <span class="name">IPSUR</span> development edition then I recommend you download the <span style="text-decoration: none">Sweave</span> source, compile your own PDF in black-and-white, and make sure to embed all of the fonts.
-</p>
-
-<p>
 If you would like a transparent copy of the published edition of <span class="name">IPSUR</span>, then download the following <span style="text-decoration: none">.zip</span> file.  It contains all of the LaTeX source code, all of the figures (in <span style="text-decoration: none">.pdf</span> and <span style="text-decoration: none">.eps</span>), and the ancillary materials such as <span style="text-decoration: none">IPSUR.R</span> and <span style="text-decoration: none">IPSUR.RData</span>.  This document can be used (in principle) to generate your own personal copy of the published edition of <span class="name">IPSUR</span>, and you are FREE to modify and distribute your own version of it under the constraints of the GNU-FDL.
 </p>
 
@@ -85,6 +77,15 @@
 </p>
 
 You will also need the <a href="download/IPSUR.bib">BibTeX</a> file.
+
+<p>
+You are free to print your own copy of the <em>development</em> edition of <span class="name">IPSUR</span>, but I recommend against it for several reasons.  First of all, the electronic copy is in color which does not show up well on black-and-white paper.  Second of all, the electronic copy is optimized for web viewing which means that not all of the fonts are embedded in the PDF - your printer may not render all of the symbols correctly.  Finally, unless you have a very fancy printer you will be printing only on one side of the page - which wastes paper.
+</p>
+
+<p>
+If you would like to print your own copy of the <span class="name">IPSUR</span> development edition then the best approach would be to download the <span style="text-decoration: none">Sweave</span> source, compile your own PDF in black-and-white, and make sure to embed all of the fonts. <a href="download/generateIPSUR">Here</a> is a script that I use to generate <span class="name">IPSUR</span> for publication.
+</p>
+
 <!--END: Page Content-->
 
 <!--BEGIN: Footer-->



More information about the IPSUR-commits mailing list