From: Frederic G. <fre...@ep...> - 2000-10-06 06:53:42
|
> open(LYX,">> ".$ConfArray{"LYXPIPE"}) || die "Could not open >> LyX pipe > at\ > ".$ConfArray{"LYXPIPE"}; > > print LYX "LYXCMD:echo:citation-insert ".$Lol[$idx[$i]][$CITEID]."\n"; You have to send a greeting first, something like LYXSRV:pyblio:hello > pybliographic, the problems I am having with it vis a vis export > of bibtex format, is something well beyond me. Pybliographic > can pass the incorrect ID format to lyx, which then needs to be > altered to the correct bibtex format by hand. A citation entry of > [AVK+98] does NOT work with lyx and a bibtex reference database - > the format instead needs to be [Allain98]. This needs to be done > by hand, though for the life of me I cannot see why this should > be the case...I have tried to find a way to change ALL the entries > in my pybliographic database to fit the correct [Allain98] model > but can't see a way to do this other than manually editing each > and every entry - there are 1000 in the database I am using - > and that is NEVER going to happen. Am I missing something? I don't understand your problem with keys like AVK+99... This is an identifier, independant of what the actual reference will _look like_. And I can use them in LyX with no change. If you really want to convert the keys, there is always the possibility of writing a pybliographer script, but for the moment, I just can't see the reason you would need that. Frédéric |