Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #274078

asciidoctor-pdf

From Tom Browder <tom.browder@gmail.com>
Newsgroups linux.debian.user
Subject asciidoctor-pdf
Date 2024-10-26 17:10 +0200
Message-ID <JBQAp-4mZJ-7@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.debian.user | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

asciidoctor-pdf Tom Browder <tom.browder@gmail.com> - 2024-10-26 17:10 +0200
  Re: asciidoctor-pdf <tomas@tuxteam.de> - 2024-10-26 18:10 +0200
    Re: asciidoctor-pdf Tom Browder <tom.browder@gmail.com> - 2024-10-26 22:30 +0200
  Re: asciidoctor-pdf Jeffrey Walton <noloader@gmail.com> - 2024-10-26 23:30 +0200
  Re: asciidoctor-pdf Jeffrey Walton <noloader@gmail.com> - 2024-10-26 23:40 +0200

csiph-web