texlipse icon indicating copy to clipboard operation
texlipse copied to clipboard

Outline not updated after change of document name

Open cypherfox opened this issue 6 years ago • 0 comments

Bug report

What is the current behavior?

After changing the name of the master document from document.tex to something more descriptive, both the Outline and the Full LaTeX Outline stopped being updated.

Right after changing the name of the file, clicking on an entry in the Outline would try to open the non-existing file document.tex. After closing and reopening both outlines they would work as expected in jumping into the right file, but at line numbers that are appropriate for the positions in the old file.

What is the expected or desired behavior?

After changing the name of the master document, both outline views should continue to work as normal with the new name of the file.

Please provide steps to reproduce:

  • Create a new TeXlipse project, using the default document names.
  • Add some structure to you document to make the working of the outline visible
  • change the name of the master document file from document.tex to something else.
  • change the settings of the TeXlipse configuration to match the name of the new master input file and the name of the output file (so that you get a mydoc.tex-> mydoc.pdf combination)
  • edit the structure of the new file by adding more sections/chapters.

Now check the contents of the outlines and try navigating using the elements of the outline tree.

Please describe your environment:

  • TeXlipse version: 2.0.2
  • Eclipse version: IDE for Java Devs, 2018-09 (4.9.0), Build id: 20180917-1800

Operating system:

  • [ ] Windows
  • [x] macOS
  • [ ] Linux

cypherfox avatar Feb 09 '19 09:02 cypherfox