label whitespaces no more

Udicoudco udifoglle at gmail.com
Sat Sep 7 11:31:44 UTC 2024


On Sat, Sep 7, 2024 at 2:24 PM Udicoudco <udifoglle at gmail.com> wrote:
>
> On Sat, Sep 7, 2024 at 1:24 PM Jürgen Spitzmüller <jspitzm at gmail.com> wrote:
> >
> > Am Mittwoch, dem 04.09.2024 um 15:45 +1200 schrieb Igor:
> > > Not sure if it's a bug or a new feature, but the whitespaces in my
> > > labels are now turned into =000020
> >
> > feature.
> >
> > [...]
> >
> > > Why?
> >
> > Because refstyle does not support spaces in references.
>
> Can you give an example supporting this claim?
> With the following everything is OK:

OK, spaces are indeed a problem

> \documentclass{article}
>
> \begin{document}
> \begin{equation}
> 1+1=2\label{eq:=000020f=000020f}
> \end{equation}
>
> \ref{eq:=000020f=000020f}
>
> \begin{equation}
> 1+1=2\label{eq: f f}
> \end{equation}
>
> \ref{eq: f f}
> \end{document}
>
> Also, unicode in general seems to work, even with pdflatex

Other unicode characters seems OK though

> \documentclass{article}
>
> \begin{document}
> \begin{equation}
> 1+1=2\label{eq:שלום}
> \end{equation}
>
> \ref{eq:שלום}
> \end{document}
>
> I believe this is the situation since 2019, when unicode
> became the default input encoding.
>
> Udi
>
> > --
> > lyx-devel mailing list
> > lyx-devel at lists.lyx.org
> > http://lists.lyx.org/mailman/listinfo/lyx-devel


More information about the lyx-devel mailing list