> For the complete documentation index, see [llms.txt](https://docs.apryse.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.apryse.com/cli/docpub.md).

# DocPub

- [DocPub: Command-Line Conversion to PDF, HTML, EPUB, Office, and More on Linux, Windows, and macOS](https://docs.apryse.com/cli/docpub/docpub.md): DocPub is an easy-to-use, multi-platform command-line program that can be used for high-quality batch conversion from a wide range of document formats to HTML, EPUB, XOD, XPS and PDF. It can also be u
- [Installation & Setup for DocPub](https://docs.apryse.com/cli/docpub/installation.md): Download the DocPub Command-line Application as a .zip file, install by unzipping in desired location, and register with provided license file. Get the demo version for evaluation without serial numbe
- [Examples of using DocPub](https://docs.apryse.com/cli/docpub/usage.md): Convert documents to PDF, XPS, XOD, HTML, or EPUB with Apryse DocPub. Learn basic usage, command-line syntax, and examples for efficient file conversion. Control the process easily. The Apryse CLI str
- [Command-Line Summary for DocPub](https://docs.apryse.com/cli/docpub/cmd-options.md): Discover the top tips for writing an effective SEO meta description. Learn how to craft compelling descriptions that drive clicks and improve your website's visibility in search results. The Apryse CL
- [Frequently Asked Questions](https://docs.apryse.com/cli/docpub/faq.md): Discover how Apryse's PDF SDK offers developers a powerful toolkit for creating, converting, and manipulating PDF documents. Learn about XPS and XOD formats for optimized document viewing and hosting.
- [Common solutions when troubleshooting DocPub](https://docs.apryse.com/cli/docpub/troubleshoot.md): Encounter Error Code 4 when using API key and secret? Learn how to troubleshoot connection issues with DocPub and resolve common error messages. Find solutions for white space between pictures and pag


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.apryse.com/cli/docpub.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
