msrosenberg / MetaWin

GNU General Public License v3.0
9 stars 1 forks source link

Figure captions and figure editing #3

Closed msrosenberg closed 2 years ago

msrosenberg commented 2 years ago

MetaWin auto-generates figure captions. With figure editing added, however, the auto-generated captions may not reflect user edits. For example, Forest Plots refer to

This is not necessarily a simple fix. While it is probably possible to update line styles (e.g., dotted, solid, or dashed) and marker shapes (e.g., circle, square, etc.), colors are a particular challenge. Not all possible colors have names, with most only associated with an RGB number.

Solutions could include:

  1. Add a statement that the captions may not reflect user-changes to figure style.
  2. Deliberately avoid referring to color in any auto-generated captions
  3. Attempt to match RGB to a color name. If there is not an exact match, either (a) report the closest match or (b) report as RGB.
  4. Only report colors as RGB

Reporting colors as RGB is generally not going to be useful nor user friendly, so one of the other solutions is probably better. The second option might be feasible, as many of the captions already do not mention color.