Go to file
Pierre Labastie 855d0c9574 Remove an invalid attribute in longindex.html
For some reason, the stylesheets generate a
<div xmlns:xlink="http://www.w3.org/1999/xlink" ...> element in
longindex.html, but this is not valid in xhtml (the attribute
xmlns=xlink is not defined in the DTD). The problem is that tidy then
thinks it is not a true xhtml and removes the doctype declaration.
But when a browser receives a file without doctype declaration, it
thinks it uses an old standard, and switches to "quirks mode"
(for firefox, this can be seen by typing ctrl-I on the page).
2024-01-14 22:27:37 +01:00
appendices Update to systemd-255 2023-12-18 16:31:18 +08:00
bootscripts bootscripts: change "halt stop" to "halt start" 2023-10-04 15:52:42 +02:00
chapter01 Fix the definition of the C.UTF-8 locale. 2024-01-09 11:16:26 -06:00
chapter02 hostreqs: Bump Coreutils minimal version to 8.1 and check for nproc 2023-11-13 21:00:03 +08:00
chapter03 Package updates 2023-12-31 02:00:59 +08:00
chapter04 Nitpick on format 2024-01-11 13:52:28 +01:00
chapter05 Typo 2024-01-04 09:44:21 -06:00
chapter06 binutils: Add --enable-default-hash-style=gnu for configure (#5401) 2023-12-31 02:37:07 +08:00
chapter07 Nitpick on format 2024-01-11 13:52:28 +01:00
chapter08 udev: Drop duplicated udevadm in the ninja command 2024-01-14 17:39:22 +08:00
chapter09 Nitpick on format 2024-01-11 13:52:28 +01:00
chapter10 Nitpick on format 2024-01-11 13:52:28 +01:00
chapter11 afterlfs: "Work remotely via SSH" does not strictly need wget 2023-09-24 20:07:32 +08:00
images Adding some new png files to supoprt alternate css 2015-08-10 17:53:57 +00:00
part3intro Move a caution to a better page. 2023-09-04 15:08:43 -05:00
prologue package choices: Fix a typo 2023-07-28 20:01:29 +08:00
stylesheets Generate utf-8 encoded html 2023-11-23 20:59:52 +01:00
udev-lfs Update to udev-lfs-20230818 2023-08-18 10:35:49 -05:00
.gitignore build: Add "make dist" 2023-09-13 14:10:38 +08:00
aux-file-data.sh Convert bootscripts and udev tarballs to xz 2019-06-30 19:25:49 +00:00
gen-changelog.py gen-changelog: Handles holding tickets 2023-12-31 01:09:57 +08:00
general.ent Add --no-cache-dir into pip3 wheel commands for Python modules 2023-09-03 00:48:20 +08:00
git-version.sh git-version: Always skip creating version.ent if LFS-RELEASE exists 2023-09-13 16:08:06 +08:00
index.xml Just a test 2021-04-13 15:01:48 -05:00
INSTALL doc: correct the URL of BLFS docbook-xml-4.5 page 2022-02-23 02:10:17 +08:00
lfs-latest-git.php Update currency for setuptools 2023-11-01 11:10:45 -05:00
lfs-latest.php currency: Remove stale lfs-latest.php and symlink lfs-latest-git.php to it 2023-09-03 03:30:43 +08:00
make-aux-files.sh Fix make-aux-file for lfs-bootscript entities 2021-09-22 23:21:31 +02:00
Makefile Remove an invalid attribute in longindex.html 2024-01-14 22:27:37 +01:00
obfuscate.sh Fix small typos 2023-08-03 22:55:17 +08:00
packages.ent Package updates 2023-12-31 02:00:59 +08:00
patches.ent Package updates 2023-12-31 02:00:59 +08:00
pdf-fixups.sh Fix pdf presentation issues and some misc issues 2022-03-14 13:08:40 -05:00
process-scripts.sh Remove eol spaces 2021-09-07 23:10:29 +02:00
README Remove eol spaces 2021-09-07 23:05:44 +02:00
tidy.conf Generate utf-8 encoded html 2023-11-23 20:59:52 +01:00

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