Open octaeder opened 3 weeks ago
What do you meant "hidden files", .aux
files? Or sub files loaded by the root one?
txs scans the document tree (included files) beginning from the root (depending on options set). The root is an open file, maybe you have opened other included files. All other files are opened by txs as hidden files. You can open a list of opened files as well as a list of hidden files:
How to reproduce
@octaeder BTW, when you want to provide an example of a main file and one or several subfiles, you can do that as a self content file thanks to the filecontents
environment:
\begin{filecontents}[overwrite]{a1.tex}
\section{root inline}\label{sec:root-inline}
$\sqrt{2}$
\end{filecontents}
\documentclass{article}
\begin{document}
\input{a1}
$\sqrt{2}$\ref{sec:root-inline}
\end{document}
@dbitouze Nice feature, but obviously this is one file for txs and hence there is no hidden file.
I think this is fixed with yesterdays commits
Environment
Expected behavior
After replacing labels in hidden files these files should be saved when compiling or using
save all
Actual behavior
When I open a root document with a label and use
Find Usages
(context menu) the search results can be changed by using Replace all. This can affect hidden files. In this case the changed label there will not take effect because compiling will not save the hidden file. Also usingSave All
will not save it. Thus latex will throw missing label messages.How to reproduce
root:
a1.tex: