PDFTranslate / docs /en /getting-started /USAGE_commandline.md
Ryuichi
Initial deployment
179eccc
|
Raw History Blame Contribute Delete
1.15 kB
[**Getting Started**](./getting-started.md) > **Usage** > **Command Line** _(current)_
---
### Use PDFMathTranslate via command line
#### Basic Usage
After Installation, please enter this command to translate your PDF.
```bash
pdf2zh_next document.pdf
```
> [!NOTE]
>
> If your pathname contains spaces, please enclose it in quotation marks.
>
> ```bash
> pdf2zh_next "path with spaces/document.pdf"
> ```
After execute translation, files generated in **current working directory**.
> [!TIP]
> **Where is my "Current Working Directory" ?**
> Before entering a command in the terminal, you might see a pathname displayed in your terminal:
>
> ```powershell
> PS C:\Users\XXX>
> ```
>
> This directory is the "*Current working directory*."
>
> If there is no pathname, try running this command in the terminal:
>
> ```bash
> pwd
> ```
>
> After executing this command, a pathname will be output. This pathname is the "**Current working directory**". The translated files will appear here.
---
#### Advance Usage
For detailed explanations of additional command line parameters, please refer to [advanced usage](./../advanced/advanced.md).