On 03/24/2010 03:05 PM, Charles de Miramon wrote:
rgheck wrote:
Feel free to grab Qt Designer and work on this. Or at least produce a
mock-up.
I found the CitationUi.ui file and opened it in Qt Designer. But before
playing with it, I was wondering about the possibility to have multiple
Citations.
The only use case is, if I understand it correctly, when you are using some
natbib style where you have \cite{Heck2007, HeckBis2007, Heck2009) to get
something like Heck, 2007, 2007a, 2009
You could also have \cite{Heck2007, Smith2008, Jones2009}. LaTeX can do
all kinds of neat tricks with multiple citations, e.g., that could turn
out as "[2-4]", using natbib numerical citations with the compress option.
If it is the case, then you could get rid of the multiple citations part of
the dialog. It would be possible only to insert one citation with an
optional prefix/postfix. And have a general option for the document in
the bibliographical pane (Concatenate Citations) which would during the latex
export concatenate Citation insets separated only by space into a \cite{a, b,
c}.
This is an interesting idea, though it might be quite difficult to
implement correctly, I think. The output routine tends to be kind of
SAX-like, rather than DOM-like, if you know what I mean. I.e., it goes
one thing at a time, without much knowledge of what came before or what
is coming next.
Anyway, we could talk about this on the list, but as someone who often
uses multiple citations, I like being able to see and manipulate them
all at once.
rh