Pomax / ucharclasses

A XeLaTeX package that lets you insert arbitrary code between characters from different unicode blocks
14 stars 4 forks source link

Unicode 10.0 #25

Closed lemzwerg closed 6 years ago

lemzwerg commented 6 years ago

This commit updates ucharclasses to Unicode version 10.0.

Pomax commented 6 years ago

Awsome, thanks @lemzwerg!

One question: I see a number of " (see below)" entries with changes to the docs to put them in parentheses, what does this different in documentation mean?

lemzwerg commented 6 years ago

ucharclasses.sty can only support up to 256 blocks with older XeTeX versions; there is an if-clause to add more scripts only if a newer XeTeX version is in use. Since I've introduced some new collections (e.g., 'MongolianFull') where 'Mongolian' was an older block but 'MongolianSupplement' got introduced with a recent Unicode version, I had to move 'MongolianSupplement' to the old XeTeX part also – and since all slots are already occupied, it was necessary to move another script to the new XeTeX part.

Pomax commented 6 years ago

I'm kind of of the opinion that for older XeTeX versions, you're going to have to live with an older ucharclasses version, so instead of trying to work around that limitation, we should mark ucharclasses as having a new minimum required xetex version, so we can throw a package error when it's getting used with a version of xetex that only supports the original 252 custom classes.

lemzwerg commented 6 years ago

Well, yes, but I've already done the work for supporting both older and newer XeTeX versions :-)

Pomax commented 6 years ago

fair enough. I'll merge this in and then https://github.com/Pomax/ucharclasses/pull/22 might (probably =D) need a rebase