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

(3) Set attribute of *list spacing="compact" for FO/PDF. #309

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

Conversation

jralls
Copy link
Member

@jralls jralls commented Mar 27, 2023

Recreate #237

Depends on #310

This is requested by @CWehli in #211 (comment).
This PR is for FO/PDF only.

I'll create another PR for HTML(s) because it is a bit complex to do.
It becomes clear by using external CSS. So I have to set some parameters, create CSS file, and change cmake files.

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.
CMake's clean feature isn't enough to remove some generated files.
Therefore, add clean-extra target which will delete unnecessary files that clean left.
@CWehli
Copy link
Contributor

CWehli commented Jan 10, 2024

@usamimikamen-sk :
I would like to take over some of your work and continue it. Do you have any objections?
I would also mention your name in the commit message.

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.

3 participants