Re: 回复: Report bugs: Upgrading LyX 2.4 Beamer documents inserts \SetKeys[xcolor]{table} causing undefined control sequence

[email protected]
Newsgroups gmane.editors.lyx.devel
Message-ID <[email protected]>
Am Samstag, dem 14.03.2026 um 01:28 +0000 schrieb LIANG Zhuobin:
> Opening the file in LyX 2.5 upgrades it to beamer-lyx24-to-lyx25-old-
> latex.lyx 
> The upgraded document contains:
> ```
> \begin_preamble
> %\providecommand{\SetKeys}[2][]{}
> %\usepackage{xkeyval}
> %\usepackage[table]{xcolor}
> \PassOptionsToPackage{table}{xcolor}
> \end_preamble
> ```
> Compilation then fails with
> ```
> ! Undefined control sequence.
> \__hook_toplevel begindocument ->\SetKeys [xcolor]{table}
> l.33 \begin{document}

This does not make sense. \SetKeys is commented out in this preamble
code, and this is code that is definitely not inserted by LyX or
lyx2lyx.

Please provide the full LaTeX log and the LaTeX source that generates
the error.

Thanks,
Jürgen
-- 
lyx-devel mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.