Setting up labels for and references to tables in LyX

Jürgen Spitzmüller jspitzm at gmail.com
Mon Nov 6 12:41:28 UTC 2023


Am Montag, dem 06.11.2023 um 13:10 +0100 schrieb Ricardo Berlasso:
> El lun, 6 nov 2023 a las 12:23, Trevor Jenkins
> (<bslwannabe at gmail.com>) escribió:
> > I need to create labels/references to multiple tables in my LyX
> > document. There is nothing in the various Table menu items for
> > this. The Insert > Label and Insert > Cross-Reference… menu items
> > do not appear to function in that for example if I set the name of
> > the label to tab:Electoral Roll Extract and then pick that name of
> > the list when inserting the cross reference neither appears in the
> > final document. The label does not appear with the table and the
> > reference does not appear at the point of reference either.
> 
> Try renaming the label to tab:Electoral-Roll-Extract,i.e. replace the
> spaces with dashes. Does it work that way? I think that labels do not
> accept spaces or special characters. If this is the case, you have
> found a problem as the dialog should warn that the label is invalid.

Spaces in labels work AFAICS. Special characters are automatically
replaced by LyX.

I think a minimal example file showing the problem would help us
helping.

-- 
Jürgen


More information about the lyx-users mailing list