PDF文档翻译 pdf2zh

PDFMathTranslate(pdf2zh)支持科学论文翻译和双语对照。

支持全文翻译,并且还能保持原来的 pdf 文档中文字、公式、图表的排版形式。

现在已经发布了 V2.0版。

1. 使用方法

https://pdf2zh-next.com/zh/index.html

2. 使用方法-加入 scoop 和右键菜单。

2.1 scoop 安装

https://github.com/shenbo/portablesoft/blob/master/bucket/pdf2zh.json

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
{
"version": "2.0.10",
"description": "PDF scientific paper translation with preserved formats",
"homepage": "https://github.com/PDFMathTranslate/PDFMathTranslate-next/",
"url": "https://github.com/PDFMathTranslate/PDFMathTranslate-next/releases/download/v2.0.10/pdf2zh-v2.0.10-BabelDOC-v0.3.69-win64.zip",
"notes": [
"The version without assets: pdf2zh without assets(font, model, etc.)",
"It will also dynamically download resources when running, but the download may fail due to network issues.",
"",
"Add context menu option: ",
" reg add \"HKEY_CLASSES_ROOT\\SystemFileAssociations\\.pdf\\shell\\pdf2zh\\command\" /ve /d '$dir\\pdf2zh.exe --bing --no-mono \\\"%1\\\"' /f",
""
],
"bin": "pdf2zh.exe",
"shortcuts": [
[
"pdf2zh.exe",
"pdf2zh"
]
],
"hash": "25f5301db637b106f5de1249408ded5f106d0ea2b0b8434839c4d278933da146",
"extract_dir": "pdf2zh",
"checkver": "github",
"autoupdate": {
"url": "https://github.com/PDFMathTranslate/PDFMathTranslate-next/releases/download/v$version/pdf2zh-v$version-BabelDOC-v0.3.69-win64.zip"
}
}

2.2 安装使用

1
2
3
4
5
6
7
8
scoop install pdf2zh

# 右键菜单,管理员模式运行
reg add "HKEY_CLASSES_ROOT\SystemFileAssociations\.pdf\shell\pdf2zh\command" /ve /d 'pdf2zh.exe --bing --no-mono \"%1\"' /f

# 常用命令说明
pdf2zh ~/local.pdf --bing --debug --pages 1-5 --no-mono
# pdf路径 翻译服务 调试模式 页码范围 不输出仅中文版