From ded6dddb89cade026e592cd386790b5b10e6fe00 Mon Sep 17 00:00:00 2001 From: Manuel Canales Esparcia Date: Sat, 8 May 2004 14:19:53 +0000 Subject: Updated the stylesheets to their current version. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3529 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- stylesheets/lfs-chunked.xsl | 103 +++++--------------- stylesheets/lfs-pdf.xsl | 129 ++++++-------------------- stylesheets/lfs-print.xsl | 57 ++++++++++++ stylesheets/lfs-tex.xsl | 78 ++++++++++++++++ stylesheets/lfs.css | 90 +++++++++--------- stylesheets/patcheslist.xsl | 24 +++++ stylesheets/pdf/lfs-index.xsl | 165 ++++++++++++++++++++++----------- stylesheets/pdf/lfs-pagesetup.xsl | 115 +++++++++++++++++++++++ stylesheets/print/lfs-index.xsl | 127 +++++++++++++++++++++++++ stylesheets/print/lfs-pagesetup.xsl | 120 ++++++++++++++++++++++++ stylesheets/xhtml/lfs-admon.xsl | 47 ++++++++++ stylesheets/xhtml/lfs-index.xsl | 21 ++++- stylesheets/xhtml/lfs-legalnotice.xsl | 76 +++++++++++++++ stylesheets/xhtml/lfs-mixed.xsl | 39 ++++++++ stylesheets/xhtml/lfs-navigational.xsl | 150 ++++++++++++++++++++++++++++++ stylesheets/xhtml/lfs-titles.xsl | 80 ++++++++++++++++ stylesheets/xhtml/lfs-toc.xsl | 142 +++++++++++++++++----------- 17 files changed, 1229 insertions(+), 334 deletions(-) create mode 100644 stylesheets/lfs-print.xsl create mode 100644 stylesheets/lfs-tex.xsl create mode 100644 stylesheets/patcheslist.xsl create mode 100644 stylesheets/pdf/lfs-pagesetup.xsl create mode 100644 stylesheets/print/lfs-index.xsl create mode 100644 stylesheets/print/lfs-pagesetup.xsl create mode 100644 stylesheets/xhtml/lfs-admon.xsl create mode 100644 stylesheets/xhtml/lfs-legalnotice.xsl create mode 100644 stylesheets/xhtml/lfs-mixed.xsl create mode 100644 stylesheets/xhtml/lfs-navigational.xsl create mode 100644 stylesheets/xhtml/lfs-titles.xsl (limited to 'stylesheets') diff --git a/stylesheets/lfs-chunked.xsl b/stylesheets/lfs-chunked.xsl index e7f6c85df..8abaf3ddd 100644 --- a/stylesheets/lfs-chunked.xsl +++ b/stylesheets/lfs-chunked.xsl @@ -1,92 +1,33 @@ - + + + + - + - - - - - - + + + + + + + + - - - ../images/ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
-
-
- -
- -
-
-
-
+ + - - - appendix toc - book toc,title,figure,table,example,equation - chapter nop - part toc - preface nop - qandadiv nop - qandaset nop - reference nop - sect1 nop - sect2 nop - sect3 nop - sect4 nop - sect5 nop - section nop - set nop - - 1 - 3 + + + + + +
diff --git a/stylesheets/lfs-pdf.xsl b/stylesheets/lfs-pdf.xsl index 568f7f229..2a7e25790 100644 --- a/stylesheets/lfs-pdf.xsl +++ b/stylesheets/lfs-pdf.xsl @@ -1,127 +1,58 @@ - + + + + + + + + + - - + + false + left 8 10pt - - 1in - 0.5in - -1pc + + + + + + - + book toc part nop 1 - - - - - - page - - - - - - - false - left + + yes - - - - - - - - - - - XRef to nonexistent id: - - - ??? - - - - - - - - - - Endterm points to nonexistent ID: - - - ??? - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - , p. - - - - - + + + + [p. + + ] + diff --git a/stylesheets/lfs-print.xsl b/stylesheets/lfs-print.xsl new file mode 100644 index 000000000..8cca38786 --- /dev/null +++ b/stylesheets/lfs-print.xsl @@ -0,0 +1,57 @@ + + + + + + + + + + + + + + + + + + + + + true + justify + + + + + + 8 + 10pt + + + + book toc + part nop + + 1 + + + + + yes + + + + [p + + ] + + + + + + + diff --git a/stylesheets/lfs-tex.xsl b/stylesheets/lfs-tex.xsl new file mode 100644 index 000000000..a312c5214 --- /dev/null +++ b/stylesheets/lfs-tex.xsl @@ -0,0 +1,78 @@ + + + + + + + + + + +\documentclass[12pt]{book} + +\usepackage{lfs} +\usepackage{fancyhdr} +\usepackage{fancyvrb} +\usepackage{makeidx} +\usepackage{hyperref} +\usepackage{fancybox} + +\oddsidemargin -0.5in +\evensidemargin -0.625in +\textwidth 7in +\textheight 8.5in + +%\ifx\pdfoutput\undefined +%\else +%\pdfpagewidth=7in +%\pdfpageheight=8.5in +%\fi + +\pagestyle{fancy} +\newenvironment{admonition}[2] { + \vspace{8mm} + \hspace{0mm}\newline + \noindent +} + + +\fancyhf{} +\fancyhead[LE,RO]{\bfseries\thepage} +\fancyhead[LO]{\bfseries\rightmark} +\fancyhead[RE]{\bfseries\leftmark} +\renewcommand{\headrulewidth}{0.5pt} +\renewcommand{\footrulewidth}{0pt} +\addtolength{\headheight}{3pt} +\fancypagestyle{plain}{% + \fancyhead{} + \renewcommand{\headrulewidth}{0pt} +} + + +\hyphenation{change-log cpp-flags ctrlaltdel ma-cros chil-ton} + + + + + +1 + + + \begin{document} + \frontmatter + + + + + + + \newpage + \section*{} + + + + + + diff --git a/stylesheets/lfs.css b/stylesheets/lfs.css index cf2f43909..c7cc75d32 100644 --- a/stylesheets/lfs.css +++ b/stylesheets/lfs.css @@ -1,24 +1,53 @@ body { font-weight: normal; - font-size: normal; + font-size: medium; font-family: verdana, tahoma, helvetica, arial, sans-serif; text-align: left; } -div.navheader table { - font-size: smaller; +.toc ul, .index ul { + list-style: none; +} + +.navheader, .navfooter { + font-size: smaller; + text-align: center; +} + +.headerlinks { + border-bottom : solid 2px green; + padding-bottom: 0.5em; +} + +.navfooter { + border-top : solid 2px green; + padding-top: 0.5em; + margin-top: 0.5em; +} + +.prev { + float : left; + text-align: left; + /* border : solid 1px #ddd; */ + padding-left: 2em; } -div.navfooter table { - font-size: smaller; +.next { + float : right; + text-align: right; + /* border : solid 1px #0dd; */ + padding-right: 2em; } -div.navheader img { - border: medium none; +.up { + /* border : solid 1px #ff0; */ + width : 10em; + /* background-color: #bbb; */ + margin: 0px auto; } -div.navfooter img { - border: medium none; +li.preface { + margin-left: 2.5em; } div.book div.titlepage h1.title { @@ -68,40 +97,19 @@ pre.synopsis { background-color: #dddddd; } -div.warning { - border: 1px solid; -} - -div.note { - border: 1px solid; -} - -div.important { - border: 1px solid; -} - -div.caution { - border: 1px solid; -} - -div.warning h3.title { - text-align: center -} - -div.warning p { - padding-left: 0.2in -} - -div.note { - padding-left: 0.2in +div.admonition { + border: medium solid; + width: 90%; + margin: .5em auto; } -div.important { - padding-left: 0.2in +div.admonhead h3 { + display: inline; + margin-left: 1.5em; } -div.caution { - padding-left: 0.2in +div.admonbody { + margin: .5em; } .command { @@ -118,7 +126,3 @@ div.caution { width: 12.5em; float: left; } - -.toc ul, .index ul, .navheader ul, .navfooter ul { - list-style: none; -} diff --git a/stylesheets/patcheslist.xsl b/stylesheets/patcheslist.xsl new file mode 100644 index 000000000..50456bc10 --- /dev/null +++ b/stylesheets/patcheslist.xsl @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/stylesheets/pdf/lfs-index.xsl b/stylesheets/pdf/lfs-index.xsl index 43f306ee1..817fbf9d9 100644 --- a/stylesheets/pdf/lfs-index.xsl +++ b/stylesheets/pdf/lfs-index.xsl @@ -3,23 +3,22 @@ + + ]> - + - - - - + + - Index of packages and important installed files @@ -38,47 +37,98 @@ Packages - - - Programs - - - Libraries - - - Scripts - - - Others - - - - - + + + Programs + + + Libraries + + + Scripts + + + Others + + + + + - - - - - - + + + + + + + + + + + - + - : + + + + + + + + + + + : + + + + + + + + + + + + + + + + + + + + + + + + + : + + + + + + + + + @@ -100,19 +150,26 @@ - - - - - - - , - - description - - - - + + + + + + + + + + + + + + description + + + + + + @@ -122,12 +179,16 @@ - - - - - - + + + + + + + + + + diff --git a/stylesheets/pdf/lfs-pagesetup.xsl b/stylesheets/pdf/lfs-pagesetup.xsl new file mode 100644 index 000000000..97d1b9956 --- /dev/null +++ b/stylesheets/pdf/lfs-pagesetup.xsl @@ -0,0 +1,115 @@ + + + + + + + + + + + + page + + + auto + + + + + + + + + + + right + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0.75in + 0.75in + -1pc + + 0.8em + 0.6em + 1em + + + 0.8em + 0.6em + 1em + 0.8em + 0.6em + 1em + + + 0.6em + 0.4em + 0.8em + + + 0.6em + 0.8em + 1em + 0.6em + 0.8em + 1em + + + + + + + + + + + diff --git a/stylesheets/print/lfs-index.xsl b/stylesheets/print/lfs-index.xsl new file mode 100644 index 000000000..63a014a82 --- /dev/null +++ b/stylesheets/print/lfs-index.xsl @@ -0,0 +1,127 @@ + + + + + +]> + + + + + + + + + Index of packages and important installed files + + + + + + + + + + + + + + + Packages + + + Programs + + + Libraries + + + Scripts + + + Others + + + + + + + + + + + + + + + + + + + + + + : + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + , + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/stylesheets/print/lfs-pagesetup.xsl b/stylesheets/print/lfs-pagesetup.xsl new file mode 100644 index 000000000..44e91acc2 --- /dev/null +++ b/stylesheets/print/lfs-pagesetup.xsl @@ -0,0 +1,120 @@ + + + + + + + + + + + + page + + + auto + + + + + + + + + + + + right + left + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1in + 0.5in + -1pc + + 0.8em + 0.6em + 1em + + + 0.8em + 0.6em + 1em + 0.8em + 0.6em + 1em + + + 0.6em + 0.4em + 0.8em + + + 0.6em + 0.8em + 1em + 0.6em + 0.8em + 1em + + + + + + + + + + + diff --git a/stylesheets/xhtml/lfs-admon.xsl b/stylesheets/xhtml/lfs-admon.xsl new file mode 100644 index 000000000..7cf0520f0 --- /dev/null +++ b/stylesheets/xhtml/lfs-admon.xsl @@ -0,0 +1,47 @@ + + + + + + + + + ../images/ + + + + + + + Note + Warning + Caution + Tip + Important + Note + + +
+
+ [{$admon.type}] + + + + +

+ + + : + + +

+
+
+ +
+
+
+ +
diff --git a/stylesheets/xhtml/lfs-index.xsl b/stylesheets/xhtml/lfs-index.xsl index 2405e5586..825378702 100644 --- a/stylesheets/xhtml/lfs-index.xsl +++ b/stylesheets/xhtml/lfs-index.xsl @@ -6,24 +6,31 @@ ]> - + - - longindex.html + Index of packages and important installed files + - - Index of packages and important installed files + + + +
+

+ +

+
+
@@ -109,6 +116,7 @@ +
diff --git a/stylesheets/xhtml/lfs-legalnotice.xsl b/stylesheets/xhtml/lfs-legalnotice.xsl new file mode 100644 index 000000000..4b43a9f19 --- /dev/null +++ b/stylesheets/xhtml/lfs-legalnotice.xsl @@ -0,0 +1,76 @@ + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+
+ + + +
+
+
+ + + +

+ + + + + + + + + + + copyright + + + + + + + + + +

+
+ +
diff --git a/stylesheets/xhtml/lfs-mixed.xsl b/stylesheets/xhtml/lfs-mixed.xsl new file mode 100644 index 000000000..08dc2262f --- /dev/null +++ b/stylesheets/xhtml/lfs-mixed.xsl @@ -0,0 +1,39 @@ + + + + + + + + + + +
+          
+            
+          
+        
+
+ + + +
+          
+        
+
+
+
+ +
diff --git a/stylesheets/xhtml/lfs-navigational.xsl b/stylesheets/xhtml/lfs-navigational.xsl new file mode 100644 index 000000000..766f2a9ef --- /dev/null +++ b/stylesheets/xhtml/lfs-navigational.xsl @@ -0,0 +1,150 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/stylesheets/xhtml/lfs-titles.xsl b/stylesheets/xhtml/lfs-titles.xsl new file mode 100644 index 000000000..ec6c68cfe --- /dev/null +++ b/stylesheets/xhtml/lfs-titles.xsl @@ -0,0 +1,80 @@ + + + + + + + +
+

+ +

+
+
+ + +
+

+ +

+
+
+ + +
+

+ +

+
+
+ + + + + + + + +
+

+ +

+
+
+
+
+ + + + + + + + + + + +
+

+ +

+
+
+ +
diff --git a/stylesheets/xhtml/lfs-toc.xsl b/stylesheets/xhtml/lfs-toc.xsl index ff064fd31..56c14820c 100644 --- a/stylesheets/xhtml/lfs-toc.xsl +++ b/stylesheets/xhtml/lfs-toc.xsl @@ -1,13 +1,12 @@ - + - - - + + appendix toc book toc,title,figure,table,example,equation @@ -29,9 +28,56 @@ 1 3 - - - ul + + + + + + +
+

+ + TableofContents + +

+
    + + + +
+
+
+
+ + + + + + +
    + + + +
+
+ + + 1 + 0 + + + +
  • + + + + + + +
  • +
    @@ -40,37 +86,47 @@ - - -
    - - - - - - - - + + + + + + + +

    - - - - - - - - - - - + + + + + + + +

    - - + + + + + + + + +

    +
    + +

    + + + + + + @@ -79,29 +135,7 @@ - -

    - - -

    - - - - - - - - - - - - - - - - - - +

    -- cgit v1.2.3-54-g00ecf