| 1 |
########################### |
| 2 |
# DAPS configuration file # |
| 3 |
########################### |
| 4 |
# |
| 5 |
# Copyright (C) 2012-2020 SUSE Software Solutions Germany GmbH |
| 6 |
# |
| 7 |
# Author: |
| 8 |
# Frank Sundermeyer <fsundermeyer at opensuse dot org> |
| 9 |
# |
| 10 |
|
| 11 |
#------------------------------------------------------------ |
| 12 |
# Syntax |
| 13 |
# The following works: |
| 14 |
# |
| 15 |
# KEY=VALUE |
| 16 |
# KEY = VALUE |
| 17 |
# KEY = VALUE # comment |
| 18 |
|
| 19 |
# KEY = "VALUE1 VALUE2" |
| 20 |
# KEY = 'VALUE1 VALUE2' |
| 21 |
# KEY = 'VALUE1 VALUE2' #comment |
| 22 |
# |
| 23 |
# The following rules apply: |
| 24 |
# |
| 25 |
# * escape-character will be removed: \# becomes # |
| 26 |
# ** if you need escapes, use \\\: \\\# becomes \# |
| 27 |
# Example: "c:\\\windows\\\foo" becomes c:\windows\foo |
| 28 |
# |
| 29 |
# * When not quoting values, leading spaces will be cut |
| 30 |
# * Each KEY/Value pair should to be on a single line |
| 31 |
# ** using \ for continuation works; leading spaces on the second line |
| 32 |
# are not cut |
| 33 |
# |
| 34 |
# * comments on the same line will be cut |
| 35 |
# * comment characters (#) in values are not supported !!! |
| 36 |
# ** the value will be cut at the first occurrence of # |
| 37 |
# ** \\\# is supported and will be transferred to \# |
| 38 |
# |
| 39 |
# Concatenating values: |
| 40 |
# |
| 41 |
# It is possible to add additional VALUES to an already existing |
| 42 |
# KEY with the "+=" notation. This is e. g. useful to increase |
| 43 |
# readability when VALUE is rather log: |
| 44 |
# |
| 45 |
# XSLTPARAM = '--stringparam "foo=bar"' |
| 46 |
# XSLTPARAM += '--stringparam "baz=foo" |
| 47 |
# |
| 48 |
# The same rules as for regular KEY/VALUE pairs apply |
| 49 |
# |
| 50 |
|
| 51 |
|
| 52 |
#------------------------------------------------------------ |
| 53 |
# Customizing: |
| 54 |
# |
| 55 |
# Override any setting below in |
| 56 |
# $HOME/.config/daps/dapsrc (also see section "Syntax" above) |
| 57 |
# or on the command line |
| 58 |
#------------------------------------------------------------ |
| 59 |
# |
| 60 |
# The environment is set up using the following hierarchy |
| 61 |
# (command line always wins) |
| 62 |
# |
| 63 |
# 1. Command line |
| 64 |
# 2. DC-file |
| 65 |
# 3. $HOME/.config/daps/.dapsrc (user config file) |
| 66 |
# 4. $DAPSROOT/etc/config |
| 67 |
|
| 68 |
## Key: ADOC_FAILURE_LEVEL |
| 69 |
## ----------------------- |
| 70 |
## Description: AsciiDoctor error level on which DAPS will exit |
| 71 |
## when processing adoc files |
| 72 |
## Type: String |
| 73 |
## VALUE: FATAL|ERROR|WARN|INFO (empty value not allowed) |
| 74 |
## Default: WARN |
| 75 |
# |
| 76 |
# By default, AsciiDoctor only returns != 0 on FATAL errors. However, when |
| 77 |
# converting to DocBook, errors of the level WARN usually prevent from |
| 78 |
# generating valid DocBook. Therefore DAPS sets the failure level to WARN and |
| 79 |
# therefore exits on AsciiDoctor error levels FATAL, ERROR, and WARN. |
| 80 |
# |
| 81 |
# It is recommended to keep the default. If required, override it in a DC-file |
| 82 |
# |
| 83 |
ADOC_FAILURE_LEVEL="WARN" |
| 84 |
|
| 85 |
## Key: ADOC_IMG_DIR |
| 86 |
## -------------------- |
| 87 |
## Description: Directory hosting images for the AsciiDoc documents |
| 88 |
## Type: absolute path |
| 89 |
## Default: "" |
| 90 |
# |
| 91 |
# If set, DAPS will automatically generate the image structure |
| 92 |
# required for XML processing. The directory needs to host all |
| 93 |
# images on a flat level; subdirectories will be ignored |
| 94 |
# |
| 95 |
# Set this value in a DC-file or on the command-line with |
| 96 |
# --adocimgdir |
| 97 |
# |
| 98 |
ADOC_IMG_DIR="" |
| 99 |
|
| 100 |
## Key: ADOC_POST |
| 101 |
## -------------------- |
| 102 |
## Description: Do post-processing on AsciiDoctor-generated XML? |
| 103 |
## Type: yesno |
| 104 |
## Default: "no" |
| 105 |
# |
| 106 |
# If set to "yes", the DocBook XML asciidoctor produces |
| 107 |
# will be processed again by a stylesheet defined with ADOC_POST_STYLE |
| 108 |
# Only valid for AsciiDoc sources |
| 109 |
# |
| 110 |
# See also: ADOC_POST_STYLE |
| 111 |
# |
| 112 |
# Set this value in a DC-file |
| 113 |
# |
| 114 |
ADOC_POST="no" |
| 115 |
|
| 116 |
## Key: ADOC_POST_STYLE |
| 117 |
## -------------------- |
| 118 |
## Description: Path to the stylesheet for post-processing the DocBook |
| 119 |
## XML AsciiDoctor produces |
| 120 |
## Type: path to stylesheet |
| 121 |
## Default: "@pkgdatadir@/daps-xslt/asciidoc/postprocess.xsl" |
| 122 |
# |
| 123 |
# This stylesheet will be applied to the DocBook file produced from adoc |
| 124 |
# by asciidoctor (build/.adoc/*.xml). The result will be written |
| 125 |
# to build/.profiled/noprofile/ and be used for further processing. Use |
| 126 |
# this if you need to change the DocBook file. Make sure it produces |
| 127 |
# valid DocBook. |
| 128 |
# The stylesheet will only be applied if you set ADOC_POST to "yes" |
| 129 |
# |
| 130 |
# By default, this value is set to a stylesheet DAPS ships. It only does |
| 131 |
# minimal changes. It is suggested to keep the system-wide value and to |
| 132 |
# only overwrite this in a DC-file or in ~/.config/dapsrc |
| 133 |
# |
| 134 |
# See also: ADOC_POST |
| 135 |
# |
| 136 |
ADOC_POST_STYLE="@pkgdatadir@/daps-xslt/asciidoc/postprocess.xsl" |
| 137 |
|
| 138 |
## Key: ADOC_SET |
| 139 |
## -------------------- |
| 140 |
## Description: Convert multipart AsciiDoc book into set? |
| 141 |
## Type: yesno |
| 142 |
## Default: "no" |
| 143 |
# |
| 144 |
# If set to "yes", the DocBook XML asciidoctor produces |
| 145 |
# will be processed again by a stylesheet defined with ADOC_SET_STYLE |
| 146 |
# and turned into a DocBook set. This requires an AsciiDoc multipart book. |
| 147 |
# Only valid for AsciiDoc sources |
| 148 |
# |
| 149 |
# See also: ADOC_SET_STYLE |
| 150 |
# |
| 151 |
# Set this value in a DC-file |
| 152 |
ADOC_SET="no" |
| 153 |
|
| 154 |
## Key: ADOC_SET_STYLE |
| 155 |
## -------------------- |
| 156 |
## Description: Path to the stylesheet that creates a DocBook set from |
| 157 |
## an AsciiDoc multipart book |
| 158 |
## Type: path to stylesheet |
| 159 |
## Default: "@pkgdatadir@/daps-xslt/asciidoc/setify.xsl" |
| 160 |
# |
| 161 |
# This stylesheet will be applied to the DocBook file produced from adoc |
| 162 |
# by asciidoctor (build/.adoc/*.xml). The result will be written |
| 163 |
# to build/.adoc/ and be used for profiling. |
| 164 |
# |
| 165 |
# By default, this value is set to a stylesheet DAPS ships. There should |
| 166 |
# be no need to overwrite this default. |
| 167 |
# |
| 168 |
ADOC_SET_STYLE="@pkgdatadir@/daps-xslt/asciidoc/setify.xsl" |
| 169 |
|
| 170 |
## Key: ADOC_TYPE |
| 171 |
## -------------------- |
| 172 |
## Description: Document type that will be generated when processing |
| 173 |
## an AsciiDoc document |
| 174 |
## adoc to DocBook5 |
| 175 |
## Type: String |
| 176 |
## Default: article |
| 177 |
# |
| 178 |
# Valid values: article, book, manpage |
| 179 |
# |
| 180 |
# NOTE: Same option as you would set by --doctype with asciidoctor |
| 181 |
# Do not use "inline" as it will not work with |
| 182 |
# DAPS. Setting "manpage" requires manpage-specific content, |
| 183 |
# otherwise processing the source will fail. |
| 184 |
# This setting will override the :doctype: definition in the |
| 185 |
# AsciiDoc source document |
| 186 |
# |
| 187 |
ADOC_TYPE="article" |
| 188 |
|
| 189 |
## Key: BUILD_DIR |
| 190 |
## ---------------------- |
| 191 |
## Description: Build directory where all daps generated files will go |
| 192 |
## Type: Path to directory (without a trailing slash) |
| 193 |
## Default: "" |
| 194 |
# |
| 195 |
# Allows to completely separate the output daps generates from the sources |
| 196 |
# If not set it is automatically resolved to $DOC_DIR/build/$BOOK |
| 197 |
BUILD_DIR="" |
| 198 |
|
| 199 |
## Key: CB_OPTIONS |
| 200 |
## ------------------------ |
| 201 |
## Description: Command line options for /usr/bin/checkbot |
| 202 |
## Type: String |
| 203 |
## Default: "--dontwarn \"(301|302|902)\" --sleep 0 --timeout 60" |
| 204 |
# |
| 205 |
# |
| 206 |
# Also see 'man 1 checkbot'. Do not change unless you really know what you do. |
| 207 |
# |
| 208 |
CB_OPTIONS="--dontwarn \"(301|302|902)\" --sleep 0 --timeout 60" |
| 209 |
|
| 210 |
## Key: COLOR |
| 211 |
## ------------------ |
| 212 |
## Description: Colored output? |
| 213 |
## Type: yesno |
| 214 |
## Default: "yes" |
| 215 |
# |
| 216 |
# By default errors, results, warnings and certain info messages are printed |
| 217 |
# in color using bash color codes. In cron jobs and scripts you probably want to |
| 218 |
# turn off this behavior by setting COLOR to "no" |
| 219 |
# |
| 220 |
COLOR="yes" |
| 221 |
|
| 222 |
## Key: CONF_PREFIX |
| 223 |
## ------------------------ |
| 224 |
## Description: Common prefix for all doc config files |
| 225 |
## Type: String |
| 226 |
## Default: "DC-" |
| 227 |
# |
| 228 |
# Also see OUTPUTNAME |
| 229 |
# |
| 230 |
CONF_PREFIX="DC-" |
| 231 |
|
| 232 |
## Key: CONVERT_OPTS_JPG |
| 233 |
## ------------------------- |
| 234 |
## Description: Command line options for "convert" to convert color JPGs |
| 235 |
## to grayscale |
| 236 |
## Type: String |
| 237 |
## Default: "-type grayscale" |
| 238 |
# |
| 239 |
# Do not change unless you really know what you do. |
| 240 |
# |
| 241 |
CONVERT_OPTS_JPG="-type grayscale" |
| 242 |
|
| 243 |
## Key: CONVERT_OPTS_PNG |
| 244 |
## ------------------------- |
| 245 |
## Description: Command line options for "convert" to convert color PNGs |
| 246 |
## to grayscale |
| 247 |
## Type: String |
| 248 |
## Default: "-type grayscale -colors 256" |
| 249 |
# |
| 250 |
# Do not change unless you really know what you do. |
| 251 |
# |
| 252 |
CONVERT_OPTS_PNG="-type grayscale -colors 256" |
| 253 |
|
| 254 |
## Key: DOCCONF_DEFAULT |
| 255 |
## ----------------------------- |
| 256 |
## Description: Specify a default DC-file that is used whenever |
| 257 |
## no DC-file is specified on the command line or via |
| 258 |
## DOCCONF_NAME in the DC-FILE |
| 259 |
## Type: String |
| 260 |
## Default: "" |
| 261 |
# |
| 262 |
# This value is usually set in a book specific DC-file |
| 263 |
# |
| 264 |
DOCCONF_DEFAULT="" |
| 265 |
|
| 266 |
## Key: DIA_OPTIONS |
| 267 |
## ------------------------- |
| 268 |
## Description: Command line options for dia to convert DIA to SVG |
| 269 |
## Type: String |
| 270 |
## Default: "-t cairo-svg" |
| 271 |
# |
| 272 |
# Do not change unless you really know what you do. |
| 273 |
# |
| 274 |
DIA_OPTIONS="-t cairo-svg" |
| 275 |
|
| 276 |
## Key: DOCBOOK4_PROFILE_URN |
| 277 |
## ------------------------- |
| 278 |
## Description: URN to a DocBook 4 profiling stylesheet |
| 279 |
## Type: URN |
| 280 |
## Default: "urn:x-daps:xslt:profiling:docbook45-profile.xsl" |
| 281 |
# |
| 282 |
# URN to a stylesheet used to profile DocBook 4 content. The stylesheet |
| 283 |
# should match the DocBook version you are using, see comments below for |
| 284 |
# possible values |
| 285 |
# |
| 286 |
# |
| 287 |
#DOCBOOK4_PROFILE_URN="urn:x-daps:xslt:profiling:docbook41-profile.xsl" |
| 288 |
#DOCBOOK4_PROFILE_URN="urn:x-daps:xslt:profiling:docbook42-profile.xsl" |
| 289 |
#DOCBOOK4_PROFILE_URN="urn:x-daps:xslt:profiling:docbook43-profile.xsl" |
| 290 |
#DOCBOOK4_PROFILE_URN="urn:x-daps:xslt:profiling:docbook44-profile.xsl" |
| 291 |
DOCBOOK4_PROFILE_URN="urn:x-daps:xslt:profiling:docbook45-profile.xsl" |
| 292 |
|
| 293 |
## Key: DOCBOOK4_STYLE_URI |
| 294 |
## ------------------ |
| 295 |
## Description: URI to DocBook 4 stylesheets |
| 296 |
## Type: URI |
| 297 |
## Default: "http://docbook.sourceforge.net/release/xsl/current/" |
| 298 |
# |
| 299 |
# URI to the DocBook 4 stylesheets that can be resolved by xmlcatalog |
| 300 |
# There should be no need to change this entry |
| 301 |
# Note: |
| 302 |
# URI _must_ end with a "/", otherwise it will not be resolved on Ubuntu |
| 303 |
# WARNING: |
| 304 |
# This value needs to point to the original DocBook stylesheets. It will |
| 305 |
# ensure that there always is a fallback in case the stylesheets specified |
| 306 |
# elsewhere do not provide the requested output format. These styles are |
| 307 |
# also used to generate text output. Only change if the default value |
| 308 |
# cannot be resolved by xmlcatalog. |
| 309 |
# |
| 310 |
DOCBOOK4_STYLE_URI="http://docbook.sourceforge.net/release/xsl/current/" |
| 311 |
|
| 312 |
## Key: DOCBOOK5_PROFILE_URN |
| 313 |
## ------------------------- |
| 314 |
## Description: URN to a DocBook 5 profiling stylesheet |
| 315 |
## Type: URN |
| 316 |
## Default: "urn:x-daps:xslt:profiling:docbook51-profile.xsl" |
| 317 |
# |
| 318 |
# URN to a stylesheet used to profile DocBook 5 content. The stylesheet |
| 319 |
# should match the DocBook version you are using, see comments below for |
| 320 |
# possible values |
| 321 |
# |
| 322 |
# |
| 323 |
#DOCBOOK5_PROFILE_URN="urn:x-daps:xslt:profiling:docbook50-profile.xsl" |
| 324 |
DOCBOOK5_PROFILE_URN="urn:x-daps:xslt:profiling:docbook51-profile.xsl" |
| 325 |
|
| 326 |
## Key: DOCBOOK5_RNG_URI |
| 327 |
## ------------------ |
| 328 |
## Description: URI to DocBook 5 Relax NG schema |
| 329 |
## Type: URI |
| 330 |
## Default: "http://docbook.org/xml/@db5version@/rng/docbook.rng" |
| 331 |
# |
| 332 |
# URI to the DocBook 5 Relax NG schema that can be resolved by xmlcatalog |
| 333 |
# There should be no need to change this entry |
| 334 |
# In case you use a git checkout the DB5 version will be masked with |
| 335 |
# \@db5version\@. This string will automatically be replaced with "5.1" if |
| 336 |
# DocBook 5.1 is installed, otherwise it will be set to "5.0" |
| 337 |
# If you do not like this, replace the value with one of the commented lines |
| 338 |
# |
| 339 |
#DOCBOOK5_RNG_URI="http://docbook.org/xml/5.0/rng/docbookxi.rng" |
| 340 |
#DOCBOOK5_RNG_URI="http://docbook.org/xml/5.1/rng/docbookxi.rng" |
| 341 |
DOCBOOK5_RNG_URI="http://docbook.org/xml/@db5version@/rng/docbookxi.rng" |
| 342 |
|
| 343 |
## Key: DOCBOOK5_STYLE_URI |
| 344 |
## ------------------ |
| 345 |
## Description: URI to DocBook 5 stylesheets |
| 346 |
## Type: URI |
| 347 |
## Default: "http://docbook.sourceforge.net/release/xsl-ns/current/" |
| 348 |
# |
| 349 |
# URI to the DocBook 5 stylesheets that can be resolved by xmlcatalog |
| 350 |
# There should be no need to change this entry |
| 351 |
# Note: |
| 352 |
# URI _must_ end with a "/", otherwise it will not be resolved on Ubuntu |
| 353 |
# |
| 354 |
# WARNING: |
| 355 |
# This value needs to point to the original DocBook stylesheets. It will |
| 356 |
# ensure that there always is a fallback in case the stylesheets specified |
| 357 |
# elsewhere do not provide the requested output format. These styles are |
| 358 |
# also used to generate text output. Only change if the default value |
| 359 |
# cannot be resolved by xmlcatalog. |
| 360 |
# |
| 361 |
DOCBOOK5_STYLE_URI="http://docbook.sourceforge.net/release/xsl-ns/current/" |
| 362 |
|
| 363 |
## Key: DRAFT |
| 364 |
## ------------------ |
| 365 |
## Description: Print "DRAFT" watermarks in HTML or PDF builds |
| 366 |
## Type: yesno |
| 367 |
## Default: "no" |
| 368 |
# |
| 369 |
# Turns on DRAFT watermarks in PDF or HTML builds when set to "yes" |
| 370 |
# Is ignored for any other output format and has no effect on profiling. |
| 371 |
# This value can be set to "yes" using the -d switch on the command line |
| 372 |
# Also see COMMENTS and REMARKS |
| 373 |
# |
| 374 |
DRAFT="no" |
| 375 |
|
| 376 |
## Key: DRAFT_STR |
| 377 |
## ---------------------- |
| 378 |
## Description: String to be appended to file/directory names when draft |
| 379 |
## is turned on |
| 380 |
## Type: String |
| 381 |
## Default: "_draft" |
| 382 |
# |
| 383 |
# |
| 384 |
DRAFT_STR="_draft" |
| 385 |
|
| 386 |
## Key: EPUB_CHECK |
| 387 |
## ------------------------ |
| 388 |
## Description: Check generated EPUB file with epubcheck |
| 389 |
## Type: yesno |
| 390 |
## Default: "no" |
| 391 |
# |
| 392 |
# Useful to find errors within an EPUB file when developing stylesheets |
| 393 |
# |
| 394 |
EPUBCHECK="no" |
| 395 |
|
| 396 |
## Key: EPUB_CSS |
| 397 |
## ------------------------ |
| 398 |
## Description: Absolute path to CSS file for EPUB builds |
| 399 |
## Type: Path to file |
| 400 |
## Default: "" |
| 401 |
# |
| 402 |
EPUB_CSS="" |
| 403 |
|
| 404 |
## Key: FALLBACK_STYLEROOT |
| 405 |
## ---------------------- |
| 406 |
## Description: Fallback styleroot directory. |
| 407 |
## Type: Path to directory (without a trailing slash) |
| 408 |
## Default: "" |
| 409 |
# |
| 410 |
# When having specified custom stylesheets with STYLEROOT, the fallback |
| 411 |
# for styles not specified in the custom STYLEROOT are the DocBook stylesheets |
| 412 |
# Specify an alternative fallback with this option. Useful if you have a |
| 413 |
# fork of e.g. your custom FO stylesheets. When setting STYLEROOT to this |
| 414 |
# for directory that only has FO styles, HTML versions of that document would |
| 415 |
# be build with the DocBook stylesheets. Setting FALLBACK_STYLEROOT to the |
| 416 |
# directory containing your original custom stylesheets (which also have |
| 417 |
# HTML stylesheets) will create HTML versions with your custom styles. The |
| 418 |
# DocBook stylesheets remain as a last fallback resort. |
| 419 |
# |
| 420 |
# This option is ignored when not specifying STYLEROOT at the same time. |
| 421 |
# Also see STYLEROOT |
| 422 |
# |
| 423 |
FALLBACK_STYLEROOT="" |
| 424 |
|
| 425 |
## Key: FOP_CONFIG_FILE |
| 426 |
## ----------------------- |
| 427 |
## Description: Configuration file for the FOP PDF formatter |
| 428 |
## Type: Path |
| 429 |
## Default: "" |
| 430 |
|
| 431 |
# |
| 432 |
# Specify an XML config file for FOP. A template is available in |
| 433 |
# @sysconfdir@/daps/fop/fop-daps.xml |
| 434 |
# Also see FORMATTER, FOP-* |
| 435 |
# |
| 436 |
# FOP_CONFIG_FILE="@sysconfdir@/daps/fop/fop-daps.xml" |
| 437 |
FOP_CONFIG_FILE="" |
| 438 |
|
| 439 |
## Key: FOP_CMD_OPTIONS |
| 440 |
## ----------------------- |
| 441 |
## Description: Command line options for the FOP PDF formatter |
| 442 |
## Type: String |
| 443 |
## Default: "" |
| 444 |
# |
| 445 |
# Specify command line options for the FOP formatter. |
| 446 |
# Also see FORMATTER, FOP-* |
| 447 |
# |
| 448 |
FOP_CMD_OPTIONS="" |
| 449 |
|
| 450 |
## Key: FOP_JAVA_FLAGS |
| 451 |
## ---------------------------- |
| 452 |
## Description: Additional java properties for running fop |
| 453 |
## Type: String (-D<prop>) |
| 454 |
## Default: "" |
| 455 |
# |
| 456 |
FOP_JAVA_FLAGS="" |
| 457 |
|
| 458 |
## Key: FOP_JAVA_JARS |
| 459 |
## --------------------------- |
| 460 |
## Description: Additional Jars for running fop |
| 461 |
## Type: String |
| 462 |
## Default: "" |
| 463 |
# |
| 464 |
FOP_JAVA_JARS="" |
| 465 |
|
| 466 |
## Key: FOP_JAVA_OPTIONS |
| 467 |
## ------------------------------ |
| 468 |
## Description: Additional java options for running fop |
| 469 |
## Type: String (-X<option>), see java -X for help |
| 470 |
## Default: "" |
| 471 |
# |
| 472 |
FOP_JAVA_OPTIONS="" |
| 473 |
|
| 474 |
## Key: FOP_WRAPPER |
| 475 |
## ----------------------- |
| 476 |
## Description: Wrapper script for the FOP PDF formatter |
| 477 |
## Type: PATH to script |
| 478 |
## Default: "@pkgdatadir@/libexec/daps-fop"" |
| 479 |
# |
| 480 |
# Optional wrapper script for calling fop. If set to "fop", it will run |
| 481 |
# the first fop executable found in your path (usually this will be |
| 482 |
# /usr/bin/fop) |
| 483 |
# |
| 484 |
# The default will probably not work on Debian/Ubuntu, since they |
| 485 |
# use a different way to set Java options. Setting up a custom wrapper |
| 486 |
# script for Ubuntu/Debian might be needed (not tested) |
| 487 |
# |
| 488 |
FOP_WRAPPER="@pkgdatadir@/libexec/daps-fop" |
| 489 |
|
| 490 |
## Key: FORMATTER |
| 491 |
## -------------------- |
| 492 |
## Description: Specify the PDF formatter to use |
| 493 |
## Type: String (fop,xep) |
| 494 |
## Default: "fop" |
| 495 |
# |
| 496 |
# Specify which PDF formatter to use. Currently only fop or xep are supported |
| 497 |
# Also see FOP_*, XEP_* |
| 498 |
# |
| 499 |
FORMATTER="fop" |
| 500 |
|
| 501 |
## Key: GZIP_MAN |
| 502 |
## ------------------ |
| 503 |
## Description: Compress man pages with gzip |
| 504 |
## Type: yesno |
| 505 |
## Default: "yes" |
| 506 |
# |
| 507 |
# By default man pages created with the "man" target will be compressed with |
| 508 |
# gzip |
| 509 |
# |
| 510 |
GZIP_MAN="yes" |
| 511 |
|
| 512 |
|
| 513 |
## Key: JING_JAVA_FLAGS |
| 514 |
## ---------------------------- |
| 515 |
## Description: Additional java properties for running jing |
| 516 |
## Type: String (-D<prop>) |
| 517 |
## Default: "" |
| 518 |
# |
| 519 |
JING_JAVA_FLAGS="" |
| 520 |
|
| 521 |
## Key: JING_JAVA_JARS |
| 522 |
## --------------------------- |
| 523 |
## Description: Additional Jars for running jing |
| 524 |
## Type: String |
| 525 |
## Default: "" |
| 526 |
# |
| 527 |
JING_JAVA_JARS="" |
| 528 |
|
| 529 |
## Key: JING_JAVA_OPTIONS |
| 530 |
## ------------------------------ |
| 531 |
## Description: Additional java options for running jing |
| 532 |
## Type: String (-X<option>), see java -X for help |
| 533 |
## Default: "" |
| 534 |
# |
| 535 |
JING_JAVA_OPTIONS="" |
| 536 |
|
| 537 |
## Key: JING_WRAPPER |
| 538 |
## ------------------------- |
| 539 |
## Description: Wrapper script for Jing |
| 540 |
## Type: PATH to script |
| 541 |
## Default: "@pkgdatadir@/libexec/daps-jing" |
| 542 |
# |
| 543 |
# Optional wrapper script for calling jing. If set to "jing", it will run |
| 544 |
# the first jing executable found in your path (usually this will be |
| 545 |
# /usr/bin/jing) |
| 546 |
# |
| 547 |
# The default will probably not work on Debian/Ubuntu, since they |
| 548 |
# use a different way to set Java options. Setting up a custom wrapper |
| 549 |
# script for Ubuntu/Debian might be needed (not tested) |
| 550 |
# |
| 551 |
# Also see JING_* |
| 552 |
# |
| 553 |
JING_WRAPPER="@pkgdatadir@/libexec/daps-jing" |
| 554 |
|
| 555 |
## Key: HTML5 |
| 556 |
## ------------------------ |
| 557 |
## Description: Use XHTML5 instead of XHTML1 for HTML output |
| 558 |
## Type: yesno |
| 559 |
## Default: no |
| 560 |
# |
| 561 |
HTML5="no" |
| 562 |
|
| 563 |
## Key: HTML_CSS |
| 564 |
## ------------------------ |
| 565 |
## Description: Absolute path to CSS file for HTML builds |
| 566 |
## Type: Path to file |
| 567 |
## Default: "" |
| 568 |
# |
| 569 |
HTML_CSS="" |
| 570 |
|
| 571 |
## Key: IMG_VIEWER |
| 572 |
## ------------------------ |
| 573 |
## Description: Image viewer to be used with target getimages |
| 574 |
## Type: String |
| 575 |
## Default: "" |
| 576 |
# |
| 577 |
# Command (gpicview) or full path (/usr/bin/gpicview) to an image viewer |
| 578 |
# |
| 579 |
IMG_VIEWER="" |
| 580 |
|
| 581 |
## Key: INCLUDE_MANIFEST |
| 582 |
## ----------------------------- |
| 583 |
## Description: Include a manifest file to the archive created by dist-html |
| 584 |
## containing list of included HTML files |
| 585 |
## Type: Bool |
| 586 |
## Default: "" |
| 587 |
# |
| 588 |
# Only affects the dist-html subcommand |
| 589 |
# |
| 590 |
INCLUDE_MANIFEST="" |
| 591 |
|
| 592 |
## Key: INK_OPTIONS |
| 593 |
## ------------------------ |
| 594 |
## Description: Command line options for Inkscape >= 1.0 to convert SVG to PNG |
| 595 |
## Type: String |
| 596 |
## Default: "" |
| 597 |
# |
| 598 |
# Do not change unless you really know what you do. |
| 599 |
# For Inkscape >= 1.0 only, do not use the old command line switches! |
| 600 |
# |
| 601 |
INK_OPTIONS="" |
| 602 |
|
| 603 |
## Key: JING_FLAGS |
| 604 |
## ------------------------ |
| 605 |
## Description: Flags for jing |
| 606 |
## Type: String, whitespace-separated |
| 607 |
## Default: "-Dorg.apache.xerces.xni.parser.XMLParserConfiguration=org.apache.xerces.parsers.XIncludeParserConfiguration" |
| 608 |
# |
| 609 |
# The default flag enables jing to follow xi:includes |
| 610 |
# Do not change unless you really know what you do. |
| 611 |
# |
| 612 |
JING_FLAGS="-Dorg.apache.xerces.xni.parser.XMLParserConfiguration=org.apache.xerces.parsers.XIncludeParserConfiguration" |
| 613 |
|
| 614 |
## Key: MAIN |
| 615 |
## ----------------- |
| 616 |
## Description: Filename of the set/book defining XML file |
| 617 |
## Type: filename (filename only, no absolute path) |
| 618 |
## Default: "" |
| 619 |
# |
| 620 |
# Name of the MAIN XML file. Mandatory. |
| 621 |
# This value is usually set in a book specific DC-file. |
| 622 |
# |
| 623 |
MAIN="" |
| 624 |
|
| 625 |
|
| 626 |
## Key: META |
| 627 |
## -------------------- |
| 628 |
## Description: Print meta information in HTML and PDF builds |
| 629 |
## Type: yesno |
| 630 |
## Default: "no" |
| 631 |
# |
| 632 |
# Adds the file name of the source file below section titles in HTML output. |
| 633 |
# Useful for proofreading. |
| 634 |
# Implies that remarks are turned on. |
| 635 |
# This value can be set to "yes" using the -m switch on the command line |
| 636 |
# Also see REMARKS |
| 637 |
# |
| 638 |
META="no" |
| 639 |
|
| 640 |
|
| 641 |
## Key: META_STR |
| 642 |
## ---------------------- |
| 643 |
## Description: String to be appended to file/directory names when meta |
| 644 |
## is turned on |
| 645 |
## Type: String |
| 646 |
## Default: "_meta" |
| 647 |
# |
| 648 |
# |
| 649 |
META_STR="_meta" |
| 650 |
|
| 651 |
# Key: OUTPUTNAME |
| 652 |
## -------------------- |
| 653 |
## Description: Custom name for generated files |
| 654 |
## Type: String |
| 655 |
## Default: "" |
| 656 |
# |
| 657 |
# By default the directory/filenames will be generated by stripping the |
| 658 |
# CONF_PREFIX from the DC-file's name. Use this setting to choose a custom |
| 659 |
# name. |
| 660 |
# This value is usually set in a book specific DC-file. |
| 661 |
# ATTENTION: Do not specify this value in a global config file if you generate |
| 662 |
# more than a single book, otherwise previous book builds will |
| 663 |
# always be overwritten by a new build |
| 664 |
# |
| 665 |
OUTPUTNAME="" |
| 666 |
|
| 667 |
## Key: PDFNAME |
| 668 |
## -------------------- |
| 669 |
## Deprecated. Use OUTPUTNAME instead (see there) |
| 670 |
|
| 671 |
|
| 672 |
|
| 673 |
## Key: PROFARCH |
| 674 |
## --------------------- |
| 675 |
## Description: Profiling values for the attribute arch="" |
| 676 |
## Type: String (e.g. i386, x86_64) |
| 677 |
## Default: "" |
| 678 |
# |
| 679 |
# This value is usually set in a book specific DC-file. |
| 680 |
# |
| 681 |
PROFARCH="" |
| 682 |
|
| 683 |
## Key: PROFCONDITION |
| 684 |
## --------------------------- |
| 685 |
## Description: Profiling values for the attribute condition="" |
| 686 |
## Type: String |
| 687 |
## Default: "" |
| 688 |
# |
| 689 |
# This value is usually set in a book specific DC-file. |
| 690 |
# |
| 691 |
PROFCONDITION="" |
| 692 |
|
| 693 |
## Key: PROFILE_URN |
| 694 |
## --------------------------- |
| 695 |
## Description: URN for profiling stylesheet |
| 696 |
## Type: urn (String) |
| 697 |
## Default: "" |
| 698 |
# |
| 699 |
# In order to use profiling, the urn to a profiling stylesheet _either_ has |
| 700 |
# to be specified in the header of the main file ($MAIN) via <?xml-stylesheet/> |
| 701 |
# or via this variable. Valid urns can be found in the DAPS installation |
| 702 |
# directory in etc/catalog.xml |
| 703 |
PROFILE_URN="" |
| 704 |
|
| 705 |
## Key: PROFOS |
| 706 |
## ------------------- |
| 707 |
## Description: Profiling values for the attribute os="" |
| 708 |
## Type: String |
| 709 |
## Default: "" |
| 710 |
# |
| 711 |
# This value is usually set in a book specific DC-file. |
| 712 |
# |
| 713 |
PROFOS="" |
| 714 |
|
| 715 |
## Key: PROFOUTPUTFORMAT |
| 716 |
## ------------------- |
| 717 |
## Description: Profiling values for the attribute outputformat="" |
| 718 |
## Type: String |
| 719 |
## Default: "" |
| 720 |
# |
| 721 |
# This value is usually set in a book specific DC-file. |
| 722 |
# |
| 723 |
PROFOUTPUTFORMAT="" |
| 724 |
|
| 725 |
## Key: PROFVENDOR |
| 726 |
## ----------------------- |
| 727 |
## Description: Profiling values for the attribute vendor="" |
| 728 |
## Type: String |
| 729 |
## Default: "" |
| 730 |
# |
| 731 |
# This value is usually set in a book specific DC-file. |
| 732 |
# |
| 733 |
PROFVENDOR="" |
| 734 |
|
| 735 |
## Key: REMARK |
| 736 |
## ------------------- |
| 737 |
## Description: Generate books with remarks? |
| 738 |
## Type: yesno |
| 739 |
## Default: "no" |
| 740 |
# |
| 741 |
# By default remarks are ignored when generating books. Set this parameter to |
| 742 |
# "yes" to include remarks. Useful for proofreading. |
| 743 |
# This value can be set to "yes" using the -r switch on the command line |
| 744 |
# Also see COMMENTS and DRAFT |
| 745 |
# |
| 746 |
REMARKS="no" |
| 747 |
|
| 748 |
## Key: REMARKS_STR |
| 749 |
## ------------------------ |
| 750 |
## Description: String to be appended to file/directory names when remarks |
| 751 |
## are turned on |
| 752 |
## Type: String |
| 753 |
## Default: "_remarks" |
| 754 |
# |
| 755 |
REMARK_STR="_remarks" |
| 756 |
|
| 757 |
## Key: ROOTID |
| 758 |
## ------------------- |
| 759 |
## Description: ID of the book/chapter/etc. to generate |
| 760 |
## Type: String (must be a valid id from the set defined in MAIN) |
| 761 |
## Default: "" |
| 762 |
# |
| 763 |
# When not set, the complete book defined in MAIN is build. If MAIN defines a |
| 764 |
# set of several books, you need to specify the id of a book (<book id="">) in |
| 765 |
# order to build the single book. daps also supports building single |
| 766 |
# articles, parts, and chapters. |
| 767 |
# This value is usually set in a book specific DC-file and can also be set |
| 768 |
# using the command line switch --rootid="" |
| 769 |
# |
| 770 |
ROOTID="" |
| 771 |
|
| 772 |
## Key: SPELL_CHECKER |
| 773 |
## ---------------------- |
| 774 |
## Description: Spellchecker application to use |
| 775 |
## Type: Name of the spellchecker's binary |
| 776 |
## Default: DAPS performs a lookup for aspell and hunspell. If only one |
| 777 |
## of these packages is installed, it will be used automatically. |
| 778 |
## If both are installed, aspell will be used. |
| 779 |
## If you want to force using one of the two spellcheckers, specify |
| 780 |
## it here. |
| 781 |
## |
| 782 |
SPELL_CHECKER="" |
| 783 |
|
| 784 |
## Key: SPELL_CHECKER |
| 785 |
## ---------------------- |
| 786 |
## Description: Spellchecker application to use |
| 787 |
## Type: Name of the spellchecker's binary |
| 788 |
## Default: "aspell" |
| 789 |
# |
| 790 |
SPELL_CHECKER="aspell" |
| 791 |
|
| 792 |
## Key: SPELL_EXTRA_DICT |
| 793 |
## ---------------------- |
| 794 |
## Description: Additional dictionary for spell checker |
| 795 |
## Type: Absolute path to dictionary |
| 796 |
## Default: "" |
| 797 |
# |
| 798 |
# Refer to the aspell / hunspell documentation on how to build custom |
| 799 |
# dictionaries (the process differs for each spell checker) |
| 800 |
# |
| 801 |
# NOTE:Differences between aspell and hunspell |
| 802 |
# aspell: |
| 803 |
# An extra dictionary for aspell can reside anywhere in the |
| 804 |
# file system and you need to specify the absolute path to |
| 805 |
# this directory with SPELL_EXTRA_DICT or with --extra-dict |
| 806 |
# hunspell: |
| 807 |
# An extra dictionary for hunspell needs to reside in |
| 808 |
# hunspell's search path (check with hunspell -D) and needs |
| 809 |
# to be specified with the file's base name only: |
| 810 |
# Example: /usr/share/hunspell/en_US-suse-doc.dic => en_US-suse-doc |
| 811 |
# If you specify a non-existing dictionary or if it |
| 812 |
# cannot be found by hunspell, it will silently be ignored |
| 813 |
# |
| 814 |
# Specify an additional (custom) dictionary (will always be used in |
| 815 |
# addition to the default dictionary for the given language) |
| 816 |
# |
| 817 |
SPELL_EXTRA_DICT="" |
| 818 |
|
| 819 |
## Key: SPELL_LANG |
| 820 |
## ---------------------- |
| 821 |
## Description: Language for spell checker |
| 822 |
## Type: String |
| 823 |
## Default: "" |
| 824 |
# |
| 825 |
# NOTE: Language to use for spellchecker. |
| 826 |
# aspell: |
| 827 |
# It uses the same format as the |
| 828 |
# LANG environmental variable: It consists of the two letter ISO 639 |
| 829 |
# language code (e.g. 'en' for English) and an optional two letter |
| 830 |
# ISO 3166 country code after an underscore (e.g. en_GB for British |
| 831 |
# English). Make sure the respective dictionary for aspell is installed. |
| 832 |
# By default, DAPS tries to get the language from the "lang" attribute |
| 833 |
# of the MAIN file. |
| 834 |
# hunspell: |
| 835 |
# Consists of the two letter ISO 639 (e.g. 'en' for English) and a |
| 836 |
# mandatory two letter ISO 3166 country code after an underscore |
| 837 |
# (e.g. en_GB for British English) |
| 838 |
# In case the language is not specified with --lang or SPELL_LANG, |
| 839 |
# the value from the xml:lang attribute of the MAIN file will be |
| 840 |
# used in case it complies with the format. If not, spellcheck will |
| 841 |
# abort and ask for the language. |
| 842 |
# |
| 843 |
SPELL_LANG="" |
| 844 |
|
| 845 |
## Key: SPELL_SKIP_TAGS |
| 846 |
## ---------------------- |
| 847 |
## Description: list of DocBook XML tags which content should _not_ be |
| 848 |
## spell-checked. Only works with aspell (hunspell does not |
| 849 |
## support this). |
| 850 |
## Type: List |
| 851 |
## Default: "author command email envar filename firstname guimenu \ |
| 852 |
## keycap literal option package remark screen surname \ |
| 853 |
## systemitem tag ulink varname xref" |
| 854 |
# |
| 855 |
SPELL_SKIP_TAGS="author command email envar filename firstname guimenu keycap literal option package remark replaceable screen surname systemitem tag ulink varname xref" |
| 856 |
|
| 857 |
## Key: STATIC_DIR |
| 858 |
## ------------------- |
| 859 |
## Description: Custom static/ directory containing CSS and JS files |
| 860 |
## as well as images referenced from the CSS file and |
| 861 |
## the stylesheets |
| 862 |
## Type: Path to directory (without a trailing slash) |
| 863 |
## Default: "" |
| 864 |
# |
| 865 |
# |
| 866 |
# If present, DAPS uses a directory <STYLEROOT>/static hosting CSS and JS |
| 867 |
# files as well as images reference from the stylesheets and copies it to |
| 868 |
# the resulting HTML directory. This variable allows to permanently set a |
| 869 |
# custom directory. |
| 870 |
# To be set in the DC file or via command line with --statdir. |
| 871 |
# |
| 872 |
# See also STYLEROOT, FALLBACK_STYLEROOT |
| 873 |
# |
| 874 |
STATIC_DIR="" |
| 875 |
|
| 876 |
## Key: STYLEDEVEL |
| 877 |
## ------------------- |
| 878 |
## Description: Custom stylesheets directory for development purposes. |
| 879 |
## Type: Path to directory (without a trailing slash) |
| 880 |
## Default: "" |
| 881 |
# |
| 882 |
# |
| 883 |
# By default, daps uses the DocBook stylesheets to create output. If you are |
| 884 |
# developing your own set of stylesheets, you may want to set STYLEDEVEL in |
| 885 |
# ~/.config/daps/dapsrc. If set STYLEDEVEL _always_ takes precedence over |
| 886 |
# STYLEROOT! |
| 887 |
# You may also want to set FALLBACK_STYLEROOT alongside with STYLEDEVEL |
| 888 |
# |
| 889 |
# See also STYLEROOT, FALLBACK_STYLEROOT |
| 890 |
# |
| 891 |
# Do NOT use unless you really know what you are doing. |
| 892 |
# |
| 893 |
STYLEDEVEL="" |
| 894 |
|
| 895 |
## Key: STYLEROOT |
| 896 |
## ------------------- |
| 897 |
## Description: Custom stylesheets directory. |
| 898 |
## Type: Path to directory (without a trailing slash) |
| 899 |
## Default: "" |
| 900 |
# |
| 901 |
# By default, daps uses the DocBook stylesheets to create output. If you have |
| 902 |
# your own set of stylesheets, specify the absolute path to the stylesheet |
| 903 |
# directory here. The DocBook stylesheets will be used as a fallback in case |
| 904 |
# styles are not defined for all output formats. |
| 905 |
# |
| 906 |
# See also: FALLBACK_STYLEROOT |
| 907 |
# |
| 908 |
STYLEROOT="" |
| 909 |
|
| 910 |
## Key: TXT_IGNORE_STYLEROOT |
| 911 |
## --------------------------------- |
| 912 |
## Description: Ignore styleroot and rather use the original DocBook |
| 913 |
## stylesheets for text output? |
| 914 |
## Type: yesno |
| 915 |
## Default: "no" |
| 916 |
# |
| 917 |
# Text output is generated by creating a single file HTML page parsing |
| 918 |
# the result with w3m. This ensures that e.g. tables are properly |
| 919 |
# displayed in the .txt file. Default is to use the stylesheets provided |
| 920 |
# via STYLEROOT or --styleroot to build the HTML. Set this option to |
| 921 |
# "yes" to ignore the STYLEROOT and to use the original DocBook |
| 922 |
# stylesheets instead. |
| 923 |
# |
| 924 |
# NOTE: This will also work if STYLEROOT points to the original |
| 925 |
# DocBook stylesheets. |
| 926 |
# |
| 927 |
# See also: TXT_PARAMS |
| 928 |
# |
| 929 |
TXT_IGNORE_STYLEROOT="no" |
| 930 |
|
| 931 |
|
| 932 |
## Key: TXT_PARAMS |
| 933 |
## ------------------- |
| 934 |
## Description: XSL parameters for text file generation |
| 935 |
## Type: string |
| 936 |
## Default: '--param="generate.permalinks=0" --param="section.autolabel=1" --param="section.label.includes.component.label=2"' |
| 937 |
# |
| 938 |
# Text output is generated by creating a single file HTML page parsing |
| 939 |
# the result with w3m. This ensures that e.g. tables are properly |
| 940 |
# displayed in the .txt file. This configuration option can be used to set |
| 941 |
# custom XSL parameters - the HTML stylesheets are not necessarily |
| 942 |
# configured in a way that is suitable for text output. |
| 943 |
# The default value for TXT_PARAMS turns on labeling and makes sure |
| 944 |
# admonitions have a text label. Other parameters turn off stuff that is |
| 945 |
# of no use in text output. |
| 946 |
# For a reference of all HTML parameters refer to |
| 947 |
# http://docbook.sourceforge.net/release/xsl/current/doc/html/index.html |
| 948 |
# |
| 949 |
# NOTE: Make sure to use single quotes to quote the complete string, since it |
| 950 |
# contains double quotes |
| 951 |
# |
| 952 |
TXT_PARAMS='--param="admon.textlabel=1" --param="section.autolabel=1" --param="section.label.includes.component.label=2" --param="optimize.plain.text=1"' |
| 953 |
|
| 954 |
## Key: VALID_ROOTELEMENTS |
| 955 |
## -------------------- |
| 956 |
## Description: Top level root elements allowed when specifying --rootid |
| 957 |
## Type: String (list of space separated tags) |
| 958 |
## Default: appendix article bibliography book chapter colophon \ |
| 959 |
## dedication glossary index part preface refentry reference \ |
| 960 |
## set setindex |
| 961 |
# |
| 962 |
# Stylesheets for PDF/HTML/EPUB etc. usually expect certain top level elements |
| 963 |
# when transforming XML files. It makes little sense to process a document with |
| 964 |
# <envar> as a root element. Specify the list of top-level elements your scripts |
| 965 |
# support, here. In case a document with a root element not specified here is |
| 966 |
# parsed, DAPS will exit with an error. This is also true when specifying the |
| 967 |
# --rootid parameter: If the specified rootid belongs to an element not listed |
| 968 |
# here, DAPS throws an error. |
| 969 |
# Set to an empty value to allow all elements (e.g. when you prefer to do the |
| 970 |
# error handling from within the scripts). |
| 971 |
# |
| 972 |
VALID_ROOTELEMENTS="appendix article bibliography book chapter colophon dedication glossary index part preface refentry reference set setindex" |
| 973 |
|
| 974 |
## Key: WH_SEARCH |
| 975 |
## -------------------- |
| 976 |
## Description: Enable/disable webhelp search feature |
| 977 |
## Type: yesno |
| 978 |
## Default: yes |
| 979 |
# |
| 980 |
# |
| 981 |
WH_SEARCH="yes" |
| 982 |
|
| 983 |
## Key: XEP_CONFIG_FILE |
| 984 |
## ----------------------- |
| 985 |
## Description: Configuration file for the XEP PDF formatter |
| 986 |
## Type: Path |
| 987 |
## Default: "@sysconfdir@/daps/xep/xep-daps.xml" |
| 988 |
# |
| 989 |
# Specify a config file for XEP |
| 990 |
# Also see FORMATTER, XEP-* |
| 991 |
# |
| 992 |
# The xep executable will automatically use the file specified |
| 993 |
# with the XEP_CONFIG_FILE environment variable (if exported). There |
| 994 |
# is no such option as -c or --config for the xep executable. |
| 995 |
# |
| 996 |
# NOTE: This value may be overwritten by either of the following files, if they |
| 997 |
# exist: |
| 998 |
# (1) $STYLEROOT/formatter-config/xep/xep-daps.xml |
| 999 |
# (2) $HOME/.config/daps/xep-config.xml |
| 1000 |
# The order of precedence is: (1), (2), $XEP_CONFIG_FILE setting. |
| 1001 |
# |
| 1002 |
XEP_CONFIG_FILE="@sysconfdir@/daps/xep/xep-daps.xml" |
| 1003 |
|
| 1004 |
## Key: XEP_CMD_OPTIONS |
| 1005 |
## ----------------------- |
| 1006 |
## Description: Command line options for the XEP PDF formatter |
| 1007 |
## Type: String |
| 1008 |
## Default: "" |
| 1009 |
# |
| 1010 |
# Specify command line options for the XEP formatter. |
| 1011 |
# Also see FORMATTER, XEP-* |
| 1012 |
# |
| 1013 |
XEP_CMD_OPTIONS="" |
| 1014 |
|
| 1015 |
## Key: XEP_JAVA_FLAGS |
| 1016 |
## ---------------------------- |
| 1017 |
## Description: Additional java properties for running xep |
| 1018 |
## Type: String (-D<prop>) |
| 1019 |
## Default: "" |
| 1020 |
# |
| 1021 |
XEP_JAVA_FLAGS="" |
| 1022 |
|
| 1023 |
## Key: XEP_JAVA_JARS |
| 1024 |
## --------------------------- |
| 1025 |
## Description: Additional Jars for running xep |
| 1026 |
## Type: String |
| 1027 |
## Default: "" |
| 1028 |
# |
| 1029 |
XEP_JAVA_JARS="" |
| 1030 |
|
| 1031 |
## Key: XEP_JAVA_OPTIONS |
| 1032 |
## ------------------------------ |
| 1033 |
## Description: Additional java options for running xep |
| 1034 |
## Type: String (-X<option>), see java -X for help |
| 1035 |
## Default: "" |
| 1036 |
# |
| 1037 |
XEP_JAVA_OPTIONS="" |
| 1038 |
|
| 1039 |
## Key: XEP_WRAPPER |
| 1040 |
## ----------------------- |
| 1041 |
## Description: Wrapper script for the XEP PDF formatter |
| 1042 |
## Type: PATH to script |
| 1043 |
## Default: "@pkgdatadir@/libexec/daps-xep" |
| 1044 |
# |
| 1045 |
# Optional wrapper script for calling xep. If set to "xep", it will run |
| 1046 |
# the first xep executable found in your path (usually this will be |
| 1047 |
# /usr/bin/xep) |
| 1048 |
# |
| 1049 |
# The default will probably not work on Debian/Ubuntu, since they |
| 1050 |
# use a different way to set Java options. Setting up a custom wrapper |
| 1051 |
# script for Ubuntu/Debian might be needed (not tested) |
| 1052 |
# |
| 1053 |
XEP_WRAPPER="@pkgdatadir@/libexec/daps-xep" |
| 1054 |
|
| 1055 |
## Key: XML_MAIN_CATALOG |
| 1056 |
## ----------------------- |
| 1057 |
## Description: Main XML catalog file |
| 1058 |
## Type: PATH to file |
| 1059 |
## Default: "/etc/xml/catalog" |
| 1060 |
# |
| 1061 |
# Path to the main XML catalog used to resolve URIs. /etc/xml/catalog is |
| 1062 |
# the standard location used by most (all?) Linux distributions. Only |
| 1063 |
# change if the main catalog is located elsewhere on you distribution or if |
| 1064 |
# you want to use a custom catalog. |
| 1065 |
# |
| 1066 |
XML_MAIN_CATALOG="/etc/xml/catalog" |
| 1067 |
|
| 1068 |
## Key: XML_USER_CATALOGS |
| 1069 |
## ----------------------- |
| 1070 |
## Description: User defined catalog files |
| 1071 |
## Type: PATH to file |
| 1072 |
## Default: "" |
| 1073 |
# |
| 1074 |
# Path to one or more (space-separated) XML catalogs to be queried before |
| 1075 |
# XML_MAIN_CATALOG. |
| 1076 |
# |
| 1077 |
XML_USER_CATALOGS="" |
| 1078 |
|
| 1079 |
## Key: XMLFORMAT_CONFIG_FILE |
| 1080 |
## -------------------- |
| 1081 |
## Description: Path to config file for xmlformat |
| 1082 |
## Type: PATH to file |
| 1083 |
## Default: "@default@" |
| 1084 |
# |
| 1085 |
# xmlformat can prettify XML sources (daps xmlformat). |
| 1086 |
# This is ensures readability and consistent diffs even when using different |
| 1087 |
# editors. DAPS provides configuration files for DocBook (the default setting) |
| 1088 |
# for different versions of xmlformat. By default, DAPS chooses an |
| 1089 |
# appropriate file from @sysconfdir@/daps/docbook-xmlformat-*.conf depending on |
| 1090 |
# the installed version of xmlformat. To use an own configuration file, |
| 1091 |
# provide an absolute path to that file here. |
| 1092 |
# |
| 1093 |
# Can also be placed into a DC-file if used as a per-book setting |
| 1094 |
# |
| 1095 |
XMLFORMAT_CONFIG_FILE="@default@" |
| 1096 |
|
| 1097 |
## Key: XSLTPARAM |
| 1098 |
## -------------------- |
| 1099 |
## Description: String passed to xsltproc for HTML and PDF builds |
| 1100 |
## Type: number |
| 1101 |
## Default: "" |
| 1102 |
# |
| 1103 |
# With XSLTPARAM you can overwrite stylesheet settings without having |
| 1104 |
# to touch the stylesheet files directly. You may overwrite parameters |
| 1105 |
# by specifying "--stringparam <PARAM_NAME> <NEW_VALUE>" |
| 1106 |
# Example: |
| 1107 |
# Set the page size for PDFs to 200x100 mm |
| 1108 |
# XSLTPARAM="--stringparam page.height 200mm --stringparam page.width 100mm" |
| 1109 |
# |
| 1110 |
# Can also be placed in a DC-file if used as a per-book setting |
| 1111 |
# |
| 1112 |
XSLTPARAM="" |
| 1113 |
|
| 1114 |
## Key: XSLTPROCESSOR |
| 1115 |
## -------------------- |
| 1116 |
## Description: Path to XSLT processor. |
| 1117 |
## Type: Path to executable |
| 1118 |
## Default: "/usr/bin/xsltproc" |
| 1119 |
# |
| 1120 |
# Define which XSLT processor to use. Currently supports "xsltproc" and |
| 1121 |
# "saxon". Saxon needs to be Saxon 6, Saxon 8 and 9 are not supported. |
| 1122 |
# |
| 1123 |
XSLTPROCESSOR="/usr/bin/xsltproc" |