On 16/06/2011 7:28 AM, Trevor Jenkins wrote:
I don't have answer but a related question.

Occasionally I want to include a citation in a document that doesn't warrant
being added to my set of LaTeX .bib files. I can't figure out how I might to
that in LyX (other than hard coding the TeX stuff by hand).


As Richard said you would need ERT or at the very least preamble code. LaTeX provides a filecontents environment to produce external files. You could use that. See e.g.

http://tex.stackexchange.com/questions/20317/internal-bibliography-with-biblatex/20318#20318

(the question is about biblatex, but it doesn't matter)

So you would put

\begin{filecontents*}{extra_citation_not_worth_a_bib_file.bib}
<the bibtex code>
\end{filecontents*}

in the preamble and add extra_citation_not_worth_a_bib_file to the bibTeX inset in your LyX document.

Although if a citation is worth adding to a document in my opinion it is worth adding to a bib file.

As to your specific question I agree with Manolo Martinez the overhead of
including more than an *ad hoc* citation will result in your LyX file(s)
becoming bloated. You will probably save effort by using a dedicated
bilbiography management tool such as BibDesk or Jabref. Not least saving
time and face by only having the need to update a single copy of your entrie
rather than all of them in all LyX files.

On Thu, Jun 16, 2011 at 11:23 AM, Torquil Macdonald Sørensen<
torq...@gmail.com>  wrote:

Hi!

What is the simplest way of working with a LyX document involving
citations, without using a bibtex file for each LyX file? I want to be able
to use the LyX frontend to select citations from a list. Can this be done in
a way that does not involve a separate bibtex file?

Will LyX have a "self-contained" bibliography system sometime? I.e. one
where you both insert and retrieve citations within LyX, and it is all
stored in the *.lyx file.

Best regards
Torquil Sørensen






--
Julien

Reply via email to