You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get the error listed bellow when I use a style sheet with asciidoctor pdf. No pdf is generated.
Without the stylesheet, the pdf is generated without error.
$ asciidoctor-pdf -a pdf-style=base-theme.yml Poetry_8.ad
/Users/carlson/.rvm/gems/ruby-2.1.1/gems/prawn-1.2.1/lib/prawn/document.rb:437:in `-': nil can't be coerced into Float (TypeError)
here is the style sheet:
base:
font_size: 9
line_height_length: 10
The error occurs with and without the trailing blank line.
The text was updated successfully, but these errors were encountered:
At this point, Asciidoctor PDF doesn't work with a partial stylesheet (I'll need to overlay default values to allow this). The best way to start at the moment is to take the current default-theme.yml and change values as need. Can you try it that way?
Of course, in the long run we want to be able to support a theme with minimal settings as you have there.
At this point, Asciidoctor PDF doesn't work with a partial stylesheet (I'll need to overlay default values to allow this). The best way to start at the moment is to take the current default-theme.yml and change values as need. Can you try it that way?
Of course, in the long run we want to be able to support a theme with minimal settings as you have there.
—
Reply to this email directly or view it on GitHub.
I get the error listed bellow when I use a style sheet with asciidoctor pdf. No pdf is generated.
Without the stylesheet, the pdf is generated without error.
here is the style sheet:
The error occurs with and without the trailing blank line.
The text was updated successfully, but these errors were encountered: