Author: manuel
Date: 2005-02-21 14:19:30 -0700 (Mon, 21 Feb 2005)
New Revision: 4665
Modified:
trunk/BOOK/Makefile
trunk/BOOK/stylesheets/lfs-pdf.xsl
Log:
Changed paper size to letter. Fixed Makefile.
Modified: trunk/BOOK/Makefile
===================================================================
--- trunk/BOOK/Makefile 2005-02-21 20:53:49 UTC (rev 4664)
+++ trunk/BOOK/Makefile 2005-02-21 21:19:30 UTC (rev 4665)
@@ -33,27 +33,23 @@
sed -i -e "[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL PROTECTED]"
$$filename; \
done;
-#
-# This is the old "pdf" target. The old "print" target below has been
-# renamed to "pdf" and will be used. This commented out previous_pdf
-# target can be removed eventually. It'll remain here for a bit for
-# historical reasons
-#
-#previous_pdf:
-# xsltproc --xinclude --nonet --output $(BASEDIR)/lfs.fo
stylesheets/lfs-pdf.xsl \
-# index.xml
-# sed -i -e "s/inherit/all/" $(BASEDIR)/lfs.fo
-# fop.sh $(BASEDIR)/lfs.fo $(BASEDIR)/$(PDF_OUTPUT)
-# rm lfs.fo
+# Uncomment this for testing and stable versions
+#pdf:
+# xsltproc --xinclude --nonet --stringparam profile.condition pdf \
+# --output $(BASEDIR)/lfs-pdf.xml stylesheets/lfs-profile.xsl
index.xml
+# xsltproc --nonet --output $(BASEDIR)/lfs-pdf.fo stylesheets/lfs-pdf.xsl
\
+# $(BASEDIR)/lfs-pdf.xml
+# sed -i -e "s/inherit/all/" $(BASEDIR)/lfs-pdf.fo
+# fop.sh $(BASEDIR)/lfs-pdf.fo $(BASEDIR)/$(PDF_OUTPUT)
+# rm $(BASEDIR)/lfs-pdf.xml $(BASEDIR)/lfs-pdf.fo
+# Remove this for testing and stable versions
pdf:
- xsltproc --xinclude --nonet --stringparam profile.condition pdf \
- --output $(BASEDIR)/lfs-pdf.xml stylesheets/lfs-profile.xsl
index.xml
- xsltproc --nonet --output $(BASEDIR)/lfs-pdf.fo stylesheets/lfs-pdf.xsl
\
- $(BASEDIR)/lfs-pdf.xml
+ xsltproc --xinclude --nonet --output $(BASEDIR)/lfs-pdf.fo \
+ stylesheets/lfs-pdf.xsl index.xml
sed -i -e "s/inherit/all/" $(BASEDIR)/lfs-pdf.fo
fop.sh $(BASEDIR)/lfs-pdf.fo $(BASEDIR)/$(PDF_OUTPUT)
- rm $(BASEDIR)/lfs-pdf.xml $(BASEDIR)/lfs-pdf.fo
+ rm $(BASEDIR)/lfs-pdf.fo
nochunks:
xsltproc --xinclude --nonet -stringparam profile.condition html \
Modified: trunk/BOOK/stylesheets/lfs-pdf.xsl
===================================================================
--- trunk/BOOK/stylesheets/lfs-pdf.xsl 2005-02-21 20:53:49 UTC (rev 4664)
+++ trunk/BOOK/stylesheets/lfs-pdf.xsl 2005-02-21 21:19:30 UTC (rev 4665)
@@ -18,12 +18,16 @@
<!-- This file contains our localization strings (for
internationalization) -->
<xsl:param name="local.l10n.xml" select="document('lfs-l10n.xml')"/>
+
+ <!-- Standart paper size -->
+ <xsl:param name="paper.type" select="'letter'"/>
- <!-- Paper size required by the publisher -->
+ <!-- Paper size required by the publisher
<xsl:param name="paper.type" select="'Customized'"/>
<xsl:param name="page.width">7.25in</xsl:param>
<xsl:param name="page.height">9.25in</xsl:param>
-
+ -->
+
<!-- Printing Style -->
<xsl:param name="double.sided" select="1"/>
<xsl:param name="hyphenate">false</xsl:param>
--
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page