Coder Social home page Coder Social logo

Comments (2)

lervag avatar lervag commented on June 12, 2024 1

Steps to reproduce

1. vimtex.vim config

let g:vimtex_compiler_latexmk_engines = {
      \ '_'                : '-xelatex',

FYI: I would recommend using the %! TeX program = xelatex to specify the latexmk engine instead of changing the default engine.

NOTES

  • if I change the engine to lualatex, the compilation works, EXCEPT if I am trying to use fontspec by adding alone the line \usepackage{fontspec} ; but maybe it is another problem, as I got an error message in the log contrary to the compilation error with xelatex.

You can check the actual latexmk output with \lo or :VimtexCompileOutput.

Looking around, I tried to get the error message from latexmk directly running latexmk -verbose -pdflatex='xelatex %O %S' -pdf tata.tex

Good work, that's exactly how you should proceed to investigate this! I'm glad to see you figured it out!

from vimtex.

Twix53791 avatar Twix53791 commented on June 12, 2024

Looking around, I tried to get the error message from latexmk directly running latexmk -verbose -pdflatex='xelatex %O %S' -pdf tata.tex

I got something like "I can't find the format file xelatex.fmt!" and looking around, I understand than in fact I missed a texlive package : texlive-xetex.

SOLUTION : install texlive-xetex (and texlive-luatex for lualatex engine...)

from vimtex.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.