1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-10 17:25:27 +02:00
tldr/pages/common/daps.md

25 lines
565 B
Markdown
Raw Normal View History

2021-12-10 22:21:18 +01:00
# daps
> An open source program for transforming DocBook XML into output formats such as HTML or PDF.
2021-12-10 22:21:18 +01:00
> More information: <https://opensuse.github.io/daps/doc/index.html>.
- Check if a DocBook XML file is valid:
`daps {{[-d|--docconfig]}} {{path/to/file.xml}} validate`
2021-12-10 22:21:18 +01:00
- Convert a DocBook XML file into PDF:
`daps {{[-d|--docconfig]}} {{path/to/file.xml}} pdf`
2021-12-10 22:21:18 +01:00
- Convert a DocBook XML file into a single HTML file:
`daps {{[-d|--docconfig]}} {{path/to/file.xml}} html --single`
2021-12-10 22:21:18 +01:00
- Display help:
`daps {{[-h|--help]}}`
2021-12-10 22:21:18 +01:00
- Display version:
`daps --version`