-
Notifications
You must be signed in to change notification settings - Fork 23
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
ref is not consistent with multiple files #41
Comments
Thanks for the bug report. The correct tex directive is The labels are found by reading the files that you have included and opened. There are two bugs here. One is that the Perhaps parsing the aux file might be a good idea. I will have to look into it. In the meantime, if you fancy having a crack, then feel free to submit a PR. |
Hi, Instead of importing the sections in
Now, since it uses the I've looked into |
It would be nice to see support for |
Hi,
I have encountered an issue with the autocompletion of ref and eqref.
suppose I have the following structure:
sections/
| section1.tex
| section2.tex
main.tex
section1.tex
section2.tex
main.tex
in this layout:
\ref{ at place1 and 2 just suggest the equations of their files, \ref{ at place3 suggests only the section labels.
Funny thing is:
When changing
% !TEX root = ../main.tex
to
%!TEX root = ../main.tex
place1 and 2 suggestions are just the sections, without even the eq: from the own file.
I think this is supposed to be a bug. Expected behaviour from my side would be that the space on the latex magic comments does not matter and everything from all files is included.
I don't know how its handled internally, but you could just parse the aux file of the main.tex for the newlables. There should be the complete list. (Caveat: does not work live, only after compilation)
Thanks in advance,
Flo
Edit:
similar Issues:
#11 , this would explaine the issue with the space if references are handled the same way, but I don't understand enough to explain the rest.
Edit2:
Atom: 1.6.1
Latexer: 0.3.0
The text was updated successfully, but these errors were encountered: