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

HTML outputter #3

Draft
wants to merge 8 commits into
base: main
Choose a base branch
from
Draft

HTML outputter #3

wants to merge 8 commits into from

Conversation

Omikhleia
Copy link
Owner

Currently based on #2

Lame code (initially trying to see if the proposed changes to the outputter API made sense), but it works:

sile -u outputters.html somefile.sil

Could be made better and cleaner, replacing the (non-working and unmaintained?) podofo / cairo with something "fun".

Decorelate frame cursor position from actual outputter cursor.
Add base class options (bleed, sheetsize)
Move most of the direct low-level libtexpdf call to the outputter.
They act on dictionaries and are unrelated to the position of
anythink on a page, so they don't need to be wrapped in an hbox
and wait for its output.
Removing the useless hbox avoids side-effects on frame content,
paragraph indent, etc.
@Omikhleia Omikhleia added the enhancement New feature or request label Aug 27, 2023
@Omikhleia Omikhleia marked this pull request as draft August 27, 2023 16:47
@Omikhleia Omikhleia force-pushed the experiment-html-outputter branch from 8a26350 to 1a85a3d Compare August 27, 2023 16:48
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

Successfully merging this pull request may close these issues.

1 participant