Files
cheatsheet-tldr/tldr/daps
2025-04-23 00:19:06 +00:00

30 lines
658 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# daps
> An open source program for transforming DocBook XML into output formats such as HTML or PDF.
> 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`
- Convert a DocBook XML file into PDF:
`daps {{[-d|--docconfig]}} {{path/to/file.xml}} pdf`
- Convert a DocBook XML file into a single HTML file:
`daps {{[-d|--docconfig]}} {{path/to/file.xml}} html --single`
- Display help:
`daps {{[-h|--help]}}`
- Display version:
`daps --version`