> 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.
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to