<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">

<!-- 
      Kevin Reiss kreiss@kinoy.rutgers.edu  params.xsl
      Availabe under the GNU Public License, see file gpl.txt 
      
     This stylesheet contains global parameters. 
     
     These are all optional if you wish nothing to happen 
     beyond basic processing set all values to the empty value 
     and do NOT pass any parameter values via the command line.

     Values can be passed to xsltproc in the fashion documented
     in the RUN file.
     
     Keep in mind any values passed at the command line will 
     override anything specified in this file.
-->


  <!-- start global parameters -->

  <!-- the first two paramters are useful if djvutoxml outputs multple region
       and paragraph tags.
    -->

  <!-- $ignoreheadlines 
       Number of lines at the start of each page that are ignored.
       Paramter governs behavior for all pages EXCEPT page one.
       Remove uwanted headers, etc.
       Set to 0 to keep all lines.
   -->
  <xsl:param name="ignoreheadlines">0</xsl:param>

  <!-- $ignorepageonelines 
       Number of lines at the start of page one to ignore.
       Set to 0 to keep all lines.
    -->
  <xsl:param name="ignorepageonelines">0</xsl:param>


  <!-- $paragraphstartlines
       this ignores lines at the start of a paragraph, this is
       useful if the djvtoxml command treats a page as a single 
       PARAGRAPH unit as is often the case.  Typically this would be 
       set to 0 to include all lines but in cases where everything is in ONE 
       paragraph that this is useful
       -->
  <xsl:param name="paragraphstartlines">3</xsl:param>

  <!-- $pagoneparalines
       same as previous but for pageone of the document. Typically
       set to 0 but useful on some ocasions. -->
  <xsl:param name="pageoneparalines">1</xsl:param>

  <!-- $metafile 
       Path naming a metafile containing application,
       specific metadata for the document in dublin-core
       format.  The templates to process this file
       will need to be adjusted in the file appinfo.xsl 
       depending on the dublin core fields used by the
       application.
    -->
  <xsl:param name="metafile"/>

  <!-- $stylesheet 
       Path naming a css stylesheet to format the HTML output
       of these stylesheets.  See file example/djvuhtml.css
       for details.
    -->
  <xsl:param name="stylesheet">print.css</xsl:param>
  
  <!-- $displaypagination 
       Parameter governs whether or not a page-index with
       pointers to each section of the HTML document that represents
       a page of output from the DjVu document.  Set to the empty 
       value to HIDE this output.
    -->
  <xsl:param name="displaypagination"></xsl:param>

  <!-- $displayheader 
       Displays a site-wide navigation header
       defined in appinfo.xsl.  Set to the empty
       value to HIDE this output. 
    r-->
  <xsl:param name="displayheader"></xsl:param>

  <!-- $displayfoot 
       Displays a site-wide document footer 
       defined in appinfo.xsl.  Set to the empty 
       value to HIDE this output.
    -->
  <xsl:param name="displayfoot"></xsl:param>
   
  <!-- $dispalynavigation
       displays browsing navigation for each page of the document.  Set 
       to the EMPTY value to hide this output.
    -->
  <xsl:param name="displaynavigation">1</xsl:param>


  <!-- $paragraph-break
       **** This is not currently working ******
       If a line element is less than this number of 
       characters, it ends a paragraph, mark it with a
       double line-break.  This is very crude needs more
       work to rule out things that look like list items, etc..
       Set to 0 if you want a single line break after every
       line.
    -->
  <xsl:param name="paragraph-break">75</xsl:param>

  <!-- $djvudocname 
       Name of djvu source document.  Used
       to generate links to the corresponding point
       in the source DjVu document to each of 
       the "pages" in the HTML output document.
    -->
  <xsl:param name="djvudoc"/>

  <!-- $alt_title 
       Defines a default title for document, used
       only if no metafile is supplied during the 
       transformation.
   -->
  <xsl:param name="alt_title">Place Alternative Title Here</xsl:param>
  <!-- end params -->

  <!-- $language 
       Defines the primary language of the document 
  -->
  <xsl:param name="language">en</xsl:param>

</xsl:stylesheet>
