Richard Heck wrote:
Pavel Sanda wrote:
I think the idea here is that you're just setting it for each citation, and it remembers the last one in case you want to do it again.
thanks for confirmation. so we dont have the facillity to change citation
style globally, right?

No. Not via LyX. But you could probably do it with a sed script.

pity. would be a correct solution to make InsetCitation::get/setStyle
and add lfun-set-style-all-citation which will be just some dociterator
calling set style for each citation inset?

There's a way of just iterating over insets. I think this gets used in Buffer.cpp somewhere. Or maybe it's used in CopyAndPaste. I can't remember.

Uhh...yeah. That'd be InsetIterator. See the use at e.g. LyXFunc.cpp l. 1469. Then you can just check the inset code and call your new function, if you like.

rh

rh

Reply via email to