Skip to content

Command Line

Getting Started > Usage > Command Line (current)


Use PDFMathTranslate via command line

Basic Usage

After Installation, please enter this command to translate your PDF.

pdf2zh_next document.pdf

Note

If your pathname contains spaces, please enclose it in quotation marks.

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:

PS C:\Users\XXX>

This directory is the "Current working directory."

If there is no pathname, try running this command in the terminal:

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.

Some content on this page has been translated by GPT and may contain errors.