From 06aa63b6f19131071800985746b445dee42d91eb Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Fri, 10 Jun 2005 20:29:09 +0000 Subject: Large number of small fixes to the layout and the build system. (This used to be commit 73fac0653c774a8ed8654b064fd63d4e486f6b0f) --- docs/xslt/expand-sambadoc.xsl | 50 --------------------------- docs/xslt/latex.overrides.xml | 9 +++++ docs/xslt/latex.xsl | 79 +++++++++++++------------------------------ docs/xslt/latex/sambadoc.cls | 29 ++++++++++++++++ 4 files changed, 61 insertions(+), 106 deletions(-) create mode 100644 docs/xslt/latex.overrides.xml (limited to 'docs/xslt') diff --git a/docs/xslt/expand-sambadoc.xsl b/docs/xslt/expand-sambadoc.xsl index f74d14c66b..12ea497101 100644 --- a/docs/xslt/expand-sambadoc.xsl +++ b/docs/xslt/expand-sambadoc.xsl @@ -27,17 +27,6 @@ - - - - - - Translation to - - - - - @@ -45,9 +34,6 @@ - @@ -157,13 +143,6 @@ - - - - - - - @@ -466,35 +445,6 @@ - - - - - - - - - - ( - - ) - - - - - - - - - - - - - - - - - diff --git a/docs/xslt/latex.overrides.xml b/docs/xslt/latex.overrides.xml new file mode 100644 index 0000000000..73967c6487 --- /dev/null +++ b/docs/xslt/latex.overrides.xml @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/docs/xslt/latex.xsl b/docs/xslt/latex.xsl index cb0ecd6874..56db80e7cc 100644 --- a/docs/xslt/latex.xsl +++ b/docs/xslt/latex.xsl @@ -1,9 +1,31 @@ - + + + + /appendix toc,title + article/appendix nop + /article toc,title + book toc,title,figure,table,example,equation + /chapter toc,title,lop + part toc,title + /preface toc,title + qandadiv toc + qandaset toc + procedure lop + reference toc,title + /sect1 toc + /sect2 toc + /sect3 toc + /sect4 toc + /sect5 toc + /section toc + set toc,title + + @@ -13,11 +35,7 @@ -sambadoc -twoside,11pt,letterpaper - hyperfigures,hyperindex,citecolor=black,urlcolor=black,filecolor=black,linkcolor=black,menucolor=red,pagecolor=black -default xslt/figures 1 @@ -41,63 +59,14 @@ \documentclass[twoside,openright,pt]{xslt/latex/sambadoc} -\usepackage[twoside,dvips]{geometry} - -%\usepackage[section]{placeins} - -\geometry{% -paperwidth=7in, -paperheight=9.25in, -lmargin=.75in, -rmargin=.75in, -bmargin=.625in, -tmargin=.625in, -width=5.5in, -height=7.525in, %7.3 -marginparwidth=0.35in, -headheight=0.2in, -headsep=.25in, -footskip=.025in} - -\setlength{\headwidth}{\textwidth} - - -\usepackage[letter,center,dvips]{crop} - \usepackage{amsmath}% \usepackage{amsfonts}% \usepackage{amssymb} - -\special{papersize=11in,8.5in} - -%\crop[frame] -\crop - - \makeindex -%% Preamble: - -% New commands and/or command redefinitions -% -% Added for the samba book -%----------------------- paragraph ---------------------------------- -\cleardoublepage -\pagenumbering{roman} - -\setcounter{page}{2} -\setcounter{totalnumber}{8} -\setcounter{bottomnumber}{3} -\setcounter{topnumber}{3} -\renewcommand{\textfraction}{0.1} -\renewcommand{\topfraction}{1.0} -\renewcommand{\bottomfraction}{1.0} - -%% Document Parts english -1 @@ -108,6 +77,4 @@ footskip=.025in} - - diff --git a/docs/xslt/latex/sambadoc.cls b/docs/xslt/latex/sambadoc.cls index c55bc970a5..c80f143caf 100644 --- a/docs/xslt/latex/sambadoc.cls +++ b/docs/xslt/latex/sambadoc.cls @@ -464,3 +464,32 @@ page \thepage \space undefined}}% \renewcommand\listfigurename{\uppercase{List Of Figures}} \renewcommand\listtablename{\uppercase{List Of Tables}} +\setlength{\emergencystretch}{0cm} +\cleardoublepage +\pagenumbering{roman} + +\setcounter{page}{2} +\setcounter{totalnumber}{8} +\setcounter{bottomnumber}{3} +\setcounter{topnumber}{3} +\renewcommand{\textfraction}{0.1} +\renewcommand{\topfraction}{1.0} +\renewcommand{\bottomfraction}{1.0} + +\usepackage[twoside,dvips]{geometry} + +\geometry{% +paperwidth=7in, +paperheight=9.25in, +lmargin=.75in, +rmargin=.75in, +bmargin=.625in, +tmargin=.625in, +width=5.5in, +height=7.525in, %7.3 +marginparwidth=0.35in, +headheight=0.2in, +headsep=.25in, +footskip=.025in} + +\setlength{\headwidth}{\textwidth} -- cgit