question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot reproduce all examples

See original GitHub issue

Hi,

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) : book

Example with letter (pdf on left, html on right which seems ok!) : letter

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:closed
  • Created 4 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
Mogzttercommented, Nov 15, 2019

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.

0reactions
ThomasPrioulcommented, Nov 16, 2019

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!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Which organism cannot reproduce? - Quora
Most hybrid animals cannot reproduce. For example, a “mule”, the product of a horse and donkey, cannot reproduce. There are always exceptions to...
Read more >
Cannot Reproduce” is misleading; Use “Stopped Investigating ...
The problem with “Cannot Reproduce” is that there is a problem in the software, and the reason for the problem has not been...
Read more >
Cannot reproduce all examples · Issue #119 - GitHub
Hi, I'm trying out this tool, so far it's looking good with the default styles. Then I wanted to try out the given...
Read more >
There are many organisms which do not reproduce. Select ...
However, there are many organisms which do not reproduce. For example: Mules, worker bees, infertile human couples, etc. So, reproduction cannot be an...
Read more >
Which of the following organisms do not reproduce? - Toppr
Mules · Worker bees · Infertile human couples · All of these · A mule is a hybrid of a male donkey and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found