On Tue, Jun 17, 2003 at 01:09:47PM +0200, Charpentier Philippe wrote: > I would like to know if it is possible to define a viewer, a converter, > a custom_export_command or something else such that, with one click on a > menu entry, the two following things are done when the file DIR/file.lyx > is open in LyX: > > 1) DIR/file.lyx is exported in latex to DIR/file.tex > 2) a bash script is run on DIR/file.tex (i.e. with the complete path) > > For example, the script would manage the compilation process (diffrently > than LyX do it) in such a way that I would be able to use vtex without > crashing lyx.
Define a new 'Format' 'vtex' in your preferences. Define a viewer for this format. Define a converter 'LaTeX -> vtex' (basically the name of your script) Andre\ -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)