When I want to cite something in BibTeX, I Google (for example) bibtex article and scour for pages with example templates filled out:
@article{article,
author = {Peter Adams},
title = {The title of the work},
journal = {The name of the journal},
year = 1993,
number = 2,
pages = {201-213},
month = 7,
note = {An optional note},
volume = 4
}
I then copy/paste it into Kile and delete the fields I don't need.
Surely Kile has a better way to do this built in. I tried LaTeX⟶Bibliography⟶Article in Journal but that pastes the following in my document:
@Article{,
author = {},
title = {},
journal = {},
year = {},
OPTkey = {},
OPTvolume = {},
OPTnumber = {},
OPTpages = {},
OPTmonth = {},
OPTnote = {},
OPTannote = {},
OPTurl = {},
OPTurldate = {},
OPTlastchecked = {},
OPTdoi = {},
OPTisbn = {},
OPTissn = {},
OPTlocalfile = {},
OPTabstract = {},
OPTkeywords = {},
}
which is close but different from what I am after.
Is there a way for Kile to write BibTeX citation templates like the ones linked above in my document?
snippet. The easiest way is probably to create the template you want in a document i.e. just how you'd like Kile to produce it. Then highlight it and go to Tools -> Create Snippet and configure as desired. You can also go to Tools -> Snippets to manage them without highlighting stuff, but I think it is easiest for a new snippet to set it out just how you'd like it in source so you know the format is the way you want it. – cfr May 06 '16 at 19:29templatein Kile's terms has to be for a new document, which I don't think is what you want here unless you have one.bibper entry ;). But asnippetshould work, I think. – cfr May 06 '16 at 20:40