Changed paper size to letter. Fixed Makefile.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@4665 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
Manuel Canales Esparcia 2005-02-21 21:19:30 +00:00
parent 845846e02d
commit 395f4157a8
2 changed files with 19 additions and 19 deletions

View File

@ -33,27 +33,23 @@ lfs:
sed -i -e "s@text/html@application/xhtml+xml@g" $$filename; \ sed -i -e "s@text/html@application/xhtml+xml@g" $$filename; \
done; done;
# # Uncomment this for testing and stable versions
# This is the old "pdf" target. The old "print" target below has been #pdf:
# renamed to "pdf" and will be used. This commented out previous_pdf # xsltproc --xinclude --nonet --stringparam profile.condition pdf \
# target can be removed eventually. It'll remain here for a bit for # --output $(BASEDIR)/lfs-pdf.xml stylesheets/lfs-profile.xsl index.xml
# historical reasons # xsltproc --nonet --output $(BASEDIR)/lfs-pdf.fo stylesheets/lfs-pdf.xsl \
# # $(BASEDIR)/lfs-pdf.xml
#previous_pdf: # sed -i -e "s/inherit/all/" $(BASEDIR)/lfs-pdf.fo
# xsltproc --xinclude --nonet --output $(BASEDIR)/lfs.fo stylesheets/lfs-pdf.xsl \ # fop.sh $(BASEDIR)/lfs-pdf.fo $(BASEDIR)/$(PDF_OUTPUT)
# index.xml # rm $(BASEDIR)/lfs-pdf.xml $(BASEDIR)/lfs-pdf.fo
# sed -i -e "s/inherit/all/" $(BASEDIR)/lfs.fo
# fop.sh $(BASEDIR)/lfs.fo $(BASEDIR)/$(PDF_OUTPUT)
# rm lfs.fo
# Remove this for testing and stable versions
pdf: pdf:
xsltproc --xinclude --nonet --stringparam profile.condition pdf \ xsltproc --xinclude --nonet --output $(BASEDIR)/lfs-pdf.fo \
--output $(BASEDIR)/lfs-pdf.xml stylesheets/lfs-profile.xsl index.xml stylesheets/lfs-pdf.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 sed -i -e "s/inherit/all/" $(BASEDIR)/lfs-pdf.fo
fop.sh $(BASEDIR)/lfs-pdf.fo $(BASEDIR)/$(PDF_OUTPUT) fop.sh $(BASEDIR)/lfs-pdf.fo $(BASEDIR)/$(PDF_OUTPUT)
rm $(BASEDIR)/lfs-pdf.xml $(BASEDIR)/lfs-pdf.fo rm $(BASEDIR)/lfs-pdf.fo
nochunks: nochunks:
xsltproc --xinclude --nonet -stringparam profile.condition html \ xsltproc --xinclude --nonet -stringparam profile.condition html \

View File

@ -18,12 +18,16 @@
<!-- This file contains our localization strings (for internationalization) --> <!-- This file contains our localization strings (for internationalization) -->
<xsl:param name="local.l10n.xml" select="document('lfs-l10n.xml')"/> <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="paper.type" select="'Customized'"/>
<xsl:param name="page.width">7.25in</xsl:param> <xsl:param name="page.width">7.25in</xsl:param>
<xsl:param name="page.height">9.25in</xsl:param> <xsl:param name="page.height">9.25in</xsl:param>
-->
<!-- Printing Style --> <!-- Printing Style -->
<xsl:param name="double.sided" select="1"/> <xsl:param name="double.sided" select="1"/>
<xsl:param name="hyphenate">false</xsl:param> <xsl:param name="hyphenate">false</xsl:param>