sillsdev / sillsdev/ptx2pdf

Could user interface load custom but overrideable styles?

Open
#902 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Updated suggestion

See comment below for rethought suggestion

Initial query

As I'm guessing to be the cause for #897, an entry in the manual stylesheet ptxprint-mods.sty overrides user interface settings. This can be a very helpful feature, (e.g. setting a sidebar parameter which isn't in the list of options), but it can then come back and be very confusing a few months later when a new feature becomes available in the UI.

It would be useful if the UI remembered a list of e.g. 'None|x-credit/fontsize' which was getting set by the stylesheet, and then marked them in grey or something like that, to indicate that setting them without commenting the line in ptxprint-mods.sty might not do anything.

Alternatively, if that value-by-value granularity gets too hard, then... perhaps some kind of reminder that some parts of the style gets overridden? Please?

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.

Research direction

Read the issue's updated suggestion and the referenced comment, then inspect how ptxprint-mods.sty settings reach the user interface. Determine whether per-setting override indicators or a broader stylesheet warning is intended; done means the chosen behavior is implemented and clearly communicates when UI values may be overridden.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, tex
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.