txt2ebook 0.1.78__py3-none-any.whl → 0.1.80__py3-none-any.whl

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/__init__.py CHANGED
@@ -22,7 +22,7 @@ import sys
22
22
 
23
23
  logger = logging.getLogger(__name__)
24
24
 
25
- __version__ = "0.1.78"
25
+ __version__ = "0.1.80"
26
26
 
27
27
 
28
28
  def setup_logger(config: argparse.Namespace) -> None:
@@ -62,9 +62,10 @@ def log_or_raise_on_warning(msg: str, raise_on_warning: bool = False) -> None:
62
62
 
63
63
  def print_env() -> None:
64
64
  """Print environment details for bug reporting."""
65
+ sys_version = sys.version.replace("\n", "")
65
66
  print(
66
67
  f"txt2ebook: {__version__}",
67
- f"python: {sys.version}",
68
+ f"python: {sys_version}",
68
69
  f"platform: {platform.platform()}",
69
70
  sep="\n",
70
71
  )
txt2ebook/formats/typ.py CHANGED
@@ -83,7 +83,7 @@ class TypWriter(BaseWriter):
83
83
  level: 1
84
84
  ): it => block(width: 100%)[
85
85
  #set align(center)
86
- #set text(12pt, weight: "regular")
86
+ #set text(16pt, weight: "regular")
87
87
  #smallcaps(it.body)
88
88
  ]
89
89
 
@@ -91,7 +91,7 @@ class TypWriter(BaseWriter):
91
91
  level: 2
92
92
  ): it => block(width: 100%)[
93
93
  #set align(center)
94
- #set text(12pt, weight: "regular")
94
+ #set text(14pt, weight: "regular")
95
95
  #smallcaps(it.body)
96
96
  ]
97
97
 
@@ -101,7 +101,7 @@ class TypWriter(BaseWriter):
101
101
  )
102
102
  #set text(
103
103
  font: "Noto Serif CJK SC",
104
- size: 11pt,
104
+ size: 12pt,
105
105
  )
106
106
 
107
107
  """
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: txt2ebook
3
- Version: 0.1.78
3
+ Version: 0.1.80
4
4
  Summary: CLI tool to convert txt file to ebook format
5
5
  Home-page: https://github.com/kianmeng/txt2ebook
6
6
  License: AGPL-3.0-or-later
@@ -1,4 +1,4 @@
1
- txt2ebook/__init__.py,sha256=YZZtMFc394Jz4Fv8uIPr7eYOyatHaZC3RrYBb1ZXG1o,2013
1
+ txt2ebook/__init__.py,sha256=j84LkkhZM9ogHfziWINXav1RWeMYOb4EF3uFDJft8CI,2061
2
2
  txt2ebook/__main__.py,sha256=gMLvgpqc_BL4cBqNe0vqErRF5dlJPAbvqu1zndcAHYI,850
3
3
  txt2ebook/exceptions.py,sha256=b2HDsXdqweLJbvSJEGt48nxvGkZq20SfYezSjwp77JU,842
4
4
  txt2ebook/formats/__init__.py,sha256=yjZsVk2L6FkUuEpyilp1XTrJeYYljws99vebiweWAKU,2395
@@ -13,7 +13,7 @@ txt2ebook/formats/templates/epub/clean.css,sha256=AnEwMckzUSKcjKsDiWtJW1oaceuklt
13
13
  txt2ebook/formats/templates/epub/condense.css,sha256=Fz80ZqkPsFRmGdURduAxqMV8drD0CCUlrv41P8rUsm8,477
14
14
  txt2ebook/formats/templates/epub/noindent.css,sha256=_O5Tv90TKyyPBRdgjuNKFwtKFbdheh2V9PtDhgRUg3U,483
15
15
  txt2ebook/formats/txt.py,sha256=8PkJ54r-0saZYyYEH64nYSkM-oW5LnurCbAk6d2Ue78,7536
16
- txt2ebook/formats/typ.py,sha256=LTQKe5EOot2BmaP5nYgFGnnQv2bDwjXqXWfJPcAoR0g,5234
16
+ txt2ebook/formats/typ.py,sha256=k28HLNtVtmE8VOuEpYStCjCWbZubHrzr_N9mNVMrXuY,5234
17
17
  txt2ebook/helpers/__init__.py,sha256=cQmFjEsEEI0gRxDPL-284FMS5Z-iBMcu-4qe7Icf7is,1971
18
18
  txt2ebook/languages/__init__.py,sha256=oShuwgKn784v_XYrAKQM2x1h0-KEsJPeia9XWMnJTYU,758
19
19
  txt2ebook/languages/en.py,sha256=LVZsvr6JLbQFrfI1XSYG54mFwzlHa0fhKghlUemkQbo,920
@@ -34,8 +34,8 @@ txt2ebook/parser.py,sha256=vdC--8I2c89xve7OA1OkYTDjSMwwKoyv4Wkmca0iFhE,11823
34
34
  txt2ebook/tokenizer.py,sha256=y1CQ3Xf5g74o_mUZSOwrwwu0grKmgmt6x3yxCWWokhU,9318
35
35
  txt2ebook/txt2ebook.py,sha256=Nwf30JA5aAXwHZEH1bnqXtD_eT3QBbpHQfsG4DP9uAc,13212
36
36
  txt2ebook/zh_utils.py,sha256=EgKVbwqYGaTGswQUGcOCeSfRelzwkAb9WWY9TrsX1x4,4882
37
- txt2ebook-0.1.78.dist-info/LICENSE.md,sha256=tGtFDwxWTjuR9syrJoSv1Hiffd2u8Tu8cYClfrXS_YU,31956
38
- txt2ebook-0.1.78.dist-info/METADATA,sha256=EODGEpu8fdUSrMfTrW2wByCauBpAu2xccVVy7oqjieM,7388
39
- txt2ebook-0.1.78.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
40
- txt2ebook-0.1.78.dist-info/entry_points.txt,sha256=IQHyIIhd0MHjSSRVC1a6tMeIoLus8D06KHL_cumvEbg,83
41
- txt2ebook-0.1.78.dist-info/RECORD,,
37
+ txt2ebook-0.1.80.dist-info/LICENSE.md,sha256=tGtFDwxWTjuR9syrJoSv1Hiffd2u8Tu8cYClfrXS_YU,31956
38
+ txt2ebook-0.1.80.dist-info/METADATA,sha256=NpKFdJUXQkFbzVFO2otkjHPXBPKgjnDHM3slD0oxjS4,7388
39
+ txt2ebook-0.1.80.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
40
+ txt2ebook-0.1.80.dist-info/entry_points.txt,sha256=IQHyIIhd0MHjSSRVC1a6tMeIoLus8D06KHL_cumvEbg,83
41
+ txt2ebook-0.1.80.dist-info/RECORD,,