-
Notifications
You must be signed in to change notification settings - Fork 407
Spurious curly brace in filename in ToC using subfiles #1543
Copy link
Copy link
Closed
Labels
Description
I'm using a main latex file with a number of subfiles using the subfiles package (so I can easily and quickly compile the different parts when I work on them). Recently (I'm sorry, can't say since which update of vimtex) when I call up the vimtex generated ToC, there is a spurious } in the file name...
% file: MWE_sub.tex
\documentclass{article}
\usepackage{subfiles}
\begin{document}
\subfile{sub.tex}
\end{document}% file: sub.tex
\documentclass[MWE_subfile]{subfiles}
\begin{document}
Subfiles!
\end{document}Calling VimtexTocOpen gives this:
<Esc>/q Close
<Space> Jump
<Enter> Jump and close
r Refresh
h Toggle help text
t Toggle sorted TODOs
-/+ Decrease/increase ToC depth (for content layer)
f/F Apply/clear filter
s Hide numbering
Layers: L label+
I include+
T todo+
C content+
L0 Preamble
L0 tex incl: sub.tex}.tex
Note the } in the sub.tex}.tex. So pressing Space or Enter opens a blank (new) file.
I'm running Vim 8.1.2340, latest vimtex on Windows.
Any ideas?
Reactions are currently unavailable