Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问如何将多个文本文件转换成一个电子书 #49

Open
Mogez opened this issue Jan 4, 2025 · 3 comments
Open

请问如何将多个文本文件转换成一个电子书 #49

Mogez opened this issue Jan 4, 2025 · 3 comments

Comments

@Mogez
Copy link

Mogez commented Jan 4, 2025

如题,有一堆文本文件,每个是一篇文章,想合并成一个 epub,每个章节对应每篇文章,有办法吗?

还有我试着先手工合并了几个文本,每篇标题改成 "第N章 ……" ,但转换后并不能自动识别出章节,不知道为什么。用命令行也是一样:
kaf-cli.exe -match "第\d+章" -filename 秦晖:民国历史的不同面相.txt

秦晖:民国历史的不同面相.txt

@ystyle
Copy link
Owner

ystyle commented Jan 5, 2025

我使用kaf-cli.exe -filename 秦晖:民国历史的不同面相.txt -match "第\d+章" 是可以转换的, 你是用的什么操作系统?

WindowsTerminal_y7KfmHvPJY wps_o3V237Bt9U

@Mogez
Copy link
Author

Mogez commented Jan 7, 2025

怪了,你的为啥完全如预期…… 我就是 Windows 10 LTSC X64 [Version 10.0.19044.3570]

@ystyle
Copy link
Owner

ystyle commented Jan 7, 2025

我也是win10, 我用powershell和cmd都没问题。 文件我也没修改过

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants