I was trying to help a friend with a problem he has using the index of MS Word. The index shows the items with the correct justification, but there are two weird phenomena:
- The numbering are in descending order, meaning, e.g. "121, 99, 56, 3" instead of "3, 56, 99, 121"
- For names, the comma is in the wrong position, e.g. "Surname ,First name" instead of "Surname, First name"
I tried searching here and elsewhere, but I couldn't find whether someone has already encountered this problem, let alone found a solution.
Now, this very much looks like a Left-to-Right issue, so I tried a few things related to language settings in:
- Word's Options
- The prompt for creating the index
- The XE codes
- Start a new document from scratch, and trying to index a few gibberish items (images of this are shown below)
None of this was any help. What I'm looking for is to solve the two problems mentioned above, and do so without needing to manually change every line of index or XE field (unless these are replace-all tricks, which are fine by me).
Thanks!
The code used for the name:
EDIT
So, I wrote:
this very much looks like a Left-to-Right issue
while I actually meant was Right-to-Left.
Here are the links for a good example and a bad example:
EDIT #2
I found a (not so nice) workaround that seems to work - if I use find-and-replace and go through every digit using this method:
It fixes the ordering for the numbers in the index, at least until the next time this field is updated. To me, it seems like something in the doc's template/framework is set somehow to Hebrew.