-extern int MakeDVIOutput(Buffer * buffer);
-extern bool MenuRunDvips(Buffer * buffer, bool wait);
+extern int MakeLaTeXOutput(Buffer * buffer);
+extern bool CreatePostscript(Buffer * buffer, bool wait);
// Whereas this feature is under the menu item File->Export->Custom,
// I kept the old name sendto in the code because I am lazy (JMarc)
// Whereas this feature is under the menu item File->Export->Custom,
// I kept the old name sendto in the code because I am lazy (JMarc)
fl_get_button(fd_form_sendto->radio_ftype_ps)) {
ProhibitInput();
// Generate dvi file and check if there are errors in the .lyx file
fl_get_button(fd_form_sendto->radio_ftype_ps)) {
ProhibitInput();
// Generate dvi file and check if there are errors in the .lyx file
if (fl_get_button(fd_form_sendto->radio_ftype_lyx))
buffer->writeFile(fname, true);
// if the .tex file is requested save it to the tempdir
if (fl_get_button(fd_form_sendto->radio_ftype_lyx))
buffer->writeFile(fname, true);
// if the .tex file is requested save it to the tempdir
if (fl_get_button(fd_form_sendto->radio_ftype_latex))
buffer->makeLaTeXFile(fname, path, false);
// create the .txt file in tmp_dir if this filetype is requested
if (fl_get_button(fd_form_sendto->radio_ftype_latex))
buffer->makeLaTeXFile(fname, path, false);
// create the .txt file in tmp_dir if this filetype is requested