From 9ab56b116219e34dc48f3e37f839849f42b8d898 Mon Sep 17 00:00:00 2001 From: Faustin Lammler Date: Thu, 3 Nov 2022 11:06:42 +0100 Subject: [PATCH] TeX root directive needs reloading after change See: https://github.com/lervag/vimtex/issues/2471 + typo --- doc/vimtex.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/doc/vimtex.txt b/doc/vimtex.txt index 6ba53f51df..f60e936b1a 100644 --- a/doc/vimtex.txt +++ b/doc/vimtex.txt @@ -382,6 +382,9 @@ TeX root directive~ As can be seen, the words "tex root" are recognized regardless of casing and the spaces are ignored. Also, both a colon and an equal sign can be used. + You need to reload (`:VimtexReload`) or restart whenever you change the tex + root directive. + Note: It is allowed to use a globbing pattern (see |wildcards|). If there are multiple matches, then VimTeX will ask for input when the buffer is opened. @@ -4902,7 +4905,7 @@ compilation like |vimtex-compiler-latexmk|, so the only relevant commands are `tectonic` cleans up intermediate files like `.aux` and log files by default. However, VimTeX's backend invoke it with the flags `--keep-logs` and `--keep-synctex` which enables us to see the errors on the quickfix and it -gives us synctex support. Therefor, by default, |(vimtex-clean)| +gives us synctex support. Therefore, by default, |(vimtex-clean)| and |:VimtexClean| clean these files. The compiler may be configured through the |g:vimtex_compiler_tectonic| option.