source: stylesheets/blfs-tex.xsl@ 276015d2

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.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
Last change on this file since 276015d2 was 276015d2, checked in by Randy McMurchy <randy@…>, 17 years ago

Added the LastChangedBy and Date keywords then set the corresponding keyword property on each file in the repo

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@6430 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 1.7 KB
Line 
1<?xml version='1.0'?>
2<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
3version='1.0'>
4
5<xsl:import href="/usr/share/xml/docbook/db2latex-xsl-0.8pre1/xsl/docbook.xsl"/>
6<xsl:output method="text" encoding="ISO-8859-1" indent="yes"/>
7<xsl:variable name="latex.override">
8
9<!--
10$LastChangedBy$
11$Date$
12-->
13
14\documentclass[12pt]{book}
15
16\usepackage{lfs}
17\usepackage{fancyhdr}
18\usepackage{fancyvrb}
19\usepackage{makeidx}
20\usepackage{hyperref}
21\usepackage{fancybox}
22
23\oddsidemargin -0.5in
24\evensidemargin -0.625in
25\textwidth 7in
26\textheight 8.5in
27
28%\ifx\pdfoutput\undefined
29%\else
30%\pdfpagewidth=7in
31%\pdfpageheight=8.5in
32%\fi
33
34\pagestyle{fancy}
35\newenvironment{admonition}[2] {
36 \vspace{8mm}
37 \hspace{0mm}\newline
38 \noindent
39}
40
41
42\fancyhf{}
43\fancyhead[LE,RO]{\bfseries\thepage}
44\fancyhead[LO]{\bfseries\rightmark}
45\fancyhead[RE]{\bfseries\leftmark}
46\renewcommand{\headrulewidth}{0.5pt}
47\renewcommand{\footrulewidth}{0pt}
48\addtolength{\headheight}{3pt}
49\fancypagestyle{plain}{%
50 \fancyhead{}
51 \renewcommand{\headrulewidth}{0pt}
52}
53
54
55\hyphenation{change-log cpp-flags ctrlaltdel ma-cros chil-ton}
56
57<!-- adds \frontmatter to document -->
58
59</xsl:variable>
60
61<xsl:variable name="toc.section.depth">1</xsl:variable>
62
63<xsl:variable name="latex.book.begindocument">
64 <xsl:text>\begin{document}&#10;</xsl:text>
65 <xsl:text>\frontmatter&#10;</xsl:text>
66</xsl:variable>
67
68<!-- This put each section on a new page in the preface section -->
69
70<xsl:template match="preface/sect1">
71 <xsl:text>&#10;</xsl:text>
72 <xsl:text>\newpage&#10;</xsl:text>
73 <xsl:text>\section*{</xsl:text><xsl:copy-of
74select="normalize-space(title)"/><xsl:text>}&#10;</xsl:text>
75 <xsl:apply-templates/>
76</xsl:template>
77
78
79
80</xsl:stylesheet>
Note: See TracBrowser for help on using the repository browser.