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

Add custom templates #6

Open
behringer24 opened this issue Oct 21, 2024 · 1 comment
Open

Add custom templates #6

behringer24 opened this issue Oct 21, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@behringer24
Copy link
Owner

behringer24 commented Oct 21, 2024

Add a feature to make custom templates available.

The default stylesheet should only be added if the custome style/template has been selected.

Decide if this is an option on document level or should be available as command line option.

@behringer24 behringer24 added the enhancement New feature or request label Oct 21, 2024
@behringer24
Copy link
Owner Author

Idea: Make the stylesheet cascadeable :-D

  1. Load default stylesheet
  2. Load document level stylesheet if set
  3. Load compile time stylesheet if set
    This make the latter overwrite the previous ones.

To decide: Merge all to a single stylesheet OR add multiple stylesheets?
To check: Can e-book readers handle multiple files? Are there performance implications?

As the stylesheets are referenced at the top of each chapter file they must be set at the very beginning, before chapters are written.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant