Monday, October 17, 2016

Papeeria News, Oct 17: references completion

TL;DR: autocompletion suggests labels and bibliography references

LaTeX is very good at  referencing document elements and citing bilibography. If you want to reference a figure in your text, you just put \label tag in the figure and use \ref command to reference it. If you need to reference a biliography record, you use \cite command. Both \ref and \cite format a reference using chosen style,so that "see the results of comparison with Other Product \cite{competitors} in the table \ref{competitor-analysis}" converts to "see the results of comparison with Other Product [3] in the table 2".

Unfortunately it is easy to forget the id of a referenced element, and when  you need to type it in the \cite tag, you often would open a bibliography file to recall what id did you assign to a paper.

Papeeria will help you a little bit by suggesting the list of labels and bibliography records in autocompletion popup. They should show up automatically when cursor enters \ref or \cite tag, provided that the project has been previously compiled. We extract labels and bibliography records from the artifacts produced by TeX compiler so we need at least one compile cycle.


No comments:

Post a Comment