[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Fwd: make fail when make refcard-ko-a4.pdf

한글 관련 설정 건드려야 되는 거 같아서 debian-L10n-korean에도 메일 드립니다.
저만 안 되는 건지? 다른 분도 안 되는 건지? 어떻게 해결해야 되는지 모르겠습니다. 도와주셔요.

---------- Forwarded message ---------
보낸사람: sebul <sebuls@gmail.com>
Date: 2020년 5월 23일 (토) 오후 3:23
Subject: make fail when make refcard-ko-a4.pdf
To: Holger Wansing <hwansing@mailbox.org>
Cc: Debian Documentation List <debian-doc@lists.debian.org>

Thank you. But I got error messages when make refcard-ko-a4.pdf. Help me please.
Error messages are as follows.

sebul@sebul:~/org/doc/refcard$ make refcard-ko-a4.pdf
po4a-translate --format docbook --keep 0 -m entries.dbk -p po4a/ko.po -l entries-ko.dbk
xsltproc --nonet --novalid preproc.xsl entries-ko.dbk > refcard-ko.dbk
xsltproc --nonet --novalid fo.xsl refcard-ko.dbk > refcard-ko-a4.fo
Making portrait pages on USletter paper (99mmx210mm)
L=$(echo refcard-ko-a4.s.pdf | sed 's/.*-\(.*\)-.*/\1/'); \
SRC="" refcard-ko-a4.fo|sed 's/-\(a4\|lt\).fo/.dbk/'); \
FMT=$(echo refcard-ko-a4.fo|sed 's/.*-\(a4\|lt\).fo/\1/'); \
dblatex --backend=xetex --texstyle=refcard.sty --xsl-user=dblatex.xsl --output=refcard-ko-a4.s.pdf --param=format=$FMT $SRC
Build the book set list...
Build the listings...
XSLT stylesheets DocBook - LaTeX 2e (0.3.10)
Build refcard-ko.dbk.pdf
xelatex failed
refcard-ko.dbk.tex:27: Unknown option `hangul' for package `kotex'.
refcard-ko.dbk.tex:27: leading text: \setCJKmainfont
Unexpected error occured
Error: xelatex compilation failed
make: *** [Makefile:52: refcard-ko-a4.s.pdf] 오류 1
rm refcard-ko.dbk refcard-ko-a4.fo

2020년 5월 23일 (토) 오전 3:54, Holger Wansing <hwansing@mailbox.org>님이 작성:
> Hi,
> sebul <sebuls@gmail.com> wrote:
> > Hello. I'm a Korean.
> > I made a korean .po file.
> > And make command made a korean pdf file refcard-ko-a4.pdf
> > But in this pdf file, Hangul is not shown. Just shows Rectangles. English
> > is shown.
> > How can solve this problem?
> > I referred
> > https://www.debian.org/doc/user-manuals#refcard
> >
> > I attach my po file (my translation is work in progress)
> I have committed your file, and also the needed changings in dblatex.xsl etc.
> It now builds fine with "make refcard-ko-a4.pdf"
> (please note, that you need the "fonts-noto-cjk" package for Korean font.
> Thanks
> Holger
> --
> Holger Wansing <hwansing@mailbox.org>
> PGP-Fingerprint: 496A C6E8 1442 4B34 8508  3529 59F1 87CA 156E B076

Reply to: