On 9/11/2018 7:00 AM, Joel Kulesza wrote:
Colleagues,

As I'm writing a paper, I have a mix of Ref:... and EqRef:... cross references.  I also, unfortunately, sometimes manage to break them and achieve BROKEN:... cross references.

Has anyone identified a way to color the associated boxes/buttons differently based on their status (Ref, EqRef, BROKEN, etc.)?  By default, they are all gray and it can be easy to overlook the miscategorization of an EqRef style to a typical Ref and vice versa.  It can also be hard to quickly see or incidentally notice BROKEN cross references.

What I'd like to see is something like Ref (light blue), EqRef (light green), BROKEN (light red).  Has anyone identified a way to do this?  Is this an enhancement request that I should enter?

Thank you,
Joel

This doesn't answer your question, but the Outliner, Labels and References, with the Sort checkbox set is an easy way to find BROKEN refs. They cluster in a block near the top. Clicking on any one, jumps straight to the ref in the document.

Looking at all the different AMS environments suggests it would be too much for LyX to provide a different colour for each kind of ref, but being able to customize the label colour would be good. (I can find stdrefprefix.inc in the LyX Resources/layouts directory but nothing that sets the appearance of ref labels.)

Andrew


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

Reply via email to