de-jcup / eclipse-asciidoctor-editor

An eclipse editor for asciidoctor files
https://marketplace.eclipse.org/content/asciidoctor-editor
Other
58 stars 15 forks source link

PDF convertion doesn't support CJK character sets #337

Open rbioteau opened 3 years ago

rbioteau commented 3 years ago

It appears that asciidoctor-pdf requires additional parameters to convert document into pdf that contains CJK character sets like Chinese, Japanese...etc.

To support those character sets they use a specific theme. Check the documentation for the reference

Would it be possible to integrate those options when converting to PDF using the editor action ?

de-jcup commented 3 years ago

@rbioteau : I have deployed asciidoctor-editor V2.3.0 on eclipse marketplace a few days ago. There I used a new ASP server version which uses newer Asciidoctor . It seems (reading the linked documentation above) that here is a need for a custom CJK theme after this.

I think it would be the best option to implement generel pdf- theming support into the plugin instead?

So everybody could use own themes - and also of course the option to create a custom CJK theme as mentioned at https://github.com/asciidoctor/asciidoctor-pdf#create-a-custom-cjk-theme

More links here: