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

Support additional PDF engines #6126

Open
Crissov opened this issue Feb 7, 2020 · 7 comments
Open

Support additional PDF engines #6126

Crissov opened this issue Feb 7, 2020 · 7 comments

Comments

@Crissov
Copy link

Crissov commented Feb 7, 2020

Following up on #3906 and #3909, should other XML/HTML+CSS-to-PDF converters also be supported?
I know of Vivliostyle, PDF Reactor and Antenna House Formatter, but there may be more out there.

@alerque
Copy link
Contributor

alerque commented Feb 7, 2020

Not quite an identical situation but in the same genre I think, SILE also supports XML as an input format. I'm working on native Pandoc handlers for it using it's other input syntax (see #6087 discussion and #6088 for the Writer PR), but it can also be invoked as an XML→PDF rendering engine. As one of the authors of SILE I am undoubtedly heavily biased, but since the CSS in your equation above usually isn't part of document anyway I don't see any reason why this should be limited to HTML/XML+CSS→PDF, the same general arrangement could be used as HTML/XML+Lua→PDF. All we'd have to do is setup a class design for it (largely overlap with by other work for support for Pandoc generated documents anyway) in much the same way somebody has to inject a CSS file for the other converters.

@Crissov
Copy link
Author

Crissov commented Feb 7, 2020

Sure, XML+XSL(T) processors also fall into this category, but I know next to nothing about them.

@jgm
Copy link
Owner

jgm commented Feb 7, 2020

In principle we could do this but I'd want to see a compelling reason: what can you do with these that you can't do with the engines we already support?

@Crissov
Copy link
Author

Crissov commented Feb 7, 2020

My thinking was that existing users of these products could then easily add Pandoc to their tool chain.

@brainchild0
Copy link

@Crissov: Can you offer some details of a use case? Ultimately integration of any HTML to PDF converter into Pandoc seems like a convenience. Any existing user of such a product seems to be someone who has a source for HTML documents, which could be Pandoc, but ultimately the distinction is irrelevant. The value of Pandoc would be to create an HTML representation of a document, if doing so is part of a user's pipeline.

@tarleb
Copy link
Collaborator

tarleb commented May 2, 2021

I'd also like to mention paged.js, which is fully open source and looks quite promising.

There's also https://print-css.rocks/tools, which has a (highly opinionated) overview listing HTML-to-PDF engines.

@tarleb
Copy link
Collaborator

tarleb commented May 6, 2021

As pointed out by @Delanii in #6540, there is also arara. It's an alternative to latexmk.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants