Re: [LyX/master] remove \numeric font property (file foramt change)

Udi Fogiel via lyx-devel <[email protected]> Wed, 15 Jul 2026 23:36:57 +0000
Newsgroups gmane.editors.lyx.devel
Message-ID <K89sZmhSB97ybpvaXg9w3xGD0ipXIRcGsYnzLOGT_Ukm9ro-3I2fQ5Ah4xfrwbDz8gjYGlq5VygfRGUfQE4lhDmqMkqI06nBARjkuvdN00o=@proton.me>
--b1=_OtlSOmdMuGBaPCd478mmtAjNbz3fLAMlPKpCjxeqpw
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

On Wednesday, July 15th, 2026 at 8:04 PM, Kornel Benko <[email protected]> wro=
te:

> Am Wed, 15 Jul 2026 17:56:00 +0200
> schrieb Scott Kostyshak <[email protected]>:
>
> > On Tue, Jul 14, 2026 at 05:45:32PM +0000, Udi Fogiel wrote:
> > > commit b7f942e27d415c6afe4f7fba58cfc7e44652b0b1
> > > Author: Udi Fogiel <[email protected]>
> > > Date:   Tue Jul 14 19:12:42 2026 +0300
> > >
> > >     remove \numeric font property (file foramt change)
> > >
> > >     As described in #6910 and #11267
> > >     this property causes problems.
> > >     This commit removes the \numeric font property
> > >     and instead mark numeric sequences direcly
> > >
> >
> > For me this commit causes the following test to fail:
> >
> >   export/doc/he/Tutorial_lyx24
> >
> > I can try to figure out a manual way to see if you can reproduce the
> > failure. Let me know if that would help.
> >
> > Scott
>
> Manually:
> open lyx lib/doc/he/Tutorial.lyx
> export to format LyX 2.4.x
> read lib/doc/he/Tutorial.24.lyx
>
> Result is a dialog with text:"Unknown parameter name: 2"
>
> Repeated read gives no errors, but the preview shows
> "Reference undefined"
> LaTeX Warning: Reference `sec:latexusers' on page 6 undefined on input li=
ne 205.
>

Ah, thanks Kornel and Scott.

I did not consider numbers in insets parameters, which are not part of a re=
al paragraph, in the lyx2lyx conversion.

Is it correct that only text in layouts is part of a real paragraph?

I attached a patch. Cannot push currently. Will do that
on the weekend unless someone else wants to do that earlier.

Udi



--b1=_OtlSOmdMuGBaPCd478mmtAjNbz3fLAMlPKpCjxeqpw
Content-Type: application/octet-stream; name=x.diff
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename=x.diff

ZGlmZiAtLWdpdCBhL2xpYi9seXgybHl4L2x5eF8yXzYucHkgYi9saWIvbHl4Mmx5eC9seXhfMl82
LnB5CmluZGV4IDM4NjA3MGNmOWYuLmM4ZTQ5Zjc5ZjAgMTAwNjQ0Ci0tLSBhL2xpYi9seXgybHl4
L2x5eF8yXzYucHkKKysrIGIvbGliL2x5eDJseXgvbHl4XzJfNi5weQpAQCAtOTkxLDYgKzk5MSwx
MiBAQCBkZWYgcmV2ZXJ0X251bWVyaWMoZG9jdW1lbnQpOgogICAgICAgICAgICAgYXRfd29yZF9z
dGFydCA9IEZhbHNlCiAgICAgICAgICAgICBpICs9IDEKICAgICAgICAgICAgIGNvbnRpbnVlCisg
ICAgICAgICMgU2tpcCBpbnNldCBwYXJhbWV0ZXIgbGluZXMgKGUuZy4gQ29tbWFuZEluc2V0J3Mg
cmVmZXJlbmNlL25hbWUva2V5KSwgbm90IHJlYWwgdGV4dC4KKyAgICAgICAgaW5zZXQgPSBnZXRf
Y29udGFpbmluZ19pbnNldChkb2N1bWVudC5ib2R5LCBpKQorICAgICAgICBpZiBpbnNldCBhbmQg
ZmluZF90b2tlbihkb2N1bWVudC5ib2R5LCAiXFxiZWdpbl9sYXlvdXQiLCBpbnNldFsxXSwgaSkg
PT0gLTE6CisgICAgICAgICAgICBhdF93b3JkX3N0YXJ0ID0gRmFsc2UKKyAgICAgICAgICAgIGkg
Kz0gMQorICAgICAgICAgICAgY29udGludWUKICAgICAgICAgIyBNZXJnZSBjb25zZWN1dGl2ZSBw
bGFpbi1jb250ZW50IGxpbmVzOiBhIGJhcmUgbmV3bGluZQogICAgICAgICAjIGJldHdlZW4gdGhl
bSBpcyBqdXN0IGEgc29mdCBsaW5lLXdyYXAsIG5vdCBhIGJvdW5kYXJ5LgogICAgICAgICBqID0g
aQo=

--b1=_OtlSOmdMuGBaPCd478mmtAjNbz3fLAMlPKpCjxeqpw
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-- 
lyx-devel mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-devel

--b1=_OtlSOmdMuGBaPCd478mmtAjNbz3fLAMlPKpCjxeqpw--