sillsdev / sillsdev/ptx2pdf

Enhancement: Have some visual feedback if any tracing is turned on

Open
#816 4 comments 0 reactions 1 assignee View on GitHub

Nobody has claimed this yet.

enhancement onPriorityList
Dominant language
Python
Stars
33
Forks
15
PR merge metrics
No merged PRs in 30d

Description

It is all too easy to accidentally leave some \tracing{codes} left on in a .tex file and then wonder why PTXprint is working so slowly. So I would like there to be some indication in the UI that warns a user that it may run slower than expected due to tracing being on.

A few ideas on how to do this:
a) Color the Advanced tab label red instead of blue
b) Use a different color (like peach/orange) on the Print button (instead of the green)
c) Issue a status bar message when you hit print

We would need to (i) check if the mods.tex and pre-mods.tex files are enabled, and if so (ii) look/regex for certain strings like \tracing{.+} that aren't commented out. And only do any of this if in Full view.

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.