[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

asciidoctor-pdf



I am running Debian 11 and trying to run asciidoctor and
asciidoctor-pdf with no luck so far.

I run it with this bash script:

asciidoctor -r asciidoctor-pdf -b pdf \
  -a pdf-theme=binder \
  -a pdf-themesdir=./data/themes \
  -a document_name=”Raku Guide” \
  -o rakuguide-binder.pdf rakuguide-binder.adoc

and get this error:

Traceback (most recent call last):
9: from /usr/bin/asciidoctor-pdf:21:in `<main>'
8: from /usr/lib/ruby/vendor_ruby/asciidoctor/cli/options.rb:193:in `parse!'
7: from /usr/lib/ruby/2.7.0/optparse.rb:1691:in `parse!'
6: from /usr/lib/ruby/2.7.0/optparse.rb:1666:in `permute!'
5: from /usr/lib/ruby/2.7.0/optparse.rb:1569:in `order!'
4: from /usr/lib/ruby/2.7.0/optparse.rb:1575:in `parse_in_order'
3: from /usr/lib/ruby/2.7.0/optparse.rb:1575:in `catch'
2: from /usr/lib/ruby/2.7.0/optparse.rb:1621:in `block in parse_in_order'
1: from /usr/lib/ruby/vendor_ruby/asciidoctor/cli/options.rb:87:in
`block (2 levels) in parse!'
/usr/lib/ruby/vendor_ruby/asciidoctor/cli/options.rb:87:in `encode':
"\\xE2" from ASCII-8BIT to UTF-8 (Encoding::UndefinedConversionError)

I have asked for help from the asciidoctor community but no response so far.

Anyone here running asciidoctor have any suggestions?

Thanks.

-Tom


Reply to: