txt2ebook 0.1.82__tar.gz → 0.1.84__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {txt2ebook-0.1.82 → txt2ebook-0.1.84}/PKG-INFO +1 -1
- {txt2ebook-0.1.82 → txt2ebook-0.1.84}/pyproject.toml +1 -1
- {txt2ebook-0.1.82 → txt2ebook-0.1.84}/src/txt2ebook/__init__.py +1 -1
- {txt2ebook-0.1.82 → txt2ebook-0.1.84}/src/txt2ebook/formats/tex.py +55 -14
- txt2ebook-0.1.84/src/txt2ebook/locales/en/LC_MESSAGES/txt2ebook.po +31 -0
- txt2ebook-0.1.84/src/txt2ebook/locales/txt2ebook.pot +31 -0
- txt2ebook-0.1.84/src/txt2ebook/locales/zh-cn/LC_MESSAGES/txt2ebook.po +31 -0
- txt2ebook-0.1.84/src/txt2ebook/locales/zh-tw/LC_MESSAGES/txt2ebook.po +31 -0
- {txt2ebook-0.1.82 → txt2ebook-0.1.84}/src/txt2ebook/txt2ebook.py +9 -0
- txt2ebook-0.1.82/src/txt2ebook/locales/en/LC_MESSAGES/txt2ebook.po +0 -34
- txt2ebook-0.1.82/src/txt2ebook/locales/txt2ebook.pot +0 -34
- txt2ebook-0.1.82/src/txt2ebook/locales/zh-cn/LC_MESSAGES/txt2ebook.po +0 -34
- txt2ebook-0.1.82/src/txt2ebook/locales/zh-tw/LC_MESSAGES/txt2ebook.po +0 -34
- {txt2ebook-0.1.82 → txt2ebook-0.1.84}/LICENSE.md +0 -0
- {txt2ebook-0.1.82 → txt2ebook-0.1.84}/README.md +0 -0
- {txt2ebook-0.1.82 → txt2ebook-0.1.84}/src/txt2ebook/__main__.py +0 -0
- {txt2ebook-0.1.82 → txt2ebook-0.1.84}/src/txt2ebook/exceptions.py +0 -0
- {txt2ebook-0.1.82 → txt2ebook-0.1.84}/src/txt2ebook/formats/__init__.py +0 -0
- {txt2ebook-0.1.82 → txt2ebook-0.1.84}/src/txt2ebook/formats/base.py +0 -0
- {txt2ebook-0.1.82 → txt2ebook-0.1.84}/src/txt2ebook/formats/epub.py +0 -0
- {txt2ebook-0.1.82 → txt2ebook-0.1.84}/src/txt2ebook/formats/gmi.py +0 -0
- {txt2ebook-0.1.82 → txt2ebook-0.1.84}/src/txt2ebook/formats/md.py +0 -0
- {txt2ebook-0.1.82 → txt2ebook-0.1.84}/src/txt2ebook/formats/pdf.py +0 -0
- {txt2ebook-0.1.82 → txt2ebook-0.1.84}/src/txt2ebook/formats/templates/__init__.py +0 -0
- {txt2ebook-0.1.82 → txt2ebook-0.1.84}/src/txt2ebook/formats/templates/epub/__init__.py +0 -0
- {txt2ebook-0.1.82 → txt2ebook-0.1.84}/src/txt2ebook/formats/templates/epub/clean.css +0 -0
- {txt2ebook-0.1.82 → txt2ebook-0.1.84}/src/txt2ebook/formats/templates/epub/condense.css +0 -0
- {txt2ebook-0.1.82 → txt2ebook-0.1.84}/src/txt2ebook/formats/templates/epub/noindent.css +0 -0
- {txt2ebook-0.1.82 → txt2ebook-0.1.84}/src/txt2ebook/formats/txt.py +0 -0
- {txt2ebook-0.1.82 → txt2ebook-0.1.84}/src/txt2ebook/formats/typ.py +0 -0
- {txt2ebook-0.1.82 → txt2ebook-0.1.84}/src/txt2ebook/helpers/__init__.py +0 -0
- {txt2ebook-0.1.82 → txt2ebook-0.1.84}/src/txt2ebook/languages/__init__.py +0 -0
- {txt2ebook-0.1.82 → txt2ebook-0.1.84}/src/txt2ebook/languages/en.py +0 -0
- {txt2ebook-0.1.82 → txt2ebook-0.1.84}/src/txt2ebook/languages/zh_cn.py +0 -0
- {txt2ebook-0.1.82 → txt2ebook-0.1.84}/src/txt2ebook/languages/zh_tw.py +0 -0
- {txt2ebook-0.1.82 → txt2ebook-0.1.84}/src/txt2ebook/locales/en/LC_MESSAGES/txt2ebook.mo +0 -0
- {txt2ebook-0.1.82 → txt2ebook-0.1.84}/src/txt2ebook/locales/zh-cn/LC_MESSAGES/txt2ebook.mo +0 -0
- {txt2ebook-0.1.82 → txt2ebook-0.1.84}/src/txt2ebook/locales/zh-tw/LC_MESSAGES/txt2ebook.mo +0 -0
- {txt2ebook-0.1.82 → txt2ebook-0.1.84}/src/txt2ebook/models/__init__.py +0 -0
- {txt2ebook-0.1.82 → txt2ebook-0.1.84}/src/txt2ebook/models/book.py +0 -0
- {txt2ebook-0.1.82 → txt2ebook-0.1.84}/src/txt2ebook/models/chapter.py +0 -0
- {txt2ebook-0.1.82 → txt2ebook-0.1.84}/src/txt2ebook/models/volume.py +0 -0
- {txt2ebook-0.1.82 → txt2ebook-0.1.84}/src/txt2ebook/parser.py +0 -0
- {txt2ebook-0.1.82 → txt2ebook-0.1.84}/src/txt2ebook/tokenizer.py +0 -0
- {txt2ebook-0.1.82 → txt2ebook-0.1.84}/src/txt2ebook/zh_utils.py +0 -0
@@ -26,8 +26,7 @@ from pylatex import Document as Doc
|
|
26
26
|
from pylatex import NoEscape as NoEsc
|
27
27
|
from pylatex import Package as Pkg
|
28
28
|
from pylatex.section import Chapter as Chap
|
29
|
-
from pylatex.section import
|
30
|
-
from pylatex.section import Part as Part
|
29
|
+
from pylatex.section import Part
|
31
30
|
|
32
31
|
from txt2ebook.formats.base import BaseWriter
|
33
32
|
from txt2ebook.models import Chapter, Volume
|
@@ -52,40 +51,82 @@ class TexWriter(BaseWriter):
|
|
52
51
|
|
53
52
|
doc = Doc(documentclass="ctexbook", document_options=[self._fontset()])
|
54
53
|
|
55
|
-
doc.packages.append(Pkg("geometry", options=["
|
56
|
-
doc.
|
54
|
+
doc.packages.append(Pkg("geometry", options=["a6paper"]))
|
55
|
+
doc.packages.append(Pkg("makeidx"))
|
56
|
+
doc.packages.append(
|
57
|
+
Pkg(
|
58
|
+
"idxlayout",
|
59
|
+
options=[
|
60
|
+
"columns=1",
|
61
|
+
"font=footnotesize",
|
62
|
+
"itemlayout=singlepar",
|
63
|
+
"indentunit=0pt",
|
64
|
+
],
|
65
|
+
)
|
66
|
+
)
|
67
|
+
doc.packages.append(
|
68
|
+
Pkg("hyperref", options=["colorlinks=true", "linktocpage=true"])
|
69
|
+
)
|
70
|
+
|
71
|
+
hide_section_seq = (
|
72
|
+
r"chapter/name={},chapter/number={},part/name={},part/number={}"
|
73
|
+
)
|
74
|
+
doc.preamble.append(Cmd("ctexset", NoEsc(hide_section_seq)))
|
57
75
|
doc.preamble.append(Cmd("title", self.book.title))
|
58
76
|
doc.preamble.append(Cmd("author", ", ".join(self.book.authors)))
|
59
|
-
doc.preamble.append(
|
77
|
+
doc.preamble.append(NoEsc(r"\date{}"))
|
78
|
+
doc.preamble.append(Cmd("makeindex"))
|
60
79
|
|
61
80
|
doc.append(NoEsc(r"\maketitle"))
|
62
81
|
doc.append(NoEsc(r"\thispagestyle{empty}"))
|
82
|
+
doc.append(NoEsc(r"\addtocontents{toc}{\protect\pagestyle{empty}}"))
|
83
|
+
doc.append(
|
84
|
+
NoEsc(r"\addtocontents{toc}{\protect\thispagestyle{empty}}")
|
85
|
+
)
|
86
|
+
doc.append(NoEsc(r"\tableofcontents"))
|
87
|
+
doc.append(NoEsc(r"\pagestyle{empty}"))
|
88
|
+
doc.append(NoEsc(r"\cleardoublepage"))
|
89
|
+
doc.append(NoEsc(r"\pagenumbering{arabic}"))
|
90
|
+
doc.append(NoEsc(r"\pagestyle{headings}"))
|
63
91
|
|
64
92
|
for section in self.book.toc:
|
65
93
|
if isinstance(section, Volume):
|
66
|
-
with doc.create(Part(section.title)):
|
94
|
+
with doc.create(Part(section.title, label=False)):
|
67
95
|
for chapter in section.chapters:
|
68
|
-
with doc.create(Chap(chapter.title)):
|
96
|
+
with doc.create(Chap(chapter.title, label=False)):
|
69
97
|
for paragraph in chapter.paragraphs:
|
70
|
-
|
98
|
+
par = paragraph.strip()
|
99
|
+
for keyword in self.config.index_keyword:
|
100
|
+
par = par.replace(
|
101
|
+
keyword, rf"\index{{{keyword}}}"
|
102
|
+
)
|
103
|
+
doc.append(NoEsc(rf"\par{{{par}}}"))
|
104
|
+
|
71
105
|
if isinstance(section, Chapter):
|
72
|
-
with doc.create(Chap(section.title)):
|
106
|
+
with doc.create(Chap(section.title, label=False)):
|
73
107
|
for paragraph in section.paragraphs:
|
74
|
-
|
108
|
+
par = paragraph.strip()
|
109
|
+
for keyword in self.config.index_keyword:
|
110
|
+
par = par.replace(keyword, rf"\index{{{keyword}}}")
|
111
|
+
doc.append(NoEsc(rf"\par{{{par}}}"))
|
112
|
+
|
113
|
+
doc.append(Cmd("printindex"))
|
75
114
|
|
76
115
|
filename = str(new_filename.parent / new_filename.stem)
|
77
116
|
pdf_filename = Path(filename).with_suffix(".pdf")
|
78
|
-
doc.generate_pdf(filename, compiler="
|
117
|
+
doc.generate_pdf(filename, compiler="latexmk", clean_tex=False)
|
79
118
|
|
80
119
|
if self.config.open:
|
81
120
|
self._open_file(pdf_filename)
|
82
121
|
|
83
122
|
def _fontset(self) -> str:
|
84
123
|
if sys.platform == "linux":
|
85
|
-
return "fontset
|
124
|
+
return "fontset=ubuntu"
|
86
125
|
|
87
126
|
if sys.platform == "darwin":
|
88
|
-
return "fontset
|
127
|
+
return "fontset=macos"
|
89
128
|
|
90
129
|
if sys.platform == "windows":
|
91
|
-
return "fontset
|
130
|
+
return "fontset=windows"
|
131
|
+
|
132
|
+
return "fontset=ubuntu"
|
@@ -0,0 +1,31 @@
|
|
1
|
+
#: src/txt2ebook/formats/base.py:141
|
2
|
+
msgid "title:"
|
3
|
+
msgstr "Title:"
|
4
|
+
|
5
|
+
#: src/txt2ebook/formats/base.py:142
|
6
|
+
msgid "author:"
|
7
|
+
msgstr "Author:"
|
8
|
+
|
9
|
+
#: src/txt2ebook/formats/base.py:143
|
10
|
+
msgid "translator:"
|
11
|
+
msgstr "Translator:"
|
12
|
+
|
13
|
+
#: src/txt2ebook/formats/base.py:144
|
14
|
+
msgid "tag:"
|
15
|
+
msgstr "Tag:"
|
16
|
+
|
17
|
+
#: src/txt2ebook/formats/base.py:155 src/txt2ebook/formats/gmi.py:62
|
18
|
+
#: src/txt2ebook/formats/md.py:61 src/txt2ebook/formats/pdf.py:130
|
19
|
+
#: src/txt2ebook/formats/txt.py:71
|
20
|
+
msgid "toc"
|
21
|
+
msgstr "Table of Content"
|
22
|
+
|
23
|
+
#: src/txt2ebook/formats/epub.py:147
|
24
|
+
msgid "cover"
|
25
|
+
msgstr "Cover"
|
26
|
+
|
27
|
+
#: src/txt2ebook/formats/gmi.py:47 src/txt2ebook/formats/md.py:46
|
28
|
+
#: src/txt2ebook/formats/txt.py:56
|
29
|
+
msgid "metadata"
|
30
|
+
msgstr "Metadata"
|
31
|
+
|
@@ -0,0 +1,31 @@
|
|
1
|
+
#: src/txt2ebook/formats/base.py:141
|
2
|
+
msgid "title:"
|
3
|
+
msgstr ""
|
4
|
+
|
5
|
+
#: src/txt2ebook/formats/base.py:142
|
6
|
+
msgid "author:"
|
7
|
+
msgstr ""
|
8
|
+
|
9
|
+
#: src/txt2ebook/formats/base.py:143
|
10
|
+
msgid "translator:"
|
11
|
+
msgstr ""
|
12
|
+
|
13
|
+
#: src/txt2ebook/formats/base.py:144
|
14
|
+
msgid "tag:"
|
15
|
+
msgstr ""
|
16
|
+
|
17
|
+
#: src/txt2ebook/formats/base.py:155 src/txt2ebook/formats/gmi.py:62
|
18
|
+
#: src/txt2ebook/formats/md.py:61 src/txt2ebook/formats/pdf.py:130
|
19
|
+
#: src/txt2ebook/formats/txt.py:71
|
20
|
+
msgid "toc"
|
21
|
+
msgstr ""
|
22
|
+
|
23
|
+
#: src/txt2ebook/formats/epub.py:147
|
24
|
+
msgid "cover"
|
25
|
+
msgstr ""
|
26
|
+
|
27
|
+
#: src/txt2ebook/formats/gmi.py:47 src/txt2ebook/formats/md.py:46
|
28
|
+
#: src/txt2ebook/formats/txt.py:56
|
29
|
+
msgid "metadata"
|
30
|
+
msgstr ""
|
31
|
+
|
@@ -0,0 +1,31 @@
|
|
1
|
+
#: src/txt2ebook/formats/base.py:141
|
2
|
+
msgid "title:"
|
3
|
+
msgstr "书名:"
|
4
|
+
|
5
|
+
#: src/txt2ebook/formats/base.py:142
|
6
|
+
msgid "author:"
|
7
|
+
msgstr "作者:"
|
8
|
+
|
9
|
+
#: src/txt2ebook/formats/base.py:143
|
10
|
+
msgid "translator:"
|
11
|
+
msgstr "翻译:"
|
12
|
+
|
13
|
+
#: src/txt2ebook/formats/base.py:144
|
14
|
+
msgid "tag:"
|
15
|
+
msgstr "票签:"
|
16
|
+
|
17
|
+
#: src/txt2ebook/formats/base.py:155 src/txt2ebook/formats/gmi.py:62
|
18
|
+
#: src/txt2ebook/formats/md.py:61 src/txt2ebook/formats/pdf.py:130
|
19
|
+
#: src/txt2ebook/formats/txt.py:71
|
20
|
+
msgid "toc"
|
21
|
+
msgstr "目录"
|
22
|
+
|
23
|
+
#: src/txt2ebook/formats/epub.py:147
|
24
|
+
msgid "cover"
|
25
|
+
msgstr "封面"
|
26
|
+
|
27
|
+
#: src/txt2ebook/formats/gmi.py:47 src/txt2ebook/formats/md.py:46
|
28
|
+
#: src/txt2ebook/formats/txt.py:56
|
29
|
+
msgid "metadata"
|
30
|
+
msgstr "元数据"
|
31
|
+
|
@@ -0,0 +1,31 @@
|
|
1
|
+
#: src/txt2ebook/formats/base.py:141
|
2
|
+
msgid "title:"
|
3
|
+
msgstr "书名:"
|
4
|
+
|
5
|
+
#: src/txt2ebook/formats/base.py:142
|
6
|
+
msgid "author:"
|
7
|
+
msgstr "作者:"
|
8
|
+
|
9
|
+
#: src/txt2ebook/formats/base.py:143
|
10
|
+
msgid "translator:"
|
11
|
+
msgstr "翻译:"
|
12
|
+
|
13
|
+
#: src/txt2ebook/formats/base.py:144
|
14
|
+
msgid "tag:"
|
15
|
+
msgstr "标签:"
|
16
|
+
|
17
|
+
#: src/txt2ebook/formats/base.py:155 src/txt2ebook/formats/gmi.py:62
|
18
|
+
#: src/txt2ebook/formats/md.py:61 src/txt2ebook/formats/pdf.py:130
|
19
|
+
#: src/txt2ebook/formats/txt.py:71
|
20
|
+
msgid "toc"
|
21
|
+
msgstr "目录"
|
22
|
+
|
23
|
+
#: src/txt2ebook/formats/epub.py:147
|
24
|
+
msgid "cover"
|
25
|
+
msgstr "封面"
|
26
|
+
|
27
|
+
#: src/txt2ebook/formats/gmi.py:47 src/txt2ebook/formats/md.py:46
|
28
|
+
#: src/txt2ebook/formats/txt.py:56
|
29
|
+
msgid "metadata"
|
30
|
+
msgstr "元数据"
|
31
|
+
|
@@ -155,6 +155,15 @@ def build_parser(
|
|
155
155
|
help="ebook format (default: 'epub')",
|
156
156
|
)
|
157
157
|
|
158
|
+
parser.add_argument(
|
159
|
+
"-ik",
|
160
|
+
"--index-keyword",
|
161
|
+
dest="index_keyword",
|
162
|
+
action="append",
|
163
|
+
default=[],
|
164
|
+
help="keyword to index (default: '%(default)s')",
|
165
|
+
)
|
166
|
+
|
158
167
|
parser.add_argument(
|
159
168
|
"-t",
|
160
169
|
"--title",
|
@@ -1,34 +0,0 @@
|
|
1
|
-
#: /home/ang/src/self/txt2ebook/txt2ebook/src/txt2ebook/formats/base.py:141
|
2
|
-
msgid "title:"
|
3
|
-
msgstr "Title:"
|
4
|
-
|
5
|
-
#: /home/ang/src/self/txt2ebook/txt2ebook/src/txt2ebook/formats/base.py:142
|
6
|
-
msgid "author:"
|
7
|
-
msgstr "Author:"
|
8
|
-
|
9
|
-
#: /home/ang/src/self/txt2ebook/txt2ebook/src/txt2ebook/formats/base.py:143
|
10
|
-
msgid "translator:"
|
11
|
-
msgstr "Translator:"
|
12
|
-
|
13
|
-
#: /home/ang/src/self/txt2ebook/txt2ebook/src/txt2ebook/formats/base.py:144
|
14
|
-
msgid "tag:"
|
15
|
-
msgstr "Tag:"
|
16
|
-
|
17
|
-
#: /home/ang/src/self/txt2ebook/txt2ebook/src/txt2ebook/formats/base.py:155
|
18
|
-
#: /home/ang/src/self/txt2ebook/txt2ebook/src/txt2ebook/formats/gmi.py:62
|
19
|
-
#: /home/ang/src/self/txt2ebook/txt2ebook/src/txt2ebook/formats/md.py:61
|
20
|
-
#: /home/ang/src/self/txt2ebook/txt2ebook/src/txt2ebook/formats/pdf.py:130
|
21
|
-
#: /home/ang/src/self/txt2ebook/txt2ebook/src/txt2ebook/formats/txt.py:71
|
22
|
-
msgid "toc"
|
23
|
-
msgstr "Table of Content"
|
24
|
-
|
25
|
-
#: /home/ang/src/self/txt2ebook/txt2ebook/src/txt2ebook/formats/epub.py:147
|
26
|
-
msgid "cover"
|
27
|
-
msgstr "Cover"
|
28
|
-
|
29
|
-
#: /home/ang/src/self/txt2ebook/txt2ebook/src/txt2ebook/formats/gmi.py:47
|
30
|
-
#: /home/ang/src/self/txt2ebook/txt2ebook/src/txt2ebook/formats/md.py:46
|
31
|
-
#: /home/ang/src/self/txt2ebook/txt2ebook/src/txt2ebook/formats/txt.py:56
|
32
|
-
msgid "metadata"
|
33
|
-
msgstr "Metadata"
|
34
|
-
|
@@ -1,34 +0,0 @@
|
|
1
|
-
#: /home/ang/src/self/txt2ebook/txt2ebook/src/txt2ebook/formats/base.py:141
|
2
|
-
msgid "title:"
|
3
|
-
msgstr ""
|
4
|
-
|
5
|
-
#: /home/ang/src/self/txt2ebook/txt2ebook/src/txt2ebook/formats/base.py:142
|
6
|
-
msgid "author:"
|
7
|
-
msgstr ""
|
8
|
-
|
9
|
-
#: /home/ang/src/self/txt2ebook/txt2ebook/src/txt2ebook/formats/base.py:143
|
10
|
-
msgid "translator:"
|
11
|
-
msgstr ""
|
12
|
-
|
13
|
-
#: /home/ang/src/self/txt2ebook/txt2ebook/src/txt2ebook/formats/base.py:144
|
14
|
-
msgid "tag:"
|
15
|
-
msgstr ""
|
16
|
-
|
17
|
-
#: /home/ang/src/self/txt2ebook/txt2ebook/src/txt2ebook/formats/base.py:155
|
18
|
-
#: /home/ang/src/self/txt2ebook/txt2ebook/src/txt2ebook/formats/gmi.py:62
|
19
|
-
#: /home/ang/src/self/txt2ebook/txt2ebook/src/txt2ebook/formats/md.py:61
|
20
|
-
#: /home/ang/src/self/txt2ebook/txt2ebook/src/txt2ebook/formats/pdf.py:130
|
21
|
-
#: /home/ang/src/self/txt2ebook/txt2ebook/src/txt2ebook/formats/txt.py:71
|
22
|
-
msgid "toc"
|
23
|
-
msgstr ""
|
24
|
-
|
25
|
-
#: /home/ang/src/self/txt2ebook/txt2ebook/src/txt2ebook/formats/epub.py:147
|
26
|
-
msgid "cover"
|
27
|
-
msgstr ""
|
28
|
-
|
29
|
-
#: /home/ang/src/self/txt2ebook/txt2ebook/src/txt2ebook/formats/gmi.py:47
|
30
|
-
#: /home/ang/src/self/txt2ebook/txt2ebook/src/txt2ebook/formats/md.py:46
|
31
|
-
#: /home/ang/src/self/txt2ebook/txt2ebook/src/txt2ebook/formats/txt.py:56
|
32
|
-
msgid "metadata"
|
33
|
-
msgstr ""
|
34
|
-
|
@@ -1,34 +0,0 @@
|
|
1
|
-
#: /home/ang/src/self/txt2ebook/txt2ebook/src/txt2ebook/formats/base.py:141
|
2
|
-
msgid "title:"
|
3
|
-
msgstr "书名:"
|
4
|
-
|
5
|
-
#: /home/ang/src/self/txt2ebook/txt2ebook/src/txt2ebook/formats/base.py:142
|
6
|
-
msgid "author:"
|
7
|
-
msgstr "作者:"
|
8
|
-
|
9
|
-
#: /home/ang/src/self/txt2ebook/txt2ebook/src/txt2ebook/formats/base.py:143
|
10
|
-
msgid "translator:"
|
11
|
-
msgstr "翻译:"
|
12
|
-
|
13
|
-
#: /home/ang/src/self/txt2ebook/txt2ebook/src/txt2ebook/formats/base.py:144
|
14
|
-
msgid "tag:"
|
15
|
-
msgstr "票签:"
|
16
|
-
|
17
|
-
#: /home/ang/src/self/txt2ebook/txt2ebook/src/txt2ebook/formats/base.py:155
|
18
|
-
#: /home/ang/src/self/txt2ebook/txt2ebook/src/txt2ebook/formats/gmi.py:62
|
19
|
-
#: /home/ang/src/self/txt2ebook/txt2ebook/src/txt2ebook/formats/md.py:61
|
20
|
-
#: /home/ang/src/self/txt2ebook/txt2ebook/src/txt2ebook/formats/pdf.py:130
|
21
|
-
#: /home/ang/src/self/txt2ebook/txt2ebook/src/txt2ebook/formats/txt.py:71
|
22
|
-
msgid "toc"
|
23
|
-
msgstr "目录"
|
24
|
-
|
25
|
-
#: /home/ang/src/self/txt2ebook/txt2ebook/src/txt2ebook/formats/epub.py:147
|
26
|
-
msgid "cover"
|
27
|
-
msgstr "封面"
|
28
|
-
|
29
|
-
#: /home/ang/src/self/txt2ebook/txt2ebook/src/txt2ebook/formats/gmi.py:47
|
30
|
-
#: /home/ang/src/self/txt2ebook/txt2ebook/src/txt2ebook/formats/md.py:46
|
31
|
-
#: /home/ang/src/self/txt2ebook/txt2ebook/src/txt2ebook/formats/txt.py:56
|
32
|
-
msgid "metadata"
|
33
|
-
msgstr "元数据"
|
34
|
-
|
@@ -1,34 +0,0 @@
|
|
1
|
-
#: /home/ang/src/self/txt2ebook/txt2ebook/src/txt2ebook/formats/base.py:141
|
2
|
-
msgid "title:"
|
3
|
-
msgstr "书名:"
|
4
|
-
|
5
|
-
#: /home/ang/src/self/txt2ebook/txt2ebook/src/txt2ebook/formats/base.py:142
|
6
|
-
msgid "author:"
|
7
|
-
msgstr "作者:"
|
8
|
-
|
9
|
-
#: /home/ang/src/self/txt2ebook/txt2ebook/src/txt2ebook/formats/base.py:143
|
10
|
-
msgid "translator:"
|
11
|
-
msgstr "翻译:"
|
12
|
-
|
13
|
-
#: /home/ang/src/self/txt2ebook/txt2ebook/src/txt2ebook/formats/base.py:144
|
14
|
-
msgid "tag:"
|
15
|
-
msgstr "标签:"
|
16
|
-
|
17
|
-
#: /home/ang/src/self/txt2ebook/txt2ebook/src/txt2ebook/formats/base.py:155
|
18
|
-
#: /home/ang/src/self/txt2ebook/txt2ebook/src/txt2ebook/formats/gmi.py:62
|
19
|
-
#: /home/ang/src/self/txt2ebook/txt2ebook/src/txt2ebook/formats/md.py:61
|
20
|
-
#: /home/ang/src/self/txt2ebook/txt2ebook/src/txt2ebook/formats/pdf.py:130
|
21
|
-
#: /home/ang/src/self/txt2ebook/txt2ebook/src/txt2ebook/formats/txt.py:71
|
22
|
-
msgid "toc"
|
23
|
-
msgstr "目录"
|
24
|
-
|
25
|
-
#: /home/ang/src/self/txt2ebook/txt2ebook/src/txt2ebook/formats/epub.py:147
|
26
|
-
msgid "cover"
|
27
|
-
msgstr "封面"
|
28
|
-
|
29
|
-
#: /home/ang/src/self/txt2ebook/txt2ebook/src/txt2ebook/formats/gmi.py:47
|
30
|
-
#: /home/ang/src/self/txt2ebook/txt2ebook/src/txt2ebook/formats/md.py:46
|
31
|
-
#: /home/ang/src/self/txt2ebook/txt2ebook/src/txt2ebook/formats/txt.py:56
|
32
|
-
msgid "metadata"
|
33
|
-
msgstr "元数据"
|
34
|
-
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|