| 1 |
<?xml version="1.0" encoding="UTF-8" standalone="no"?> |
| 2 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>Dblatex Configuration File</title><link rel="stylesheet" type="text/css" href="manual.css" /><meta name="generator" content="DocBook XSL Stylesheets V1.79.1" /><link rel="home" href="index.html" title="DocBook to LaTeX Publishing" /><link rel="up" href="sec-custom.html" title="Chapter 4. Customization" /><link rel="prev" href="sec-texpost.html" title="Latex post process script" /><link rel="next" href="ch04s08.html" title="Customization Precedence" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Dblatex Configuration File</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="sec-texpost.html">Prev</a> </td><th width="60%" align="center">Chapter 4. Customization</th><td width="20%" align="right"> <a accesskey="n" href="ch04s08.html">Next</a></td></tr></table><hr /></div><div class="section"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="sec-specs"></a>Dblatex Configuration File</h2></div></div></div><div class="toc"><dl class="toc"><dt><span class="section"><a href="sec-specs.html#sec-xml-config">XML Configuration File Format</a></span></dt><dt><span class="section"><a href="sec-specs.html#idp2609">Deprecated Text Configuration File Format</a></span></dt><dt><span class="section"><a href="sec-specs.html#sec-conf-path">Style Paths</a></span></dt></dl></div><p> |
| 3 |
A configuration file, also called a specification file, can be used |
| 4 |
to list all the customizations and options to apply. Such a file is passed |
| 5 |
by using the |
| 6 |
option <code class="option">-S <em class="replaceable"><code>config_file</code></em></code>. Several |
| 7 |
configuration files can be specified if needed; it can be usefull to have a |
| 8 |
default setup and additional setup for specific needs that override or |
| 9 |
complete the default configuration. |
| 10 |
</p><div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="sec-xml-config"></a>XML Configuration File Format</h3></div></div></div><div class="toc"><dl class="toc"><dt><span class="section"><a href="sec-specs.html#sec-xconf-config"><code class="sgmltag-element"><config></code></a></span></dt><dt><span class="section"><a href="sec-specs.html#sec-xconf-latex"><code class="sgmltag-element"><latex></code></a></span></dt><dt><span class="section"><a href="sec-specs.html#sec-xconf-xslt"><code class="sgmltag-element"><xslt></code></a></span></dt><dt><span class="section"><a href="sec-specs.html#sec-xconf-engine"><code class="sgmltag-element"><engine></code></a></span></dt><dt><span class="section"><a href="sec-specs.html#sec-xconf-imagedata"><code class="sgmltag-element"><imagedata></code></a></span></dt><dt><span class="section"><a href="sec-specs.html#sec-xconf-converter"><code class="sgmltag-element"><converter></code></a></span></dt><dt><span class="section"><a href="sec-specs.html#sec-xconf-command"><code class="sgmltag-element"><command></code></a></span></dt><dt><span class="section"><a href="sec-specs.html#sec-xconf-options"><code class="sgmltag-element"><options></code></a></span></dt></dl></div><p> |
| 11 |
You should use the XML format to configure dblatex. It contains more |
| 12 |
features than the text format used up to the 0.3.7 release that is now |
| 13 |
deprecated. The principle remains the same, that is, most of the |
| 14 |
configuration parameters correspond to a command line option. |
| 15 |
</p><p> |
| 16 |
Here is a full example of a configuration file. In the next sections the |
| 17 |
meaning and use of the configuration tags are detailed. |
| 18 |
</p><pre class="programlisting"><?xml version="1.0" encoding="utf-8"?> |
| 19 |
<!-- ======================================================= --> |
| 20 |
<!-- Dblatex Configuration example for building a book --> |
| 21 |
<!-- ======================================================= --> |
| 22 |
<config xmlns="http://dblatex.sourceforge.net/config" version="1.0"> |
| 23 |
<latex> |
| 24 |
<backend use="xetex"/> |
| 25 |
<texstyle use="dbsimple"/> |
| 26 |
<texpost fileref="dblatex-postprocess"/> |
| 27 |
<indexstyle fileref="../myindexstyle.ist"/> |
| 28 |
<texinputs>../mystyledir:/etc/texmf/userfont</texinputs> |
| 29 |
</latex> |
| 30 |
<xslt> |
| 31 |
<stylesheet fileref="user_param.xsl"/> |
| 32 |
<stylesheet fileref="xetex_param.xsl"/> |
| 33 |
<stylesheet fileref="pdf.xsl"/> |
| 34 |
</xslt> |
| 35 |
<imagedata> |
| 36 |
<converter src="svg" dst="*" docformat="pdf"> |
| 37 |
<command> |
| •38 |
inkscape -D --export-dpi=600 --export-filename=%(output)s %(input)s |
| 39 |
</command> |
| 40 |
</converter> |
| 41 |
</imagedata> |
| 42 |
<options>-X -V</options> |
| 43 |
</config> |
| 44 |
</pre><p> |
| 45 |
</p><p> |
| 46 |
Another example, much simpler, is the configuration file used for |
| 47 |
this manual. |
| 48 |
</p><div class="example"><a id="idp2318"></a><p class="title"><strong>Example 4.5. User Manual Configuration File</strong></p><div class="example-contents"><pre class="programlisting"><?xml version="1.0" ?> |
| 49 |
<!-- |
| 50 |
==================================================================== |
| 51 |
Configuration file for dblatex documentation (manual, release notes) |
| 52 |
==================================================================== |
| 53 |
--> |
| 54 |
<config xmlns="http://dblatex.sourceforge.net/config"> |
| 55 |
<latex> |
| 56 |
<texinputs>../latex//</texinputs> |
| 57 |
<texstyle use="docbook"/> |
| 58 |
<backend use="pdftex"/> |
| 59 |
</latex> |
| 60 |
<xslt> |
| 61 |
<stylesheet fileref="manual.xsl"/> |
| 62 |
</xslt> |
| 63 |
</config> |
| 64 |
</pre></div></div><br class="example-break" /><p>The following sections detail the meaning of each tag. Note that |
| 65 |
dblatex provides some schema that you can use to validate your configuration |
| 66 |
file.</p><div class="section"><div class="titlepage"><div><div><h4 class="title"><a id="sec-xconf-config"></a><code class="sgmltag-element"><config></code></h4></div></div></div><p>It is the root element of a configuration file. A valid configuration |
| 67 |
file must have a <code class="sgmltag-element">config</code> root element.</p><p>Attributes: |
| 68 |
</p><div class="variablelist"><dl class="variablelist"><dt><span class="term">xmlns</span></dt><dd><p>The namespace to use for a dblatex configuration file is: |
| 69 |
<code class="literal">http://dblatex.sourceforge.net/config</code>.</p></dd></dl></div><p> |
| 70 |
</p><p> |
| 71 |
The following elements occur in <code class="sgmltag-element">config</code>: |
| 72 |
<a class="xref" href="sec-specs.html#sec-xconf-latex" title="<latex>">latex</a>, <a class="xref" href="sec-specs.html#sec-xconf-xslt" title="<xslt>">xslt</a>, |
| 73 |
<a class="xref" href="sec-specs.html#sec-xconf-imagedata" title="<imagedata>">imagedata</a>, <a class="xref" href="sec-specs.html#sec-xconf-options" title="<options>">options</a>. |
| 74 |
</p></div><div class="section"><div class="titlepage"><div><div><h4 class="title"><a id="sec-xconf-latex"></a><code class="sgmltag-element"><latex></code></h4></div></div></div><p>The latex element contains the configuration data related to the latex |
| 75 |
processing.</p><p>Attributes: none</p><p> |
| 76 |
The following elements occur in <code class="sgmltag-element">latex</code>: |
| 77 |
</p><div class="variablelist"><dl class="variablelist"><dt><span class="term"><code class="sgmltag-element">backend</code></span></dt><dd><p>It defines the latex engine to use, like the option |
| 78 |
<code class="option">--backend</code> does. The backend name is specified through the |
| 79 |
<code class="sgmltag-element">use</code> attribute.</p></dd><dt><span class="term"><code class="sgmltag-element">texstyle</code></span></dt><dd><p>It defines the docbook latex style to use, like the option |
| 80 |
<code class="option">--texstyle</code> does. The latex package is specified through the |
| 81 |
<code class="sgmltag-element">use</code> attribute.</p></dd><dt><span class="term"><code class="sgmltag-element">texpost</code></span></dt><dd><p>It defines the latex post-processing script to use, like the |
| 82 |
option <code class="option">--texpost</code> does. The script name is specified through the |
| 83 |
<code class="sgmltag-element">use</code> attribute or the <code class="sgmltag-element">fileref</code> |
| 84 |
attribute.</p></dd><dt><span class="term"><code class="sgmltag-element">indexstyle</code></span></dt><dd><p>It defines index style file (.ist) to use, like the |
| 85 |
option <code class="option">--indexstyle</code> does. The filename is |
| 86 |
specified through the <code class="sgmltag-element">fileref</code> |
| 87 |
attribute.</p></dd><dt><span class="term"><code class="sgmltag-element">texinputs</code></span></dt><dd><p>The element text defines the extra paths to add to TEXINPUTS, |
| 88 |
like the option <code class="option">--texinputs</code> does.</p></dd><dt><span class="term"><code class="sgmltag-element">bibinputs</code></span></dt><dd><p>The element text defines the lookup paths of BIBINPUTS, |
| 89 |
like you would do by successive use of the option <code class="option">--bib-path</code>. |
| 90 |
</p></dd><dt><span class="term"><code class="sgmltag-element">bstinputs</code></span></dt><dd><p>The element text defines the lookup paths of BSTINPUTS, |
| 91 |
like you would do by successive use of the option <code class="option">--bst-path</code>. |
| 92 |
</p></dd></dl></div><p> |
| 93 |
</p></div><div class="section"><div class="titlepage"><div><div><h4 class="title"><a id="sec-xconf-xslt"></a><code class="sgmltag-element"><xslt></code></h4></div></div></div><p>The xslt element contains the configuration data related to the XSL |
| 94 |
processing.</p><p>Attributes: none</p><p> |
| 95 |
The following elements occur in <code class="sgmltag-element">xslt</code>: |
| 96 |
</p><div class="variablelist"><dl class="variablelist"><dt><span class="term"><code class="sgmltag-element">stylesheet</code></span></dt><dd><p>It defines a user stylesheet to use, like the option |
| 97 |
<code class="option">--xsl-user</code> does. The stylesheet name is specified through the |
| 98 |
<code class="sgmltag-element">fileref</code> attribute. If several |
| 99 |
<code class="sgmltag-element">stylesheet</code> elements are set, the precedence is the same |
| 100 |
like using the option <code class="option">--xsl-user</code> several times.</p></dd><dt><span class="term"><code class="sgmltag-element">engine</code></span></dt><dd><p>See <a class="xref" href="sec-specs.html#sec-xconf-engine" title="<engine>">engine</a>.</p></dd></dl></div><p> |
| 101 |
</p></div><div class="section"><div class="titlepage"><div><div><h4 class="title"><a id="sec-xconf-engine"></a><code class="sgmltag-element"><engine></code></h4></div></div></div><p>It defines the XSLT processor to use; it can be either a predefined |
| 102 |
engine, or a user-defined command to run.</p><p>When the attribute |
| 103 |
<code class="sgmltag-element">use</code> is used, it works like the option |
| 104 |
<code class="option">--xslt</code>. The engine name is specified through the |
| 105 |
<code class="sgmltag-element">use</code> attribute.</p><p> |
| 106 |
When the element contains the <code class="sgmltag-element">command</code> or |
| 107 |
<code class="sgmltag-element">commandchain</code> child element it defines the command(s) |
| 108 |
to run to perform the XSLT processing. The core keywords defined in |
| 109 |
<a class="xref" href="sec-specs.html#sec-xconf-command" title="<command>">command</a> apply. The additional keywords of an XSLT |
| 110 |
engine command are the following: |
| 111 |
</p><div class="variablelist"><dl class="variablelist"><dt><span class="term"><code class="literal">%(xmlfile)s</code></span></dt><dd><p>Replaced by the XML source file to |
| 112 |
process.</p></dd><dt><span class="term"><code class="literal">%(stylesheet)s</code></span></dt><dd><p>Replaced by the stylesheet to use to process the |
| 113 |
XML file <code class="literal">xmlfile</code>.</p></dd><dt><span class="term"><code class="literal">%(param_list)s</code></span></dt><dd><p>Replaced by the list of the XSL parameters to set. |
| 114 |
The parameter pair formatting (the parameter name and its value) is |
| 115 |
specified through the <code class="sgmltag-element">param-format</code> attribute |
| 116 |
given to the <code class="sgmltag-element">engine</code> element.</p></dd></dl></div><p> |
| 117 |
</p><p>Attributes: |
| 118 |
</p><div class="variablelist"><dl class="variablelist"><dt><span class="term">param-format</span></dt><dd><p>This attribute is mandatory when the engine is specified |
| 119 |
through a <code class="sgmltag-element">command</code>. It tells how a parameter name and |
| 120 |
value pair shall be formatted when added to the XSLT engine command. |
| 121 |
The formatting is given by a string containing the keywords replaced by |
| 122 |
the name or value of the parameter to set: |
| 123 |
|
| 124 |
</p><div class="variablelist"><dl class="variablelist"><dt><span class="term"><code class="literal">%(param_name)s</code></span></dt><dd><p>Replaced by the name of the |
| 125 |
parameter to set.</p></dd><dt><span class="term"><code class="literal">%(param_value)s</code></span></dt><dd><p>Replaced by the value to set to the |
| 126 |
parameter.</p></dd></dl></div><p> |
| 127 |
</p></dd></dl></div><p> |
| 128 |
The following example re-writes with a user-defined command the Saxon engine |
| 129 |
with an additional <code class="option">-T</code> option: |
| 130 |
</p><pre class="programlisting"> |
| 131 |
<xslt> |
| 132 |
<engine param-format="%(param_name)s=%(param_value)s"> |
| 133 |
<command> |
| 134 |
saxon-xslt -T -o %(output)s %(xmlfile)s |
| 135 |
%(stylesheet)s %(param_list)s</command> |
| 136 |
</engine> |
| 137 |
</xslt></pre><p> |
| 138 |
</p></div><div class="section"><div class="titlepage"><div><div><h4 class="title"><a id="sec-xconf-imagedata"></a><code class="sgmltag-element"><imagedata></code></h4></div></div></div><p>The imagedata element contains the rules and commands to convert |
| 139 |
on the fly the images included in the docbook document.</p><p>Attributes: none</p><p> |
| 140 |
The following elements occur in <code class="sgmltag-element">imagedata</code>: |
| 141 |
</p><div class="variablelist"><dl class="variablelist"><dt><span class="term"><code class="sgmltag-element">figpath</code></span></dt><dd><p>It defines a path where to find the images, like the |
| 142 |
option <code class="option">--fig-path</code> does.</p></dd><dt><span class="term"><code class="sgmltag-element">figformat</code></span></dt><dd><p>It defines the default image format when no suffix is |
| 143 |
available to deduce the actual format, like |
| 144 |
<code class="option">--fig-format</code> does.</p></dd><dt><span class="term"><code class="sgmltag-element">formatrule</code></span></dt><dd><p>It specifies in which format an image must be |
| 145 |
converted, depending on the context, given by some attributes: |
| 146 |
</p><div class="variablelist"><dl class="variablelist"><dt><span class="term"><code class="sgmltag-element">docformat</code></span></dt><dd><p>The output document for which the rule |
| 147 |
applies. When not set the rule applies for any format</p></dd><dt><span class="term"><code class="sgmltag-element">backend</code></span></dt><dd><p>The rule applies only when this backend is |
| 148 |
used</p></dd><dt><span class="term"><code class="sgmltag-element">dst</code></span></dt><dd><p>When the conditions are met the image shall be |
| 149 |
converted to this format.</p></dd></dl></div><p> |
| 150 |
</p><p>The following example: |
| 151 |
</p><pre class="programlisting"><formatrule docformat="pdf" backend="xetex" dst="pdf"/></pre><p> |
| 152 |
tells that when a PDF document is built with the xetex backend, the |
| 153 |
graphics not natively supported shall be converted to PDF. |
| 154 |
</p></dd><dt><span class="term"><code class="sgmltag-element">converter</code></span></dt><dd><p>It defines an image transformation rule. See |
| 155 |
<a class="xref" href="sec-specs.html#sec-xconf-converter" title="<converter>">converter</a> for more |
| 156 |
details.</p></dd></dl></div><p> |
| 157 |
</p></div><div class="section"><div class="titlepage"><div><div><h4 class="title"><a id="sec-xconf-converter"></a><code class="sgmltag-element"><converter></code></h4></div></div></div><p>The converter element defines a rule about how to convert on the fly |
| 158 |
an image in a docbook document to the corresponding image used in the built |
| 159 |
latex file. The |
| 160 |
goal is to have an image format compatible with the latex engine, whatever the |
| 161 |
original format is. <span class="command"><strong>Dblatex</strong></span> has a default set of rules, but |
| 162 |
one can overwrite or add some rules.</p><p>Attributes: |
| 163 |
</p><div class="variablelist"><dl class="variablelist"><dt><span class="term">src</span></dt><dd><p>Format of the original image referenced in the XML |
| 164 |
document. The converter only applies to the images matching this format. |
| 165 |
</p></dd><dt><span class="term">dst</span></dt><dd><p>Target format once converted. The converter only applies |
| 166 |
to the original images having the format <code class="literal">src</code> and that |
| 167 |
need to be converted to the format <code class="literal">dst</code>. |
| 168 |
<code class="literal">dst</code> can take the special value "<code class="literal">*</code>" |
| 169 |
meaning that the rule applies for all |
| 170 |
the possible target formats (e.g. eps, pdf, png).</p></dd><dt><span class="term">docformat</span></dt><dd><p>Specify for which document output format the converter |
| 171 |
applies. For example, if <code class="literal">docformat</code> is set to "pdf", |
| 172 |
it means that |
| 173 |
the converter applies only if the document output format is PDF. The |
| 174 |
converter will not apply if you want to build a PostScript or DVI |
| 175 |
document.</p></dd><dt><span class="term">backend</span></dt><dd><p>The converter applies only if it is this latex engine that |
| 176 |
is used. For example, it is usefull if you want to convert an image in a |
| 177 |
specific way only when xetex is used.</p></dd></dl></div><p> |
| 178 |
</p><p>The following elements occur in <code class="sgmltag-element">converter</code>: |
| 179 |
</p><div class="variablelist"><dl class="variablelist"><dt><span class="term"><code class="sgmltag-element">commandchain</code></span></dt><dd><p>List of the commands to run. A |
| 180 |
<code class="sgmltag-element">commandchain</code> contains one or more |
| 181 |
<code class="sgmltag-element">command</code> elements. |
| 182 |
</p></dd><dt><span class="term"><code class="sgmltag-element">command</code></span></dt><dd><p>command to execute to perform the conversion, or a part of |
| 183 |
the conversion if several commands are chained. See |
| 184 |
<a class="xref" href="sec-specs.html#sec-xconf-command" title="<command>">command</a>. |
| 185 |
</p></dd></dl></div><p> |
| 186 |
</p></div><div class="section"><div class="titlepage"><div><div><h4 class="title"><a id="sec-xconf-command"></a><code class="sgmltag-element"><command></code></h4></div></div></div><p>The command element contains the arguments of the command to run. |
| 187 |
The arguments can contain some predefined keywords that are replaced by the |
| 188 |
actual values when the command is executed. The known core keywords |
| 189 |
are:</p><div class="variablelist"><dl class="variablelist"><dt><span class="term"><code class="literal">%(src)s</code></span></dt><dd><p>Replaced by the <code class="literal">src</code> value (original |
| 190 |
image format).</p></dd><dt><span class="term"><code class="literal">%(dst)s</code></span></dt><dd><p>Replaced by the <code class="literal">dst</code> value (target |
| 191 |
image format).</p></dd><dt><span class="term"><code class="literal">%(input)s</code></span></dt><dd><p>Replaced by the input file required by the command. In the |
| 192 |
case of an image conversion, it is the filename of the original image to |
| 193 |
convert.</p></dd><dt><span class="term"><code class="literal">%(output)s</code></span></dt><dd><p>Replaced by the name of the ouput file required by the |
| 194 |
command. In the case of an image conversion, it is the filename of the |
| 195 |
output image once converted.</p></dd></dl></div><p>Attributes: |
| 196 |
</p><div class="variablelist"><dl class="variablelist"><dt><span class="term">input</span></dt><dd><p>Standard input of the command to run. It can specify a |
| 197 |
file or it can specify to use the output of the preceding command if the |
| 198 |
keyword "PIPE" is used.</p></dd><dt><span class="term">output</span></dt><dd><p>Standard output of the command to run. It can specify a |
| 199 |
file or it can specify that the output shall be redirected to the next |
| 200 |
command if the keyword "PIPE" is used.</p></dd><dt><span class="term">shell</span></dt><dd><p>When set to "1" or "true", the command is run in a shell |
| 201 |
environment.</p></dd></dl></div><p> |
| 202 |
</p></div><div class="section"><div class="titlepage"><div><div><h4 class="title"><a id="sec-xconf-options"></a><code class="sgmltag-element"><options></code></h4></div></div></div><p>The options element lists the extra arguments to pass to |
| 203 |
<span class="command"><strong>dblatex</strong></span>.</p></div></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="idp2609"></a>Deprecated Text Configuration File Format</h3></div></div></div><p> |
| 204 |
The format of the file is the following: |
| 205 |
</p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"><p> |
| 206 |
Every comment starts with a “#”, and is ignored. |
| 207 |
</p></li><li class="listitem"><p> |
| 208 |
The file must contain one parameter by line. |
| 209 |
</p></li><li class="listitem"><p> |
| 210 |
The format of a parameter is the following: |
| 211 |
</p><pre class="programlisting"> |
| 212 |
<keyword>: <value> |
| 213 |
</pre></li><li class="listitem"><p> |
| 214 |
Every parameter is mapped to an option that can be passed to <span class="command"><strong>dblatex</strong></span>. |
| 215 |
</p></li><li class="listitem"><p> |
| 216 |
An unknown parameter is silently ignored (the whole line is dropped). |
| 217 |
</p></li><li class="listitem"><p> |
| 218 |
The parameters defining a path (a file or a directory) can take absolute or relative paths. A relative path must be defined from the specification file itself. For instance, a specification file under <code class="filename">/the/spec/directory/</code> with a parameter describing the file <code class="filename">../where/this/file/is/myfile</code> points to <code class="filename">/the/spec/where/this/file/is/myfile</code>. |
| 219 |
</p></li></ul></div><p> |
| 220 |
The following table lists the supported parameters and the corresponding command line option. |
| 221 |
</p><div class="informaltable"><table class="informaltable" border="1"><colgroup><col align="left" class="c1" /><col /><col /><col /></colgroup><thead><tr><th align="left">Keyword</th><th align="left">Value</th><th align="left">Corresponding option</th><th align="left">Description</th></tr></thead><tbody><tr><td align="left">TexInputs</td><td align="left">Directories</td><td align="left">--texinputs</td><td align="left">Defines extra path to add to TEXINPUTS</td></tr><tr><td align="left">TexStyle</td><td align="left">Latex package name</td><td align="left">--texstyle</td><td align="left">Defines the LaTeX style package to use.</td></tr><tr><td align="left">TexPost</td><td align="left">Script file name</td><td align="left">--texpost</td><td align="left">Defines the LaTeX post process script to use.</td></tr><tr><td align="left">XslParam</td><td align="left">Parameter file name</td><td align="left">-p</td><td align="left">Defines the parameter file to use.</td></tr><tr><td align="left">FigInputs</td><td align="left">Directories</td><td align="left">-I</td><td align="left">Defines the extra figures path.</td></tr><tr><td align="left">Options</td><td align="left">Command line options</td><td align="left">None</td><td align="left">Lists command options to use by default when using the tool. The |
| 222 |
options specified by the parameter are directly passed to |
| 223 |
<span class="command"><strong>dblatex</strong></span></td></tr></tbody></table></div></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="sec-conf-path"></a>Style Paths</h3></div></div></div><p>By default <span class="command"><strong>dblatex</strong></span> tries to find the configuration |
| 224 |
files related to a style (specified with option <code class="option">-T</code>) in the |
| 225 |
following paths, in respect of the order:</p><div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><p>The current directory</p></li><li class="listitem"><p><code class="filename">$HOME/.dblatex</code></p></li><li class="listitem"><p><code class="filename">/etc/dblatex</code></p></li><li class="listitem"><p>The dblatex package configuration directories.</p></li></ol></div><p>You can add some extra paths where to look for by setting the |
| 226 |
<code class="envar">DBLATEX_CONFIG_FILES</code> environment variable. The paths are |
| 227 |
separated by ":" in Unix like systems, and by ";" on Windows. These paths |
| 228 |
are used only when nothing is found in the default paths.</p></div></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="sec-texpost.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="sec-custom.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="ch04s08.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Latex post process script </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Customization Precedence</td></tr></table></div></body></html> |