On Tue, Dec 28, 2004 at 03:07:09PM +0100, Frans Pop wrote:
> The scripts that support creating pdf and text files have now been 
> implemented in the Sarge branch as well as in trunk.
> 
> How are things going on your end WRT a decision on where to build the 
> manual and what directory structure to use?

The where is still an unsolved question...

On the directory structure I have researched how difficult it would
be to adjust the filenames and links. Turns out it is not difficult at
all. Proof-of-concept patch against the sarge branch:

Index: install.en.xml
===================================================================
--- install.en.xml      (revision 24570)
+++ install.en.xml      (working copy)
@@ -23,7 +23,7 @@
 <!-- retain these comments for translator revision tracking -->
 <!-- $Id$ -->
 
-<book>
+<book lang="en">
 
 &bookinfo.xml;
 &preface.xml;
Index: build.sh
===================================================================
--- build.sh    (revision 24570)
+++ build.sh    (working copy)
@@ -29,11 +29,13 @@
        echo "Architecture: $arch"
        if [ -n "$noarchdir" ]; then
                destsuffix="$lang"
+       elif [ -n "$webbuild" ]; then
+               destsuffix="$arch"
        else
                destsuffix="${lang}.${arch}"
        fi
        ./buildone.sh "$arch" "$lang"
-       mkdir "$destination/$destsuffix"
+       mkdir -p "$destination/$destsuffix"
        mv *.html "$destination/$destsuffix"
        ./clear.sh
     done
Index: style-html.xsl
===================================================================
--- style-html.xsl      (revision 24570)
+++ style-html.xsl      (working copy)
@@ -12,6 +12,7 @@
 <!-- Any html-specific parameters follow -->
 <!-- You may find some in /etc/sgml/docbook-xsl/html/param.xsl -->
 
+<xsl:param name="html.ext" select="concat('.',/book/@lang,'.html')"/>
 
 <!-- Where to put resulting html. Don't forget trailing slash! -->
 <xsl:param name="base.dir" select="'./'"/>
@@ -34,4 +35,4 @@
 <!-- Do we want fancy icons instead of Next, Prev, Up, Home? -->
 <xsl:param name="navig.graphics">0</xsl:param>
 
-</xsl:stylesheet>
\ No newline at end of file
+</xsl:stylesheet>

I would still prefer we go for this approach.

Gruesse,
-- 
Frank Lichtenheld <[EMAIL PROTECTED]>
www: http://www.djpig.de/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to