0

I want to run

  • txs:///latex | txs:///bibtex | txs:///latex | txs:///latex | txs:///dvipdf | txs:///dvips | txs:///view
  • txs:///pdflatex | txs:///bibtex | txs:///pdflatex | txs:///view
  • txs:///dvi-ps-pdf-chain
  • txs:///compile | txs:///view

depening on the file I am using. As far as I know there is no Magic Comment for that. But you can add a user command, how to compile in the preferences. I know there is a shortcut, but I don't know which shortcut.

  • the first one looks a bit odd, using dvips and dvipdf on the same file? – David Carlisle Mar 7 '18 at 18:33
  • 2
    You can add %!TeX program = ... at the top of your master file, where the ... are the compile options you listed above. Then this allows TXS to override your default compile options on a file-by-file basis. – Troy Mar 7 '18 at 19:43
1

As written in the manual you can call the shortcut with alt & shift & F%n. For example for user0:User Command 0 press alt & shift & F1.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.