Jürgen Spitzmüller

Results 201 comments of Jürgen Spitzmüller

This patch works for all cases AFAICS (also with the caption package). A hook would be better, though, then we would not need to redefine commands which is always risky....

> Is it true for toc as well? Theoretically yes. But I have no case for this.

> > Is it true for toc as well? > > Theoretically yes. But I have no case for this. Sorry, no, it isn't. It is needed for lof and...

BTW @LSinev there shouldn't be a linebreak after \cyrdash as in your MWE, right? So I suppose we need to change: ```diff diff --git a/tex/gloss-russian.ldf b/tex/gloss-russian.ldf index 34b2abd2..6423b646 100644 ---...

Yes, this was a typo. I've fixed it in all glosses that use it at f501eabe5ab.

I accidentally also committed the patch from https://github.com/reutenauer/polyglossia/issues/657#issuecomment-2271148266. I will revert it if we agree on that, but maybe we should just proceed with that approach.

> If this is a direction we are willing to go for, I would not declare the second argument of `\@caption` as optional, as it is not one in the...

I have adapted the code at b2589c780c5ad I'd like to do a release soon. After that, you can start implementing the changes from your branch. OK?

OK, thanks for clarification @u-fischer and @josephwright

Thanks. It looks like I can use this approach and try to at least cover the most common cases in `polyglossia.` 'll have a look.