>How do I specify language='ko' when I execute 'make latexpdf'? You can switch language via `language` setting in conf.py. If you need to set it temporarily, `-D` option of sphinx-build is useful: `-D language=ko`. The option is passed via `SPHINXOPTS` variable. So `make latexpdf SPHINXOPTS="-D language=ko"` will work well on your case.
>Looks like I need to install xelatex or lualatex. Am I right? Yes, LaTeX output says so. I guess it came from "xeCJK" package that is loaded by your settings. To switch LaTeX engine to xelatex or lualatex, please use `latex_engine` setting in conf.py. Thanks, Takeshi KOMIYA 2020年6月1日(月) 9:47 Jalba sung <[email protected]>: > > running 'make latexpdf' following is the output. > > Running Sphinx v1.7.6 > loading pickled environment... done > building [mo]: targets for 0 po files that are out of date > building [latex]: all documents > updating environment: [config changed] 10 added, 1 changed, 0 removed > /Users/Him2/miniconda3/lib/python3.6/site-packages/sphinx/util/nodes.py:57: > FutureWarning: > The iterable returned by Node.traverse() > will become an iterator instead of a list in Docutils > 0.16. > for classifier in reversed(node.parent.traverse(nodes.classifier)): > reading sources... [100%] index > looking for now-outdated files... none found > pickling environment... done > checking consistency... done > processing > Manual.tex.../Users/m2/miniconda3/lib/python3.6/site-packages/sphinx/builders/latex/__init__.py:139: > FutureWarning: > The iterable returned by Node.traverse() > will become an iterator instead of a list in Docutils > 0.16. > if toctrees[0].get('maxdepth') > 0: > index Overview Legal Intendeduse Trademarks MaterialSupUser GeneralGuide > Protocol Overview2 Protocol2 > resolving references... > writing... done > copying images... [100%] img/FastHyb.jpg > copying TeX support files... > done > build succeeded. > > The LaTeX files are in build/latex. > Run 'make' in that directory to run these through (pdf)latex > (use `make latexpdf' here to do that automatically). > latexmk -pdf -dvi- -ps- 'Manual.tex' > Rc files read: > latexmkrc > Latexmk: This is Latexmk, John Collins, 17 Apr. 2020, version: 4.69a. > Latexmk: applying rule 'pdflatex'... > Rule 'pdflatex': The following rules & subrules became out-of-date: > 'pdflatex' > ------------ > Run number 1 of rule 'pdflatex' > ------------ > ------------ > Running 'pdflatex -recorder "FH_Test_Manual.tex"' > ------------ > This is pdfTeX, Version 3.14159265-2.6-1.40.21 (TeX Live 2020) (preloaded > format=pdflatex) > restricted \write18 enabled. > entering extended mode > (./FH_Test_Manual.tex > LaTeX2e <2020-02-02> patch level 5 > L3 programming layer <2020-03-06> (./sphinxmanual.cls > Document Class: sphinxmanual 2017/03/26 v1.6 Document class (Sphinx manual) > (/usr/local/texlive/2020basic/texmf-dist/tex/latex/base/report.cls > Document Class: report 2019/12/20 v1.4l Standard LaTeX document class > (/usr/local/texlive/2020basic/texmf-dist/tex/latex/base/size12.clo))) > (/usr/local/texlive/2020basic/texmf-dist/tex/latex/cmap/cmap.sty) > (/usr/local/texlive/2020basic/texmf-dist/tex/latex/base/fontenc.sty<<t1.cmap>>) > (/usr/local/texlive/2020basic/texmf-dist/tex/latex/amsmath/amsmath.sty > For additional information on amsmath, use the `?' option. > (/usr/local/texlive/2020basic/texmf-dist/tex/latex/amsmath/amstext.sty > (/usr/local/texlive/2020basic/texmf-dist/tex/latex/amsmath/amsgen.sty)) > (/usr/local/texlive/2020basic/texmf-dist/tex/latex/amsmath/amsbsy.sty) > (/usr/local/texlive/2020basic/texmf-dist/tex/latex/amsmath/amsopn.sty)) > (/usr/local/texlive/2020basic/texmf-dist/tex/latex/amsfonts/amssymb.sty > (/usr/local/texlive/2020basic/texmf-dist/tex/latex/amsfonts/amsfonts.sty)) > (/usr/local/texlive/2020basic/texmf-dist/tex/generic/babel/babel.sty > (/usr/local/texlive/2020basic/texmf-dist/tex/generic/babel/switch.def) > (/usr/local/texlive/2020basic/texmf-dist/tex/generic/babel-english/english.ldf > (/usr/local/texlive/2020basic/texmf-dist/tex/generic/babel/babel.def > (/usr/local/texlive/2020basic/texmf-dist/tex/generic/babel/txtbabel.def)))) > (/usr/local/texlive/2020basic/texmf-dist/tex/latex/cjk-ko/kotex.sty > (/usr/local/texlive/2020basic/texmf-dist/tex/latex/kotex-utf/kotex.cfg) > (/usr/local/texlive/2020basic/texmf-dist/tex/latex/kotex-utf/kotexutf.sty > (/usr/local/texlive/2020basic/texmf-dist/tex/latex/base/inputenc.sty) > (/usr/local/texlive/2020basic/texmf-dist/tex/plain/kotex-plain/kotexutf-core.te > x) (/usr/local/texlive/2020basic/texmf-dist/tex/latex/kotex-utf/lucenc.dfu) > (/usr/local/texlive/2020basic/texmf-dist/tex/latex/cjk-ko/kolabels-utf.sty))) > (/usr/local/texlive/2020basic/texmf-dist/tex/latex/fncychap/fncychap.sty) > (./sphinx.sty > (/usr/local/texlive/2020basic/texmf-dist/tex/generic/ltxcmds/ltxcmds.sty) > (/usr/local/texlive/2020basic/texmf-dist/tex/latex/graphics/graphicx.sty > (/usr/local/texlive/2020basic/texmf-dist/tex/latex/graphics/keyval.sty) > (/usr/local/texlive/2020basic/texmf-dist/tex/latex/graphics/graphics.sty > (/usr/local/texlive/2020basic/texmf-dist/tex/latex/graphics/trig.sty) > (/usr/local/texlive/2020basic/texmf-dist/tex/latex/graphics-cfg/graphics.cfg) > (/usr/local/texlive/2020basic/texmf-dist/tex/latex/graphics-def/pdftex.def))) > (/usr/local/texlive/2020basic/texmf-dist/tex/latex/fancyhdr/fancyhdr.sty) > (/usr/local/texlive/2020basic/texmf-dist/tex/latex/base/textcomp.sty) > (/usr/local/texlive/2020basic/texmf-dist/tex/latex/titlesec/titlesec.sty) > (/usr/local/texlive/2020basic/texmf-dist/tex/latex/tabulary/tabulary.sty > (/usr/local/texlive/2020basic/texmf-dist/tex/latex/tools/array.sty)) > (/usr/local/texlive/2020basic/texmf-dist/tex/latex/tools/longtable.sty) > (/usr/local/texlive/2020basic/texmf-dist/tex/latex/varwidth/varwidth.sty) > (./sphinxmulticell.sty) > (/usr/local/texlive/2020basic/texmf-dist/tex/latex/base/makeidx.sty) > (/usr/local/texlive/2020basic/texmf-dist/tex/latex/framed/framed.sty) > (/usr/local/texlive/2020basic/texmf-dist/tex/latex/xcolor/xcolor.sty > (/usr/local/texlive/2020basic/texmf-dist/tex/latex/graphics-cfg/color.cfg)) > (/usr/local/texlive/2020basic/texmf-dist/tex/latex/fancyvrb/fancyvrb.sty) > (./footnotehyper-sphinx.sty) > (/usr/local/texlive/2020basic/texmf-dist/tex/latex/float/float.sty) > (/usr/local/texlive/2020basic/texmf-dist/tex/latex/wrapfig/wrapfig.sty) > (/usr/local/texlive/2020basic/texmf-dist/tex/latex/parskip/parskip.sty > (/usr/local/texlive/2020basic/texmf-dist/tex/latex/kvoptions/kvoptions.sty > (/usr/local/texlive/2020basic/texmf-dist/tex/generic/kvsetkeys/kvsetkeys.sty)) > (/usr/local/texlive/2020basic/texmf-dist/tex/latex/etoolbox/etoolbox.sty)) > (/usr/local/texlive/2020basic/texmf-dist/tex/latex/base/alltt.sty) > (/usr/local/texlive/2020basic/texmf-dist/tex/latex/upquote/upquote.sty) > (/usr/local/texlive/2020basic/texmf-dist/tex/latex/capt-of/capt-of.sty) > (/usr/local/texlive/2020basic/texmf-dist/tex/latex/needspace/needspace.sty) > (/usr/local/texlive/2020basic/texmf-dist/tex/latex/carlisle/remreset.sty > > Package remreset Warning: The remreset package is obsolete: > (remreset) \@removefomresset is defined. > > ) (./sphinxhighlight.sty)) > (/usr/local/texlive/2020basic/texmf-dist/tex/latex/geometry/geometry.sty > (/usr/local/texlive/2020basic/texmf-dist/tex/generic/iftex/ifvtex.sty > (/usr/local/texlive/2020basic/texmf-dist/tex/generic/iftex/iftex.sty))) > (/usr/local/texlive/2020basic/texmf-dist/tex/latex/hyperref/hyperref.sty > (/usr/local/texlive/2020basic/texmf-dist/tex/latex/pdftexcmds/pdftexcmds.sty > (/usr/local/texlive/2020basic/texmf-dist/tex/generic/infwarerr/infwarerr.sty)) > (/usr/local/texlive/2020basic/texmf-dist/tex/generic/kvdefinekeys/kvdefinekeys. > sty) > (/usr/local/texlive/2020basic/texmf-dist/tex/generic/pdfescape/pdfescape.sty) > (/usr/local/texlive/2020basic/texmf-dist/tex/latex/hycolor/hycolor.sty) > (/usr/local/texlive/2020basic/texmf-dist/tex/latex/letltxmacro/letltxmacro.sty) > (/usr/local/texlive/2020basic/texmf-dist/tex/latex/auxhook/auxhook.sty) > (/usr/local/texlive/2020basic/texmf-dist/tex/latex/hyperref/pd1enc.def) > (/usr/local/texlive/2020basic/texmf-dist/tex/generic/intcalc/intcalc.sty) > (/usr/local/texlive/2020basic/texmf-dist/tex/generic/etexcmds/etexcmds.sty) > (/usr/local/texlive/2020basic/texmf-dist/tex/latex/hyperref/puenc.def) > (/usr/local/texlive/2020basic/texmf-dist/tex/latex/url/url.sty) > (/usr/local/texlive/2020basic/texmf-dist/tex/generic/bitset/bitset.sty > (/usr/local/texlive/2020basic/texmf-dist/tex/generic/bigintcalc/bigintcalc.sty) > ) (/usr/local/texlive/2020basic/texmf-dist/tex/generic/atbegshi/atbegshi.sty)) > (/usr/local/texlive/2020basic/texmf-dist/tex/latex/hyperref/hpdftex.def > (/usr/local/texlive/2020basic/texmf-dist/tex/latex/atveryend/atveryend.sty) > (/usr/local/texlive/2020basic/texmf-dist/tex/latex/rerunfilecheck/rerunfilechec > k.sty > (/usr/local/texlive/2020basic/texmf-dist/tex/generic/uniquecounter/uniquecounte > r.sty))) > (/usr/local/texlive/2020basic/texmf-dist/tex/latex/oberdiek/hypcap.sty > ) (/usr/local/texlive/2020basic/texmf-dist/tex/latex/fontspec/fontspec.sty > (/usr/local/texlive/2020basic/texmf-dist/tex/latex/l3packages/xparse/xparse.sty > (/usr/local/texlive/2020basic/texmf-dist/tex/latex/l3kernel/expl3.sty > (/usr/local/texlive/2020basic/texmf-dist/tex/latex/l3backend/l3backend-pdfmode. > def))) > > ! Fatal Package fontspec Error: The fontspec package requires either XeTeX or > (fontspec) LuaTeX. > (fontspec) > (fontspec) You must change your typesetting engine to, > (fontspec) e.g., "xelatex" or "lualatex"instead of > (fontspec) "latex" or "pdflatex". > > Type <return> to continue. > ... > > l.45 \msg_fatal:nn {fontspec} {cannot-use-pdftex} > > > How do I specify language='ko' when I execute 'make latexpdf'? > Looks like I need to install xelatex or lualatex. Am I right? > Any guidance is welcome. > > -- > You received this message because you are subscribed to the Google Groups > "sphinx-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sphinx-users/a38f8bde-08fc-4b33-8043-5b531ffe1372%40googlegroups.com. -- You received this message because you are subscribed to the Google Groups "sphinx-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/sphinx-users/CAFmkQAMLcUcs%2B7hBmn61XXsjSW0RQt8AYgkXxuzdQ%3DZ%3Do6drCg%40mail.gmail.com.
