Am Di., 13. Aug. 2019 um 14:59 Uhr schrieb Jürgen Spitzmüller <sp...@lyx.org >:
> Am Di., 13. Aug. 2019 um 14:50 Uhr schrieb Pavel Sanda <sa...@lyx.org>: > >> In any case the solutions look bad enough not to care for such a corner >> cases >> (mainly I'm not sure about all possible side effects of deactivating '-'). >> > > It's no longer a corner case as you want to use booktabs (with \cmidrule) > in a Czech or Slovak document. > Seems we already account for the problem with some \expandafter trickery, see InsetTabular:2473ff. and 2603ff. Alas, the trick breaks as soon as the positioning argument of \cmidrule is used. If somebody feels brave enough to tinker with expansion, please tell me which \expandafter's are missing here: \expandafter\cmidrule\expandafter{\expandafter1\string-1}\expandafter\cmidrule(lr)\expandafter{\expandafter2\string-2}\expandafter\cmidrule\expandafter{\expandafter3\string-3} Jürgen