Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not output Chinese character in paragraphs that also contain English characters #49

Open
mediter opened this issue Nov 30, 2016 · 1 comment

Comments

@mediter
Copy link

mediter commented Nov 30, 2016

modified the settings related with PDF to:

"PDF": {
            "scope": {
              "text.html": "html",
              "text.html.markdown": "markdown"
            },
            "pandoc-arguments": [
              "-t", "pdf",
              "--latex-engine=/Library/TeX/texbin/xelatex",
              "--filter", "/usr/local/bin/pandoc-citeproc",
              "-V", "mainfont=Kai"
            ]
 },

the output file still shows whitespaces where there are Chinese characters in paragraphs that also contain English characters.

I am using Sublime Text 3 with pandoc on a Mac with macOS Sierra.

@tan-wei
Copy link

tan-wei commented Oct 8, 2019

Please use a valid mainfont in your system. It seems Kai in your arguments is not OK for Chinese.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants