label whitespaces no more
Igor
rychphd at gmail.com
Sat Sep 7 14:26:44 UTC 2024
> Because refstyle does not support spaces in references.
Seems like a refstyle's bug. The workaround is to enclose the label
name within additional {} when referencing and leave the original
label as the user intended.
For example. Firstly, we'd need to use something like \secref to
actually expose this refstyle's problem. Insert the Ctrl+L TeX
commands into a section and refer it to it later like so:
\label{sec:A B}
...
\secref{A B} -- can't find the label sec:AB -- refstyle has eaten up
my whitespace!
\secref{{A B}} -- works!
I've relied on my labels to be preserved internally with whitespaces
etc. because it's never been forbidden before. I'd have to modify all
my manuscripts.
More information about the lyx-devel
mailing list