|
|
@@ -66,7 +66,7 @@ Note that the computing resources of the demo are limited, so please avoid abusi
|
|
|
|
|
|
<h2 id="install">Installation and Usage</h2>
|
|
|
|
|
|
-We provide three methods for using this project: [Commandline](#cmd), [Portable](#portable), [GUI](#gui), and [Docker](#docker).
|
|
|
+We provide four methods for using this project: [Commandline](#cmd), [Portable](#portable), [GUI](#gui), and [Docker](#docker).
|
|
|
|
|
|
<h3 id="cmd">Method I. Commandline</h3>
|
|
|
|
|
|
@@ -225,6 +225,12 @@ Use regex to specify formula fonts and characters that need to be preserved:
|
|
|
pdf2zh example.pdf -f "(CM[^RT].*|MS.*|.*Ital)" -c "(\(|\||\)|\+|=|\d|[\u0080-\ufaff])"
|
|
|
```
|
|
|
|
|
|
+Preserve `Latex`, `Mono`, `Code`, `Italic`, `Symbol` and `Math` fonts by default:
|
|
|
+
|
|
|
+```bash
|
|
|
+pdf2zh example.pdf -f "(CM[^R]|(MS|XY|MT|BL|RM|EU|LA|RS)[A-Z]|LINE|LCIRCLE|TeX-|rsfs|txsy|wasy|stmary|.*Mono|.*Code|.*Ital|.*Sym|.*Math)"
|
|
|
+```
|
|
|
+
|
|
|
<h3 id="threads">Specify threads</h3>
|
|
|
|
|
|
Use `-t` to specify how many threads to use in translation:
|