Spaces:
Sleeping
Sleeping
File size: 1,154 Bytes
179eccc | 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 | [**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).
|