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

(2a) Yelp support for guide and manual (Bug#798166) #308

Open
wants to merge 12 commits into
base: stable
Choose a base branch
from

Conversation

jralls
Copy link
Member

@jralls jralls commented Mar 27, 2023

Recreate #235

Depends on #307

ec14f46
Make a symbolic link from ${docname}.xml to index.docbook on each document when building.
Change book id of gnucash-help to "index" for each language.
cmake -S ../gnucash-docs -B .
cmake --build . --target ghelp
cmake --install . --prefix=${prefix} --component ghelp
Then gnucash-guide and gnucash-help will appear on the TOC of Yelp.

See discussion below.
https://bugs.gnucash.org/show_bug.cgi?id=798166

Prepared variables for build directory transition.
Changed build directory creation timing.
Fixed dependency.
Added missing OASIS xslt icons into xsl/images.
Put latest GnuCash-specific icons into xsl/icons.
Removed stylesheets/.
Changed CMake files related new directory structure.
Changed ${BUILDDIR} to ${CMAKE_CURRENT_BINARY_DIR}/${fmt} for CHM, PDF, and EPUB target.
Removed xsl/1.79.2/ completely.
Removed unused customization files.
Fix target install for each format.
Clean up unused variables.
FO and HTML have different formats, so you need to customize them appropriately depending on how docbook-xsl is written.

Rewrote titlepage and variablelist for each format.
* US letter for C,
* A4 for other languages.

ISO A4 paper size is used worldwide but letter and legal size
are mainly used in the US. Therefore paper size is set above.
This setting should be moved CMake option in the future.
…pectively.

CHM format uses traditional Windows codepages, not Unicode. Therefore
traditional character code should be applied for the HTML and TOC.
Change book id of gnucash-help to "index" for each language.
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

Successfully merging this pull request may close these issues.

2 participants