label whitespaces no more
Jürgen Spitzmüller
jspitzm at gmail.com
Sun Sep 8 13:00:05 UTC 2024
Am Sonntag, dem 08.09.2024 um 22:09 +1200 schrieb Igor:
> I guess I've never run into this whitespace refstyle bug, because I
> redefined all my formatted references, for example
> \renewcommand*{\thmref}[1]{\hyperref[thm:#1]{#1}}. I'm not sure if I
> even need refstyle ... but it's loaded automatically by LyX for
> "formatted" references -- fine.
Would it work for you if we limited the space escaping to the case only
where refstyle is used? I.e., could you uncheck "Use refstyle"?
> Could you please make an additional tick option under Document
> Settings > Document Class, after "Use refstyle.." and before "Format
> cross-references"... something like:
>
> "Escape labels for compatibility"
The problem is that this would require a new buffer param which is a
file format change, so this solution could be implemented for 2.5. at
the earliest. And it also strikes me like a sledgehammer workaround for
the actual problem (unless there is a more general need for this).
--
Jürgen
More information about the lyx-devel
mailing list