# Using the Publication Assistant with TeX

The Publication Assistant works with many common TeX editors:

LEd

LyX

Configuring Citavi for Your TeX Editor

1.On the Tools menu, click Options.

2.On the General tab, make sure the TeX support checkbox is selected.

3.In the Publication Assistant section of the General tab, set your TeX editor as the default word processor.

4.If necessary, change the Cite and Quote commands and the New line character to the ones used by your TeX package.

5.Click the Browse to select your LaTeX project folder.

Using the Publication Assistant with TeX

The Publication Assistant is a floating window that shows you a compact view of the contents of your Citavi project while you write your paper. By double-clicking you can directly insert a placeholder for a citation, a complete quotation and its placeholder, or a thought into your document. To use the Publication Assistant with TeX, make sure that the settings under Tools > Options > General > Publication Assistant are correct.

If you insert an image quotation from Citavi into the TeX file, an images subfolder will automatically be created in the LaTeX project folder. The LaTeX project folder must be defined in the options so that the subfolder will be created correctly. The image file will be named according to the legend.

1.Open the Citavi project.

2.To open the Publication Assistant, on the Citation menu, click Publication Assistant (or press F7). If you want the Publication Assistant to stay on top of other windows, click Float in the toolbar.

3.Switch to your TeX editor and place the insertion point where you want to insert the citation, quotation, or thought.

4.In the Publication Assistant, select the reference, quotation, or thought you want to cite or insert.

5.On the toolbar, click Insert in [your TeX editor] (the name of the button will match your selection in the Options, see above) and click Insert in [your TeX editor] with \cite (or Insert in [your TeX editor] as footnote with \cite) to insert the citation, quotation, or thought into the text or footnote, respectively, including the corresponding BibTeX key.

6.When you are finished writing, save the TeX file so that Citavi can scan it for BibTeX keys and create a matching BibTeX file so you can format the final publication.