Comments (5)
还发现一个问题在windows ltsc 用
v1.2.6_windows_amd64 直接将txt拖入kaf-cli.exe 转换上述txt 不会自动转换出epub格式而在1.2.5版本正常,
from kaf-cli.
不会自动转换出epub格式的问题已经好了, 随便问问你的正则是什么 ?
from kaf-cli.
大兄弟 匹配卷、章的正则给一下呗 @ciskonc
from kaf-cli.
@Zhang668-z
@ystyle 不好意思,之前以为问题解决了没看到你后面的追问,现在才看到之前的提问。我转换的话,是在notepad++里面做了正则替换处理然后,直接按章节转换
以之前发的凡人修仙传.txt为例,我直接在notepad++里面正则替换处理
第(.{1,8})卷(.{1,8})\n第(.{1,8})章(\s)(.{1,8})
替换成
第$3章$4$5 (第$1卷$2)
结果如图 然后 直接转换-match 第.{1,8}章
。
我这个方法并没有解决这个问题,只是用notepad++做了前处理取巧让他们出现在同一行而已,各个书有各个书的情况,不具备通用性,估计没有参考价值。
from kaf-cli.
非常感谢老哥@ciskonc 回答 这个方法对我也非常合适!!
之前导出成epub时经我测试正则就算匹配到卷名 如若没有正文也会进行跳过不显示卷名 没想到这种把卷名缀到章节后的方式
from kaf-cli.
Related Issues (20)
- 请求增加对epub格式嵌入字体的支持 HOT 3
- 二级目录支持 HOT 3
- 请求增加生成纯文本封面的功能 HOT 6
- 求一个精简版 HOT 8
- 写了个gui供部分小白使用 HOT 9
- 作者可以开发一个GUI界面吗 HOT 1
- 命令行关闭制作教程怎么去掉说明两个字 HOT 9
- 请求自定义第一章前的章节名和行间距参数 HOT 9
- 这两天安卓版转换不了(〒﹏〒) HOT 2
- 求新功能 HOT 8
- 有一点小问题 HOT 5
- 这个日文小说匹配不了章节 HOT 2
- 关于2级目录的问题 HOT 9
- 用此软件转成的epub文件不符合epub的标准,不支持kindle推送 HOT 1
- -tips=false 无效 HOT 4
- 新功能使用问题 HOT 19
- 转换mobi格式报错 HOT 1
- 大佬图片里用的阅读器是啥呀 HOT 2
- 请求适配该种章节格式 HOT 8
- 怎么关闭卷的匹配 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kaf-cli.