Le 23/01/2020 à 13:25, Scott Andrews a écrit :
> 
> On 1/22/20 9:49 PM, Bruce Dubbs wrote:
>> On 1/22/20 8:29 PM, Douglas R. Reno wrote:
>>
>>>>>
>>>>
>>>> This link does not exist any more
>>>>
>>>> http://docbook.sourceforge.net/release/xsl/1.69.1/xhtml/profile-docbook.xsl
>>
>>> I can confirm this, it seems that the oldest version that they have
>>> available on Sourceforge is 1.70.1 (2006-05-26 is the datestamp).
>>
>> But what should be used is docbook-xsl-nons-1.79.2.
>>
>>   -- Bruce
> 
> 
> This works to build the manual:
> 
> make lfs
> 
> 
> This gives the error
> 
> make nochunks
> 
> 

Well, did not realize when reading your OP, because it was "working for me",
and I suspected some wrong configuration in your docbook xml/xsl installation.
But actually, I have made (long ago) some modifications to my working copy of
the editor manual, see the attached patch (to be applied with svn patch).
Sorry for not realizing that before.

Note that "make lfs" only works if you have a copy of the LFS xml in ../BOOK.

Pierre
PS: should I commit this patch?
Index: Makefile
===================================================================
--- Makefile	(révision 11699)
+++ Makefile	(copie de travail)
@@ -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) \
Index: stylesheets/lfs-chunked.xsl
===================================================================
--- stylesheets/lfs-chunked.xsl	(révision 11699)
+++ stylesheets/lfs-chunked.xsl	(copie de travail)
@@ -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"/>
Index: stylesheets/lfs-chunked2.xsl
===================================================================
--- stylesheets/lfs-chunked2.xsl	(révision 11699)
+++ stylesheets/lfs-chunked2.xsl	(copie de travail)
@@ -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 -->
Index: stylesheets/lfs-nochunks.xsl
===================================================================
--- stylesheets/lfs-nochunks.xsl	(révision 11699)
+++ stylesheets/lfs-nochunks.xsl	(copie de travail)
@@ -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" />
Index: stylesheets/lfs-pdf.xsl
===================================================================
--- stylesheets/lfs-pdf.xsl	(révision 11699)
+++ stylesheets/lfs-pdf.xsl	(copie de travail)
@@ -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'"/>
 
Index: stylesheets/lfs-profile.xsl
===================================================================
--- stylesheets/lfs-profile.xsl	(révision 11699)
+++ stylesheets/lfs-profile.xsl	(copie de travail)
@@ -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" 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style

Reply via email to