Post

Google Summer of Code 2019: 'LaTeX Citations' tab

Hello! Since our last post, we have worked hard to carry out this second major update. The tool that allows you to search for citations in LaTeX files is ready, fully functional and integrated into the development version, in its latest version.

The code has been reviewed and modified to improve its performance and prevent possible errors. Regarding the user interface, we have added a tab to the entry editor, improved the aesthetics and renamed the tool to Search for Citations in LaTeX files.

Now we need your feedback! We will take it into account to keep improving this feature. Forum | GitHub | Gitter

LaTeX Citations tab

We added a new tab to the entry editor to search for citations to the active entry in the LaTeX file directory (it can be configured in the Library properties dialog). The new tab can be disabled in the preferences.

This is how it works:

'LaTeX Citations' tab

An improved back-end

  • Optimized parsing performance.
  • Non-existent nested files are skipped.
  • Better exception handling.

The new tab

  • A LaTeX Citations tab has been added to the entry editor.
  • This tab can be disabled in the Entry editor preferences.
  • A progress indicator appears while parsing.
  • Current search is cancelled if other entry is selected.
  • Parsed files are stored when the tool is run for the first time (better performance).
  • The current search path is shown at the bottom, next to a button to set the LaTeX file directory.
  • A user-friendly error logging and handling has also been implemented.

A custom user interface controller for listing citations

  • Citations list view is the same for dialog tool and tab.
  • Context of citations, instead of the whole line of text (which is shown as a tooltip).
  • Absolute file path has been changed into a relative one, from the search path.
  • New icons and styles for context, file path and position (line and column) of a citation.
This post is licensed under CC BY 4.0 by the author.