I have some docs that works well with asciidoctor-pdf and some others that 
don't.

 $asciidoctor-pdf gerbview.adoc 
 Prawn::Errors::CannotFit
   Use --trace for backtrace

if I add --trace ...

asciidoctor-pdf --trace gerbview.adoc 
/home/marco/.rvm/gems/ruby-2.3.0/gems/prawn-2.1.0/lib/prawn/text/formatted/line_wrap.rb:199:in
 `update_output_based_on_last_fragment': Prawn::Errors::CannotFit 
(Prawn::Errors::CannotFit)
        from 
/home/marco/.rvm/gems/ruby-2.3.0/gems/prawn-2.1.0/lib/prawn/text/formatted/line_wrap.rb:190:in
 `fragment_finished'
        from 
/home/marco/.rvm/gems/ruby-2.3.0/gems/prawn-2.1.0/lib/prawn/text/formatted/line_wrap.rb:112:in
 `block in add_fragment_to_line'
        from 
/home/marco/.rvm/gems/ruby-2.3.0/gems/prawn-2.1.0/lib/prawn/text/formatted/line_wrap.rb:96:in
 `each'
        from 
/home/marco/.rvm/gems/ruby-2.3.0/gems/prawn-2.1.0/lib/prawn/text/formatted/line_wrap.rb:96:in
 `add_fragment_to_line'
        from 
/home/marco/.rvm/gems/ruby-2.3.0/gems/prawn-2.1.0/lib/prawn/text/formatted/line_wrap.rb:81:in
 `block in apply_font_settings_and_add_fragment_to_line'
        from 
/home/marco/.rvm/gems/ruby-2.3.0/gems/prawn-2.1.0/lib/prawn/text/formatted/arranger.rb:245:in
 `block in apply_font_size'
        from 
/home/marco/.rvm/gems/ruby-2.3.0/gems/prawn-2.1.0/lib/prawn/font.rb:101:in 
`font_size'
        from 
/home/marco/.rvm/gems/ruby-2.3.0/gems/asciidoctor-pdf-1.5.0.alpha.11/lib/asciidoctor-pdf/prawn_ext/extensions.rb:242:in
 `font_size'
        from 
/home/marco/.rvm/gems/ruby-2.3.0/gems/prawn-2.1.0/lib/prawn/text/formatted/arranger.rb:245:in
 `apply_font_size'
        from 
/home/marco/.rvm/gems/ruby-2.3.0/gems/prawn-2.1.0/lib/prawn/text/formatted/arranger.rb:167:in
 `block in apply_font_settings'
        from 
/home/marco/.rvm/gems/ruby-2.3.0/gems/pdf-core-0.6.1/lib/pdf/core/text.rb:204:in
 `character_spacing'
        from 
/home/marco/.rvm/gems/ruby-2.3.0/gems/prawn-2.1.0/lib/prawn/text/formatted/arranger.rb:160:in
 `apply_font_settings'
        from 
/home/marco/.rvm/gems/ruby-2.3.0/gems/prawn-2.1.0/lib/prawn/text/formatted/line_wrap.rb:77:in
 `apply_font_settings_and_add_fragment_to_line'
        from 
/home/marco/.rvm/gems/ruby-2.3.0/gems/prawn-2.1.0/lib/prawn/text/formatted/line_wrap.rb:49:in
 `wrap_line'
        from 
/home/marco/.rvm/gems/ruby-2.3.0/gems/prawn-2.1.0/lib/prawn/text/formatted/wrap.rb:53:in
 `wrap'
        from 
/home/marco/.rvm/gems/ruby-2.3.0/gems/asciidoctor-pdf-1.5.0.alpha.11/lib/asciidoctor-pdf/formatted_text/inline_image_arranger.rb:15:in
 `wrap'
        from 
/home/marco/.rvm/gems/ruby-2.3.0/gems/prawn-2.1.0/lib/prawn/text/formatted/box.rb:487:in
 `process_vertical_alignment'
        from 
/home/marco/.rvm/gems/ruby-2.3.0/gems/prawn-2.1.0/lib/prawn/text/formatted/box.rb:218:in
 `block (4 levels) in render'
        from 
/home/marco/.rvm/gems/ruby-2.3.0/gems/prawn-2.1.0/lib/prawn/font.rb:101:in 
`font_size'
        from 
/home/marco/.rvm/gems/ruby-2.3.0/gems/asciidoctor-pdf-1.5.0.alpha.11/lib/asciidoctor-pdf/prawn_ext/extensions.rb:242:in
 `font_size'
        from 
/home/marco/.rvm/gems/ruby-2.3.0/gems/prawn-2.1.0/lib/prawn/text/formatted/box.rb:216:in
 `block (3 levels) in render'
        from 
/home/marco/.rvm/gems/ruby-2.3.0/gems/pdf-core-0.6.1/lib/pdf/core/text.rb:182:in
 `text_rendering_mode'
        from 
/home/marco/.rvm/gems/ruby-2.3.0/gems/prawn-2.1.0/lib/prawn/text/formatted/box.rb:211:in
 `block (2 levels) in render'
        from 
/home/marco/.rvm/gems/ruby-2.3.0/gems/pdf-core-0.6.1/lib/pdf/core/text.rb:204:in
 `character_spacing'
        from 
/home/marco/.rvm/gems/ruby-2.3.0/gems/prawn-2.1.0/lib/prawn/text/formatted/box.rb:210:in
 `block in render'
        from 
/home/marco/.rvm/gems/ruby-2.3.0/gems/prawn-2.1.0/lib/prawn/font.rb:207:in 
`save_font'
        from 
/home/marco/.rvm/gems/ruby-2.3.0/gems/prawn-2.1.0/lib/prawn/text/formatted/box.rb:209:in
 `render'
        from 
/home/marco/.rvm/gems/ruby-2.3.0/gems/prawn-table-0.2.2/lib/prawn/table/cell/text.rb:60:in
 `block in natural_content_height'
        from 
/home/marco/.rvm/gems/ruby-2.3.0/gems/prawn-table-0.2.2/lib/prawn/table/cell/text.rb:99:in
 `block in with_font'
        from 
/home/marco/.rvm/gems/ruby-2.3.0/gems/prawn-2.1.0/lib/prawn/font.rb:207:in 
`save_font'
        from 
/home/marco/.rvm/gems/ruby-2.3.0/gems/prawn-table-0.2.2/lib/prawn/table/cell/text.rb:92:in
 `with_font'
        from 
/home/marco/.rvm/gems/ruby-2.3.0/gems/prawn-table-0.2.2/lib/prawn/table/cell/text.rb:58:in
 `natural_content_height'
        from 
/home/marco/.rvm/gems/ruby-2.3.0/gems/prawn-table-0.2.2/lib/prawn/table/cell.rb:336:in
 `content_height'
        from 
/home/marco/.rvm/gems/ruby-2.3.0/gems/prawn-table-0.2.2/lib/prawn/table/cell.rb:309:in
 `height_ignoring_span'
        from 
/home/marco/.rvm/gems/ruby-2.3.0/gems/prawn-table-0.2.2/lib/prawn/table/cell.rb:325:in
 `height'
        from 
/home/marco/.rvm/gems/ruby-2.3.0/gems/prawn-table-0.2.2/lib/prawn/table.rb:373:in
 `block in row_heights'
        from 
/home/marco/.rvm/gems/ruby-2.3.0/gems/prawn-table-0.2.2/lib/prawn/table.rb:369:in
 `each'
        from 
/home/marco/.rvm/gems/ruby-2.3.0/gems/prawn-table-0.2.2/lib/prawn/table.rb:369:in
 `row_heights'
        from 
/home/marco/.rvm/gems/ruby-2.3.0/gems/prawn-table-0.2.2/lib/prawn/table.rb:656:in
 `set_row_heights'
        from 
/home/marco/.rvm/gems/ruby-2.3.0/gems/prawn-table-0.2.2/lib/prawn/table.rb:148:in
 `initialize'
        from 
/home/marco/.rvm/gems/ruby-2.3.0/gems/prawn-table-0.2.2/lib/prawn/table.rb:111:in
 `new'
        from 
/home/marco/.rvm/gems/ruby-2.3.0/gems/prawn-table-0.2.2/lib/prawn/table.rb:111:in
 `table'
        from 
/home/marco/.rvm/gems/ruby-2.3.0/gems/asciidoctor-pdf-1.5.0.alpha.11/lib/asciidoctor-pdf/converter.rb:1270:in
 `convert_table'
        from 
/home/marco/.rvm/gems/ruby-2.3.0/gems/asciidoctor-pdf-1.5.0.alpha.11/lib/asciidoctor-pdf/converter.rb:96:in
 `convert'
        from 
/home/marco/.rvm/gems/ruby-2.3.0/gems/asciidoctor-1.5.4/lib/asciidoctor/abstract_block.rb:71:in
 `convert'
        from 
/home/marco/.rvm/gems/ruby-2.3.0/gems/asciidoctor-1.5.4/lib/asciidoctor/abstract_block.rb:80:in
 `block in content'
        from 
/home/marco/.rvm/gems/ruby-2.3.0/gems/asciidoctor-1.5.4/lib/asciidoctor/abstract_block.rb:80:in
 `map'
        from 
/home/marco/.rvm/gems/ruby-2.3.0/gems/asciidoctor-1.5.4/lib/asciidoctor/abstract_block.rb:80:in
 `content'
        from 
/home/marco/.rvm/gems/ruby-2.3.0/gems/asciidoctor-pdf-1.5.0.alpha.11/lib/asciidoctor-pdf/converter.rb:112:in
 `convert_content_for_block'
        from 
/home/marco/.rvm/gems/ruby-2.3.0/gems/asciidoctor-pdf-1.5.0.alpha.11/lib/asciidoctor-pdf/converter.rb:323:in
 `convert_section'
        from 
/home/marco/.rvm/gems/ruby-2.3.0/gems/asciidoctor-pdf-1.5.0.alpha.11/lib/asciidoctor-pdf/converter.rb:96:in
 `convert'
        from 
/home/marco/.rvm/gems/ruby-2.3.0/gems/asciidoctor-1.5.4/lib/asciidoctor/abstract_block.rb:71:in
 `convert'
        from 
/home/marco/.rvm/gems/ruby-2.3.0/gems/asciidoctor-1.5.4/lib/asciidoctor/abstract_block.rb:80:in
 `block in content'
        from 
/home/marco/.rvm/gems/ruby-2.3.0/gems/asciidoctor-1.5.4/lib/asciidoctor/abstract_block.rb:80:in
 `map'
        from 
/home/marco/.rvm/gems/ruby-2.3.0/gems/asciidoctor-1.5.4/lib/asciidoctor/abstract_block.rb:80:in
 `content'
        from 
/home/marco/.rvm/gems/ruby-2.3.0/gems/asciidoctor-1.5.4/lib/asciidoctor/document.rb:1104:in
 `content'
        from 
/home/marco/.rvm/gems/ruby-2.3.0/gems/asciidoctor-pdf-1.5.0.alpha.11/lib/asciidoctor-pdf/converter.rb:112:in
 `convert_content_for_block'
        from 
/home/marco/.rvm/gems/ruby-2.3.0/gems/asciidoctor-pdf-1.5.0.alpha.11/lib/asciidoctor-pdf/converter.rb:163:in
 `convert_document'
        from 
/home/marco/.rvm/gems/ruby-2.3.0/gems/asciidoctor-pdf-1.5.0.alpha.11/lib/asciidoctor-pdf/converter.rb:96:in
 `convert'
        from 
/home/marco/.rvm/gems/ruby-2.3.0/gems/asciidoctor-1.5.4/lib/asciidoctor/document.rb:1044:in
 `convert'
        from 
/home/marco/.rvm/gems/ruby-2.3.0/gems/asciidoctor-1.5.4/lib/asciidoctor.rb:1503:in
 `convert'
        from 
/home/marco/.rvm/gems/ruby-2.3.0/gems/asciidoctor-1.5.4/lib/asciidoctor/cli/invoker.rb:94:in
 `block in invoke!'
        from 
/home/marco/.rvm/gems/ruby-2.3.0/gems/asciidoctor-1.5.4/lib/asciidoctor/cli/invoker.rb:86:in
 `each'
        from 
/home/marco/.rvm/gems/ruby-2.3.0/gems/asciidoctor-1.5.4/lib/asciidoctor/cli/invoker.rb:86:in
 `invoke!'
        from 
/home/marco/.rvm/gems/ruby-2.3.0/gems/asciidoctor-pdf-1.5.0.alpha.11/bin/asciidoctor-pdf:31:in
 `<top (required)>'
        from /home/marco/.rvm/gems/ruby-2.3.0/bin/asciidoctor-pdf:23:in `load'
        from /home/marco/.rvm/gems/ruby-2.3.0/bin/asciidoctor-pdf:23:in `<main>'
        from /home/marco/.rvm/gems/ruby-2.3.0/bin/ruby_executable_hooks:15:in 
`eval'
        from /home/marco/.rvm/gems/ruby-2.3.0/bin/ruby_executable_hooks:15:in 
`<main>'

I still do not see where exactly was the problem...

asciidoctor works without any problem though...

--


Marco Ciampa

I know a joke about UDP, but you might not get it.

------------------------

 GNU/Linux User #78271
 FSFE fellow #364

------------------------

-- 
You received this message because you are subscribed to the Google Groups 
"asciidoc" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/asciidoc.
For more options, visit https://groups.google.com/d/optout.

Reply via email to