Citations and cross-references
Manulyx reads the bibliography and labels in your manuscript and offers them as you type. The References panel finds a paper by DOI, title or author, adds it to your .bib file and cites it in one step.
Your .bib files
- Citations come from the
.bibfiles in the stage you are working in. Upload a .bib file or create one like any other file; entries are picked up as you edit it. - The .bib file is your working copy. Edit, reformat or correct entries freely: Manulyx never overwrites an entry that is already there.
Citation suggestions
Type \cite{ and the citation keys in your .bib files are listed, each with its authors and year (for example Ata et al., 2022) and the title alongside. Keep typing to filter the list, and press Enter to insert the key.
- After a comma, the list opens again for the next key, so
\cite{smith2020,jones2021}is written without leaving the keyboard. - Suggestions appear in every citation command:
\cite,\citep,\citet,\citeauthor,\parencite,\textcite,\autocite,\footcite,\nociteand the othercitevariants, including starred forms and optional arguments. - At the foot of the list, Not here? Find a paper and add it: press Search references (or Ctrl+Space) to look for a paper that is not in your .bib file.
Cross-reference suggestions
Type \ref{ and the labels defined with \label{…} in the stage’s .tex files are listed. The same suggestions appear in \eqref, \autoref, \pageref, \nameref, \vref, \cref, \Cref, \cpageref and \labelcref.
The References panel
Open it from the References button in the editor toolbar while you write, or from the sidebar to browse your library alongside the manuscript. It is the same panel in both places.
- Search as you type. The box searches your reference library by DOI, title or author.
- Find a new paper. Press Enter or Search Crossref for this to search Crossref. Pasting a DOI looks it up directly.
- Add and cite in one click. Choosing a result saves it to your library, adds its entry to the project’s .bib file and inserts
\cite{key}at the cursor. A key already in the .bib is cited without being written again. - Your full library is under Reference library in the account menu.
Which .bib file is used
- New entries go into the file your manuscript names in
\bibliography{…}or\addbibresource{…}, including when that command sits in a file brought in with\inputor\include. The panel shows the file it writes to, and confirms each addition by naming it. - New entries are added at the top of the file, so the latest reference is the first one you see when you open it.
- If the manuscript names no .bib but writes its references as a
thebibliographylist of\bibitementries, the new reference is added to that list, in the order the paper cites it. The panel offers Put it in citation order when the list is out of order. - Otherwise, if the manuscript names no .bib, the first .bib in the project is used. If the project has none,
references.bibis created. In either case, add\bibliography{…}(or\addbibresource) naming that file to your manuscript so the citations resolve when it compiles.
Related help
- The writing assistant warns before you accept a suggestion that drops a citation or cites a key that is not in your .bib files.
- All help topics