Login  Register

Re: Single PDF and multiple HTML from same sources

Posted by David Jencks on Feb 14, 2020; 4:15pm
URL: https://discuss.asciidoctor.org/Single-PDF-and-multiple-HTML-from-same-sources-tp7640p7648.html

Hi Alex,

If you have more than a very small number of documents to deal with I think the organization Antora provides is worth considering.  If you want an “unwrapped” appearance it’s easy to make a “blank UI” that just puts the generated doc into minimal html.

You might be able to translate the ideas from my include processor back into ruby and use that with ruby asciidoctor-pdf; this is apt to be more reliable than the javascript version for some time.  I haven’t looked at my code in a few weeks, and what the include processor tracks might be incomplete.

The subdoc discussion isn’t likely to result in any usable code anytime soon. I’m not entirely sure how such a thing would work, it seems sort of like an “exclude processor” rather than an “include processor”.

Good luck, and ask if you have any questions!

David Jencks

On Feb 14, 2020, at 7:06 AM, afrey [via Asciidoctor :: Discussion] <[hidden email]> wrote:

Hi David !

Thanks for your reply !

I'll have a look at antora-pdf to see if I can re-use parts of your extensions. I am not currently using Antora. I focus mainly on PDF generation, but also need some HTML on the side and multi-document is clearly better for HTML browsing.

There was some discussion on Gitter about epub and "subdoc::". Is this related?

BR
Alex




If you reply to this email, your message will be added to the discussion below:
https://discuss.asciidoctor.org/Single-PDF-and-multiple-HTML-from-same-sources-tp7640p7647.html
To start a new topic under Asciidoctor :: Discussion, [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML