On 18/11/2024 3:48 am, Jürgen Spitzmüller wrote:
Am Samstag, dem 16.11.2024 um 16:20 -0500 schrieb Richard Kimberly
Heck:
My understanding was that the files are present in the system
directory on Windows, and that the crash happens unless the
tabletemplates/ folder is copied from the system directory to the
user directory, with its contents.
Yes. But that should not be necessary.

I did just notice that there's an unused variable in
GuiTabularCreate::getFiles:

              QString relpath =
toqstr(makeRelPath(qstring_to_ucs4(fn),
                                   qstring_to_ucs4(dir)));
              if (styleCO->findData(data) == -1)
                  styleCO->addItem(guiname, data);

The relpath variable is not used. Should it be? The same is true in
GuiDocument::getTableStyles.
Don't think so. I can't remember why I had it, but it seems a relict
that can be removed (otherwise the styles would not be listed at all in
the dialog, which I understand is the case).

Something I've just noticed is that the lyx files in the tabletemplates directory are all headed

#LyX 2.3 created this file. For more info see http://www.lyx.org/
\lyxformat 544

whereas the lyx files in the templates directory all have

#LyX 2.4 created this file. For more info see https://www.lyx.org/
\lyxformat 620

Andrew

--
lyx-users mailing list
lyx-users@lists.lyx.org
https://lists.lyx.org/mailman/listinfo/lyx-users

Reply via email to