asciidoctor / asciidoctor-latex

:triangular_ruler: Add LaTeX features to AsciiDoc & convert AsciiDoc to LaTeX
http://asciidoctor.org
Other
112 stars 26 forks source link

Experimental macros left out #78

Open rkratky opened 6 years ago

rkratky commented 6 years ago

When converting a file that contains :experimental: macros (kbd:[], menu:[]), asciidoctor-latex prints a warning (e.g. _Node to implement: inlinekbd, class = Asciidoctor::Inline), but it leaves the content out of the resulting latex.

Until the macros are supported, it would be better if they were left untouched (as if :experimental: was undefined).

mojavelinux commented 6 years ago

Unfortunately, that's no possible. By setting the experimental attribute, it changes the behavior of the parser, so the converter has to handle them at this point. One way it could handle them is to restore them back to the original source, but then you might as well just implement it.