rgheck wrote: > > Conceptually, this is pretty straightforward, but can someone tell me if > this is the right place to implement these? LFUNs are implemented all over, > and I don't really understand the logic to what happens where.
my understanding is that when you don't need cursor position (which is i guess this case) lfun should be put into LyXFunc.cpp. > Unfortunately, this doesn't seem to answer the 4341 request, since I can't > get something like: > lyx -e pdf2 -x "branch-activate answers" FinalExam.lyx > to work. I.e., to activate the branch before export. Should it work? Or is > providing that sort of facility a separate issue? afaiu only one lfun command could be run from command line and --export is just transcribed into buffer-export lfun. but may be the trick with command-sequence lfun which firstly calls branch-activate and then buffer-export could help. pavel
