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

I tried to used Korean alphabet but it does not come out right #39

Open
Sumeun opened this issue Jan 3, 2019 · 7 comments
Open

I tried to used Korean alphabet but it does not come out right #39

Sumeun opened this issue Jan 3, 2019 · 7 comments

Comments

@Sumeun
Copy link

Sumeun commented Jan 3, 2019

I use windows 10 and as a test, I put a little bit of Korean letters but nothing come out in pdf.

The whole thing are gone without any trace except a little bit of space...

It seems it does not support CJK?

Do you have any idea how to solve this?

@yihui
Copy link
Member

yihui commented Jan 3, 2019

I'm not familiar with the Korean support in LaTeX. You may need to add certain LaTeX packages to https://github.com/rstudio/bookdown-demo/blob/master/preamble.tex

@kwhkim
Copy link

kwhkim commented Jan 7, 2019

Helped from https://statkclee.github.io/data-science/toolchain-docker-r-pkgs.html
I added the following paragraph in the beginning of preamble.tex

\usepackage{zi4}
\usepackage[hangul]{kotex}

I works okay... but I got several warnings...

Output created: _book/bookdown-demo.pdf
Warning messages:
1: running command '"xelatex" -halt-on-error -interaction=batchmode "bookdown-demo.tex"' had status 1
2: running command '"xelatex" -halt-on-error -interaction=batchmode "bookdown-demo.tex"' had status 1
3: running command '"xelatex" -halt-on-error -interaction=batchmode "bookdown-demo.tex"' had status 1

Do you know what it means?

@kwhkim
Copy link

kwhkim commented Jan 7, 2019

Never mind. I installed http://mirrors.ctan.org/install/fonts/inconsolata.tds.zip
and Warnings disappeared.

Awesome package!

@hyunyulhenry
Copy link

hyunyulhenry commented Jun 11, 2019

안녕하세요
저도 윈도우10에서 북다운으로 책 작성중
pdf로 변환하면 한글이 안나타나는 문제가 발생하는데

혹시 어떻게 해결하셨는지 알려주실수 있으면 감사하겠습니다.

\usepackage{zi4}
\usepackage[hangul]{kotex}

해당 명령어를 입력해도 문제가 해결되지 않아서요..

(쓰신책 매우 재밌게 보았습니다 ㅎㅎ)

@kwhkim
Copy link

kwhkim commented Jun 11, 2019 via email

@kwhkim
Copy link

kwhkim commented Jun 11, 2019

제 것 소스를 조금 살펴봤는데,

_output.yml에 latex_engine: xelatex 으로 되어 있네요...

xelatex 인스톨 되어 있다면, 이렇게 쓰면 되지 않을까요? 저도 인터넷 어디선가 보고 한 거라서 인터넷에 어딘가 있을 것이라 생각되지만... ^^;;;;

@hyunyulhenry
Copy link

hyunyulhenry commented Jun 12, 2019 via email

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

4 participants