2

To convert from XeLaTeX source to .odt/.docx, I am using the solution provided by Michal Hoftich. (See there for MWE and the solution by @michal.h21.)

That setup works great for converting Unicode, but I noticed that it gobbles up the Greek Unicode character ἀ. That is, in the source yields nothing in the output.

Is there a simple way to fix that bug?

4

It is caused by a bug in the code that tex4ht uses for registering Unicode ranges. It skipped the first character in the range, which happens to be, with Unicode value of 0x1F00. I've fixed that in tex4ht sources, but it may take few days before the update is installed in TL. In the meantime, you can use the declaration for an individual character in the custom config file:

\xeuniregisterchar{"1F00}

This code makes the character active. It can then output special code for tex4ht with the Unicode value.

Sample document:

enter image description here

  • Great, thank you, and thanks for the quick fix! – Alex Roberts Jan 17 at 14:41
  • @AlexRoberts thanks for the report, this bug was around for quite some time, but nobody reported it. – michal.h21 Jan 17 at 14:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.