Convert pdb/epub/txt to tex file and from Simple Chinese to Traditional Chinese
- 可將 epub/txt/pdb (限好讀網站格式),轉換成純文字的 xelatex 檔。
- 預設轉換出來的 tex 支援直書。
- 支援簡體轉繁體(支援字詞轉換)。
- 支援 epub 檔簡體轉繁體(支援字詞轉換)。
-
將
*.py檔下載下來後複製到可執行路徑下,即可使用。git clone https://github.com/yen3/convert2tex.git cd convert2tex cp *.py /usr/local/bin
直接在 command line 使用即可,如果想要看更詳盡的資訊請分別輸入。
./convert2tex.py -h
及
./epubs2t.py
- 簡體轉繁體的字典檔是使用新同文堂技術資料: word_s2t.txt 和 phrase_s2t.txt,在此感謝。