version="1.0">
<!-- ********************************************************************
- build-common.xsl
-
WinMerge customization of the XSL DocBook stylesheet distribution.
- Imported by other WinMerge build*.xsl files, so they use the parameters
+ Imported by other WinMerge *.xsl files, so they use the parameters
and templates here unless they have their own versions.
-
- Do not modify any stock template directly in the DocBook XSL library.
- Instead, copy the template to this file or one of the other build*.xsl
- files, and modify only the copy. Any custom template supersedes the
- stock template of the same name.
-
- Please put any custom template in a section that identifies the
- source file in the stock XSL library. That makes it easy to maintain
- if the DocBook stock template changes. Likewise, any new ones (not based
- on stock templates) should go in a section marked, "New templates".
- ********************************************************************
- Changes
- Created July 2008
- 3 Aug 2009: Added 'header.ads' custom template
******************************************************************** -->
+
<!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
html/param.xsl parameters
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
version="1.0">
<!-- ********************************************************************
- build_html.xsl
WinMerge customization of the XSL DocBook stylesheet distribution.
Contains customized templates and parameters for the HTML version
of help; all other styles are inherited from the WinMerge
- build_common.xsl and the stock DocBook stylesheets in ../build/xsl.
-
- See build_common.xsl for editing instructions.
- ********************************************************************
- Changes:
- Created July 2008
- 3 Aug 2009: Added 'user.header.content' template
+ common.xsl and the stock DocBook stylesheets in ../../Shared/xsl.
******************************************************************** -->
<xsl:import href="../../Shared/xsl/html/chunk.xsl"/>
-<xsl:import href="build_common.xsl"/>
+<xsl:import href="common.xsl"/>
<!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Custom parameters
version="1.0">
<!-- ********************************************************************
- build_htmlhelp.xsl
WinMerge customization of the XSL DocBook stylesheet distribution.
Contains customized templates and parameters for the HTML Help version
of help; all other styles are inherited from the WinMerge
- build_common.xsl and the stock DocBook stylesheets in ../build/xsl.
-
- See build_common.xsl for editing instructions.
- ********************************************************************
- Changes:
- Created July 2008
+ common.xsl and the stock DocBook stylesheets in ../../Shared/xsl.
******************************************************************** -->
<xsl:import href="../../Shared/xsl/htmlhelp/htmlhelp.xsl"/>
-<xsl:import href="build_common.xsl"/>
+<xsl:import href="common.xsl"/>
<!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
html/param.xsl parameters
version="1.0">
<!-- ********************************************************************
- build-common.xsl
-
WinMerge customization of the XSL DocBook stylesheet distribution.
- Imported by other WinMerge build*.xsl files, so they use the parameters
+ Imported by other WinMerge *.xsl files, so they use the parameters
and templates here unless they have their own versions.
-
- Do not modify any stock template directly in the DocBook XSL library.
- Instead, copy the template to this file or one of the other build*.xsl
- files, and modify only the copy. Any custom template supersedes the
- stock template of the same name.
-
- Please put any custom template in a section that identifies the
- source file in the stock XSL library. That makes it easy to maintain
- if the DocBook stock template changes. Likewise, any new ones (not based
- on stock templates) should go in a section marked, "New templates".
- ********************************************************************
- Changes
- Created July 2008
- 3 Aug 2009: Added 'header.ads' custom template
******************************************************************** -->
+
<!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
html/param.xsl parameters
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
<xsl:param name="use.id.as.filename" select="1"/>
<xsl:param name="chunker.output.indent" select="'yes'"></xsl:param>
<xsl:param name="chunk.section.depth" select="0" />
-<xsl:param name="chunker.output.encoding" select="'Shift_JIS'"/>
-<xsl:param name="l10n.gentext.language" select="'ja'"/>
-<xsl:param name="l10n.gentext.default.language" select="'ja'"/>
<xsl:param name="generate.toc">book toc,title article nop</xsl:param>
<xsl:param name="toc.section.depth">1</xsl:param>
<xsl:param name="runinhead.default.title.end.punct">:</xsl:param>
version="1.0">
<!-- ********************************************************************
- build_html.xsl
WinMerge customization of the XSL DocBook stylesheet distribution.
Contains customized templates and parameters for the HTML version
of help; all other styles are inherited from the WinMerge
- build_common.xsl and the stock DocBook stylesheets in ../build/xsl.
-
- See build_common.xsl for editing instructions.
- ********************************************************************
- Changes:
- Created July 2008
- 3 Aug 2009: Added 'user.header.content' template
+ common.xsl and the stock DocBook stylesheets in ../../Shared/xsl.
******************************************************************** -->
<xsl:import href="../../Shared/xsl/html/chunk.xsl"/>
-<xsl:import href="build_common.xsl"/>
+<xsl:import href="common.xsl"/>
+
+<!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+html/param.xsl parameters
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
+<xsl:param name="chunker.output.encoding" select="'Shift_JIS'"/>
+<xsl:param name="l10n.gentext.language" select="'ja'"/>
+<xsl:param name="l10n.gentext.default.language" select="'ja'"/>
<!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Custom parameters
version="1.0">
<!-- ********************************************************************
- build_htmlhelp.xsl
WinMerge customization of the XSL DocBook stylesheet distribution.
Contains customized templates and parameters for the HTML Help version
of help; all other styles are inherited from the WinMerge
- build_common.xsl and the stock DocBook stylesheets in ../build/xsl.
-
- See build_common.xsl for editing instructions.
- ********************************************************************
- Changes:
- Created July 2008
+ common.xsl and the stock DocBook stylesheets in ../../Shared/xsl.
******************************************************************** -->
<xsl:import href="../../Shared/xsl/htmlhelp/htmlhelp.xsl"/>
-<xsl:import href="build_common.xsl"/>
+<xsl:import href="common.xsl"/>
<!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
html/param.xsl parameters
call configuration.bat
set docbook_inputfile=EN\WinMerge_help.xml
-set docbook_use_stylesheet=EN\build\build_html.xsl
+set docbook_use_stylesheet=EN\xsl\html.xsl
set docbook_outputdir=%docbook_build_path%\html-en
set ads=false
if "%1" == "withads" goto withads
call configuration.bat
set docbook_inputfile=JP\WinMerge_help.xml
-set docbook_use_stylesheet=JP\build\build_html.xsl
+set docbook_use_stylesheet=JP\xsl\html.xsl
set docbook_outputdir=%docbook_build_path%\html-jp
set ads=false
if "%1" == "withads" goto withads
call configuration.bat
set docbook_inputfile=EN\WinMerge_help.xml
-set docbook_use_stylesheet=EN\build\build_htmlhelp.xsl
+set docbook_use_stylesheet=EN\xsl\htmlhelp.xsl
set docbook_outputdir=htmlhelp
set docbook_outputdir_final=%docbook_build_path%\%docbook_outputdir%
call configuration.bat
set docbook_inputfile=JP\WinMerge_help.xml
-set docbook_use_stylesheet=JP\build\build_htmlhelp.xsl
+set docbook_use_stylesheet=JP\xsl\htmlhelp.xsl
set docbook_outputdir=htmlhelp
set docbook_outputdir_final=%docbook_build_path%\%docbook_outputdir%