Changeset a4a675f


Ignore:
Timestamp:
06/22/2004 07:48:18 PM (20 years ago)
Author:
lfs-dev <lfs-dev@…>
Branches:
v5_1
Parents:
673b0d8
Message:

This commit was manufactured by cvs2svn to create tag 'v5_1'.

git-svn-id: http://svn.linuxfromscratch.org/LFS/tags/v5_1/BOOK@3611 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Files:
17 added
29 edited

Legend:

Unmodified
Added
Removed
  • INSTALL

    r673b0d8 ra4a675f  
    1010
    1111-------------------------------------------------------------------------------
    12 If all you want to do is convert XML to HTML perform the following:
     12If all you want to do is convert XML to HTML install the following:
    1313
    1414* libxml2
     
    2424  - http://www.linuxfromscratch.org/blfs/view/cvs/pst/docbook-xsl.html
    2525
     26* HTML Tidy - http://tidy.sourceforge.net/src/tidy_src.tgz
     27
     28  /bin/sh build/gnuauto/setup.sh &&
     29  ./configure --prefix=/usr &&
     30  make &&
     31  su -c "make install"
     32
    2633-------------------------------------------------------------------------------
    2734If you want to be able to convert the book into PDF as well, then you will need
    2835the FOP package.  This takes an XSL-FO file (created with libxslt which you
    29 already installed) and converts it to PDF:
     36already installed) and converts it to PDF.  Additionally you will need
     37the Java Advanced Imaging (JAI) library from
     38http://java.sun.com/products/java-media/jai/downloads/download-1_1_2.html
     39(you'll need either the JDK .bin or JRE .bin file dependent on your
     40particular Java setup).
    3041
    3142  - http://www.apache.org/dist/xml/fop/fop-0.20.5-bin.tar.gz
     
    3748  mv fop-0.20.5 fop
    3849
     50  Install JAI by running:
     51
     52  chmod u+x /path/to/jai-1_1_2-lib-linux-i586-jdk.bin &&
     53  cd $JAVA_HOME &&
     54  /path/to/jai-1_1_2-lib-linux-i586-jdk.bin
     55
    3956  Now set JAVA_HOME, FOP_HOME and PATH to values appropriate to your system.
  • Makefile

    r673b0d8 ra4a675f  
    1 BASEDIR=~/lfs-book/
     1BASEDIR=~/lfs-book
    22
    33lfs:
    4         xsltproc --xinclude --nonet -stringparam base.dir $(BASEDIR) \
     4        xsltproc --xinclude --nonet -stringparam base.dir $(BASEDIR)/ \
    55          stylesheets/lfs-chunked.xsl index.xml
    66
    7         if [ ! -e $(BASEDIR)stylesheets ]; then \
    8           mkdir -p $(BASEDIR)stylesheets; \
     7        if [ ! -e $(BASEDIR)/stylesheets ]; then \
     8          mkdir -p $(BASEDIR)/stylesheets; \
    99        fi;
    10         cp stylesheets/lfs.css $(BASEDIR)stylesheets
     10        cp stylesheets/lfs.css $(BASEDIR)/stylesheets
    1111
    12         if [ ! -e $(BASEDIR)images ]; then \
    13           mkdir -p $(BASEDIR)images; \
     12        if [ ! -e $(BASEDIR)/images ]; then \
     13          mkdir -p $(BASEDIR)/images; \
    1414        fi;
    1515        cp /usr/share/xml/docbook/xsl-stylesheets-1.65.1/images/*.png \
    16           $(BASEDIR)images
    17         cd $(BASEDIR); sed -i -e "s@../stylesheets@stylesheets@" \
     16          $(BASEDIR)/images
     17        cd $(BASEDIR)/; sed -i -e "s@../stylesheets@stylesheets@" \
    1818          index.html part1.html part2.html part3.html longindex.html
    19         cd $(BASEDIR); sed -i -e "s@../images@images@g" \
     19        cd $(BASEDIR)/; sed -i -e "s@../images@images@g" \
    2020          index.html part1.html part2.html part3.html longindex.html
     21
     22        sh goTidy $(BASEDIR)/
    2123
    2224pdf:
     
    2628        fop.sh lfs.fo lfs.pdf
    2729
     30print:
     31        xsltproc --xinclude --nonet --output lfs-print.fo \
     32          stylesheets/lfs-print.xsl index.xml
     33        sed -i -e "s/inherit/all/" lfs-print.fo
     34        fop.sh lfs-print.fo lfs-print.pdf
     35
     36nochunks:
     37        xsltproc --xinclude --nonet --output lfs.html \
     38          stylesheets/lfs-nochunks.xsl index.xml
     39        tidy -config tidy.conf lfs.html || true
     40
    2841validate:
    2942        xmllint --noout --nonet --xinclude --postvalid index.xml
  • README

    r673b0d8 ra4a675f  
    1111-------------
    1212
    13 BASEDIR=/path/to/output/location make
     13make BASEDIR=/path/to/output/location
    1414
    1515
  • chapter01/administrativa.xml

    r673b0d8 ra4a675f  
    2424
    2525<para>Several members of the LFS community offer assistance on our community
    26 IRC (Internet Relay Chat) server. Before you utilize this mode of support, we
     26IRC (Internet Relay Chat) network. Before you utilize this mode of support, we
    2727ask that you've at least checked the LFS FAQ (see above) and the mailing list
    2828archives (see below) for the answer to your question. You can find the IRC
    29 server at <emphasis>irc.linuxfromscratch.org</emphasis> port 6667. The
    30 support channel is named #LFS-support.</para>
     29network at <emphasis>irc.linuxfromscratch.org</emphasis> or
     30<emphasis>irc.linux-phreak.net</emphasis> port 6667. The support channel is
     31named #LFS-support.</para>
    3132
    3233</sect2>
  • chapter01/changelog.xml

    r673b0d8 ra4a675f  
    2828<listitem><para>gcc-3.3.3</para></listitem>
    2929<listitem><para>gettext-0.14.1</para></listitem>
     30<listitem><para>glibc-2.3.3-lfs-5.1</para></listitem>
    3031<listitem><para>grub-0.94</para></listitem>
    3132<listitem><para>kbd-1.12</para></listitem>
    3233<listitem><para>less-382</para></listitem>
    33 <listitem><para>lfs-bootscripts-2.0.4</para></listitem>
     34<listitem><para>lfs-bootscripts-2.0.5</para></listitem>
    3435<listitem><para>libtool-2.5.6</para></listitem>
    3536<listitem><para>linux-2.4.26</para></listitem>
     
    7374</itemizedlist>
    7475</listitem>
     76
     77<listitem><para>May 16th, 2004 [jeremy]: Chapter 9 - Added a brief paragraph
     78to the rebooting system page to discuss packages which might be useful to
     79add prior to rebooting to the new system</para></listitem>
     80
     81<listitem><para>May 15th, 2004 [matt]: Chapter 6 - Added a clearer warning that
     82make_devices needs to be customised</para></listitem>
     83
     84<listitem><para>May 14th, 2004 [matt]: Chapter 3 - Added glibc's md5sum</para>
     85</listitem>
     86
     87<listitem><para>May 14th, 2004 [matt]: Chapters 5 &amp; 6 - Upgraded to
     88glibc-2.3.3-lfs-5.1</para></listitem>
     89
     90<listitem><para>May 11th, 2004 [jeremy]: Prologue - Updated the list of
     91active staff in the project.</para></listitem>
     92
     93<listitem><para>May 9th, 2004 [winkie]: Chapter 6 - Removed unused and broken
     94entries from <filename>nsswitch.conf</filename>.</para></listitem>
     95
     96<listitem><para>May 7th, 2004 [matt]: Merged Manuel's lfs-xsl-0.9 patches</para>
     97</listitem>
     98<listitem><para>May 7th, 2004 [matt]: Fixed README error regarding invocation of
     99`make`</para></listitem>
     100<listitem><para>May 3rd, 2004: LFS 5.1-pre2 released</para></listitem>
    75101
    76102<listitem><para>May 2nd, 2004 [matt]: Quoted chroot commands in chapter 6 (bug
  • chapter03/packages.xml

    r673b0d8 ra4a675f  
    192192
    193193<note><para>2) As of this writing, the Glibc maintainers have decided in their
    194 wisdom not to make available new release tarballs for download. The only way to
    195 obtain the current Glibc release from pristine upstream sources is to pull it
    196 from the Glibc CVS (Concurrent Versioning System) repository. The following commands will download the current
    197 release and make a tarball from it:</para>
    198 
    199 <screen><userinput>cvs -z 9 -d :pserver:anoncvs@sources.redhat.com:/cvs/glibc \
    200     export -d glibc-2.3.3-20031202 -D "2003-12-02 UTC" libc
    201 tar jcvf glibc-2.3.3-20031202.tar.bz2 glibc-2.3.3-20031202</userinput></screen>
    202 
    203 <para>Alternatively, we've made our own tarball available which you can
    204 download courtesy of the generous LFS mirror sites.</para>
    205 
    206 <literallayout><ulink url="ftp://gaosu.rave.org/pub/linux/lfs/packages/conglomeration/&glibc-version;.tar.bz2"/>
    207 <ulink url="http://lfs.mirror.intermedia.com.sg/packages/glibc/&glibc-version;.tar.bz2"/>
    208 <ulink url="ftp://lfs.mirror.intermedia.com.sg/pub/lfs/glibc/&glibc-version;.tar.bz2"/>
    209 <ulink url="http://dl.lfs.fredan.org/&glibc-version;.tar.bz2"/>
    210 <ulink url="http://packages.lfs-es.org/&glibc-version;.tar.bz2"/>
    211 <ulink url="http://mirror.averse.net/lfs-packages/&glibc-version;.tar.bz2"/>
    212 <ulink url="ftp://mirror.averse.net/pub/lfs-packages/&glibc-version;.tar.bz2"/>
    213 <ulink url="ftp://ftp.lfs-matrix.de/lfs/packages/conglomeration/&glibc-version;.tar.bz2"/></literallayout>
     194wisdom not to make available new release tarballs for download.  As
     195such, the LFS toolchain team have provided a tarball of glibc sources
     196pulled from Glibc CVS (Concurrent Versioning System) and generated a
     197tarball from them, including patches where necessary.</para>
     198
     199<para>We have made this tarball available courtesy of the generous LFS mirror
     200sites:</para>
     201
     202<literallayout><ulink
     203url="ftp://gaosu.rave.org/pub/linux/lfs/packages/conglomeration/glibc-&glibc-version;.tar.bz2"/>
     204<ulink
     205url="http://lfs.mirror.intermedia.com.sg/packages/glibc/glibc-&glibc-version;.tar.bz2"/>
     206<ulink
     207url="ftp://lfs.mirror.intermedia.com.sg/pub/lfs/glibc/glibc-&glibc-version;.tar.bz2"/>
     208<ulink url="http://dl.lfs.fredan.org/glibc-&glibc-version;.tar.bz2"/>
     209<ulink url="http://packages.lfs-es.org/glibc-&glibc-version;.tar.bz2"/>
     210<ulink url="http://mirror.averse.net/lfs-packages/glibc-&glibc-version;.tar.bz2"/>
     211<ulink
     212url="ftp://mirror.averse.net/pub/lfs-packages/glibc-&glibc-version;.tar.bz2"/>
     213<ulink
     214url="ftp://ftp.lfs-matrix.de/lfs/packages/conglomeration/glibc-&glibc-version;.tar.bz2"/></literallayout>
     215
     216<para>If you wish to verify the integrity of the tarball, its MD5 digest
     217is <computeroutput>cd11fabdf5162ad68329e7b28b308278</computeroutput>, which can
     218be verified using <command>md5sum</command>.</para>
    214219</note>
    215220
  • chapter05/binutils-pass1.xml

    r673b0d8 ra4a675f  
    1515
    1616<screen>&buildtime; 1.0 SBU
    17 &diskspace; 194 MB</screen>
     17&diskspace; 170 MB</screen>
    1818
    1919<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/binutils.xml" xpointer="xpointer(/sect1/para[2])"/>
  • chapter05/binutils-pass2.xml

    r673b0d8 ra4a675f  
    1313
    1414<screen>&buildtime; 1.5 SBU
    15 &diskspace; 108 MB</screen>
     15&diskspace; 35.6 MB</screen>
    1616
    1717
  • chapter05/dejagnu.xml

    r673b0d8 ra4a675f  
    1313
    1414<screen>&buildtime; 0.1 SBU
    15 &diskspace; 8.6 MB</screen>
     15&diskspace; 6.1 MB</screen>
    1616
    1717<para>For its installation Dejagnu depends on: Bash, Binutils, Coreutils, Diffutils,
  • chapter05/findutils.xml

    r673b0d8 ra4a675f  
    1515
    1616<screen>&buildtime; 0.2 SBU
    17 &diskspace; 7.6 MB</screen>
     17&diskspace; 7.5 MB</screen>
    1818
    1919<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/findutils.xml" xpointer="xpointer(/sect1/para[2])"/>
  • chapter05/gawk.xml

    r673b0d8 ra4a675f  
    1515
    1616<screen>&buildtime; 0.2 SBU
    17 &diskspace; 17 MB</screen>
     17&diskspace; 16.9 MB</screen>
    1818
    1919<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/gawk.xml" xpointer="xpointer(/sect1/para[2])"/>
  • chapter05/gcc-pass1.xml

    r673b0d8 ra4a675f  
    1515
    1616<screen>&buildtime; 4.4 SBU
    17 &diskspace; 300 MB</screen>
     17&diskspace; 411.7 MB</screen>
    1818
    1919<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/gcc.xml" xpointer="xpointer(/sect1/para[2])"/>
  • chapter05/gcc-pass2.xml

    r673b0d8 ra4a675f  
    1313
    1414<screen>&buildtime; 11.0 SBU
    15 &diskspace; 274 MB</screen>
     15&diskspace; 332.7 MB</screen>
    1616
    1717
  • chapter05/gettext.xml

    r673b0d8 ra4a675f  
    1515
    1616<screen>&buildtime; 0.5 SBU
    17 &diskspace; 55 MB</screen>
     17&diskspace; 67.6 MB</screen>
    1818
    1919<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/gettext.xml" xpointer="xpointer(/sect1/para[2])"/>
  • chapter05/glibc.xml

    r673b0d8 ra4a675f  
    1515
    1616<screen>&buildtime; 11.8 SBU
    17 &diskspace; 800 MB</screen>
     17&diskspace; 734.2 MB</screen>
    1818
    1919<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/glibc.xml" xpointer="xpointer(/sect1/para[2])"/>
     
    4040<para>Next, prepare Glibc for compilation:</para>
    4141
    42 <screen><userinput>../glibc-&glibc-version;-20031202/configure --prefix=/tools \
     42<screen><userinput>../glibc-&glibc-version;/configure --prefix=/tools \
    4343    --disable-profile --enable-add-ons=linuxthreads \
    4444    --with-binutils=/tools/bin --with-headers=/tools/include \
     
    180180localedef -i en_US -f ISO-8859-1 en_US
    181181localedef -i es_MX -f ISO-8859-1 es_MX
     182localedef -i fa_IR -f UTF-8 fa_IR
    182183localedef -i fr_FR -f ISO-8859-1 fr_FR
    183184localedef -i fr_FR@euro -f ISO-8859-15 fr_FR@euro
  • chapter05/kernel-headers.xml

    r673b0d8 ra4a675f  
    1313
    1414<screen>&buildtime; 0.1 SBU
    15 &diskspace; 186 MB</screen>
     15&diskspace; 192.5 MB</screen>
    1616
    1717
  • chapter05/ncurses.xml

    r673b0d8 ra4a675f  
    1515
    1616<screen>&buildtime; 0.7 SBU
    17 &diskspace; 26 MB</screen>
     17&diskspace; 27.8 MB</screen>
    1818
    1919<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/ncurses.xml" xpointer="xpointer(/sect1/para[2])"/>
  • chapter05/sed.xml

    r673b0d8 ra4a675f  
    1515
    1616<screen>&buildtime; 0.2 SBU
    17 &diskspace; 5.2 MB</screen>
     17&diskspace; 5.9 MB</screen>
    1818
    1919<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/sed.xml" xpointer="xpointer(/sect1/para[2])"/>
  • chapter05/tar.xml

    r673b0d8 ra4a675f  
    1515
    1616<screen>&buildtime; 0.2 SBU
    17 &diskspace; 10 MB</screen>
     17&diskspace; 10.3 MB</screen>
    1818
    1919<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/tar.xml" xpointer="xpointer(/sect1/para[2])"/>
  • chapter05/tcl.xml

    r673b0d8 ra4a675f  
    1313
    1414<screen>&buildtime; 0.9 SBU
    15 &diskspace; 23 MB</screen>
     15&diskspace; 22.7 MB</screen>
    1616
    1717<para>Tcl installation depends on: Bash, Binutils, Coreutils, Diffutils,
  • chapter05/texinfo.xml

    r673b0d8 ra4a675f  
    1515
    1616<screen>&buildtime; 0.2 SBU
    17 &diskspace; 16 MB</screen>
     17&diskspace; 16.3 MB</screen>
    1818
    1919<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/texinfo.xml" xpointer="xpointer(/sect1/para[2])"/>
  • chapter06/glibc.xml

    r673b0d8 ra4a675f  
    4343<para>Now prepare Glibc for compilation:</para>
    4444
    45 <screen><userinput>../glibc-&glibc-version;-20031202/configure --prefix=/usr \
     45<screen><userinput>../glibc-&glibc-version;/configure --prefix=/usr \
    4646    --disable-profile --enable-add-ons=linuxthreads \
    4747    --libexecdir=/usr/lib --with-headers=/usr/include \
     
    122122<para>Finally, build the linuxthreads man pages:</para>
    123123
    124 <screen><userinput>make -C ../glibc-&glibc-version;-20031202/linuxthreads/man</userinput></screen>
     124<screen><userinput>make -C ../glibc-&glibc-version;/linuxthreads/man</userinput></screen>
    125125
    126126<para>And install these pages:</para>
    127127
    128 <screen><userinput>make -C ../glibc-&glibc-version;-20031202/linuxthreads/man install</userinput></screen>
     128<screen><userinput>make -C ../glibc-&glibc-version;/linuxthreads/man install</userinput></screen>
    129129
    130130</sect2>
     
    150150shadow: files
    151151
    152 publickey: files
    153 
    154152hosts: files dns
    155153networks: files
    156154
    157 protocols: db files
    158 services: db files
    159 ethers: db files
    160 rpc: db files
    161 
    162 netgroup: db files
     155protocols: files
     156services: files
     157ethers: files
     158rpc: files
    163159
    164160# End /etc/nsswitch.conf
  • chapter06/makedev.xml

    r673b0d8 ra4a675f  
    6868you are satisfied, run the script to create the device files:</para>
    6969
     70<warning><para>Failure to properly edit the <command>make_devices</command> to
     71match your systems's setup (eg. number of partitions) can lead to boot errors.
     72</para></warning>
     73
    7074<screen><userinput>cd /dev
    7175./make_devices</userinput></screen>
  • chapter09/reboot.xml

    r673b0d8 ra4a675f  
    99
    1010<para>Now that all of the software has been installed, it is time to reboot
    11 your computer. First exit from the chroot environment:</para>
     11your computer. However, you should be aware of a few things.  The system you
     12have created in this book is quite minimal, and most likely will not have
     13the functionality you would need to be able to continue forward.  By installing
     14a few extra packages from the BLFS book while still in our current chroot
     15environment, you can leave yourself in a much better position to continue on
     16once you reboot into your new LFS installation.  Installing a text mode web
     17browser, such as Lynx, you can easily view the BLFS book in one virtual
     18terminal, while building packages in another.  The GPM package will also allow
     19you to perform copy/paste actions in your virtual terminals.  Lastly, if you
     20are in a situation where static IP configuration does not meet your networking
     21requirements, installing packages such as dhcpcd or ppp at this point might
     22also be useful.</para>
     23
     24
     25<para>Now that we have said that, lets move on to booting our shiny new LFS
     26installation for the first time! First exit from the chroot environment:</para>
    1227
    1328<screen><userinput>logout</userinput></screen>
  • general.ent

    r673b0d8 ra4a675f  
    11<?xml version="1.0" encoding="ISO-8859-1"?>
    2 <!ENTITY version "CVS-2004-05-02">
    3 <!ENTITY releasedate "May 2, 2004">
     2<!ENTITY version "&milestone;">
     3<!ENTITY releasedate "May 16, 2004">
    44<!ENTITY milestone "5.1">
    55
     
    2222<!ENTITY binutils-version "2.14">
    2323<!ENTITY bison-version "1.875">
    24 <!ENTITY bootscripts-version "2.0.4">
     24<!ENTITY bootscripts-version "2.0.5">
    2525<!ENTITY bzip2-version "1.0.2">
    2626<!ENTITY coreutils-version "5.2.1">
     
    3737<!ENTITY gcc-version "3.3.3">
    3838<!ENTITY gettext-version "0.14.1">
    39 <!ENTITY glibc-version "2.3.3">
     39<!ENTITY glibc-version "2.3.3-lfs-5.1">
    4040<!ENTITY grep-version "2.5.1">
    4141<!ENTITY groff-version "1.19">
  • prologue/acknowledgments.xml

    r673b0d8 ra4a675f  
    2121
    2222<listitem><para><ulink url="mailto:matthew@linuxfromscratch.org">Matthew
    23 Burgess</ulink> &lt;matthew@linuxfromscratch.org&gt; -- LFS General Package
    24 maintainer, LFS Book editor.</para></listitem>
     23Burgess</ulink> &lt;matthew@linuxfromscratch.org&gt; -- LFS Project Co-Leader,
     24LFS General Package maintainer, LFS Book editor.</para></listitem>
    2525
    2626<listitem><para><ulink url="mailto:meerkats@bellsouth.net">Craig
     
    2828Project logo creator.</para></listitem>
    2929
     30<listitem><para><ulink url="mailto:nathan@linuxfromscratch.org">Nathan
     31Coulson</ulink> &lt;nathan@linuxfromscratch.org&gt; -- LFS-Bootscripts
     32maintainer.</para></listitem>
     33
    3034<listitem><para><ulink url="mailto:jeroen@linuxfromscratch.org">Jeroen
    3135Coumans</ulink> &lt;jeroen@linuxfromscratch.org&gt; -- Website developer, FAQ
     
    3640leader, BLFS Book editor.</para></listitem>
    3741
     42<listitem><para><ulink url="mailto:manuel@linuxfromscratch.org">Manuel
     43Canales Esparcia</ulink> &lt;manuel@linuxfromscratch.org&gt; -- LFS Book
     44Editor (XML).</para></listitem>
     45
    3846<listitem><para><ulink url="mailto:alex@linuxfromscratch.org">Alex
    3947Groenewoud</ulink> &lt;alex@linuxfromscratch.org&gt; -- LFS Book
     
    6068organizer.</para></listitem>
    6169
     70<listitem><para><ulink url="mailto:alexander@linuxfromscratch.org">Alexander
     71Patrakov</ulink> &lt;alexander@linuxfromscratch.org&gt; -- LFS Book
     72Editor (internationalization/localization).</para></listitem>
     73
    6274<listitem><para><ulink url="mailto:scot@linuxfromscratch.org">Scot Mc
    6375Pherson</ulink> &lt;scot@linuxfromscratch.org&gt; -- LFS NNTP gateway
     
    7486<listitem><para><ulink url="mailto:greg@linuxfromscratch.org">Greg
    7587Schafer</ulink> &lt;greg@linuxfromscratch.org&gt; -- Toolchain maintainer,
    76 LFS Book editor, co-creator of PLFS.</para></listitem>
     88Former LFS Book editor, co-creator of PLFS.</para></listitem>
    7789
    7890<listitem><para><ulink url="mailto:tushar@linuxfromscratch.org">Tushar
     
    8294<listitem><para><ulink url="mailto:jeremy@linuxfromscratch.org">Jeremy
    8395Utley</ulink> &lt;jeremy@linuxfromscratch.org&gt; -- LFS Book editor, Bugzilla
    84 maintainer.</para></listitem>
     96maintainer, LFS-Bootscripts Maintainer, LFS Server co-admin.</para></listitem>
     97
     98<listitem><para><ulink url="mailto:winkie@linuxfromscratch.org">Zack
     99Winkles</ulink> &lt;winkie@linuxfromscratch.org&gt; -- LFS Book editor
     100(Emerging Technologies), LFS-Bootscripts co-maintainer.</para></listitem>
    85101
    86102<listitem><para>Countless other people on the various LFS and BLFS
     
    117133<title>Mirror Maintainers</title>
    118134
    119 <itemizedlist>
    120 
    121 <listitem><para><ulink url="mailto:jason@dstc.edu.au">Jason Andrade</ulink>
    122 &lt;jason@dstc.edu.au&gt; -- au.linuxfromscratch.org mirror.</para></listitem>
     135<sect3>
     136<title>North American Mirrors</title>
     137
     138<itemizedlist>
     139
     140<listitem><para><ulink url="mailto:scott@osuosl.org">Scott Kveton</ulink>
     141&lt;scott@osuosl.org&gt; -- lfs.oregonstate.edu mirror</para></listitem>
     142
     143<listitem><para><ulink url="mailto:miha@xuy.biz">Mikhail Pastukhov</ulink>
     144&lt;miha@xuy.biz&gt; -- lfs.130th.net mirror.</para></listitem>
     145
     146<listitem><para><ulink url="mailto:unknown@unknown.org">Unknown User</ulink>
     147&lt;unknown@unknown.org&gt; -- lfs.crash404.com mirror.</para></listitem>
    123148
    124149<listitem><para><ulink url="mailto:lost@l-w.net">William Astle</ulink>
    125150&lt;lost@l-w.net&gt; -- ca.linuxfromscratch.org mirror.</para></listitem>
    126151
    127 <listitem><para><ulink url="mailto:baque@cict.fr">Baque</ulink>
    128 &lt;baque@cict.fr&gt; -- lfs.cict.fr mirror.</para></listitem>
     152<listitem><para><ulink url="mailto:jpolen@rackspace.com">Jeremy Polen</ulink>
     153&lt;jpolen@rackspace.com&gt; -- us2.linuxfromscratch.org
     154mirror.</para></listitem>
     155
     156<listitem><para><ulink url="mailto:tim@idge.net">Tim Jackson</ulink>
     157&lt;tim@idge.net&gt; -- linuxfromscratch.idge.net mirror.</para></listitem>
     158
     159<listitem><para><ulink url="mailto:jeremy@linux-phreak.net">Jeremy Utley
     160</ulink> &lt;jeremy@linux-phreak.net&gt; -- lfs.linux-phreak.net mirror.
     161</para></listitem>
     162
     163</itemizedlist>
     164
     165</sect3>
     166
     167<sect3>
     168<title>South American Mirrors</title>
     169
     170<itemizedlist>
     171
     172<listitem><para><ulink url="mailto:manuel@linuxfromscratch.org">Manuel Canales
     173Esparcia</ulink> &lt;manuel@linuxfromscratch.org&gt; -- lfsmirror.lfs-es.org
     174mirror.</para></listitem>
     175
     176<listitem><para><ulink url="mailto:sysop@mesi.com.ar">Andres Meggiotto</ulink>
     177&lt;sysop@mesi.com.ar&gt; -- lfs.mesi.com.ar mirror.</para></listitem>
     178
     179<listitem><para><ulink url="mailto:ebf@aedsolucoes.com.br">Eduardo B.
     180Fonseca</ulink> &lt;ebf@aedsolucoes.com.br&gt; -- br.linuxfromscratch.org
     181mirror.</para></listitem>
     182
     183</itemizedlist>
     184
     185</sect3>
     186
     187<sect3>
     188<title>European Mirrors</title>
     189
     190<itemizedlist>
     191
     192<listitem><para><ulink url="mailto:barna@siker.hu">Barna Koczka</ulink>
     193&lt;barna@siker.hu&gt; -- hu.linuxfromscratch.org mirror.</para></listitem>
     194
     195<listitem><para><ulink url="http://www.mirror.ac.uk">UK Mirror Service</ulink>
     196-- linuxfromscratch.mirror.ac.uk mirror.</para></listitem>
     197
     198<listitem><para><ulink url="mailto:Martin.Voss@ada.de">Martin Voss</ulink>
     199&lt;Martin.Voss@ada.de&gt; -- lfs.linux-matrix.net mirror.</para></listitem>
     200
     201<listitem><para><ulink url="mailto:unknown@unknown.org">Unknown User</ulink>
     202&lt;unknown@unknown.org&gt; -- mirror.vtx.ch mirror</para></listitem>
     203
     204<listitem><para><ulink url="mailto:guido@primerelay.net">Guido Passet</ulink>
     205&lt;guido@primerelay.net&gt; -- nl.linuxfromscratch.org
     206mirror.</para></listitem>
     207
     208<listitem><para><ulink url="mailto:baafie@planet.nl">Bastiaan Jacques</ulink>
     209&lt;baafie@planet.nl&gt; -- lfs.pagefault.net mirror</para></listitem>
     210
     211<listitem><para><ulink url="mailto:lfs-mirror@linuxfromscratch.rave.org">Roel
     212Neefs</ulink> &lt;lfs-mirror@linuxfromscratch.rave.org&gt; -- linuxfromscratch.rave.org mirror.</para></listitem>
     213
     214<listitem><para><ulink url="mailto:justin@jrknierim.de">Justin Knierim</ulink>
     215&lt;justin@jrknierim.de&gt; -- www.lfs-matrix.de mirror</para></listitem>
    129216
    130217<listitem><para><ulink url="mailto:stevie@stevie20.de">Stephan Brendel</ulink>
     
    132219mirror.</para></listitem>
    133220
    134 <listitem><para><ulink url="mailto:ian@ichilton.co.uk">Ian Chilton</ulink>
    135 &lt;ian@ichilton.co.uk&gt; -- us.linuxfromscratch.org, linuxfromscratch.co.uk
    136 mirrors.</para></listitem>
     221<listitem><para><ulink url="mailto:unknown@unknown.org">Unknown User</ulink>
     222&lt;unknown@unknown.org&gt; -- linuxfromscratch.je-zi.de
     223mirror</para></listitem>
     224
     225<listitem><para><ulink url="mailto:unknown@unknown.org">Unknown User</ulink>
     226&lt;unknown@unknown.org&gt; -- linuxfromscratch.tuxcenter.net
     227mirror</para></listitem>
     228
     229<listitem><para><ulink url="mailto:hrx@hrxnet.de">Hagen Herrschaft</ulink>
     230&lt;hrx@hrxnet.de&gt; -- de.linuxfromscratch.org mirror.</para></listitem>
     231
     232<listitem><para><ulink url="mailto:Antonin.Sprinzl@tuwien.ac.at">Antonin
     233Sprinzl</ulink> &lt;Antonin.Sprinzl@tuwien.ac.at&gt; -- at.linuxfromscratch.org
     234mirror.</para></listitem>
    137235
    138236<listitem><para><ulink url="mailto:fredan-lfs@fredan.org">Fredrik
    139237Danerklint</ulink> &lt;fredan-lfs@fredan.org&gt; -- se.linuxfromscratch.org
    140238mirror.</para></listitem>
    141 
    142 <listitem><para><ulink url="mailto:pgpkeys@aeternamtech.com">David D.W.
    143 Downey</ulink> &lt;pgpkeys@aeternamtech.com&gt; -- lfs.learnbyexample.com
    144 mirror.</para></listitem>
    145 
    146 <listitem><para><ulink url="mailto:ebf@aedsolucoes.com.br">Eduardo B.
    147 Fonseca</ulink> &lt;ebf@aedsolucoes.com.br&gt; -- br.linuxfromscratch.org
    148 mirror.</para></listitem>
    149 
    150 <listitem><para><ulink url="mailto:hrx@hrxnet.de">Hagen Herrschaft</ulink>
    151 &lt;hrx@hrxnet.de&gt; -- de.linuxfromscratch.org mirror.</para></listitem>
    152 
    153 <listitem><para><ulink url="mailto:tim@idge.net">Tim Jackson</ulink>
    154 &lt;tim@idge.net&gt; -- linuxfromscratch.idge.net mirror.</para></listitem>
    155 
    156 <listitem><para><ulink url="mailto:barna@siker.hu">Barna Koczka</ulink>
    157 &lt;barna@siker.hu&gt; -- hu.linuxfromscratch.org mirror.</para></listitem>
    158 
    159 <listitem><para><ulink url="mailto:lfs-mirror@linuxfromscratch.rave.org">Roel
    160 Neefs</ulink> -- linuxfromscratch.rave.org mirror.</para></listitem>
    161 
    162 <listitem><para><ulink url="mailto:sime@dot-sime.com">Simon Nicoll</ulink>
    163 &lt;sime@dot-sime.com&gt; -- uk.linuxfromscratch.org mirror.</para></listitem>
    164 
    165 <listitem><para><ulink url="mailto:ervin@activalink.net">Ervin S.
    166 Odisho</ulink> &lt;ervin@activalink.net&gt; -- lfs.activalink.net
    167 mirror.</para></listitem>
    168 
    169 <listitem><para><ulink url="mailto:guido@primerelay.net">Guido Passet</ulink>
    170 &lt;guido@primerelay.net&gt; -- nl.linuxfromscratch.org
    171 mirror.</para></listitem>
    172 
    173 <listitem><para><ulink url="mailto:miha@xuy.biz">Mikhail Pastukhov</ulink>
    174 &lt;miha@xuy.biz&gt; -- lfs.130th.net mirror.</para></listitem>
    175 
    176 <listitem><para><ulink url="mailto:jpolen@rackspace.com">Jeremy Polen</ulink>
    177 &lt;jpolen@rackspace.com&gt; -- us2.linuxfromscratch.org
    178 mirror.</para></listitem>
    179 
    180 <listitem><para><ulink url="http://www.mirror.ac.uk">UK Mirror Service</ulink>
    181 -- linuxfromscratch.mirror.co.uk mirror.</para></listitem>
    182 
    183 <listitem><para><ulink url="mailto:thomas@sofagang.dk">Thomas Skyt</ulink>
    184 &lt;thomas@sofagang.dk&gt; -- dk.linuxfromscratch.org mirror.</para></listitem>
    185 
    186 <listitem><para><ulink url="mailto:Antonin.Sprinzl@tuwien.ac.at">Antonin
    187 Sprinzl</ulink> &lt;Antonin.Sprinzl@tuwien.ac.at&gt; -- at.linuxfromscratch.org
    188 mirror.</para></listitem>
    189 
    190 <listitem><para><ulink url="mailto:dag@stenstad.net">Dag Stenstad</ulink>
    191 &lt;dag@stenstad.net&gt; for providing no.linuxfromscratch.org and
    192 <ulink url="mailto:ian@ichilton.co.uk">Ian Chilton</ulink> for running
    193 it.</para></listitem>
    194239
    195240<listitem><para><ulink url="mailto:archive@doc.cs.univ-paris8.fr">Parisian
     
    197242www2.fr.linuxfromscratch.org mirror.</para></listitem>
    198243
    199 <listitem><para><ulink url="mailto:highos@linuxfromscratch.org">Jesse
    200 Tie-Ten-Quee</ulink> &lt;highos@linuxfromscratch.org&gt; for providing and
    201 running the linuxfromscratch.org server.</para></listitem>
    202 
    203244<listitem><para><ulink url="mailto:velin@zadnik.org">Alexander Velin</ulink>
    204245&lt;velin@zadnik.org&gt; -- bg.linuxfromscratch.org mirror.</para></listitem>
    205246
    206 <listitem><para><ulink url="mailto:Martin.Voss@ada.de">Martin Voss</ulink>
    207 &lt;Martin.Voss@ada.de&gt; -- lfs.linux-matrix.net mirror.</para></listitem>
     247<listitem><para><ulink url="mailto:dirk@securewebservices.co.uk">
     248Dirk Webster</ulink> &lt;dirk@securewebservices.co.uk&gt; --
     249lfs.securewebservices.co.uk mirror</para></listitem>
     250
     251<listitem><para><ulink url="mailto:thomas@sofagang.dk">Thomas Skyt</ulink>
     252&lt;thomas@sofagang.dk&gt; -- dk.linuxfromscratch.org mirror.</para></listitem>
     253
     254<listitem><para><ulink url="mailto:sime@dot-sime.com">Simon Nicoll</ulink>
     255&lt;sime@dot-sime.com&gt; -- uk.linuxfromscratch.org mirror.</para></listitem>
     256
     257</itemizedlist>
     258
     259</sect3>
     260
     261<sect3>
     262<title>Asian Mirrors</title>
     263
     264<itemizedlist>
    208265
    209266<listitem><para><ulink url="mailto:pyng@spam.averse.net">Pui Yong</ulink>
     
    211268mirror.</para></listitem>
    212269
    213 </itemizedlist>
     270<listitem><para><ulink url="mailto:stuart@althalus.me.uk">Stuart Harris</ulink>
     271&lt;stuart@althalus.me.uk&gt; -- lfs.mirror.intermedia.com.sg
     272mirror</para></listitem>
     273
     274<listitem><para><ulink url="mailto:unknown@unknown.org">Unknown User</ulink>
     275&lt;unknown@unknown.org&gt; -- lfs.mirror.if.itb.ac.id mirror</para></listitem>
     276
     277</itemizedlist>
     278
     279</sect3>
     280
     281<sect3>
     282<title>Australian Mirrors</title>
     283
     284<itemizedlist>
     285
     286<listitem><para><ulink url="mailto:jason@dstc.edu.au">Jason Andrade</ulink>
     287&lt;jason@dstc.edu.au&gt; -- au.linuxfromscratch.org mirror.</para></listitem>
     288
     289</itemizedlist>
     290
     291</sect3>
    214292
    215293</sect2>
     
    297375
    298376<listitem><para><ulink url="mailto:highos@linuxfromscratch.org">Jesse
    299 Tie-Ten-Quee</ulink> &lt;highos@linuxfromscratch.org&gt; for answering
     377Tie-Ten-Quee</ulink> &lt;highos@linuxfromscratch.org&gt; for temporarily
     378hosting the linuxfromscratch.org server, answering
    300379countless questions on IRC and having a great deal of patience.</para></listitem>
    301380
  • stylesheets/lfs-chunked.xsl

    r673b0d8 ra4a675f  
    1 <?xml version='1.0'?>
     1<?xml version='1.0' encoding='ISO-8859-1'?>
     2
     3<!-- Version 0.9 - Manuel Canales Esparcia <macana@lfs-es.org>
     4Based on the original lfs-chunked.xsl created by Matthew Burgess -->
     5
    26<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    37                xmlns="http://www.w3.org/1999/xhtml"
    48                version="1.0">
    59
    6   <!-- We use XHTML -->
     10        <!-- We use XHTML -->
    711  <xsl:import href="http://docbook.sourceforge.net/release/xsl/1.65.1/xhtml/chunk.xsl"/>
    812  <xsl:param name="chunker.output.encoding" select="'ISO-8859-1'"/>
     13 
     14        <!-- Including our others customized templates -->
     15  <xsl:include href="xhtml/lfs-admon.xsl"/>
     16  <xsl:include href="xhtml/lfs-index.xsl"/>
     17  <xsl:include href="xhtml/lfs-legalnotice.xsl"/>
     18  <xsl:include href="xhtml/lfs-mixed.xsl"/>
     19  <xsl:include href="xhtml/lfs-navigational.xsl"/>
     20  <xsl:include href="xhtml/lfs-titles.xsl"/>
     21  <xsl:include href="xhtml/lfs-toc.xsl"/>
    922
    10   <!-- The CSS Stylesheet -->
     23        <!-- The CSS Stylesheet -->
    1124  <xsl:param name="html.stylesheet" select="'../stylesheets/lfs.css'"/>
    1225
    13   <!-- Include our customised templates -->
    14   <xsl:include href="xhtml/lfs-toc.xsl"/>
    15   <xsl:include href="xhtml/lfs-index.xsl"/>
    16 
    17   <!-- Use graphics in admonitions -->
    18   <xsl:param name="admon.graphics" select="1"/>
    19   <xsl:param name="admon.graphics.path">../images/</xsl:param>
    20   <xsl:param name="admon.graphics.extension" select="'.png'"/>
    21 
    22   <!-- Legal Notice stuff -->
    23   <xsl:param name="generate.legalnotice.link" select="1"/>
    24   <xsl:template match="legalnotice" mode="titlepage.mode">
    25     <xsl:variable name="id"><xsl:call-template name="object.id"/></xsl:variable>
    26     <xsl:choose>
    27       <xsl:when test="$generate.legalnotice.link != 0">
    28         <xsl:variable name="filename">
    29           <xsl:call-template name="make-relative-filename">
    30             <xsl:with-param name="base.dir" select="''"/>
    31             <xsl:with-param name="base.name" select="concat($base.dir, 'prologue/legalnotice.html')"/>
    32           </xsl:call-template>
    33         </xsl:variable>
    34         <xsl:variable name="title">
    35           <xsl:apply-templates select="." mode="title.markup"/>
    36         </xsl:variable>
    37         <xsl:element name="a">
    38           <xsl:attribute name="href">
    39             <xsl:value-of select="'prologue/legalnotice.html'"/>
    40           </xsl:attribute>
    41           <xsl:copy-of select="$title"/>
    42         </xsl:element>
    43         <xsl:call-template name="write.chunk">
    44           <xsl:with-param name="filename" select="$filename"/>
    45           <xsl:with-param name="quiet" select="$chunk.quietly"/>
    46           <xsl:with-param name="content">
    47             <html>
    48               <head>
    49                 <xsl:call-template name="system.head.content"/>
    50                 <xsl:call-template name="head.content"/>
    51                 <xsl:call-template name="user.head.content"/>
    52               </head>
    53               <body>
    54                 <xsl:call-template name="body.attributes"/>
    55                 <div class="{local-name(.)}">
    56                   <xsl:apply-templates mode="titlepage.mode"/>
    57                 </div>
    58               </body>
    59             </html>
    60           </xsl:with-param>
    61         </xsl:call-template>
    62       </xsl:when>
    63       <xsl:otherwise>
    64         <div class="{local-name(.)}">
    65           <xsl:apply-templates mode="titlepage.mode"/>
    66         </div>
    67       </xsl:otherwise>
    68     </xsl:choose>
    69   </xsl:template>
    70 
    71   <!--TOC stuff-->
    72   <xsl:param name="generate.toc">
    73     appendix  toc
    74     book      toc,title,figure,table,example,equation
    75     chapter   nop
    76     part      toc
    77     preface   nop
    78     qandadiv  nop
    79     qandaset  nop 
    80     reference nop
    81     sect1     nop
    82     sect2     nop
    83     sect3     nop
    84     sect4     nop
    85     sect5     nop
    86     section   nop
    87     set       nop
    88   </xsl:param>
    89   <xsl:param name="toc.section.depth">1</xsl:param>
    90   <xsl:param name="toc.max.depth">3</xsl:param>
     26        <!-- Dropping some unwanted style attributes -->
     27  <xsl:param name="ulink.target" select="''"></xsl:param>
     28  <xsl:param name="css.decoration" select="0"></xsl:param>
     29 
     30        <!-- No XML declaration -->
     31        <xsl:param name="chunker.output.omit-xml-declaration" select="'yes'"/>
    9132
    9233</xsl:stylesheet>
  • stylesheets/lfs-pdf.xsl

    r673b0d8 ra4a675f  
    1 <?xml version='1.0'?>
     1<?xml version='1.0' encoding='ISO-8859-1'?>
     2
     3<!-- Version 0.9 - Manuel Canales Esparcia <macana@lfs-es.org>
     4Based on the original lfs-pdf.xsl created by Matthew Burgess -->
     5
    26<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    37                xmlns:fo="http://www.w3.org/1999/XSL/Format"
    4                 xmlns="http://www.w3.org/1999/xhtml"
    58                version="1.0">
    69
     
    912  <xsl:param name="fop.extensions" select="1"/>
    1013  <xsl:param name="draft.mode" select="'no'"/>
     14
     15  <!-- Including our others customized templates -->
     16  <xsl:include href="pdf/lfs-index.xsl"/>
     17  <xsl:include href="pdf/lfs-pagesetup.xsl"/>
     18
    1119  <!-- Probably want to make the paper size configurable -->
    1220  <xsl:param name="paper.type" select="'A4'"/>
    1321
    14   <!-- Include our customised templates -->
    15   <xsl:include href="pdf/lfs-index.xsl"/>
     22  <!-- Don't hyphenate -->
     23  <xsl:param name="hyphenate">false</xsl:param>
     24  <xsl:param name="alignment">left</xsl:param>
    1625
    1726  <!-- Font size -->
     
    1928  <xsl:param name="body.font.size">10pt</xsl:param>
    2029
    21   <!-- Margins -->
    22   <xsl:param name="page.margin.inner">1in</xsl:param>
    23   <xsl:param name="page.margin.outer">0.5in</xsl:param>
    24   <xsl:param name="title.margin.left">-1pc</xsl:param>
     30  <!-- Graphics in admonitions -->
     31  <xsl:param name="admon.graphics" select="1"/>
     32  <xsl:param name="admon.graphics.path"
     33    select="'/usr/share/xml/docbook/xsl-stylesheets-1.65.1/images/'"/>
    2534
    26   <!-- TOC stuff -->
     35  <!-- Shade screen -->
     36  <xsl:param name="shade.verbatim" select="1"/>
     37
     38  <!-- TOC generation -->
    2739  <xsl:param name="generate.toc">
    2840    book      toc
     
    3042  </xsl:param>
    3143  <xsl:param name="toc.section.depth">1</xsl:param>
    32   <xsl:param name="generate.section.toc.level" select="-1"></xsl:param>
    33   <xsl:param name="toc.indent.width" select="18"></xsl:param>
    34 
    35   <!-- Force section1's onto a new page -->
    36   <xsl:attribute-set name="section.level1.properties">
    37     <xsl:attribute name="break-after">page</xsl:attribute>
    38   </xsl:attribute-set>
    39 
    40   <!-- Columns in appendix -->
    41   <xsl:param name="column.count.back" select="2"/>
    42 
    43   <!-- Don't hyphenate -->
    44   <xsl:param name="hyphenate">false</xsl:param>
    45   <xsl:param name="alignment">left</xsl:param>
     44  <xsl:param name="generate.section.toc.level" select="-1"/>
     45  <xsl:param name="toc.indent.width" select="18"/>
    4646
    4747  <!-- Page number in Xref-->
    4848  <xsl:param name="insert.xref.page.number">yes</xsl:param>
    49   <xsl:template match="xref" name="xref">
    50     <xsl:variable name="targets" select="key('id',@linkend)"/>
    51     <xsl:variable name="target" select="$targets[1]"/>
    52     <xsl:variable name="refelem" select="local-name($target)"/>
    53     <xsl:call-template name="check.id.unique">
    54       <xsl:with-param name="linkend" select="@linkend"/>
    55     </xsl:call-template>
    56     <xsl:choose>
    57       <xsl:when test="$refelem=''">
    58         <xsl:message>
    59           <xsl:text>XRef to nonexistent id: </xsl:text>
    60           <xsl:value-of select="@linkend"/>
    61         </xsl:message>
    62         <xsl:text>???</xsl:text>
    63       </xsl:when>
    64       <xsl:when test="@endterm">
    65         <fo:basic-link internal-destination="{@linkend}"
    66                        xsl:use-attribute-sets="xref.properties">
    67           <xsl:variable name="etargets" select="key('id',@endterm)"/>
    68           <xsl:variable name="etarget" select="$etargets[1]"/>
    69           <xsl:choose>
    70             <xsl:when test="count($etarget) = 0">
    71               <xsl:message>
    72                 <xsl:value-of select="count($etargets)"/>
    73                 <xsl:text>Endterm points to nonexistent ID: </xsl:text>
    74                 <xsl:value-of select="@endterm"/>
    75               </xsl:message>
    76               <xsl:text>???</xsl:text>
    77             </xsl:when>
    78             <xsl:otherwise>
    79               <xsl:apply-templates select="$etarget" mode="endterm"/>
    80             </xsl:otherwise>
    81           </xsl:choose>
    82         </fo:basic-link>
    83       </xsl:when>
    84       <xsl:when test="$target/@xreflabel">
    85         <fo:basic-link internal-destination="{@linkend}"
    86                        xsl:use-attribute-sets="xref.properties">
    87           <xsl:call-template name="xref.xreflabel">
    88             <xsl:with-param name="target" select="$target"/>
    89           </xsl:call-template>
    90         </fo:basic-link>
    91       </xsl:when>
    92       <xsl:otherwise>
    93         <fo:basic-link internal-destination="{@linkend}"
    94                        xsl:use-attribute-sets="xref.properties">
    95           <xsl:apply-templates select="$target" mode="xref-to">
    96             <xsl:with-param name="referrer" select="."/>
    97             <xsl:with-param name="xrefstyle">
    98               <xsl:choose>
    99                 <xsl:when test="@role and not(@xrefstyle) and $use.role.as.xrefstyle != 0">
    100                   <xsl:value-of select="@role"/>
    101                 </xsl:when>
    102                 <xsl:otherwise>
    103                   <xsl:value-of select="@xrefstyle"/>
    104                 </xsl:otherwise>
    105               </xsl:choose>
    106             </xsl:with-param>
    107           </xsl:apply-templates>
    108         </fo:basic-link>
    109       </xsl:otherwise>
    110     </xsl:choose>
    111     <xsl:if test="not(starts-with(normalize-space(@xrefstyle), 'select:') != ''
    112                   and (contains(@xrefstyle, 'page')
    113                    or contains(@xrefstyle, 'Page')))
    114                   and ( $insert.xref.page.number = 'yes'
    115                    or $insert.xref.page.number = '1')
    116                    or local-name($target) = 'para'">
    117       <fo:basic-link internal-destination="{@linkend}"
    118                      xsl:use-attribute-sets="xref.properties">
    119         <xsl:text>, p. </xsl:text>
    120         <xsl:apply-templates select="$target" mode="page.citation">
    121           <xsl:with-param name="id" select="@linkend"/>
    122         </xsl:apply-templates>
    123       </fo:basic-link>
    124     </xsl:if>
     49  <xsl:template match="*" mode="page.citation">
     50    <xsl:param name="id" select="'???'"/>
     51    <fo:inline keep-together.within-line="always">
     52      <xsl:text>[p.</xsl:text>
     53      <fo:page-number-citation ref-id="{$id}"/>
     54      <xsl:text>]</xsl:text>
     55    </fo:inline>
    12556  </xsl:template>
    12657
  • stylesheets/lfs.css

    r673b0d8 ra4a675f  
    11body {
    22  font-weight: normal;
    3   font-size: normal;
     3  font-size: medium;
    44  font-family: verdana, tahoma, helvetica, arial, sans-serif;
    55  text-align: left;
     6  background: #fff;
    67}
    78
    8 div.navheader table {
    9     font-size: smaller;
     9.toc ul, .index ul {
     10        list-style: none;
    1011}
    1112
    12 div.navfooter table {
    13     font-size: smaller;
    14 }
    15 
    16 div.navheader img {
    17     border: medium none;
    18 }
    19 
    20 div.navfooter img {
    21     border: medium none;
     13li.preface {
     14        margin-left: 2.5em;
    2215}
    2316
     
    6962}
    7063
    71 div.warning {
    72     border: 1px solid;
     64div.admonition {
     65  border: medium solid;
     66  width: 90%;
     67  margin: .5em auto;
    7368}
    7469
    75 div.note {
    76     border: 1px solid;
     70div.admonhead h3 {
     71        display: inline;
     72        margin-left: 1.5em;
    7773}
    7874
    79 div.important {
    80     border: 1px solid;
    81 }
    82 
    83 div.caution {
    84     border: 1px solid;
    85 }
    86 
    87 div.warning h3.title {
    88     text-align: center
    89 }
    90 
    91 div.warning p {
    92     padding-left: 0.2in
    93 }
    94 
    95 div.note {
    96     padding-left: 0.2in
    97 }
    98 
    99 div.important {
    100     padding-left: 0.2in
    101 }
    102 
    103 div.caution {
    104     padding-left: 0.2in
     75div.admonbody {
     76        margin: .5em;
    10577}
    10678
     
    11991    float: left;
    12092}
    121 
    122 .toc ul, .index ul, .navheader ul, .navfooter ul {
    123         list-style: none;
    124 }
Note: See TracChangeset for help on using the changeset viewer.