Maximum compile repetition for latexmk should always be 1.

Open
#987 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
cpp, latex
Domain
build-system

Research direction

Start by reproducing the issue in TeXstudio with latexmk as the default compiler and the -g parameter, then trace where compile repetitions are configured and invoked. Done means latexmk is called once while latexmk itself remains responsible for managing repetitions.

Written by the indexing model from the issue text.

Description

Environment
  • TeXstudio: Head
  • Qt: irrelevant
  • OS: debian linux
  • TeX distribution: texlive
Expected behavior

latexmk should always only be called once, since it manages repetitions by itself

Actual behavior

when adding "-g" as parameter, to force recompilation (because sometimes latexmk overlooks some dependencies) TexStudio will call latexmk 5 times (default max repetitions).

Even if without -g the additional calls are quickly done in background, they are unnecessary.

How to reproduce

Add -g to latexmk, set latexmk as default compiler. Compile and watch it being called over and over.

Shall I work a patch for that?

Dominant language
C++
Stars
3.6k
Forks
403
Avg merge
3h 14m
Merged PRs (30d)
12

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from texstudio-org/texstudio

All issues in texstudio-org/texstudio

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.