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

[discussion] 内容分拆/单章导出 #24

Open
Enter-tainer opened this issue Feb 6, 2022 · 1 comment
Open

[discussion] 内容分拆/单章导出 #24

Enter-tainer opened this issue Feb 6, 2022 · 1 comment
Labels
enhancement New feature or request help wanted Extra attention is needed question Further information is requested

Comments

@Enter-tainer
Copy link
Member

  • 全部打印出来页数太多了

  • 很多内容可能不需要打印

  • 提供定制化的导出

  • 需要提供一种合理的方法,来方便内容的拆分导出

@Enter-tainer Enter-tainer added enhancement New feature or request help wanted Extra attention is needed question Further information is requested labels Feb 6, 2022
@Tiphereth-A
Copy link
Member

感觉主要问题在于导出部分章节可能破坏内链引用从而使 PDF 构建失败,这个问题目前想到了三种方案:

  1. 将失效的内链引用视作外链,应该是缺点最少的方案;
  2. 按引用关系构建出的传递闭包来构建,缺点是会多导出一些内容;
  3. 用只有标签的空页面替代,缺点是会多出诡异的空页面。或者用被引用的文章中被引用的一节或第一节替代。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants