Changeset 1881a5b
- Timestamp:
- 06/05/2005 06:51:46 PM (19 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- 0efab06
- Parents:
- 0dfb754
- Files:
-
- 1 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
Makefile
r0dfb754 r1881a5b 20 20 echo "Envar BASEDIR is not set!" ; \ 21 21 exit 1 ; \ 22 22 fi 23 23 @echo "Generating XHTML Version of BLFS Book with xsltproc..." 24 24 @echo " BASEDIR = $(BASEDIR)" … … 42 42 xsltproc --xinclude --nonet -stringparam profile.condition html \ 43 43 --output $(BASEDIR)/$(NOCHUNKS_OUTPUT) \ 44 44 stylesheets/blfs-nochunks.xsl index.xml 45 45 46 46 tidy -config tidy.conf $(BASEDIR)/$(NOCHUNKS_OUTPUT) || true … … 51 51 pdf: 52 52 xsltproc --xinclude --nonet --output blfs.fo \ 53 stylesheets/blfs-pdf.xsl \ 54 index.xml 53 stylesheets/blfs-pdf.xsl index.xml 55 54 sed -i -e "s/inherit/all/" blfs.fo 56 55 fop.sh blfs.fo blfs.pdf … … 59 58 mv blfs.pdf $(BASEDIR)pdf 60 59 61 print:62 xsltproc --xinclude --nonet --output blfs-print.fo \63 stylesheets/blfs-print.xsl index.xml64 sed -i -e "s/inherit/all/" blfs-print.fo65 fop.sh blfs-print.fo blfs-print.pdf66 $(INSTALL) -d $(BASEDIR)print67 rm blfs-print.fo68 mv blfs-print.pdf $(BASEDIR)print69 70 60 tex: 71 61 @if [ -z $(TEXBASEDIR) ]; then \ 72 73 74 62 echo "Envar TEXBASEDIR is not set!" ; \ 63 exit 1 ; \ 64 fi 75 65 @echo "Generating TeX Version of BLFS Book with xsltproc..." 76 66 @echo " TEXBASEDIR = $(TEXBASEDIR)" … … 79 69 # i.e., Changelog 80 70 xsltproc --nonet --output $(TEXBASEDIR)index.xml \ 81 --stringparam "profile.role" "book" \71 --stringparam "profile.role" "book" \ 82 72 http://docbook.sourceforge.net/release/xsl/current/profiling/profile.xsl \ 83 index.xml73 index.xml 84 74 @cd $(TEXBASEDIR) && xsltproc --nonet -o blfs-book.tex \ 85 $(SRCDIR)/stylesheets/blfs-tex.xsl index.xml75 $(SRCDIR)/stylesheets/blfs-tex.xsl index.xml 86 76 87 77 validate: -
README
r0dfb754 r1881a5b 3 3 conversions. Please read the INSTALL file to determine what programs 4 4 you need to install and where to get instructions to install that software. 5 Then come back to this file for examples how to convert these files6 into various other formats.7 5 8 These instructions are also incorporated in the Makefile. 6 After that, you can build the html with a simple 'make' command. 7 The default target builds the html in $(HOME)/public_html/blfs-book. 9 8 10 XML to HTML: 11 ------------ 12 Create a directory in which you want to store the HTML files: ~/blfs-html 13 Change to the top of the directory where the xml code is located. 14 Now run: 15 BASEDIR="~/blfs-html" 16 xsltproc --xinclude --nonet -stringparam base.dir $(BASEDIR) \ 17 stylesheets/blfs-chunked.xsl index.xml 18 mkdir -p $(BASEDIR)stylesheets $(BASEDIR)images 19 cp stylesheets/*.css $(BASEDIR)stylesheets 20 cp images/*.png $(BASEDIR)/images 21 sed -i -e "s@../stylesheets@stylesheets@g" $(BASEDIR)/*.html 22 sed -i -e "s@../images@images@g" $(BASEDIR)/*.html 23 sh goTidy $(BASEDIR)/ 9 Other Makefile targets are: nochunks, pdf, tex, validate, and 10 blfs-patch-list. 24 11 12 nochunks: builds BLFS in one huge file. 25 13 26 XML to NOCHUNKS-HTML: 27 -------------------- 28 The NOCHUNKS HTML version is one big HTML file: 29 xsltproc --xinclude --nonet -stringparam profile.condition html \ 30 --output $(BASEDIR)/BLFS-BOOK.html stylesheets/blfs-nochunks.xsl index.xml 31 tidy -config tidy.conf $(BASEDIR)/BLFS-BOOK.html 32 sed -i -e "s@text/html@application/xhtml+xml@g" $(BASEDIR)/BLFS-BOOK.html 14 pdf: builds BLFS as a pdf file. 33 15 34 XML to TXT: 35 ----------- 36 First create the NOCHUNKS HTML file, then convert by running: 37 /usr/bin/lynx -dump nochunks.html > output.txt 16 tex: converts the xml files to tex files 38 17 39 XML to PDF: 40 ------------------ 41 xsltproc --xinclude --nonet --output blfs.fo stylesheets/blfs-pdf.xsl index.xml 42 sed -i -e "s/inherit/all/" blfs.fo 43 fop.sh blfs.fo blfs.pdf 44 mkdir -p $(BASEDIR)/pdf 45 rm blfs.fo 46 mv blfs.pdf $(BASEDIR)/pdf 18 validate: does an extensive check for xml errors in the book. 47 19 20 blfs-patch-list: generates a list of all blfs controlled patches in the book. -
general.ent
r0dfb754 r1881a5b 1 <!ENTITY day "0 4">1 <!ENTITY day "05"> 2 2 <!ENTITY month "06"> 3 3 <!ENTITY year "2005"> … … 52 52 <!ENTITY joe-version "3.1"> 53 53 <!ENTITY ed-version "0.2"> 54 <!ENTITY bluefish-version "1.0.1"> 54 55 55 56 <!-- Chapter 7 --> -
introduction/welcome/changelog.xml
r0dfb754 r1881a5b 24 24 25 25 <itemizedlist> 26 27 <listitem> 28 <para>June 5th, 2005 [bdubbs]: Added blufish-1.0.1 from patch 29 provided by theOldFellow.</para> 30 </listitem> 26 31 27 32 <listitem> -
introduction/welcome/credits.xml
r0dfb754 r1881a5b 315 315 </listitem> 316 316 317 <listitem> 318 <para>bluefish: 319 <emphasis>theOldFellow</emphasis></para> 320 </listitem> 321 317 322 </itemizedlist> 318 323 -
postlfs/editors/editors.xml
r0dfb754 r1881a5b 21 21 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="joe.xml"/> 22 22 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="ed.xml"/> 23 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="bluefish.xml"/> 23 24 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="others.xml"/> 24 25
Note:
See TracChangeset
for help on using the changeset viewer.