Techniques for Translating PDFs

• By vski5 • 1 minute read

First Approach

Step 1: Reverse PDF to LaTeX using doc2x or mathpix

Step 2: Quickly translate using deepseek API

Step 3: Generate Chinese PDF

Second Approach

Step 1: Reverse PDF to HTML using doc2x or mathpix

Step 2: Quickly translate using the Immersive Translation plugin

Step 3: Use the browser’s print function to generate the PDF


graph TD

  subgraph First Approach
    A1[Reverse PDF to LaTeX using doc2x or mathpix]
    A2[Upload PDF]
    A3[Choose to export in LaTeX format]
    B1[Quickly translate using deepseek API]
    B2[Upload LaTeX file to gpt_academic virtual terminal]
    B3[Use deepseek API for translation]
    C1[Generate Chinese PDF]
    C2[Open the translated file in a LaTeX editor]
    C3[Verify and generate the PDF]
    A1 --> A2 --> A3 --> B1 --> B2 --> B3 --> C1 --> C2 --> C3
  end

  subgraph Second Approach
    D1[Reverse PDF to HTML using doc2x or mathpix]
    D2[Upload PDF]
    D3[Choose to export in HTML format]
    E1[Quickly translate using the Immersive Translation plugin]
    F1[Use browser's print function to generate the PDF]
    D1 --> D2 --> D3 --> E1 --> F1
  end

Go to TopFile an Issue