GithubHelp home page GithubHelp logo

Comments (4)

bchretien avatar bchretien commented on May 22, 2024

Note: -outdir=... would also need to be added to the clean option.

from vimtex.

lervag avatar lervag commented on May 22, 2024

Hi. I've never really considered projects that are structured like this. That is, at least there is typically a main.tex file in the root folder. I think everything should work as expected if you put your main file in the root directory.

I know that the build_dir option is not really that good right now. Really, it only enables reading the output file(s). At the moment, I think it is used in combination with a project specific .latexmkrc file, where you may specify all of this as desired.

I think that I could solve most of this issue by applying your commit (dce4722), and I will consider doing that. However, for the structural issue, I am not really sure how to solve that.

from vimtex.

kiritsuku avatar kiritsuku commented on May 22, 2024

Is the g:latex_build_dir variable supposed to work at all? I can't see that it is used anywhere in the project. I added let cmd .= ' -outdir=' . g:latex_build_dir to s:latexmk_set_cmd as the creator of this issue did in order to move the output to the correct directory. Would be nice if at least this line of code would be added to the repository.

from vimtex.

lervag avatar lervag commented on May 22, 2024

The g:latex_build_dir was previously used only to locate the output files for opening and parsing. That is, opening pdf files and parsing aux files. I've updated based on the suggested changes here, and I think the -output=g:latex_build_dir should now work as expected.

There might be an issue with spaces in the filenames, but I don't have the time to check that now. Please reopen or open a new issue if this is the case.

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.