Changeset 00cc7ce


Ignore:
Timestamp:
08/31/2004 09:42:58 PM (20 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
6.0
Children:
7f49e10
Parents:
3be2393
Message:

Line wrap in screen blocks to fit the line length in PDF output.

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/testing/BOOK@4104 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Files:
12 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    r3be2393 r00cc7ce  
    1 BASEDIR=~/lfs-book
    2 CHUNK_QUIET=0
    3 PDF_OUTPUT=LFS-BOOK.pdf
    4 NOCHUNKS_OUTPUT=LFS-BOOK.html
    5 XSLROOTDIR=/usr/share/xml/docbook/xsl-stylesheets-current
     1BASEDIR=/home/macana/tmp/test-book-LFS/
    62
    73lfs:
    8         xsltproc --xinclude --nonet -stringparam chunk.quietly $(CHUNK_QUIET) \
    9           -stringparam base.dir $(BASEDIR)/ stylesheets/lfs-chunked.xsl \
    10           index.xml
     4        xsltproc --xinclude --nonet --stringparam base.dir $(BASEDIR) \
     5          stylesheets/lfs-chunked.xsl index.xml
    116
    12         if [ ! -e $(BASEDIR)/stylesheets ]; then \
    13           mkdir -p $(BASEDIR)/stylesheets; \
    14         fi;
    15         cp stylesheets/*.css $(BASEDIR)/stylesheets
     7        mkdir -p $(BASEDIR)stylesheets && \
     8        cp stylesheets/*.css $(BASEDIR)stylesheets
    169
    17         if [ ! -e $(BASEDIR)/images ]; then \
    18           mkdir -p $(BASEDIR)/images; \
    19         fi;
    20         cp $(XSLROOTDIR)/images/*.png \
    21           $(BASEDIR)/images
    22         cd $(BASEDIR)/; sed -i -e "s@../stylesheets@stylesheets@g" \
     10        mkdir -p $(BASEDIR)images && \
     11        cp /usr/share/xml/docbook/xsl-stylesheets-1.65.1/images/*.png \
     12          $(BASEDIR)images
     13
     14        cd $(BASEDIR); sed -i -e "s@../stylesheets@stylesheets@g" \
    2315          *.html
    24         cd $(BASEDIR)/; sed -i -e "s@../images@images@g" \
     16        cd $(BASEDIR); sed -i -e "s@../images@images@g" \
    2517          *.html
    2618
    27         sh goTidy $(BASEDIR)/
    28 
    29 #
    30 # This is the old "pdf" target. The old "print" target below has been
    31 # renamed to "pdf" and will be used. This commented out previous_pdf
    32 # target can be removed eventually. It'll remain here for a bit for
    33 # historical reasons
    34 #
    35 #previous_pdf:
    36 #       xsltproc --xinclude --nonet --output $(BASEDIR)/lfs.fo stylesheets/lfs-pdf.xsl \
    37 #         index.xml
    38 #       sed -i -e "s/inherit/all/" $(BASEDIR)/lfs.fo
    39 #       fop.sh $(BASEDIR)/lfs.fo $(BASEDIR)/$(PDF_OUTPUT)
    40 #       rm lfs.fo
     19        cd $(BASEDIR); goTidy
    4120
    4221pdf:
    43         xsltproc --xinclude --nonet --stringparam profile.condition print \
    44                 --output $(BASEDIR)/lfs-pdf.xml stylesheets/lfs-profile.xsl index.xml
    45         xsltproc --nonet --output $(BASEDIR)/lfs-pdf.fo stylesheets/lfs-pdf.xsl \
    46                 $(BASEDIR)/lfs-pdf.xml
    47         sed -i -e "s/inherit/all/" $(BASEDIR)/lfs-pdf.fo
    48         fop.sh $(BASEDIR)/lfs-pdf.fo $(BASEDIR)/$(PDF_OUTPUT)
    49         rm $(BASEDIR)/lfs-pdf.xml $(BASEDIR)/lfs-pdf.fo
     22        xsltproc --xinclude --nonet --stringparam profile.condition print --output $(BASEDIR)lfs-pdf.xml \
     23    stylesheets/lfs-profile.xsl index.xml
     24        xsltproc --nonet --output $(BASEDIR)lfs-pdf.fo stylesheets/lfs-pdf.xsl $(BASEDIR)lfs-pdf.xml
     25        cd $(BASEDIR); sed -i -e "s@inherit@all@" lfs-pdf.fo
     26        cd $(BASEDIR); JAVA_HOME=/opt/java/jre1.3.1_02 FOP_HOME=/home/macana/tmp/fop \
     27  /home/macana/tmp/fop/fop.sh lfs-pdf.fo lfs-pdf.pdf
    5028
    5129nochunks:
    52         xsltproc --xinclude --nonet --output $(BASEDIR)/$(NOCHUNKS_OUTPUT) \
     30        xsltproc --xinclude --nonet --output $(BASEDIR)lfs-nochunk.html \
    5331          stylesheets/lfs-nochunks.xsl index.xml
    54         tidy -config tidy.conf $(BASEDIR)/$(NOCHUNKS_OUTPUT) || true
     32        tidy -config tidy.conf $(BASEDIR)lfs-nochunk.html || true
    5533
    5634validate:
    5735        xmllint --noout --nonet --xinclude --postvalid index.xml
     36 
    5837
  • chapter05/binutils-pass1.xml

    r3be2393 r00cc7ce  
    5555<para>Now prepare Binutils for compilation:</para>
    5656
    57 <screen><userinput>../binutils-&binutils-version;/configure --prefix=/tools --disable-nls</userinput></screen>
     57<screen><userinput>../binutils-&binutils-version;/configure --prefix=/tools
     58    --disable-nls</userinput></screen>
    5859
    5960<para>The meaning of the configure options:</para>
  • chapter06/binutils.xml

    r3be2393 r00cc7ce  
    4646set up for proper PTY operation:</para>
    4747
    48 <screen><computeroutput>The system has no more ptys.  Ask your system administrator to create more.</computeroutput></screen>
     48<screen><computeroutput>The system has no more ptys. 
     49Ask your system administrator to create more.</computeroutput></screen>
    4950
    5051<para>This issue needs to be resolved before running the test suites
     
    5960<para>Prepare Binutils for compilation:</para>
    6061
    61 <screen><userinput>../binutils-&binutils-version;/configure --prefix=/usr --enable-shared</userinput></screen>
     62<screen><userinput>../binutils-&binutils-version;/configure --prefix=/usr \
     63    --enable-shared</userinput></screen>
    6264
    6365<para>Compile the package:</para>
  • chapter06/coreutils.xml

    r3be2393 r00cc7ce  
    4040installed by other packages:</para>
    4141
    42 <screen><userinput>patch -Np1 -i ../coreutils-&coreutils-version;-suppress_uptime_kill_su-1.patch</userinput></screen>
     42<screen><userinput>patch -Np1 -i \
     43    ../coreutils-&coreutils-version;-suppress_uptime_kill_su-1.patch</userinput></screen>
    4344
    4445<para>Now prepare Coreutils for compilation:</para>
  • chapter06/gcc.xml

    r3be2393 r00cc7ce  
    7070
    7171<screen><userinput>../gcc-&gcc-version;/configure --prefix=/usr \
    72     --libexecdir=/usr/lib --enable-shared --enable-threads=posix \
    73     --enable-__cxa_atexit --enable-clocale=gnu --enable-languages=c,c++</userinput></screen>
     72    --libexecdir=/usr/lib --enable-shared \
     73    --enable-threads=posix --enable-__cxa_atexit \
     74    --enable-clocale=gnu --enable-languages=c,c++</userinput></screen>
    7475
    7576<para>Compile the package:</para>
  • chapter06/glibc.xml

    r3be2393 r00cc7ce  
    222222running:</para>
    223223
    224 <screen><userinput>cp --remove-destination /usr/share/zoneinfo/<replaceable>[xxx]</replaceable> /etc/localtime</userinput></screen>
     224<screen><userinput>cp --remove-destination /usr/share/zoneinfo/<replaceable>[xxx]</replaceable> \
     225    /etc/localtime</userinput></screen>
    225226
    226227<para>Replace [xxx] with the name of the time zone that the
  • chapter06/udev.xml

    r3be2393 r00cc7ce  
    5050the configuration files here:</para>
    5151
    52 <screen><userinput>cp ../udev-config-2.permissions /etc/udev/permissions.d/25-lfs.permissions
     52<screen><userinput>cp ../udev-config-2.permissions \
     53    /etc/udev/permissions.d/25-lfs.permissions
    5354cp ../udev-config-1.rules /etc/udev/rules.d/25-lfs.rules</userinput></screen>
    5455
  • chapter06/util-linux.xml

    r3be2393 r00cc7ce  
    3838following:</para>
    3939
    40 <screen><userinput>sed -i 's@etc/adjtime@var/lib/hwclock/adjtime@g' hwclock/hwclock.c
     40<screen><userinput>sed -i 's@etc/adjtime@var/lib/hwclock/adjtime@g' \
     41    hwclock/hwclock.c
    4142mkdir -p /var/lib/hwclock</userinput></screen>
    4243
  • chapter07/udev.xml

    r3be2393 r00cc7ce  
    208208module, at the same time.</quote>  For example:</para>
    209209
    210 <screen><userinput>install snd-pcm modprobe -i snd-pcm ; modprobe snd-pcm-oss ; true</userinput></screen>
     210<screen><userinput>install snd-pcm modprobe -i snd-pcm ; modprobe \
     211    snd-pcm-oss ; true</userinput></screen>
    211212
    212213<para>This will cause the system to load both the
  • chapter08/fstab.xml

    r3be2393 r00cc7ce  
    5757devices:</para>
    5858
    59 <screen> usbfs         /proc/bus/usb usbfs   devgid=14,devmode=0660 0 0 </screen>
     59<screen>usbfs        /proc/bus/usb usbfs   devgid=14,devmode=0660 0 0 </screen>
    6060
    6161<para>This option will only work if <quote>Support for Host-side
  • chapter08/kernel.xml

    r3be2393 r00cc7ce  
    5454
    5555<screen><userinput>loadkeys -m /usr/share/kbd/keymaps/<replaceable>[path to  keymap]</replaceable> &gt; \
    56     <replaceable>[unpacked sources dir]</replaceable>/linux-&linux-version;/drivers/char/defkeymap.c</userinput></screen>
     56    <replaceable>[sources dir]</replaceable>/linux-&linux-version;/drivers/char/defkeymap.c</userinput></screen>
    5757
    5858<para>For example, if using a Dutch keyboard, use
  • prologue/typography.xml

    r3be2393 r00cc7ce  
    2020referenced.</para>
    2121
    22 <screen><computeroutput>install-info: unknown option `--dir-file=/mnt/lfs/usr/info/dir'</computeroutput></screen>
     22<screen><computeroutput>install-info: unknown option '--dir-file=/mnt/lfs/usr/info/dir'</computeroutput></screen>
    2323
    2424<para>This form of text (fixed width text) shows screen output,
Note: See TracChangeset for help on using the changeset viewer.