I just noticed that batch export to _Text_ is already possible without Gui and Xvfb black magic. The patch is not nice but really tiny so I'd propose inclusion in the CVS tree. ----------------------- snip --------------------- Index: lyx_main.C =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/lyx_main.C,v retrieving revision 1.50 diff -u -r1.50 lyx_main.C --- lyx_main.C 2000/09/26 13:54:53 1.50 +++ lyx_main.C 2000/09/27 11:09:55 @@ -740,6 +740,8 @@ else if (arg == "-e" || arg == "--export") { if (i + 1 < *argc) { string type(argv[i+1]); + if (type == "txt") + gui = false; removeargs = 2; batch_command = "buffer-export " + type; } else ----------------------- snip --------------------- Note that using \use_gui from lyxrc does not help since the Gui is already initialized before lyxrc is read. Andre' PS: I am pretty sure this was not possible a while ago, so I guess the clean up resulting from the work on the Exporter and maybe on GUII did help here. Good work, Guys! The more important batch export to LaTeX still does not work but from a first glance after months I'd say we progress without explicitly working on it ;-) -- Andre' Poenitz ........................................ [EMAIL PROTECTED]