-
Notifications
You must be signed in to change notification settings - Fork 96
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into hotfix/2.4.3
* develop: Clarify .properties precedence cascade (Fixes #46) Escape backslashes in .properties (Fixes #102) Add topic on `local.properties` file (Fixes #81) Remove obsolete info, update PDF2 I18N for #46 Document additional configuration properties #46 Add spec links on metadata cascading Revise `plugin.properties` description
- Loading branch information
Showing
6 changed files
with
201 additions
and
117 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE reference PUBLIC "-//OASIS//DTD DITA Reference//EN" "reference.dtd"> | ||
<!-- This file is part of the DITA Open Toolkit project. See the accompanying LICENSE file for applicable license. --> | ||
|
||
<reference id="local.properties"> | ||
<title>The <filepath>local.properties</filepath> file</title> | ||
<titlealts> | ||
<navtitle><filepath>local.properties</filepath></navtitle> | ||
</titlealts> | ||
<shortdesc>A <filepath>local.properties</filepath> file in the root directory of the DITA-OT installation can be used | ||
to override the default values of various DITA-OT parameters.</shortdesc> | ||
<prolog> | ||
<metadata> | ||
<keywords> | ||
<indexterm>files<indexterm>local.properties</indexterm></indexterm> | ||
<indexterm>local.properties file</indexterm> | ||
</keywords> | ||
</metadata> | ||
</prolog> | ||
<refbody> | ||
<example> | ||
<p>For example, if you always use the same rendering engine to produce PDF output for all of your projects, you | ||
could create a <filepath>local.properties</filepath> file in the root directory of your DITA-OT installation to | ||
set the <parmname>pdf.formatter</parmname> parameter and additional options for the XSL processor:</p> | ||
<codeblock># Use RenderX XEP Engine for PDF output | ||
pdf.formatter = xep | ||
|
||
# Specify the user configuration file for RenderX | ||
custom.xep.config = /path/to/custom.config | ||
</codeblock> | ||
<p>Backslash “\” characters in .properties files must be escaped with a second backslash as “\\”. If you use | ||
Antenna House Formatter on a Windows system, for example, you would set the path to the command using a | ||
properties file entry like this:</p> | ||
<codeblock># Use Antenna House Formatter for PDF output | ||
pdf.formatter = ah | ||
|
||
# Specify the path to the Antenna House Formatter command | ||
axf.cmd=C:\\Program Files\\Antenna House\\AHFormatterV62</codeblock> | ||
</example> | ||
<section> | ||
<note>This file can only be used to set Ant property values that can be passed as argument parameters to the | ||
command line. The DITA-OT Java code does not read this file.</note> | ||
</section> | ||
</refbody> | ||
</reference> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.