Cannot reproduce all examples
See original GitHub issueHi,
I’m trying out this tool, so far it’s looking good with the default styles. Then I wanted to try out the given examples (resume, book, etc), however not all documents look the same as in the readme (book and letter), also the slides one just doesn’t work, it says : hljs is not defined. Do I need to install another global JS library to make it work?
Example with the book (left is mine, right is git repo) :
Example with letter (pdf on left, html on right which seems ok!) :
For each file I used the following command line:
asciidoctor-pdf <file>.adoc --template-require ./template.js
So I was wondering if I’m missing some parameters in the command line or if the CSS files are not updated to what is seen on the repo. They seem to have margins specified in it but for the book they just get ignored.
I’m using :
- Ubuntu 18.04
- Asciidoctor PDF 1.0.0-alpha.3 using Asciidoctor.js 2.0.3 (Asciidoctor 2.0.9)
- node 13.1.0.
Can you reproduce the issue?
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (3 by maintainers)
Top GitHub Comments
In the next version, the processor will output the warning and error messages from the browser console. I’m entirely sure that Chrome will output a warning/error message when a ressource is blocked or cannot be fetched but if that’s the case you will see the message on your terminal console.
It did end up looking the same when I used my phone network and not the corporate’s. Anyway I’m happy now, I’ll experiment with it more later. I’m looking to customize the title page with a complicated table (typical of a corporate archived document following a defined process) so the template.js capabilities are really interesting me. Seems a lot easier than using a xsl/fop tool chain!