latex3 / babel

The babel system for LaTeX, LuaLaTeX and XeLaTeX
LaTeX Project Public License v1.3c
123 stars 34 forks source link

Rollback option for .ldf files #293

Closed Udi-Fogiel closed 2 months ago

Udi-Fogiel commented 2 months ago

I would like to change the behavior of the hebrew interface, and after 20+ years being untouched it is virtually impossible to do so without having some breaking changes. It would be nice to be able to rollback so I could safety edit the definition file without any worries.

Udi-Fogiel commented 2 months ago

@jbezos in the specific context of Hebrew, Im also OK (and maybe it is even better) with add a new value to the bidi option (say rlbabel), so that I could stop using it, but still let people load it if they want to.

Now that I think about it, I could also simply test if rlbabel was \inputed before loading the language, and ask people that want to use to input that themselves, not sure what is the best option here.

Udi-Fogiel commented 2 months ago

Now that I think about it, I could also simply test if rlbabel was \inputed before loading the language, and ask people that want to use to input that themselves, not sure what is the best option here.

I think I'll just do that, so I'll close for now.. Sorry for the noise.

jbezos commented 2 months ago

@Udi-Fogiel What a short-lived issue. But now you raised this question — Hebrew is the only language (besides polutonikogreek) with an additional setting in the babel core (to load another file, rlbabel). I would like to get rid of it, so we can seize the opportunity, so that it’s entirely under the control of the Hebrew ldf.

Udi-Fogiel commented 2 months ago

@jbezos that would be great! Let me ship the next release to ctan first, so that no errors from missing file will happen?

jbezos commented 2 months ago

@Udi-Fogiel 👍 Perfect. Once released a new hebrew I’ll modify babel.