latex2ps2 Glad Deschrijver GNU General Public License 1.7 latex2ps2 0 0 630 560 latex2ps @sourcefile.setText(@global(ARG1)) @typesetprogress.setVisible(false) @getdefaults.execute unnamed 11 6 Layout11 unnamed 0 6 Spacer4 Horizontal Expanding 150 0 changemode @Array.setValue(typesetArray,@global(modeOldItem),@typesetcommand.text) @Array.setValue(previewcommandArray,@global(modeOldItem),@previewcommand.text) @Array.setValue(bibtexArray,@global(modeOldItem),@bibtex.checked) @Array.setValue(makeindexArray,@global(modeOldItem),@makeindex.checked) @Array.setValue(deleteArray,@global(modeOldItem),@delete.checked) @Array.setValue(previewArray,@global(modeOldItem),@preview.checked) @Array.setValue(forcecontinueArray,@global(modeOldItem),@forcecontinue.checked) @Array.setValue(compressArray,@global(modeOldItem),@compress.checked) @Array.setValue(latexoptionsArray,@global(modeOldItem),@latexoptions.text) @Array.setValue(bibtexoptionsArray,@global(modeOldItem),@bibtexoptions.text) @Array.setValue(makeindexoptionsArray,@global(modeOldItem),@makeindexoptions.text) @Array.setValue(dvipsoptionsArray,@global(modeOldItem),@dvipsoptions.text) @Array.setValue(ps2pdfoptionsArray,@global(modeOldItem),@ps2pdfoptions.text) @typesetcommand.setText(@Array.value(typesetArray,@mode.currentItem)) @previewcommand.setText(@Array.value(previewcommandArray,@mode.currentItem)) @bibtex.setChecked(@Array.value(bibtexArray,@mode.currentItem)) @makeindex.setChecked(@Array.value(makeindexArray,@mode.currentItem)) @delete.setChecked(@Array.value(deleteArray,@mode.currentItem)) @preview.setChecked(@Array.value(previewArray,@mode.currentItem)) @forcecontinue.setChecked(@Array.value(forcecontinueArray,@mode.currentItem)) @compress.setChecked(@Array.value(compressArray,@mode.currentItem)) @latexoptions.setText(@Array.value(latexoptionsArray,@mode.currentItem)) @bibtexoptions.setText(@Array.value(bibtexoptionsArray,@mode.currentItem)) @makeindexoptions.setText(@Array.value(makeindexoptionsArray,@mode.currentItem)) @dvipsoptions.setText(@Array.value(dvipsoptionsArray,@mode.currentItem)) @ps2pdfoptions.setText(@Array.value(ps2pdfoptionsArray,@mode.currentItem)) @setGlobal(modeOldItem,@mode.currentItem) Label1 24 latex2ps getdefaults @bibtexcommand.setText(@readSetting("bibtexcommand","bibtex")) @makeindexcommand.setText(@readSetting("makeindexcommand","makeindex")) @dvipscommand.setText(@readSetting("dvipscommand","dvips")) @ps2pdfcommand.setText(@readSetting("ps2pdfcommand","ps2pdf")) @compresscommand.setText(@readSetting("compresscommand","bzip2")) @compressextension.setText(@readSetting("compressextension",".bz2")) @mode.setCurrentItem(@readSetting("mode",2)) @setGlobal(modeOldItem,@mode.currentItem) @Array.setValue(typesetArray,0,@readSetting("0typesetcommand","latex")) @Array.setValue(typesetArray,1,@readSetting("1typesetcommand","latex")) @Array.setValue(typesetArray,2,@readSetting("2typesetcommand","latex")) @Array.setValue(typesetArray,3,@readSetting("3typesetcommand","pdflatex")) @typesetcommand.setText(@Array.value(typesetArray,@mode.currentItem)) @Array.setValue(previewcommandArray,0,@readSetting("0previewcommand","kdvi")) @Array.setValue(previewcommandArray,1,@readSetting("1previewcommand","kghostview")) @Array.setValue(previewcommandArray,2,@readSetting("2previewcommand","kpdf")) @Array.setValue(previewcommandArray,3,@readSetting("3previewcommand","kpdf")) @previewcommand.setText(@Array.value(previewcommandArray,@mode.currentItem)) @Array.setValue(bibtexArray,0,@readSetting("0bibtex",false)) @Array.setValue(bibtexArray,1,@readSetting("1bibtex",false)) @Array.setValue(bibtexArray,2,@readSetting("2bibtex",false)) @Array.setValue(bibtexArray,3,@readSetting("3bibtex",false)) @bibtex.setChecked(@Array.value(bibtexArray,@mode.currentItem)) @bibtexoptions.setEnabled(@bibtex.checked) @Array.setValue(makeindexArray,0,@readSetting("0makeindex",false)) @Array.setValue(makeindexArray,1,@readSetting("1makeindex",false)) @Array.setValue(makeindexArray,2,@readSetting("2makeindex",false)) @Array.setValue(makeindexArray,3,@readSetting("3makeindex",false)) @makeindex.setChecked(@Array.value(makeindexArray,@mode.currentItem)) @makeindexoptions.setEnabled(@makeindex.checked) @Array.setValue(deleteArray,0,@readSetting("0delete",false)) @Array.setValue(deleteArray,1,@readSetting("1delete",true)) @Array.setValue(deleteArray,2,@readSetting("2delete",true)) @Array.setValue(deleteArray,3,@readSetting("3delete",true)) @delete.setChecked(@Array.value(deleteArray,@mode.currentItem)) @Array.setValue(previewArray,0,@readSetting("0preview",false)) @Array.setValue(previewArray,1,@readSetting("1preview",false)) @Array.setValue(previewArray,2,@readSetting("2preview",false)) @Array.setValue(previewArray,3,@readSetting("3preview",false)) @preview.setChecked(@Array.value(previewArray,@mode.currentItem)) @previewcommand.setEnabled(@preview.checked) @Array.setValue(forcecontinueArray,0,@readSetting("0forcecontinue",false)) @Array.setValue(forcecontinueArray,1,@readSetting("1forcecontinue",true)) @Array.setValue(forcecontinueArray,2,@readSetting("2forcecontinue",true)) @Array.setValue(forcecontinueArray,3,@readSetting("3forcecontinue",true)) @forcecontinue.setChecked(@Array.value(forcecontinueArray,@mode.currentItem)) @Array.setValue(compressArray,0,@readSetting("0compress",false)) @Array.setValue(compressArray,1,@readSetting("1compress",false)) @Array.setValue(compressArray,2,@readSetting("2compress",false)) @Array.setValue(compressArray,3,@readSetting("3compress",false)) @compress.setChecked(@Array.value(compressArray,@mode.currentItem)) @Array.setValue(latexoptionsArray,0,@readSetting("0latexoptions","-halt-on-error")) @Array.setValue(latexoptionsArray,1,@readSetting("1latexoptions","-interaction nonstopmode")) @Array.setValue(latexoptionsArray,2,@readSetting("2latexoptions","-interaction nonstopmode")) @Array.setValue(latexoptionsArray,3,@readSetting("3latexoptions","-interaction nonstopmode")) @latexoptions.setText(@Array.value(latexoptionsArray,@mode.currentItem)) @Array.setValue(bibtexoptionsArray,0,@readSetting("0bibtexoptions","")) @Array.setValue(bibtexoptionsArray,1,@readSetting("1bibtexoptions","")) @Array.setValue(bibtexoptionsArray,2,@readSetting("2bibtexoptions","")) @Array.setValue(bibtexoptionsArray,3,@readSetting("3bibtexoptions","")) @bibtexoptions.setText(@Array.value(bibtexoptionsArray,@mode.currentItem)) @Array.setValue(makeindexoptionsArray,0,@readSetting("0makeindexoptions","")) @Array.setValue(makeindexoptionsArray,1,@readSetting("1makeindexoptions","")) @Array.setValue(makeindexoptionsArray,2,@readSetting("2makeindexoptions","")) @Array.setValue(makeindexoptionsArray,3,@readSetting("3makeindexoptions","")) @makeindexoptions.setText(@Array.value(makeindexoptionsArray,@mode.currentItem)) @Array.setValue(dvipsoptionsArray,0,@readSetting("0dvipsoptions","")) @Array.setValue(dvipsoptionsArray,1,@readSetting("1dvipsoptions","")) @Array.setValue(dvipsoptionsArray,2,@readSetting("2dvipsoptions","-Ppdf -G0 -ta4")) @Array.setValue(dvipsoptionsArray,3,@readSetting("3dvipsoptions","")) @dvipsoptions.setText(@Array.value(dvipsoptionsArray,@mode.currentItem)) @Array.setValue(ps2pdfoptionsArray,0,@readSetting("0ps2pdfoptions","")) @Array.setValue(ps2pdfoptionsArray,1,@readSetting("1ps2pdfoptions","")) @Array.setValue(ps2pdfoptionsArray,2,@readSetting("2ps2pdfoptions","-dPDFSETTINGS=/prepress")) @Array.setValue(ps2pdfoptionsArray,3,@readSetting("3ps2pdfoptions","")) @ps2pdfoptions.setText(@Array.value(ps2pdfoptionsArray,@mode.currentItem)) Spacer4_2 Horizontal Expanding 150 0 TabWidget2 tab T&ypeset unnamed 11 6 Layout12 unnamed 0 6 Layout7 unnamed 3 6 Label_T0 TeX/LaTeX source file: sourcefile true Select *.tex *.TEX Layout17 unnamed 3 6 Label_T1 Typesetting mode: LaTeX -> DVI LaTeX -> PS LaTeX -> PS -> PDF LaTeX -> PDF mode Spacer20 Horizontal Expanding 240 0 Layout24 unnamed 3 8 previewcommand Select Give the path to the program which will be used to preview the output file produced by the current typesetting mode. If the executable is in your $PATH, then you don't have to specify the full path. typesetcommand Select Give the path to the TeX/LaTeX executable which will be used for typesetting. If the executable is in your $PATH, then you don't have to specify the full path. Label_T2 Use command for typesetting: Give the path to the TeX/LaTeX executable which will be used for typesetting. If the executable is in your $PATH, then you don't have to specify the full path. Label_T3 Preview command: Give the path to the program which will be used to preview the output file produced by the current typesetting mode. If the executable is in your $PATH, then you don't have to specify the full path. Layout23 unnamed 3 8 preview &Preview Select this option if you want to preview the output file generated by this program. bibtex Use &BibTeX Select this option if you use BibTeX in your LaTeX document. forcecontinue Co&ntinue if errors Force to continue the typesetting process when errors are encountered. makeindex Use Make&Index Select this option if you use MakeIndex in your LaTeX document. compress Co&mpress Select this option if you want to compress the output file generated by this program. delete Delete au&xiliary files Delete auxiliary files produced by TeX/LaTeX (such as .aux, .log, ...) Warning: if the BibTeX option is selected, then also the .bbl file will be deleted. Similarly, if the MakeIndex option is selected, then the .ind file will be deleted. Layout19 unnamed 3 6 Label_T6 MakeIndex options: Specify the options which should be passed to MakeIndex. E.g. if you enter "-s indexstyle.ist", then "makeindex -s indexstyle.ist" will be run. latexoptions Specify the options which should be passed to TeX/LaTeX. E.g. if you enter "-fmt=amstex", then "latex -fmt=amstex" will be run. makeindexoptions Specify the options which should be passed to MakeIndex. E.g. if you enter "-s indexstyle.ist", then "makeindex -s indexstyle.ist" will be run. Label_T5 BibTeX options: Specify the options which should be passed to BibTeX. E.g. if you enter "-min-crossrefs=2", then "bibtex -min-crossrefs=2" will be run. bibtexoptions Specify the options which should be passed to BibTeX. E.g. if you enter "-min-crossrefs=2", then "bibtex -min-crossrefs=2" will be run. ps2pdfoptions Specify the options which should be passed to ps2pdf. E.g. if you enter "-dPDFSETTINGS=/prepress", then "ps2pdf -dPDFSETTINGS=/prepress" will be run. Label_T7 dvips options: Specify the options which should be passed to dvips. E.g. if you enter "-ta4", then "dvips -ta4" will be run. dvipsoptions Specify the options which should be passed to dvips. E.g. if you enter "-ta4", then "dvips -ta4" will be run. Label_T8 ps2pdf options: Specify the options which should be passed to ps2pdf. E.g. if you enter "-dPDFSETTINGS=/prepress", then "ps2pdf -dPDFSETTINGS=/prepress" will be run. Label_T4 LaTeX options: Specify the options which should be passed to TeX/LaTeX. E.g. if you enter "-fmt=amstex", then "latex -fmt=amstex" will be run. tab &Paths unnamed 11 6 Layout9 unnamed 3 8 Spacer1 Horizontal Expanding 260 0 ps2pdfcommand Select Give the path to the ps2pdf executable which will be used to produce the Portable Document Format (PDF) output file. If the executable is in your $PATH, then you don't have to specify the full path. Label_P1 BibTeX command: Give the path to the BibTeX executable. If the executable is in your $PATH, then you don't have to specify the full path. makeindexcommand Select Give the path to the MakeIndex executable. If the executable is in your $PATH, then you don't have to specify the full path. Label_P4 dvips command: Give the path to the dvips executable which will be used to produce the Postscript (PS) output file. If the executable is in your $PATH, then you don't have to specify the full path. Label_P6 Compress command: Give the path to the program which will be used to compress the output file. If the executable is in your $PATH, then you don't have to specify the full path. bibtexcommand Select Give the path to the BibTeX executable. If the executable is in your $PATH, then you don't have to specify the full path. compresscommand Select Give the path to the program which will be used to compress the output file. If the executable is in your $PATH, then you don't have to specify the full path. Label_P5 ps2pdf command: Give the path to the ps2pdf executable which will be used to produce the Portable Document Format (PDF) output file. If the executable is in your $PATH, then you don't have to specify the full path. compressextension Specify the additional extension that files receive when compressed. E.g. bzip2 adds the extension ".bz2". Label_P2 MakeIndex command: Give the path to the MakeIndex executable. If the executable is in your $PATH, then you don't have to specify the full path. Label_P7 Compress extension: Specify the additional extension that files receive when compressed. E.g. bzip2 adds the extension ".bz2". dvipscommand Select Give the path to the dvips executable which will be used to produce the Postscript (PS) output file. If the executable is in your $PATH, then you don't have to specify the full path. Spacer7 Vertical Expanding 0 170 tab LaTeX &Output unnamed 11 6 latexoutput Luxi Mono if test -z "@sourcefile.text" then kdialog --msgbox "No TeX/LaTeX source file given." exit 1 else filebasename=`echo "@sourcefile.text" | sed -e "s/\.[^\.]*$//"` fileextension=`echo "@sourcefile.text" | sed -e "s/.*\.//g"` fi path=`echo $filebasename | sed -e "s/[^\/]*$//g"` filebasename=`echo $filebasename | sed -e "s/.*\///g"` if test ! "$path" = "" then cd "$path" fi dcop @dcopid KommanderIf setText typesetprogress 0 dcop @dcopid KommanderIf setVisible typesetprogress true dcop @dcopid KommanderIf setText typesetstatus "Running LaTeX..." @typesetcommand.text @latexoptions.text "${filebasename}.${fileextension}" typesetsuccess=$? dcop @dcopid KommanderIf setText typesetprogress 30 if test $typesetsuccess -ne 0 then kdialog --error "Errors while typesetting." @if(!@forcecontinue.checked) dcop @dcopid KommanderIf setVisible typesetprogress false dcop @dcopid KommanderIf setText typesetstatus "Typesetting not successful!" exit 1 @endif fi @if(@bibtex.checked) { dcop @dcopid KommanderIf setText typesetstatus "Running BibTeX..." @bibtexcommand.text @bibtexoptions.text "${filebasename}.aux" @typesetcommand.text @latexoptions.text "${filebasename}.${fileextension}" } @endif dcop @dcopid KommanderIf setText typesetprogress 40 @if(@makeindex.checked) { dcop @dcopid KommanderIf setText typesetstatus "Running MakeIndex..." @makeindexcommand.text @makeindexoptions.text "${filebasename}.idx" } @endif dcop @dcopid KommanderIf setText typesetprogress 50 dcop @dcopid KommanderIf setText typesetstatus "Running LaTeX..." @typesetcommand.text @latexoptions.text "${filebasename}.${fileextension}" dcop @dcopid KommanderIf setText typesetprogress 80 @if(@mode.currentItem==1 or @mode.currentItem==2) echo \"Running dvips...\" dcop @dcopid KommanderIf setText typesetstatus "Running dvips..." @dvipscommand.text @dvipsoptions.text "${filebasename}.dvi" -o "${filebasename}.ps" @endif dcop @dcopid KommanderIf setText typesetprogress 90 @if(@mode.currentItem==2) echo \"Running ps2pdf...\" dcop @dcopid KommanderIf setText typesetstatus "Running ps2pdf..." @ps2pdfcommand.text @ps2pdfoptions.text "${filebasename}.ps" @endif dcop @dcopid KommanderIf setText typesetprogress 95 @if(@delete.checked) { echo \"Deleting auxiliary files...\" dcop @dcopid KommanderIf setText typesetstatus "Deleting auxiliary files..." rm "${filebasename}.aux" 2>/dev/null rm "${filebasename}.log" 2>/dev/null rm "${filebasename}.toc" 2>/dev/null rm "${filebasename}.lof" 2>/dev/null rm "${filebasename}.lot" 2>/dev/null rm "${filebasename}.blg" 2>/dev/null rm "${filebasename}.idx" 2>/dev/null rm "${filebasename}.ilg" 2>/dev/null @switch(@mode.currentItem) @case(1) rm "${filebasename}.dvi" 2>/dev/null @case(2) rm "${filebasename}.dvi" "${filebasename}.ps" 2>/dev/null @end } @endif @if(@bibtex.checked and @delete.checked) rm "${filebasename}.bbl" 2>/dev/null @endif @if(@makeindex.checked and @delete.checked) rm "${filebasename}.ind" 2>/dev/null @endif addextension="" @if(@compress.checked) echo \"Compressing...\" dcop @dcopid KommanderIf setText typesetstatus "Compressing..." @switch(@mode.currentItem) @case(0) rm "${filebasename}.dvi@compressextension.text" 2>/dev/null @compresscommand.text "${filebasename}.dvi" @case(1) rm "${filebasename}.ps@compressextension.text" 2>/dev/null @compresscommand.text "${filebasename}.ps" @case(*) rm "${filebasename}.pdf@compressextension.text" 2>/dev/null @compresscommand.text "${filebasename}.pdf" @end addextension="@compressextension.text" @endif dcop @dcopid KommanderIf setText typesetprogress 100 echo "Done." dcop @dcopid KommanderIf setText typesetstatus "Typesetting successful!" dcop @dcopid KommanderIf setVisible typesetprogress false @if(@preview.checked) @switch(@mode.currentItem) @case(0) @previewcommand.text "${filebasename}.dvi${addextension}" @case(1) @previewcommand.text "${filebasename}.ps${addextension}" @case(*) @previewcommand.text "${filebasename}.pdf${addextension}" @end @endif In this box the messages produced by TeX/LaTeX, BibTeX and MakeIndex will be shown when typesetting. tab &About unnamed 11 6 TextBrowser7 <p>latex2ps v1.7 (Kommander Script)<br />Copyright (C) 2006 Glad Deschrijver &lt;Glad.Deschrijver(at)UGent.be&gt; 2006-12-12, 2007-01-10</p><p>This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.</p><p>This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.</p> Layout15 unnamed 0 6 ExecButton3 &Save Defaults @writeSetting("bibtexcommand", "@bibtexcommand.text") @writeSetting("makeindexcommand", "@makeindexcommand.text") @writeSetting("dvipscommand","@dvipscommand.text") @writeSetting("ps2pdfcommand","@ps2pdfcommand.text") @writeSetting("compresscommand","@compresscommand.text") @writeSetting("compressextension","@compressextension.text") @writeSetting("mode",@mode.currentItem) @Array.setValue(typesetArray,@mode.currentItem,@typesetcommand.text) @writeSetting("0typesetcommand",@Array.value(typesetArray,0)) @writeSetting("1typesetcommand",@Array.value(typesetArray,1)) @writeSetting("2typesetcommand",@Array.value(typesetArray,2)) @writeSetting("3typesetcommand",@Array.value(typesetArray,3)) @Array.setValue(previewcommandArray,@mode.currentItem,@previewcommand.text) @writeSetting("0previewcommand",@Array.value(previewcommandArray,0)) @writeSetting("1previewcommand",@Array.value(previewcommandArray,1)) @writeSetting("2previewcommand",@Array.value(previewcommandArray,2)) @writeSetting("3previewcommand",@Array.value(previewcommandArray,3)) @Array.setValue(bibtexArray,@mode.currentItem,@bibtex.checked) @writeSetting("0bibtex",@Array.value(bibtexArray,0)) @writeSetting("1bibtex",@Array.value(bibtexArray,1)) @writeSetting("2bibtex",@Array.value(bibtexArray,2)) @writeSetting("3bibtex",@Array.value(bibtexArray,3)) @Array.setValue(makeindexArray,@mode.currentItem,@makeindex.checked) @writeSetting("0makeindex",@Array.value(makeindexArray,0)) @writeSetting("1makeindex",@Array.value(makeindexArray,1)) @writeSetting("2makeindex",@Array.value(makeindexArray,2)) @writeSetting("3makeindex",@Array.value(makeindexArray,3)) @Array.setValue(deleteArray,@mode.currentItem,@delete.checked) @writeSetting("0delete",@Array.value(deleteArray,0)) @writeSetting("1delete",@Array.value(deleteArray,1)) @writeSetting("2delete",@Array.value(deleteArray,2)) @writeSetting("3delete",@Array.value(deleteArray,3)) @Array.setValue(previewArray,@mode.currentItem,@preview.checked) @writeSetting("0preview",@Array.value(previewArray,0)) @writeSetting("1preview",@Array.value(previewArray,1)) @writeSetting("2preview",@Array.value(previewArray,2)) @writeSetting("3preview",@Array.value(previewArray,3)) @Array.setValue(forcecontinueArray,@mode.currentItem,@forcecontinue.checked) @writeSetting("0forcecontinue",@Array.value(forcecontinueArray,0)) @writeSetting("1forcecontinue",@Array.value(forcecontinueArray,1)) @writeSetting("2forcecontinue",@Array.value(forcecontinueArray,2)) @writeSetting("3forcecontinue",@Array.value(forcecontinueArray,3)) @Array.setValue(compressArray,@mode.currentItem,@compress.checked) @writeSetting("0compress",@Array.value(compressArray,0)) @writeSetting("1compress",@Array.value(compressArray,1)) @writeSetting("2compress",@Array.value(compressArray,2)) @writeSetting("3compress",@Array.value(compressArray,3)) @Array.setValue(latexoptionsArray,@mode.currentItem,@latexoptions.text) @writeSetting("0latexoptions",@Array.value(latexoptionsArray,0)) @writeSetting("1latexoptions",@Array.value(latexoptionsArray,1)) @writeSetting("2latexoptions",@Array.value(latexoptionsArray,2)) @writeSetting("3latexoptions",@Array.value(latexoptionsArray,3)) @Array.setValue(bibtexoptionsArray,@mode.currentItem,@bibtexoptions.text) @writeSetting("0bibtexoptions",@Array.value(bibtexoptionsArray,0)) @writeSetting("1bibtexoptions",@Array.value(bibtexoptionsArray,1)) @writeSetting("2bibtexoptions",@Array.value(bibtexoptionsArray,2)) @writeSetting("3bibtexoptions",@Array.value(bibtexoptionsArray,3)) @Array.setValue(makeindexoptionsArray,@mode.currentItem,@makeindexoptions.text) @writeSetting("0makeindexoptions",@Array.value(makeindexoptionsArray,0)) @writeSetting("1makeindexoptions",@Array.value(makeindexoptionsArray,1)) @writeSetting("2makeindexoptions",@Array.value(makeindexoptionsArray,2)) @writeSetting("3makeindexoptions",@Array.value(makeindexoptionsArray,3)) @Array.setValue(dvipsoptionsArray,@mode.currentItem,@dvipsoptions.text) @writeSetting("0dvipsoptions",@Array.value(dvipsoptionsArray,0)) @writeSetting("1dvipsoptions",@Array.value(dvipsoptionsArray,1)) @writeSetting("2dvipsoptions",@Array.value(dvipsoptionsArray,2)) @writeSetting("3dvipsoptions",@Array.value(dvipsoptionsArray,3)) @Array.setValue(ps2pdfoptionsArray,@mode.currentItem,@ps2pdfoptions.text) @writeSetting("0ps2pdfoptions",@Array.value(ps2pdfoptionsArray,0)) @writeSetting("1ps2pdfoptions",@Array.value(ps2pdfoptionsArray,1)) @writeSetting("2ps2pdfoptions",@Array.value(ps2pdfoptionsArray,2)) @writeSetting("3ps2pdfoptions",@Array.value(ps2pdfoptionsArray,3)) Save the current settings as default. ExecButton2 &Defaults @getdefaults.execute Replace the current options by the saved defaults. Spacer2 Horizontal Expanding 525 0 ExecButton1 &Typeset @latexoutput.clear @latexoutput.execute CloseButton1 &Close Layout10 unnamed 0 6 typesetstatus typesetprogress 0 0 0 0 makeindex toggled(bool) makeindexoptions setEnabled(bool) preview toggled(bool) previewcommand setEnabled(bool) mode widgetTextChanged(const QString&) changemode execute() bibtex toggled(bool) bibtexoptions setEnabled(bool)