Comments (4)
Note: -outdir=...
would also need to be added to the clean option.
from vimtex.
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.
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.
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)
- citekey autofill not working with \Volcite and \volcite when using correct biblatex syntax HOT 4
- zathura_simple on wayland not outputting pdf HOT 7
- Contents on Zathura are not recoganizable when doing forward search if the cursor stays on an equation environment HOT 1
- Disregard contents of "comment" environment HOT 6
- Errors E716 E116 when running :VimtexTocOpen in a file containing a \label HOT 3
- Item Option highlight group and concealing HOT 3
- How to replace deprecated option 'vimtex_view_general_options_latexmk'? HOT 4
- Setting Out Dir Using Funcref and Subfiles HOT 8
- Synctex doesn't work properly on Mac (Zathura or Skim) HOT 28
- VimTex not working when configured to load on "event = "BufEnter *.tex"" in Lazy.nvim HOT 1
- What is warnings.pm? HOT 2
- Use new synctex interactive mode to speed up synctex HOT 5
- Toggle to revert changes made in issue 2401 HOT 2
- Mainfile detection fails when \input is in enumerate environment HOT 4
- l:file not defined in function vimtex#compiler#compile_selected(type) HOT 4
- Setup text argument in user-defined command HOT 3
- Wrong TeXMathZone result from `vimtex#syntax#stack()` HOT 5
- Compilation failed when using xelatex HOT 2
- Compilation fail with option "-c" HOT 10
- Can't open .tex files... sort of? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vimtex.