README 923 B

12345678910111213141516171819202122232425262728293031
  1. LFS Book README
  2. This document is meant to instruct the user on how to convert the book's XML
  3. source to other formats (e.g. HTML, PDF, PS and TXT). First, if you have not
  4. already done so, please read the INSTALL file for instructions on how to install
  5. the required software. If you have already completed the steps outlined in the
  6. INSTALL file, then continue reading for examples how to convert these files into
  7. various other formats.
  8. In all examples, setting the parameter REV=systemd is needed to build the
  9. systemd version of the book.
  10. XML to XHTML:
  11. -------------
  12. make BASEDIR=/path/to/output/location
  13. XML to single file XHTML (nochunks):
  14. ------------------------------------
  15. make BASEDIR=/path/to/output/location nochunks
  16. XML to TXT
  17. ----------
  18. Follow the instructions for nochunks and then run:
  19. lynx -dump /path/to/nochunks >/path/to/output
  20. XML to PDF:
  21. -----------
  22. make BASEDIR=/path/to/output/location pdf