mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2026-07-16 15:48:58 -04:00
e86e9c4f234da49334a16ea6a93da0f1d519a688
Those stylesheets selected download urls by seeking some pattern in their content. Those patterns may need to be adjusted if a new type of file is downloaded. We prefer to seek urls inside <para> containing "Download", which is the norm in chapter 3. The condition is also that those <para> are in a <listitem>.
LFS Book README This document is meant to instruct the user on how to convert the book's XML source to other formats (e.g. HTML, PDF, PS and TXT). First, if you have not already done so, please read the INSTALL file for instructions on how to install the required software. If you have already completed the steps outlined in the INSTALL file, then continue reading for examples how to convert these files into various other formats. In all examples, setting the parameter REV=systemd is needed to build the systemd version of the book. XML to XHTML: ------------- make BASEDIR=/path/to/output/location XML to single file XHTML (nochunks): ------------------------------------ make BASEDIR=/path/to/output/location nochunks XML to TXT ---------- Follow the instructions for nochunks and then run: lynx -dump /path/to/nochunks >/path/to/output XML to PDF: ----------- make BASEDIR=/path/to/output/location pdf
Description
Languages
XSLT
51.6%
Shell
31%
PHP
5%
Makefile
4.1%
Python
3.7%
Other
4.6%