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

allow custom prince options #58

Open
blowback opened this issue Jun 5, 2012 · 1 comment
Open

allow custom prince options #58

blowback opened this issue Jun 5, 2012 · 1 comment

Comments

@blowback
Copy link

blowback commented Jun 5, 2012

I wanted to experiment with javascript code highlighting engines; this requires the '--javascript' option to be appended to the prince command line.

@revdavethompson
Copy link
Collaborator

I have been looking at modifying the pdfkit gem to work with princexml. This would mean that you could pass prince options via html headers, or from within the config.yml file.

We certainly could go the route of passing the options via the command line, but I would need to rework bookshop's code structure a bit more for that.

This also means, however, that I would need to create a princexml gem, which wouldn't be too hard to do.

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

No branches or pull requests

2 participants