1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586
|
[[art.daps.asciidoc]]
= DAPS AsciiDoc Quick Start Guide
Frank Sundermeyer <fsundermeyer at opensuse dot org>
:Revision: 0
:toc:
:icons: font
:numbered:
:website: https://opensuse.github.io/daps/
ifdef::env-github[]
//Admonitions
:tip-caption: :bulb:
:note-caption: :information_source:
:important-caption: :heavy_exclamation_mark:
:caution-caption: :fire:
:warning-caption: :warning:
endif::[]
// Entities
:adoc: AsciiDoc
:db: DocBook
:daps: DAPS
http://asciidoc.org/[{adoc}] is a widely used markup language which, among other features, natively supports conversion to {db}.
Starting with the {daps} 3.0, {daps} supports {adoc} sources.
{adoc} sources are converted to {db} and then processed the same way as {db} sources.
Projects with {adoc} sources are handled the same way as regular {db} projects.
Therefore, the full range of output formats supported by {daps} is supported for {adoc} sources (HTML, single HTML, PDF, EPUB, Mobipocket, plain text).
This quick start guide focuses on using {daps} with {adoc} sources and requires basic {daps} knowledge and {adoc} writing experience.
<<art.daps.asciidoc.more>> contains links to documentation on {daps} and {adoc}.
The complete {daps} documentation is available online at https://opensuse.github.io/daps/.
[[art.daps.asciidoc.motivation]]
== Motivation
Over the past years, a lot of software documentation projects have moved from {db} to {adoc}.
With products and solutions becoming increasingly complex, documentation needs to rely more and more on external contributors.
The hurdle to contribute is significantly lower when using {adoc} as it is with {db}.
Such a move not only requires converting the {db} sources to {adoc}, but also changing the project setup, the toolchain and writing new stylesheets.
The {adoc} support in {daps} saves you from switching to a new toolchain and new stylesheets.
Whether you convert an existing {daps} project from {db} to {adoc}, or whether you have used {daps} before and are starting an {adoc} project from scratch, {daps} lets you:
* use existing XSLT stylesheets (for converting DocBook into PDF, HTML, etc.)
* use the same `daps` commands as with {db} projects
* use the same project setup as with {db} projects
However, {daps} cannot handle the conversion to {adoc} as the new source format.
[[art.daps.asciidoc.requirements]]
== Requirements
To use {adoc} sources with {daps}, you need to install the following packages:
* {daps} 3.0 or better
* `asciidoctor`
To install DAPS follow the https://github.com/asciidoctor/docbookrx[DAPS installation instructions].
For installing `asciidoctor` we recommend to use packages available for your Linux distribution.
[[art.daps.asciidoc.project]]
== Setting up a Project
An {adoc} project has got the same directory structure as a regular {db} project managed with {daps} (see https://opensuse.github.io/daps/doc/cha.daps.user.features.html#sec.daps.user.basics.dirstruct[Directory Structure] for more information.
However, there is one exception:
For a {db} project, images need to be saved in a directory structure where each image format has its own directory.
To be able to also easily process {adoc} sources from a {daps} project with `asciidoctor` or to properly display the contents on, for example, GitHub, an {adoc} project can store all images in a single directory.
=== The Directory Structure
The following directory structure is recommended for {adoc} projects:
[source]
----
PROJECT_ROOT/ <1>
|--DC-* <2>
|--adoc/ <3>
| |--MAIN.adoc <4>
| |--\*.adoc
| |--images/ <5>
| | |--\*.dia/
| | |--\*.jpg
| | |--\*.png/
| | |--\*.svg/
----
<1> The project's root directory (working directory) for the respective documentation project.
<2> One or more Doc Config files (DC files) defining your deliverables. Each DC file represents one book, article, or man page.
<3> The directory containing all {adoc} source files. It must be named `adoc/`. {adoc} files in subdirectories are ignored.
<4> The MAIN file of the documentation project. It may be the only file, but may also include other {adoc} files via the `include` directive.
<5> The Directory containing image files. Place all images in this directory. Subdirectories are ignored. Either specify the path to this directory in the DC-file with `ADOC_IMG_DIR` (recommended) or on the command line with `--adocimgdir`.
=== The Doc Config File (DC File)
A configuration file in the project directory.
Each book, article, or man page in a project can have its own documentation configuration file (DC file).
It defines several parameters for your documentation deliverable (for example, the MAIN file, layout variants, or whether to render the sources as article or book).
Although not mandatory, creating a DC file for each deliverable is recommended.
You can store deliverable-specific configuration options in the DC-file that you otherwise need to enter on the command line each time you call {daps}.
DC files need to be placed in the project root. The file names need to start with `DC-`.
The rest of the file name is used to name directories and files created by {daps}. For example, if a DC-file is named `DC-adoc_test`, file names and directories will start with `adoc_test`.
Of the multiple parameters that can be set in the DC file, the only one required is MAIN. It points to the MAIN {adoc} file that you want to process.
Create at least one DC file per book or article.
.Example: A Typical DC File for an {adoc} Project
[source]
----
## Doc config file for the DAPS example document
## See /etc/daps/config for documentation of the settings below
##
# MAIN file (mandatory) # <1>
#
MAIN="MAIN-example.adoc"
#----- optional parameters -----
# Image directory # <2>
#
ADOC_IMG_DIR="adoc/images"
# Type <3>
#
ADOC_TYPE="book"
# Turn on postprocessing # <4>
#
ADOC_POST="yes"
# Stylesheet directory # <5>
#
STYLEROOT="/usr/share/xml/docbook/stylesheet/daps2013"
# XSLT Parameters for customizing the stylesheets # <6>
#
XSLTPARAM="--stringparam homepage=https://github.com/openSUSE/daps"
XSLTPARAM+="--param variablelist.as.blocks=1"
----
<1> Name of the main {adoc} file from the `adoc/` directory. You do not need to specify the full path, {daps} will automatically find it.
<2> Path to the image directory containing images referenced in the {adoc} sources. If you specify a relative path (recommended for portability), it needs to be specified relative to the directory containing the DC file.
<3> Document type (`article`, `book`, `manpage`).
<4> Parameter for applying the (default) post-processing XSLT stylesheet. It cleans up some of the DocBook XML constructs created by `asciidoctor`.
<5> For a custom layout, use the STYLEROOT parameter to specify the path to the directory containing the custom XSLT stylesheets. If not specified, {daps} will use the default DocBook stylesheets. For an introduction on how to create custom stylesheets, refer to https://opensuse.github.io/daps/doc/cha.daps.user.layout.html#sec.daps.user.layout.styleheets[Customizing the DocBook Stylesheets] (requires XSLT knowledge).
<6> If the stylesheets allow customization via parameters, you can specify these parameters here.
The example above only shows a few options you can set.
For a complete reference, refer to the {daps} configuration file at `/etc/daps/config`. An overview of the {adoc}-specific configuration options is also available at <<config-settings>>.
=== Image Linking and Processing
One of the core features of {daps} is automatic image conversion.
Whether images need to be converted to grayscale for a printable PDF, whether `.dia` images need to be converted to SVG, or whether `.svg` images need to be converted to PNG--{daps} automatically takes care.
You only need to make sure that the image is available in a supported format in the {adoc} images directory. Refer to https://opensuse.github.io/daps/doc/cha.daps.user.img.html[Image Handling] for details.
When linking an image in the {adoc} sources, use the attribute `:imagesdir:` in the document header. Always use the file name only.
The path for `:imagesdir:` is best specified relatively (relative to the `adoc/` directory).
Specifying `:imagesdir:` is optional, but recommended. It allows you to also process your {adoc} sources with tools other than {daps}.
.Example: Linking Images in {adoc}
[source]
----
= Linking images
:author: John Doe
:imagesdir: images/
This is an example of how to link images in AsciiDoc documents processed with DAPS.
image::test.png[Test Image]
----
For the example above, the images need to reside in `adoc/images`.
Possible sources for the images in `adoc/images` are:
* `adoc/images/test.dia`
* `adoc/images/test.jpg`
* `adoc/images/test.png`
* `adoc/images/test.svg`
The {adoc} source example requests a PNG file. If it exists, it will be used as is.
If it does not exist, {daps} will search for an image with the base name
`test` (`test.svg`, `test.dia`) and automatically convert it
to PNG.
.Unique Image Names
[IMPORTANT]
Because of the procedure described above, {daps} requires unique base names for images.
If you would have two files with different content but the same base name, for example `test.svg` and `test.dia`, the outcome of an automatic conversion would be uncertain (could be either one of the two files).
Therefore make sure to always use unique base names. To test for non-unique images, use the following daps command: `daps -d <DCFILE> list-images-multisrc`.
In {adoc}, image scaling is often achieved by setting pixel height/width.
However, using plain pixel values for scaling is not supported well in {daps} and will usually cause issues in PDF builds.
To scale images, instead use the `scaledwidth` attribute with a percentage:
.Example: Adding a scaled image
[source]
----
image::test.png[Test Image, scaledwidth=100%]
----
[[art.daps.asciidoc.output]]
== Creating Output with {daps}
After you have set up the directory structure, created {adoc} documents, and images (optionally), you can use {daps} to create PDFs, HTML, EPUB and other output formats.
The command line syntax is the same as with {db} projects:
.Example: Creating HTML output
[source]
----
daps -d DC-_MYADOC_ html
----
.Example: Creating Single Page HTML Output
[source]
----
daps -d DC-_MYADOC_ html --single
----
.Example: Creating a PDF Directly from an {adoc} Source File
[source]
----
daps -m adoc/_MYADOC_.adoc pdf
----
For more information, refer to `daps --help`.
Help on the {daps} subcommands is available with the command `daps <SUBCOMMAND> help`.
=== Creating Partial Output
If you want to create output for parts of the documents (for example, to send a single chapter or section for review), you do not need to create the whole document and cut out the parts you need.
{daps} supports creating partial documents on section titles for any of the supported output formats.
All that is required is an anchor preceding the section title:
.Example: Section title with an Anchor
[source,asciidoc]
----
[[new_chapter]]
== Brand New Chapter
This chapter is brand new
----
This anchor, `new_chapter` in the example above, can be passed to {daps} with the `--rootid` parameter.
The following example shows how to build a PDF only containing the chapter "Brand New Chapter":
[source]
----
daps -d DC-_MYADOC_ pdf --rootid="new_chapter"
----
=== Spell Checking
DAPS also supports spell checking your sources.
This is especially convenient, when your sources contain include files.
A spellcheck with DAPS automatically checks all included files.
DAPS supports the backends aspell and hunspell for spellchecking.
[source]
----
daps -d DC-_MYADOC_ spellcheck --lang=en_GB --spell-checker=hunspell
----
[[art.daps.asciidoc.errors]]
== Common Errors and Pitfalls
Before generating output formats, {daps} internally converts {adoc} to DocBook XML.
Because of that you may receive two different kind of errors when processing {adoc} sources:
{adoc} Errors::
+
The conversion to DocBook XML is done by ``asciidoctor`.
In case there are syntax or structural errors in the {adoc} sources, you will
get an appropriate error or warning message.
It usually contains the number of the line where the error occurred.
These errors need to be fixed before any further processing can be done, DAPS
will only proceed in case `asciidoctor` no longer produces errors or warnings.
{daps} Errors::
+
After the internal conversion to DocBook XML is done, {daps} validates the resulting XML file to make sure it can properly be processed.
Although this happens rarely, the conversion to DocBook XML might produce invalid XML. In this case, you will receive an error message claiming that "validation failed." The error message also contains the path to the file and the line number where the error occurred.
+
To fix the error, look at the text in the XML file at the given line and locate that text in the {adoc} sources.
The error might be the result of some unsupported special `asciidoctor` macro or of an overly complex structure.
Simplify the {adoc} code and try again.
=== Avoiding Mistakes
.Section Titles (Headings)
* {daps} only allows a single Level 0 section at the beginning of the document
* Section titles need to be in correct order. It is not possible to skip a level. So `== Level 2` followed by `==== Level 4` will not work.
.Multimedia
* {daps} currently does not support embedding videos
[[art.daps.asciidoc.set]]
== Linking Between Multiple Books
The `asciidoctor` built-in way to do inter-document cross references (via
`pass:[link:file.html#ID[TITLE]]`) does not work when generating the output via
DocBook as DAPS does (and it only works for HTML output).
DAPS provides a way to allow links between multiple books (inter-document
cross references) by converting the {adoc} sources into a DocBook set.
.Requirements for the {adoc} sources
* The {adoc} sources need to combine all books into a single "master book"
(with the doctype book) by making each book a "part" of the master book. In
{adoc}, a part is introduced by a level 0 headline (`= HEADLINE`) that
follows the initial headline of the master book. See
https://asciidoctor.org/docs/user-manual/#book-parts-and-chapters[the
Asciidoctor documentation] for details.
* The master book must only contain parts and no additional content outside
these parts.
* Each part needs to begin with a unique custom ID (`pass:[[[UNIQUE_ID]]]`)
* You need to be extra careful not to mess up the headline hierarchy
throughout the master book. If you are using prefix, appendix,
glossary, etc. make sure you apply the special rules for parts regarding the
headline levels (refer to the
https://asciidoctor.org/docs/user-manual/[Asciidoctor documentation] for
details)
* Abstracts for chapters do not seem to work in parts (is this a bug?)
* All IDs you use need to be unique. Duplicated IDs will cause errors.
* Create a DC-file for the master book to be able to easily build it with
DAPS (name it, for example, `DC-multipart`). MAIN needs to point to the top
level {adoc} file that defines the master book.
Since tha {adoc} source now combines everything into a single book, you can
link to all IDs anywhere in the book using `\<<ID>>`.
Once the "master book" builds without errors and you can see a part for each
book you want to build, proceed as follows to create stand-alone books in
HTML, PDF, etc:
1. Copy the DC-file for the master book (name the copy, for example `DC-set`)
2. Add the line `ADOC_SET="yes"` to the copy of the DC file
3. Create a copy of the new DC-file (`DC-set`) for the first book represented
by a part in the master book. Add the ID of the respective part to the DC-file
by adding a line `ROOTID=<ID>` (where you replave `<ID>` with the respective
part ID)
4. Repeat the previous step for each book represented by a part.
Using the respective DC-files you can now build the individual books. Using
`DC-set` allows you to build the complete set.
.Restrictions
* the individual books cannot contain parts
* the `article` document type is not supported with this setup
[[art.daps.asciidoc.github]]
== GitHub Integration
One of the advantages of using {adoc} as a source for documentation is its seamless integration with GitHub.
GitHub not only renders {adoc} sources, but also allows to edit them directly in the Web interface.
After having edited a document via the built-in editor, GitHub even automatically creates a pull request, depending on the repository setup.
This improves the flow for external contributors.
To enable a smooth GitHub integration, a few adjustments in the {adoc} source code are required.
Using the `ifdef` preprocessor macro, you can set directives specific to GitHub.
The following adjustments are required:
Includes::
In addition to this, including documents via the `include` directive needs to be worked around, since this is not supported by GitHub for security reasons.
Create an anchor (`[[ANCHOR]]`) at the top-level of the documents you want to include and use the following syntax:
+
[source,asciidoc]
----
// Links for GitHub
\ifdef::env-github[]
<<FILE1.adoc#ANCHOR, TITLE1>>
<<FILE2.adoc#ANCHOR, TITLE2>>
\endif::[]
// includes for AsciiDoc processing
\ifndef::env-github[]
include::FILE1[]
include::FILE2[]
\endif::[]
----
Admonition Images::
Admonition boxes (warning, tip, etc.) usually come with an icon.
To display these icons, you need to tell GitHub where to find them.
+
[source,asciidoc]
----
\ifdef::env-github[]
//Admonitions
:tip-caption: :bulb:
:note-caption: :information_source:
:important-caption: :heavy_exclamation_mark:
:caution-caption: :fire:
:warning-caption: :warning:
\endif::[]
----
[[art.daps.asciidoc.more]]
== For More Information
Find links to useful online resources here.
=== {daps}
* https://opensuse.github.io/daps/doc/book.daps.user.html[User Guide]
* https://opensuse.github.io/daps/[Project Page]
* https://github.com/openSUSE/daps/discussions[Discussion]
=== {adoc}
* https://powerman.name/doc/asciidoc[{adoc} Cheatsheet]
* https://asciidoctor.org/docs/asciidoc-syntax-quick-reference/[{adoc}tor Syntax Quick Reference]
* https://asciidoctor.org/docs/asciidoc-writers-guide[{adoc}tor Writer\'s Guide]
* https://github.com/SUSE/doc-susemanager/wiki/Asciidoc-getting-started[Getting Started with Asciidoc (SUSE Syntax and Best practice for Contributors)]
=== Example {adoc} Code
* https://raw.githubusercontent.com/openSUSE/daps/develop/doc/adoc/daps_asciidoc.adoc[This document was written in {adoc}]
* https://github.com/openSUSE/daps/blob/develop/test/documents/adoc/book.adoc[The {daps} test documents contain example with complex, nested structures]
=== Converting {db} to {adoc}
* https://github.com/asciidoctor/docbookrx[DocBookRx]
[appendix]
[[art.daps.asciidoc.appendix]]
== Appendix
=== Command Line Options and Configuration Settings for {adoc}
[[config-settings]]
{daps} supports the following {adoc}-specific command line options. These are global options and need to be specified before the subcommand.
Additional configuration settings can be made in the {daps} configuration files (for example in a DC file).
.Command Line Options/Configuration Settings for {adoc}
[options="header"]
|=======================
|CLI Option|Config Setting|Explanation
|`--adocattr`|`ADOC_ATTRIBUTES`|
Define or delete {adoc} document attributes. To overwrite an attribute already
defined in the AsciiDoc document, use `NAME=VALUE`, or just `NAME` for attributes
without a value. To delete a value set in the document use `NAME!`. To set a
value that is not already set in the document, use `NAME=VALUE@`.
Refer to the {adoc} documentation for more information.
Examples:
`daps -d DC-adoc --adocattr "author=John Doe" \`
`--adocattr "revision=beta1"`
You may specify this option multiple times to set more than one attribute.
You may also specify these attributes in the Doc Config file (DC-file) using
the following syntax.
This way the attributes will always be applied whenever you call {daps} with
a DC-file.
This can be handy when creating different versions of a document
from a single source by using attributes and {adoc}'s if-statements to decide
whether to display parts of the document or not (see
https://blog.mrhaki.com/2014/08/awesome-asciidoc-using-conditional.html[Awesome
Asciidoctor: Using Conditional Directives] for more information).
You can create a DC-file containing different attribute settings for each document version.
`ADOC_ATTRIBUTES="--attribute author=myself"`
`ADOC_ATTRIBUTES+="--attribute "revision=beta1"`
Note that when using the config file option, you always have to prefix the
KEY=VALUE pair with `--attribute`. To specify more than one value, use the
`+=` notation for subsequent values as shown above.
*Displaying Attributes in the Resulting Document*:
All {adoc} attributes passed to {daps} on the command line or via the DC-file
can be displayed in the document by using the contents of the variable
`daps-adoc-attributes`, for example:
`ifeval::[ "\{daps-adoc-attributes}" != "" ]`
`This document was build using the following {adoc} attributes:`
`[source, subs="attributes"]`
`----`
`\{daps-adoc-attributes}`
`----`
`endif::[]`
|`--adocimgdir`|`ADOC_IMG_DIR`|
Specify a directory for the images used in the {adoc} sources.
Must contain all images, subdirectories are ignored.
Examples:
`daps -d DC-adoc --adocimgdir "adoc/images"`
`ADOC_IMG_DIR="adoc/images"`
||`ADOC_BACKEND`|
Specify whether to use `asciidoc` or `asciidoctor`.
Specifying this parameter is usually not necessary, because {daps} will automatically check which program is installed.
If both are installed, `asciidoctor` will be preferred.
Only required if the back-end binary is not in your path or if you prefer `asciidoc` over `asciidoctor`.
Examples:
`ADOC_BACKEND="/home/doc/asciidoctor/asciidoctor"`
`ADOC_BACKEND="/usr/bin/asciidoc"`
||`ADOC_POST`|
If set to "yes", the XML produced from the {adoc} sources will be processed again before {daps} generates output.
This can be used to change or clean up the XML.
The stylesheet to be used can be specified via `ADOC_POST_STYLE`.
By default this is set to "no". Example:
`ADOC_POST="yes"`
||`ADOC_POST_STYLE`|
Stylesheet to post-process the XML produced from the {adoc} sources.
Requires `ADOC_POST` to be set to "yes" (will be ignored otherwise).
By default it is set to a stylesheet shipped with {daps} that does some cleaning up.
||`ADOC_SET`|
If set to "yes" a multipart book in AsciiDoc will be converted to a set in
DocBook. Each part of the original sources will becaome a book in DocBook.
Require the AsciiDoc sources to only contain parts (one for what is to become
a book) and no extra contant.
By default this is set to "no". Example:
`ADOC_SET="yes"`
||`ADOC_TYPE`|
Same option as you would set by --doctype with `asciidoc` or asciidoctor.
Valid values are "article", "book", and "manpage".
Do not use "inline" as it will not work with {daps}.
Setting "manpage" requires manpage-specific content (refer to the {adoc} documentation). Otherwise processing the source will fail.
This setting will override the :doctype: definition in the {adoc} source document.
|=======================
The following subcommands support {adoc}-specific commands:
`list-srcfiles`::
This subcommand lists all files that are used to build the document, including images and the DC file.
It supports several options for filtering the output.
To restrict the results to only {adoc} files, use the option `--adoconly`.
To exclude {adoc} files from the results, use the option `--noadoc`.
Examples:
+
[source,shell]
----
tux > daps -d DC-adoc_test list-srcfiles
/home/doc/documents/DC-adoc_test
/home/doc/documents/adoc/appendix.adoc
/home/doc/documents/adoc/book.adoc
/home/doc/documents/adoc/part_block.adoc
/home/doc/documents/adoc/part_inlines.adoc
/home/doc/documents/images/src/dia/dia_example.dia
/home/doc/documents/images/src/jpg/jpg_example.jpg
/home/doc/documents/images/src/png/png_example.png
/home/doc/documents/images/src/png/png_example2.png
/home/doc/documents/images/src/svg/svg_example.svg
tux > daps -d DC-adoc_test list-srcfiles --adoconly
/home/doc/documents/adoc/appendix.adoc
/home/doc/documents/adoc/book.adoc
/home/doc/documents/adoc/part_block.adoc
/home/doc/documents/adoc/part_inlines.adoc
tux > daps -d DC-adoc_test list-srcfiles
/home/doc/documents/DC-adoc_test
/home/doc/documents/images/src/dia/dia_example.dia
/home/doc/documents/images/src/jpg/jpg_example.jpg
/home/doc/documents/images/src/png/png_example.png
/home/doc/documents/images/src/png/png_example2.png
/home/doc/documents/images/src/svg/svg_example.svg
----
|