asciidoctor / asciidoctor-pdf

:page_with_curl: Asciidoctor PDF: A native PDF converter for AsciiDoc based on Asciidoctor and Prawn, written entirely in Ruby.
https://docs.asciidoctor.org/pdf-converter/latest/
MIT License
1.14k stars 501 forks source link

Error message printing special characters #2387

Closed ciampix closed 1 year ago

ciampix commented 1 year ago

This example fires some error messages and the characters are not printed (but it works with asciidoctor -> html output):

= Title

This fires an error (from an electrical CAD manual) using asciidoctor-pdf: μ 4.7kΩ

but perhaps I'm missing something.

mojavelinux commented 1 year ago

This is a known restriction. Asciidoctor PDF does not support named entities (except for the built-in ones recognized by XML). You must use numerical character references instead. See https://docs.asciidoctor.org/pdf-converter/latest/features/#limitations

I would prefer if you asked questions about using Asciidoctor PDF in the project chat at https://chat.asciidoctor.org. We reserved the issue tracker for confirmed bug reports. That helps us to better manage this project.