Author: pierre
Date: Thu Jan 23 13:00:26 2020
New Revision: 11733
Log:
Use current xsl stylesheets. Fixes building nochunks. Thanks to Scott Andrews
for report
Modified:
trunk/editor-manual/Makefile
trunk/editor-manual/stylesheets/lfs-chunked.xsl
trunk/editor-manual/stylesheets/lfs-chunked2.xsl
trunk/editor-manual/stylesheets/lfs-nochunks.xsl
trunk/editor-manual/stylesheets/lfs-pdf.xsl
trunk/editor-manual/stylesheets/lfs-profile.xsl
trunk/editor-manual/tidy.conf
Modified: trunk/editor-manual/Makefile
==============================================================================
--- trunk/editor-manual/Makefile Wed Jan 22 14:29:53 2020 (r11732)
+++ trunk/editor-manual/Makefile Thu Jan 23 13:00:26 2020 (r11733)
@@ -2,7 +2,7 @@
CHUNK_QUIET=1
PDF_OUTPUT=LFS-EDITORS-GUIDE.pdf
NOCHUNKS_OUTPUT=LFS-EDITORS-GUIDE.html
-XSLROOTDIR=/usr/share/xml/docbook/xsl-stylesheets-current
+XSLROOTDIR=/usr/share/xml/docbook/stylesheet/docbook-xsl
lfs:
xsltproc --xinclude --nonet -stringparam chunk.quietly $(CHUNK_QUIET) \
Modified: trunk/editor-manual/stylesheets/lfs-chunked.xsl
==============================================================================
--- trunk/editor-manual/stylesheets/lfs-chunked.xsl Wed Jan 22 14:29:53
2020 (r11732)
+++ trunk/editor-manual/stylesheets/lfs-chunked.xsl Thu Jan 23 13:00:26
2020 (r11733)
@@ -5,8 +5,8 @@
version="1.0">
<xsl:import href="lfs-chunked2.xsl"/>
- <xsl:import
href="http://docbook.sourceforge.net/release/xsl/1.69.1/xhtml/chunk-common.xsl"/>
- <xsl:include
href="http://docbook.sourceforge.net/release/xsl/1.69.1/xhtml/manifest.xsl"/>
+ <xsl:import
href="http://docbook.sourceforge.net/release/xsl/current/xhtml/chunk-common.xsl"/>
+ <xsl:include
href="http://docbook.sourceforge.net/release/xsl/current/xhtml/manifest.xsl"/>
<!-- From the original chunk.xsl file:
@@ -24,7 +24,7 @@
Voila! (Man I hope we can do this better in XSLT 2.0) -->
- <xsl:include
href="http://docbook.sourceforge.net/release/xsl/1.69.1/xhtml/profile-chunk-code.xsl"/>
+ <xsl:include
href="http://docbook.sourceforge.net/release/xsl/current/xhtml/profile-chunk-code.xsl"/>
<!-- Including our others customized chunks templates -->
<xsl:include href="xhtml/lfs-legalnotice.xsl"/>
Modified: trunk/editor-manual/stylesheets/lfs-chunked2.xsl
==============================================================================
--- trunk/editor-manual/stylesheets/lfs-chunked2.xsl Wed Jan 22 14:29:53
2020 (r11732)
+++ trunk/editor-manual/stylesheets/lfs-chunked2.xsl Thu Jan 23 13:00:26
2020 (r11733)
@@ -5,7 +5,7 @@
version="1.0">
<!-- We use XHTML -->
- <xsl:import
href="http://docbook.sourceforge.net/release/xsl/1.69.1/xhtml/docbook.xsl"/>
+ <xsl:import
href="http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl"/>
<xsl:param name="chunker.output.encoding" select="'ISO-8859-1'"/>
<!-- Including our others customized elements templates -->
Modified: trunk/editor-manual/stylesheets/lfs-nochunks.xsl
==============================================================================
--- trunk/editor-manual/stylesheets/lfs-nochunks.xsl Wed Jan 22 14:29:53
2020 (r11732)
+++ trunk/editor-manual/stylesheets/lfs-nochunks.xsl Thu Jan 23 13:00:26
2020 (r11733)
@@ -5,7 +5,7 @@
version="1.0">
<!-- We use XHTML -->
- <xsl:import
href="http://docbook.sourceforge.net/release/xsl/1.69.1/xhtml/profile-docbook.xsl"/>
+ <xsl:import
href="http://docbook.sourceforge.net/release/xsl/current/xhtml/profile-docbook.xsl"/>
<!-- Fix encoding issues with default UTF-8 output of the xhtml stylesheet
-->
<xsl:output method="html" encoding="ISO-8859-1" indent="no" />
Modified: trunk/editor-manual/stylesheets/lfs-pdf.xsl
==============================================================================
--- trunk/editor-manual/stylesheets/lfs-pdf.xsl Wed Jan 22 14:29:53 2020
(r11732)
+++ trunk/editor-manual/stylesheets/lfs-pdf.xsl Thu Jan 23 13:00:26 2020
(r11733)
@@ -4,7 +4,7 @@
xmlns:fo="http://www.w3.org/1999/XSL/Format"
version="1.0">
<!-- We use FO and FOP as the processor -->
- <xsl:import
href="http://docbook.sourceforge.net/release/xsl/1.69.1/fo/docbook.xsl"/>
+ <xsl:import
href="http://docbook.sourceforge.net/release/xsl/current/fo/docbook.xsl"/>
<xsl:param name="fop.extensions" select="1"/>
<xsl:param name="draft.mode" select="'no'"/>
Modified: trunk/editor-manual/stylesheets/lfs-profile.xsl
==============================================================================
--- trunk/editor-manual/stylesheets/lfs-profile.xsl Wed Jan 22 14:29:53
2020 (r11732)
+++ trunk/editor-manual/stylesheets/lfs-profile.xsl Thu Jan 23 13:00:26
2020 (r11733)
@@ -4,7 +4,7 @@
version="1.0">
<!-- Include common profiling stylesheet -->
- <xsl:include
href="http://docbook.sourceforge.net/release/xsl/1.69.1/profiling/profile-mode.xsl"/>
+ <xsl:include
href="http://docbook.sourceforge.net/release/xsl/current/profiling/profile-mode.xsl"/>
<!-- Generate DocBook instance with correct DOCTYPE -->
<xsl:output method="xml"
Modified: trunk/editor-manual/tidy.conf
==============================================================================
--- trunk/editor-manual/tidy.conf Wed Jan 22 14:29:53 2020 (r11732)
+++ trunk/editor-manual/tidy.conf Thu Jan 23 13:00:26 2020 (r11733)
@@ -7,10 +7,8 @@
write-back: yes
markup: yes
indent: yes
-hide-endtags: no
uppercase-tags: no
logical-emphasis: no
-drop-font-tags: no
tidy-mark: no
numeric-entities: no
show-warnings: no
--
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page