httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sl...@apache.org
Subject cvs commit: httpd-2.0/docs/manual/style/latex TODO common.xsl latex.xsl
Date Mon, 16 Jun 2003 15:03:59 GMT
slive       2003/06/16 08:03:59

  Modified:    docs/manual/style/latex TODO common.xsl latex.xsl
  Log:
  LaTeX:
  
  - Add a little more meta-information to the pdf file (title/author)
  
  - Remove the dependency on fullpage.sty, since this is not a standard
  latex package.
  
  - With <note type="Warning">, replace the arrow with an exclamation mark
  in a box.
  
  Revision  Changes    Path
  1.7       +0 -2      httpd-2.0/docs/manual/style/latex/TODO
  
  Index: TODO
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/docs/manual/style/latex/TODO,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -d -b -u -r1.6 -r1.7
  --- TODO	12 Jun 2003 19:50:41 -0000	1.6
  +++ TODO	16 Jun 2003 15:03:58 -0000	1.7
  @@ -24,8 +24,6 @@
   - Fix page references on "external" directives
     (<directivesynopsis location=...)
   
  -- External URL references containing a "#" are broken.
  -
   - Hundreds of other little problems with presentation, cross-referencing,
     etc.
   
  
  
  
  1.6       +10 -1     httpd-2.0/docs/manual/style/latex/common.xsl
  
  Index: common.xsl
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/docs/manual/style/latex/common.xsl,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -d -b -u -r1.5 -r1.6
  --- common.xsl	13 Jun 2003 15:08:58 -0000	1.5
  +++ common.xsl	16 Jun 2003 15:03:59 -0000	1.6
  @@ -93,7 +93,16 @@
   <!-- ==================================================================== -->
   <xsl:template match="note">
   <xsl:text>\par\smallskip
  -{\Huge $\Longrightarrow$}\begin{minipage}[t]{.8\textwidth}
  +{\Huge </xsl:text>
  +<xsl:choose>
  +<xsl:when test="@type='warning'">
  +  <xsl:text>\fbox{!} </xsl:text>
  +</xsl:when>
  +<xsl:otherwise>
  +  <xsl:text>$\Longrightarrow$</xsl:text>
  +</xsl:otherwise>
  +</xsl:choose>
  +<xsl:text>}\begin{minipage}[t]{.8\textwidth}
   \noindent </xsl:text>
   <xsl:apply-templates select="title" mode="print" />
   <xsl:apply-templates/>
  
  
  
  1.6       +24 -1     httpd-2.0/docs/manual/style/latex/latex.xsl
  
  Index: latex.xsl
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/docs/manual/style/latex/latex.xsl,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -d -b -u -r1.5 -r1.6
  --- latex.xsl	12 Jun 2003 19:50:41 -0000	1.5
  +++ latex.xsl	16 Jun 2003 15:03:59 -0000	1.6
  @@ -23,14 +23,24 @@
   <xsl:text>
   \documentclass[11pt]{book}
   \usepackage{times}
  -\usepackage{fullpage}
   \usepackage{style/latex/atbeginend}
  +%\usepackage[pdftex]{color}
   \usepackage[colorlinks=true,letterpaper=true]{hyperref}
   
   % Let LaTeX be lenient about very-bad line wrapping.
   \tolerance=9999 
   \emergencystretch=60pt
   
  +% Adjust margins to a reasonable level
  +\topmargin 0pt
  +\advance \topmargin by -\headheight
  +\advance \topmargin by -\headsep
  +\textheight 8.9in
  +\oddsidemargin 0pt
  +\evensidemargin \oddsidemargin
  +\marginparwidth 0.5in
  +\textwidth 6.5in
  +
   % Keep paragraphs flush left (rather than the default of indenting
   % the first line) and put a space between paragraphs.
   \setlength{\parindent}{0ex}
  @@ -40,6 +50,19 @@
   \AfterBegin{itemize}{\addtolength{\itemsep}{-.6\baselineskip}}
   
   \pagestyle{headings}
  +
  +\hypersetup{
  +    pdftitle={</xsl:text>
  +<xsl:value-of select="$messages/message[@name='apache']" />
  +<xsl:text> </xsl:text>
  +<xsl:value-of select="$messages/message[@name='http-server']" />
  +<xsl:text> </xsl:text>
  +<xsl:value-of select="$messages/message[@name='documentation']" />
  +<xsl:text> </xsl:text>
  +<xsl:value-of select="$messages/message[@name='version']" />
  +<xsl:text>},
  +    pdfauthor={Apache Software Foundation}
  +  }
   
   \title{</xsl:text>
   <xsl:value-of select="$messages/message[@name='apache']" />
  
  
  

Mime
View raw message