Menu

#901 Declare user command as building command

None
works-for-me
nobody
None
1
2016-08-31
2014-02-06
Anonymous
No

I work with a dedicated compilation structure that is written down in a bash script. So instead of trying to get everything into TeXstudios meta commands, I just create a user command 'sh makescript.sh %' and call that. This leaves my installation clean and universal for smaller ordinary tasks.
The problem: TeXstudio does not recognize my command as build command and therefore does not update the log file and error tracking. The behaviour is similar to: http://sourceforge.net/p/texstudio/bugs/695

I wish there was a way to tell TeXstudio if a command is a building one. Or to have a meta command, which does what the 'View Log' menu does so we could add this one into the user command list.

Thanks!

Discussion

  • Benito van der Zander

    • status: open --> works-for-me
    • Group: -->
     
  • Benito van der Zander

    I just create a user command 'sh makescript.sh %' and call that.

    If you use the "compile" command for that, it should work

    I wish there was a way to tell TeXstudio if a command is a building one.

    You can set that in the texstudio.ini files with the Tools/Kind/LaTeX option

    Or to have a meta command, which does what the 'View Log' menu does so we could add this one into the user command list.

    Try txs:///view-log

     
  • monoceros84

    monoceros84 - 2014-02-07

    Thank you for those three suggestions.

    If you use the "compile" command for that, it should work

    I didn't want to do that in order to keep TeXstudio running as usual for other smaller documents.

    You can set that in the texstudio.ini files with the Tools/Kind/LaTeX option

    This didn't work for me. I prob. used it wrongly. I have just added 'sh' to this list and restarted TeXstudio. Still the same behaviour.

    Try txs:///view-log

    Thank you! This was working!

    Are there other tasks TeXstudio does (and I should add to my user command) when it recognizes a command as a compiling one?

     
  • Benito van der Zander

    This didn't work for me. I prob. used it wrongly. I have just added 'sh' to this list and restarted TeXstudio. Still the same behaviour.

    It wants the name of the command. e.g. "user0"

    Are there other tasks TeXstudio does (and I should add to my user command) when it recognizes a command as a compiling one?

    It calls bibtex. (txs:///conditionally-recompile-bibliography)

    And disables the pdf reload on file changed during the compilation (that can only be set in the ini)

     
  • monoceros84

    monoceros84 - 2014-02-08

    Ok, thank you very much for your help!

     

Log in to post a comment.

MongoDB Logo MongoDB