dockerfiles icon indicating copy to clipboard operation
dockerfiles copied to clipboard

I want to use kotex when i use pandoc/extra Docker image

Open arikim1212 opened this issue 2 years ago • 3 comments

hello, I want to make a manual with korean languages. So, I use pandoc/extra image but after \usepackage{kotex}, {LaTeX Error : File 'kotex.sty' not found} comes out. What should I do? I put kotex package in to /opt/texlive/texdir/texmf-dist/tex/latex directory but same error comes out. Thank you...

arikim1212 avatar Apr 21 '23 01:04 arikim1212

I would suggest creating a new Docker image by using this one as a base and using the ctan package tooling to install the kotex package inside your image (which will update package indexes and stuff as opposed to installing it by hand).

alerque avatar Apr 21 '23 06:04 alerque

I think it is possible if I change pandoc/extra/packages.txt and make images with dockerfile. Is it correct?? In the packages.txt, I can install packages using tlmgr. Or, if I should fix dockerfile directly? Then, where should I put tlmgr install kotex in dockerfile directly?? Dockerfile is so complicated. Sorry for my insufficient english.

arikim1212 avatar Apr 21 '23 06:04 arikim1212

I suggest to create a Dockerfile with

FROM pandoc/extra
RUN tlmgr install kotex-utf

and then build a new pandoc/kotex image from that with

docker build -t pandoc/kotex -f Dockerfile .

tarleb avatar Apr 21 '23 07:04 tarleb