I want to split it up when I create a PDF with sphinx.

Asked 1 years ago, Updated 1 years ago, 63 views

I am creating the app manual with Sphinx 1.8.2.
There are chapters 1 to 10, but HTML contains all the chapters.br/> I'd like to divide the PDF into two parts, with chapters 1-7 as the "Basic Edition" and chapters 8-10 as the "Application Edition."

"Also, I would like to separate the titles at this time as ""Basic Edition"" and ""Application Edition"" respectively."

Please tell me how to configure this situation.

sphinx

2022-09-30 21:37

1 Answers

Currently, I am self-resolving using the following methods:

  • For basic: source/index_latex1.rst
  • Application: source/index_latex2.rst

Run the build of the base edition below

sphinx-build-a-blatex-c source/conf_latex1 source build/latex_basic
./build/latex_basic/make

Similarly, build the application below

sphinx-build-a-blatex-c source/conf_latex2 source build/latex_advance
./build/latex_advance/make

However, in this situation, when the order of content changes or the release number changes, you have to change the settings for HTML and 2x for latex, which is not the best way to do this.
If you know any other good ways, please give me some advice.


2022-09-30 21:37

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.