feat (kernel): experimental support for pdf2zh next as a kernel for cli #1074
+9,524
−4
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Experimental Kernel Switching Support / 实验性内核切换支持
This fork introduces experimental kernel switching, enabling use of
pdf2zh_next—a significantly enhanced kernel forpdf2zh.这个分叉引入了实验性内核切换, 使得 pdf2zh_next 能够显著增强内核的使用,用于 pdf2zh。
This pull request is proposed for this breaking change in the structure and is not intentionally made to be merged at this stage.
这个拉取请求是针对结构中的这种突破性变化提出的,并非有意在此阶段进行合并。
The refreshed GUI requires this function of switching between kernels.
更新后的 GUI 需要这种内核间切换功能。
✨ Feature / 特性
pdf2zh_nextkernel by the genius engineer awwaawwa through a simple CLI argument:--kernel experimental现在,用户可以通过一个简单的 CLI 参数,指定天才工程师 awwaawwa 的
pdf2zh_next内核:--kernel experimental(实验性内核🔧 Changes / 变更
A dedicated folder containing the functions provided by
pdf2zh_nextis added under:./kernel/experimental在
./kernel/experimental下添加了一个包含pdf2zh_next提供的功能的专用文件夹。An executable shortcut for
pdf2zh_nexthas been added to the main installation configuration, simplifying integration.在主安装配置中添加了
pdf2zh_next的快捷可执行文件,简化了集成过程。babeldoclibrary has been upgraded to match the refreshed upstream version.Babeldoc 库已经升级,以匹配上游。
Tests passed / 通过测试
尽管这个更新可能会引入新的 bug, 但主要功能已经根据提供的测试文件进行了测试。
pdf2zhprogram is not affected.pdf2zh "程序的原始使用不受影响。