On 04/25/2013 02:37 PM, Csikos Bela wrote:
Richard Heck <[email protected]> írta:
Or is there a way I don't know of?>
Class options are automatically passed to packages, if the class does
not recognize them.
Thanks Richard. I haven't noticed your previous mail.
Provided that I let lyx load natbib with numeric citations, what should go
exactly in the class options line then? To achieve the same effect as when
natbib is loaded manually by
\usepackage[super,sort&compress]{natbib}
for example?
Put "super,sort&compress" into class options. Or add it to any others
you have.
From your previous message:
2. I have a document where all the citations, even those which
are neighbors, are inserted separately. This results in separate citations
in the output as well: (Smith et al., 1995)(Jones et al., 2003), which is
ugly. Is it possible to get a single output [like (Smith et al., 1995; Jones
et al., 2003)] without moving all neighboring citations into one group? It
would be really tedious work to group them now.
There's no way to do this within LyX itself. But it's easy to write a
script (perl, python, whatever) to process the LyX file and do it for you.
Yes, you're right. By the way, I did not mean if lyx can do it but whether
bibtex is able to merge neighboring citations, eg. by some option, but I guess
it can't do it.
No, bibtex can't do it, so far as I know. There are packages that have
similar behavior.
Richard