10.0
10.0-rc1
10.1
10.1-rc1
11.0
11.0-rc1
11.0-rc2
11.0-rc3
11.1
11.1-rc1
11.2
11.2-rc1
11.3
11.3-rc1
12.0
12.0-rc1
12.1
12.1-rc1
12.2-rc1
6.0
6.1
6.1.1
6.3
6.4
6.5
6.6
6.7
6.8
7.0
7.1
7.2
7.3
7.4
7.5
7.5-systemd
7.6
7.6-systemd
7.7
7.7-systemd
7.8
7.8-systemd
7.9
7.9-systemd
8.0
8.1
8.2
8.3
8.4
9.0
9.1
arm
bdubbs/gcc13
ml-11.0
multilib
renodr/libudev-from-systemd
s6-init
trunk
xry111/arm64
xry111/arm64-12.0
xry111/clfs-ng
xry111/lfs-next
xry111/loongarch
xry111/loongarch-12.0
xry111/loongarch-12.1
xry111/mips64el
xry111/pip3
xry111/rust-wip-20221008
xry111/update-glibc
Rev | Line | |
---|
[ded6ddd] | 1 | <?xml version='1.0' encoding='ISO-8859-1'?>
|
---|
| 2 |
|
---|
| 3 | <!-- Created by Larry Lawrence <larry@linuxfromscratch.org> -->
|
---|
| 4 |
|
---|
| 5 | <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
---|
| 6 | version='1.0'>
|
---|
| 7 |
|
---|
| 8 | <xsl:import href="http://db2latex.sourceforge.net/xsl/docbook.xsl"/>
|
---|
| 9 | <xsl:output method="text" encoding="ISO-8859-1" indent="yes"/>
|
---|
| 10 | <xsl:variable name="latex.override">
|
---|
| 11 |
|
---|
| 12 | \documentclass[12pt]{book}
|
---|
| 13 |
|
---|
| 14 | \usepackage{lfs}
|
---|
| 15 | \usepackage{fancyhdr}
|
---|
| 16 | \usepackage{fancyvrb}
|
---|
| 17 | \usepackage{makeidx}
|
---|
| 18 | \usepackage{hyperref}
|
---|
| 19 | \usepackage{fancybox}
|
---|
| 20 |
|
---|
| 21 | \oddsidemargin -0.5in
|
---|
| 22 | \evensidemargin -0.625in
|
---|
| 23 | \textwidth 7in
|
---|
| 24 | \textheight 8.5in
|
---|
| 25 |
|
---|
| 26 | %\ifx\pdfoutput\undefined
|
---|
| 27 | %\else
|
---|
| 28 | %\pdfpagewidth=7in
|
---|
| 29 | %\pdfpageheight=8.5in
|
---|
| 30 | %\fi
|
---|
| 31 |
|
---|
| 32 | \pagestyle{fancy}
|
---|
| 33 | \newenvironment{admonition}[2] {
|
---|
| 34 | \vspace{8mm}
|
---|
| 35 | \hspace{0mm}\newline
|
---|
| 36 | \noindent
|
---|
| 37 | }
|
---|
| 38 |
|
---|
| 39 |
|
---|
| 40 | \fancyhf{}
|
---|
| 41 | \fancyhead[LE,RO]{\bfseries\thepage}
|
---|
| 42 | \fancyhead[LO]{\bfseries\rightmark}
|
---|
| 43 | \fancyhead[RE]{\bfseries\leftmark}
|
---|
| 44 | \renewcommand{\headrulewidth}{0.5pt}
|
---|
| 45 | \renewcommand{\footrulewidth}{0pt}
|
---|
| 46 | \addtolength{\headheight}{3pt}
|
---|
| 47 | \fancypagestyle{plain}{%
|
---|
| 48 | \fancyhead{}
|
---|
| 49 | \renewcommand{\headrulewidth}{0pt}
|
---|
| 50 | }
|
---|
| 51 |
|
---|
| 52 |
|
---|
| 53 | \hyphenation{change-log cpp-flags ctrlaltdel ma-cros chil-ton}
|
---|
| 54 |
|
---|
| 55 | <!-- adds \frontmatter to document -->
|
---|
| 56 |
|
---|
| 57 | </xsl:variable>
|
---|
| 58 |
|
---|
| 59 | <xsl:variable name="toc.section.depth">1</xsl:variable>
|
---|
| 60 |
|
---|
| 61 | <xsl:variable name="latex.book.begindocument">
|
---|
| 62 | <xsl:text>\begin{document} </xsl:text>
|
---|
| 63 | <xsl:text>\frontmatter </xsl:text>
|
---|
| 64 | </xsl:variable>
|
---|
| 65 |
|
---|
| 66 | <!-- This put each section on a new page in the preface section -->
|
---|
| 67 |
|
---|
| 68 | <xsl:template match="preface/sect1">
|
---|
| 69 | <xsl:text> </xsl:text>
|
---|
| 70 | <xsl:text>\newpage </xsl:text>
|
---|
| 71 | <xsl:text>\section*{</xsl:text><xsl:copy-of
|
---|
| 72 | select="normalize-space(title)"/><xsl:text>} </xsl:text>
|
---|
| 73 | <xsl:apply-templates/>
|
---|
| 74 | </xsl:template>
|
---|
| 75 |
|
---|
| 76 |
|
---|
| 77 |
|
---|
| 78 | </xsl:stylesheet>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.