Setting compiler options #3058
-
Hi everyone! Background: Thanks a lot in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
I used to execute Now I use magic comment (menu "LaTeX - Add magic comments..."; also called "advanced header" in the new manual) to specify the engine and options.
On macOS you may need #143 (comment). The disadvantage is that I have to repeat the default options TeXstudio supports subcommands argument modifiers, for example |
Beta Was this translation helpful? Give feedback.
-
Together with your hack from #3062 this is exactly what I had hoped for. P.S.: The magic comment was not recognised on my machine - but that's a problem for another day. |
Beta Was this translation helpful? Give feedback.
-
@TheComamba As corrected in #3061 (comment) by @octaeder, the right syntax should be
|
Beta Was this translation helpful? Give feedback.
I used to execute
-shell-escape
variants by adding a user command (Configure TeXstudio - "Build" tab - User commands) then add a new button linked to the automatically created menu "Tools - User - ". The disadvantage is that the button is hard-coded to an engine, for examplepdflatex
. Thus if I want to switch to another engine it seems I have to add another button.Now I use magic comment (menu "LaTeX - Add magic comments..."; also called "advanced header" in the new manual) to specify the engine and options.
On macOS you may need #143 (comment). The disadvantage is that I have to repeat the d…