emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] preview embedded latex fragments error with my settings


From: stardiviner
Subject: Re: [O] preview embedded latex fragments error with my settings
Date: Tue, 27 Mar 2018 18:12:54 +0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0

After run command, got error output the following output:

(I'm trying to make those settings buffer-local and can be toggled by a minor mode, so this can be separate with default setting, and enabled when needed)


#+begin_src shell :eval no
latex /tmp/orgtexhCLnu9.tex
#+end_src

#+RESULTS:
: This is pdfTeX, Version 3.14159265-2.6-1.40.18 (TeX Live 2017/Arch Linux) (preloaded format=latex)
:  restricted \write18 enabled.
: entering extended mode
: (./orgtexRknCCm.tex
: LaTeX2e <2017-04-15>
: Babel <3.18> and hyphenation patterns for 84 language(s) loaded.
: (/usr/share/texmf-dist/tex/latex/base/article.cls
: Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
: (/usr/share/texmf-dist/tex/latex/base/size10.clo))
: (/usr/share/texmf-dist/tex/latex/graphics/color.sty
: (/usr/share/texmf-dist/tex/latex/graphics-cfg/color.cfg)
: (/usr/share/texmf-dist/tex/latex/graphics-def/dvips.def)
: (/usr/share/texmf-dist/tex/latex/graphics/dvipsnam.def))
: (/usr/share/texmf-dist/tex/latex/geometry/geometry.sty
: (/usr/share/texmf-dist/tex/latex/graphics/keyval.sty)
: (/usr/share/texmf-dist/tex/generic/oberdiek/ifpdf.sty)
: (/usr/share/texmf-dist/tex/generic/oberdiek/ifvtex.sty)
: (/usr/share/texmf-dist/tex/generic/ifxetex/ifxetex.sty))
: (/usr/share/texmf-dist/tex/latex/fancyhdr/fancyhdr.sty)
: (/usr/share/texmf-dist/tex/latex/fncychap/fncychap.sty)
: (/usr/share/texmf-dist/tex/latex/graphics/rotating.sty
: (/usr/share/texmf-dist/tex/latex/graphics/graphicx.sty
: (/usr/share/texmf-dist/tex/latex/graphics/graphics.sty
: (/usr/share/texmf-dist/tex/latex/graphics/trig.sty)
: (/usr/share/texmf-dist/tex/latex/graphics-cfg/graphics.cfg)))
: (/usr/share/texmf-dist/tex/latex/base/ifthen.sty))
: (/usr/share/texmf-dist/tex/latex/capt-of/capt-of.sty)
: (/usr/share/texmf-dist/tex/latex/amsfonts/amssymb.sty
: (/usr/share/texmf-dist/tex/latex/amsfonts/amsfonts.sty))
: (/usr/share/texmf-dist/tex/generic/ulem/ulem.sty)
: (/usr/share/texmf-dist/tex/latex/wrapfig/wrapfig.sty)
: (/usr/share/texmf-dist/tex/latex/oberdiek/grffile.sty
: (/usr/share/texmf-dist/tex/latex/oberdiek/kvoptions.sty
: (/usr/share/texmf-dist/tex/generic/oberdiek/ltxcmds.sty)
: (/usr/share/texmf-dist/tex/generic/oberdiek/kvsetkeys.sty
: (/usr/share/texmf-dist/tex/generic/oberdiek/infwarerr.sty)
: (/usr/share/texmf-dist/tex/generic/oberdiek/etexcmds.sty
: (/usr/share/texmf-dist/tex/generic/oberdiek/ifluatex.sty))))
: (/usr/share/texmf-dist/tex/generic/oberdiek/pdftexcmds.sty))
: (/usr/share/texmf-dist/tex/latex/booktabs/booktabs.sty)
: (/usr/share/texmf-dist/tex/latex/tools/tabularx.sty
: (/usr/share/texmf-dist/tex/latex/tools/array.sty))
: (/usr/share/texmf-dist/tex/latex/amsmath/amsmath.sty
: For additional information on amsmath, use the `?' option.
: (/usr/share/texmf-dist/tex/latex/amsmath/amstext.sty
: (/usr/share/texmf-dist/tex/latex/amsmath/amsgen.sty))
: (/usr/share/texmf-dist/tex/latex/amsmath/amsbsy.sty)
: (/usr/share/texmf-dist/tex/latex/amsmath/amsopn.sty))
: (/usr/share/texmf-dist/tex/latex/base/textcomp.sty
: (/usr/share/texmf-dist/tex/latex/base/ts1enc.def))
: (/usr/share/texmf-dist/tex/latex/tools/longtable.sty)
: (/usr/share/texmf-dist/tex/latex/float/float.sty)
: (/usr/share/texmf-dist/tex/xelatex/xunicode/xunicode.sty
:
: ! LaTeX Error: *** this package currently works only with XeTeX ***
:  You are not using XeTeX, so we are exiting cleanly!
:  Continuing may lead to 'unavailable font metrics' errors!
: .
:
: See the LaTeX manual or LaTeX Companion for explanation.
: Type  H <return>  for immediate help.
:  ...
:
: l.113 ...sname\relax\expandafter\notXeTeXformat\fi
:
: ?
: ) (/usr/share/texmf-dist/tex/latex/tools/indentfirst.sty)
: (/usr/share/texmf-dist/tex/latex/xcolor/xcolor.sty
: (/usr/share/texmf-dist/tex/latex/graphics-cfg/color.cfg))
: (/usr/share/texmf-dist/tex/latex/fontspec/fontspec.sty
: (/usr/share/texmf-dist/tex/latex/l3packages/xparse/xparse.sty
: (/usr/share/texmf-dist/tex/latex/l3kernel/expl3.sty
: (/usr/share/texmf-dist/tex/latex/l3kernel/expl3-code.tex)
: (/usr/share/texmf-dist/tex/latex/l3kernel/l3dvips.def)))
:
: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
: !
: ! Fatal fontspec error: "cannot-use-pdftex"
: !
: ! The fontspec package requires either XeTeX or LuaTeX.
: !
: ! You must change your typesetting engine to, e.g., "xelatex" or
: ! "lualatex"instead of "latex" or "pdflatex".
: !
: ! See the fontspec documentation for further information.
: !
: ! For immediate help type H <


After I change compile command to:

$ xelatex -8bit --shell-escape  -interaction=nonstopmode orgtexRknCCm.tex

I got error (too long, so I put it in attachment)

Attachment: orgtexRknCCm.log
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]