Browse Source

Updated the stylesheets.

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/6.1.1/BOOK@7052 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Manuel Canales Esparcia 20 years ago
parent
commit
e13f18852c

+ 2 - 2
general.ent

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
-<!ENTITY version "TESTING-20051016">
-<!ENTITY releasedate "October 16, 2005">
+<!ENTITY version "TESTING-20051019">
+<!ENTITY releasedate "October 19, 2005">
 <!ENTITY milestone "6.1.1">
 <!ENTITY generic-version "testing"> <!-- Use "svn", "testing", or "x.y[-pre{x}]" -->
 

+ 3 - 3
stylesheets/lfs-chunked.xsl

@@ -5,8 +5,8 @@
                 version="1.0">
 
   <xsl:import href="lfs-chunked2.xsl"/>
-  <xsl:import href="http://docbook.sourceforge.net/release/xsl/1.68.1/xhtml/chunk-common.xsl"/>
-  <xsl:include href="http://docbook.sourceforge.net/release/xsl/1.68.1/xhtml/manifest.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"/>
 
     <!--  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.68.1/xhtml/profile-chunk-code.xsl"/>
+  <xsl:include href="http://docbook.sourceforge.net/release/xsl/1.69.1/xhtml/profile-chunk-code.xsl"/>
 
     <!-- Including our others customized chunks templates -->
   <xsl:include href="xhtml/lfs-legalnotice.xsl"/>

+ 1 - 1
stylesheets/lfs-chunked2.xsl

@@ -5,7 +5,7 @@
                 version="1.0">
 
     <!-- We use XHTML -->
-  <xsl:import href="http://docbook.sourceforge.net/release/xsl/1.68.1/xhtml/docbook.xsl"/>
+  <xsl:import href="http://docbook.sourceforge.net/release/xsl/1.69.1/xhtml/docbook.xsl"/>
   <xsl:param name="chunker.output.encoding" select="'ISO-8859-1'"/>
 
     <!-- Including our others customized elements templates -->

+ 14 - 0
stylesheets/lfs-l10n.xml

@@ -15,6 +15,7 @@
 
   </l:l10n>
 
+
     <!-- English -->
   <l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0"
           language="en" english-language-name="English">
@@ -26,6 +27,19 @@
     <l:gentext key="Programs" text="Programs"/>
     <l:gentext key="Scripts" text="Scripts"/>
 
+  </l:l10n>
+
+    <!-- Italian -->
+  <l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0"
+          language="it" english-language-name="Italian">
+
+    <l:gentext key="description" text="descrizione"/>
+    <l:gentext key="Libraries" text="Librerie"/>
+    <l:gentext key="Others" text="Altri"/>
+    <l:gentext key="Packages" text="Pacchetti"/>
+    <l:gentext key="Programs" text="Programmi"/>
+    <l:gentext key="Scripts" text="Script"/>
+
   </l:l10n>
 
     <!-- Spanish -->

+ 1 - 1
stylesheets/lfs-nochunks.xsl

@@ -5,7 +5,7 @@
                 version="1.0">
 
     <!-- We use XHTML -->
-  <xsl:import href="http://docbook.sourceforge.net/release/xsl/1.68.1/xhtml/profile-docbook.xsl"/>
+  <xsl:import href="http://docbook.sourceforge.net/release/xsl/1.69.1/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" />

+ 4 - 4
stylesheets/lfs-pdf.xsl

@@ -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.68.1/fo/docbook.xsl"/>
+  <xsl:import href="http://docbook.sourceforge.net/release/xsl/1.69.1/fo/docbook.xsl"/>
   <xsl:param name="fop.extensions" select="1"/>
   <xsl:param name="draft.mode" select="'no'"/>
 
@@ -18,16 +18,16 @@
 
     <!-- This file contains our localization strings (for internationalization) -->
   <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="page.width">7.25in</xsl:param>
   <xsl:param name="page.height">9.25in</xsl:param>
     -->
-    
+
     <!-- Printing Style -->
     <!-- Change "double.sided" to "1" for published versions -->
   <xsl:param name="double.sided" select="0"/>

+ 5 - 5
stylesheets/lfs-profile.xsl

@@ -4,13 +4,13 @@
                 version="1.0">
 
   <!-- Include common profiling stylesheet -->
-  <xsl:include href="http://docbook.sourceforge.net/release/xsl/1.68.1/profiling/profile-mode.xsl"/>
-  
+  <xsl:include href="http://docbook.sourceforge.net/release/xsl/1.69.1/profiling/profile-mode.xsl"/>
+
   <!-- Generate DocBook instance with correct DOCTYPE -->
-  <xsl:output method="xml" 
+  <xsl:output method="xml"
               doctype-public="-//OASIS//DTD DocBook XML V4.4//EN"
               doctype-system="http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd"/>
-  
+
   <!-- Profiling parameters -->
   <xsl:param name="profile.arch" select="''"/>
   <xsl:param name="profile.condition" select="''"/>
@@ -26,7 +26,7 @@
   <xsl:param name="profile.attribute" select="''"/>
   <xsl:param name="profile.value" select="''"/>
   <xsl:param name="profile.separator" select="';'"/>
-  
+
   <!-- Call common profiling mode -->
   <xsl:template match="/">
     <xsl:apply-templates select="." mode="profile"/>

+ 3 - 2
stylesheets/pdf/lfs-pagesetup.xsl

@@ -64,8 +64,8 @@
 
     <!-- Font size for chapter title. -->
   <xsl:template match="title" mode="chapter.titlepage.recto.auto.mode">
-    <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" 
-            xsl:use-attribute-sets="chapter.titlepage.recto.style" 
+    <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"
+            xsl:use-attribute-sets="chapter.titlepage.recto.style"
             font-size="21pt" font-weight="bold" text-align="left">
       <xsl:call-template name="component.title">
         <xsl:with-param name="node" select="ancestor-or-self::chapter[1]"/>
@@ -77,6 +77,7 @@
   <xsl:param name="page.margin.inner">0.5in</xsl:param>
   <xsl:param name="page.margin.outer">0.375in</xsl:param>
   <xsl:param name="body.start.indent" select="'0.7pc'"/>
+  <xsl:param name="title.margin.left">-0.7pc</xsl:param>
   <xsl:attribute-set name="normal.para.spacing">
     <xsl:attribute name="space-before.optimum">0.6em</xsl:attribute>
     <xsl:attribute name="space-before.minimum">0.4em</xsl:attribute>