resolves #281 prevent document from overriding epubcheck/kindlegen path attributes#320
Conversation
|
@mojavelinux is there any way how I can do this without sneaking into document internals? The problem is that I want to block document from modifying attribute even if it was not specified on command-line via Ignore the fact that tests fail on 1.5.x, I'll just ignore them (pun not intended). |
2c6d22e to
77b64ec
Compare
…indlegen path attributes
77b64ec to
63fe31d
Compare
You can find an example in Asciidoctor PDF. See https://github.com/asciidoctor/asciidoctor-pdf/blob/f880a52c2eb8d62e4e7f11edc54c6b4bae828161/lib/asciidoctor/pdf/converter.rb#L145 It's not a public API, which I agree would be nice. But it's also about timing. The converter needs to be able to set this before the document is allowed to do so. Another way of doing it is to use a preprocessor extension (which doesn't touch the document reader). |
No description provided.