On Thursday 27 June 2002 6:54 pm, Herbert Voss wrote: > Andre Poenitz wrote: > > On Thu, Jun 27, 2002 at 06:13:32PM +0100, Angus Leeming wrote: > >>\converter "lyxpreview" "xpm" "sh LYXDIR/lib/scripts/lyxpreview2xpm.sh > >> $$i $$o" "" > >> > >>where LYXDIR is ... > > > > Could we fix this somehow properly? > > > > What's the way to access LyX's "own converters" from lib/scripts? > > Path p(user_lyxdir); > Systemcall one; > one.startscript(Systemcall::Wait, > LibFileSearch("scripts", "lyxpreview2xpm.sh")); > p.pop(); > > > Herbert
No. André means \converter "lyxpreview" "xpm" "sh $$LYXLIBscripts/lyxpreview2xpm.sh and $$LYXLIB gets expanded automagically to one of /usr/local/share/lyx LYXSRC/lib I don't think it exists at the momement, but I'm sure it could be added... Angus