Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Root file detection in multiple entry project #926

Open
pfoerster opened this issue Sep 10, 2023 Discussed in #916 · 0 comments
Open

Root file detection in multiple entry project #926

pfoerster opened this issue Sep 10, 2023 Discussed in #916 · 0 comments

Comments

@pfoerster
Copy link
Member

Discussed in #916

Originally posted by OopsYao August 7, 2023
The support of multiple files is great, but it seems like that the detection algorithm is vague in terms of projects with multiple entries. E.g., we have two main files (like our article and beamer) sharing a common dependency (like a tikz diagram), in this case, how do I control which (or both) root file(s) to build / forward search when editing the dependency file?

In my opinion, a prompt (that can remember user's choice via project-scoped cache) or a project config file is fine. 👀

% main1.tex
\documentclass{article}

\begin{document}
Article.
\input{dep}
\end{document}
% main2.tex
\documentclass{beamer}

\begin{document}
Beamer.
\input{dep}
\end{document}
% dep.tex
A common dependency like a diagram.
```</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant