r4145 - in branches/testing/BOOK: . chapter01 chapter05 prologue

manuel at linuxfromscratch.org manuel at linuxfromscratch.org
Thu Sep 9 11:36:27 PDT 2004


Author: manuel
Date: 2004-09-09 12:36:25 -0600 (Thu, 09 Sep 2004)
New Revision: 4145

Modified:
   branches/testing/BOOK/Makefile
   branches/testing/BOOK/chapter01/changelog.xml
   branches/testing/BOOK/chapter05/adjusting.xml
   branches/testing/BOOK/prologue/typography.xml
Log:
Added support to can have
different contextual phrases for HTML or PDF output.

Modified: branches/testing/BOOK/Makefile
===================================================================
--- branches/testing/BOOK/Makefile	2004-09-09 17:33:52 UTC (rev 4144)
+++ branches/testing/BOOK/Makefile	2004-09-09 18:36:25 UTC (rev 4145)
@@ -5,9 +5,12 @@
 XSLROOTDIR=/usr/share/xml/docbook/xsl-stylesheets-current
 
 lfs:
-	xsltproc --xinclude --nonet -stringparam chunk.quietly $(CHUNK_QUIET) \
+	xsltproc --xinclude --nonet -stringparam profile.condition html \
+	  --output $(BASEDIR)/lfs-html.xml stylesheets/lfs-profile.xsl index.xml
+
+	xsltproc --nonet -stringparam chunk.quietly $(CHUNK_QUIET) \
 	  -stringparam base.dir $(BASEDIR)/ stylesheets/lfs-chunked.xsl \
-	  index.xml
+	  $(BASEDIR)/lfs-html.xml
 
 	if [ ! -e $(BASEDIR)/stylesheets ]; then \
 	  mkdir -p $(BASEDIR)/stylesheets; \
@@ -24,6 +27,8 @@
 	cd $(BASEDIR)/; sed -i -e "s at ../images at images@g" \
 	  *.html
 
+	rm $(BASEDIR)/lfs-html.xml
+
 	sh goTidy $(BASEDIR)/
 
 #
@@ -40,7 +45,7 @@
 #	rm lfs.fo
 
 pdf:
-	xsltproc --xinclude --nonet --stringparam profile.condition print \
+	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

Modified: branches/testing/BOOK/chapter01/changelog.xml
===================================================================
--- branches/testing/BOOK/chapter01/changelog.xml	2004-09-09 17:33:52 UTC (rev 4144)
+++ branches/testing/BOOK/chapter01/changelog.xml	2004-09-09 18:36:25 UTC (rev 4145)
@@ -84,6 +84,9 @@
 </itemizedlist>
 </listitem>
 
+<listitem><para>September 9th, 2004 [manuel]: Added support to can have
+different contextual phrases for HTML or PDF output.</para></listitem>
+
 <listitem><para>September 9th, 2004 [manuel]: Chapter 6 - Moved the para
 about the missing /etc/fstab from kernfs.xml to devices.xml.</para></listitem>
 

Modified: branches/testing/BOOK/chapter05/adjusting.xml
===================================================================
--- branches/testing/BOOK/chapter05/adjusting.xml	2004-09-09 17:33:52 UTC (rev 4144)
+++ branches/testing/BOOK/chapter05/adjusting.xml	2004-09-09 18:36:25 UTC (rev 4145)
@@ -42,8 +42,10 @@
 mv -f tempspecfile $SPECFILE &&
 unset SPECFILE</userinput></screen>
 
-<para>It is recommended that the above command be copy-and-pasted in
-order to ensure accuracy. Alternatively, the specs file can be
+<para><phrase condition="html">It is recommended that the above command 
+be copy-and-pasted in order to ensure accuracy. </phrase>
+<phrase condition="pdf">Be very careful when typing the above command. </phrase>
+Alternatively, the specs file can be
 edited by hand. This is done by replacing every occurrence of
 <quote>/lib/ld-linux.so.2</quote> with
 <quote>/tools/lib/ld-linux.so.2</quote></para>

Modified: branches/testing/BOOK/prologue/typography.xml
===================================================================
--- branches/testing/BOOK/prologue/typography.xml	2004-09-09 17:33:52 UTC (rev 4144)
+++ branches/testing/BOOK/prologue/typography.xml	2004-09-09 18:36:25 UTC (rev 4145)
@@ -52,7 +52,7 @@
 <para><replaceable>[REPLACED TEXT]</replaceable></para>
 
 <para>This format is used to encapsulate text that is not to be typed
-as seen or copy-and-pasted.</para>
+as seen<phrase condition="html"> or copy-and-pasted</phrase>.</para>
 
 </sect1>
 




More information about the lfs-book mailing list