To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=27377





------- Additional comments from siersci...@openoffice.org Fri Jan  7 00:57:03 
+0000 2011 -------
I was forced to find some WORKAROUND of this really painful issue:
I insert different zero-width unicode marks before the text with special
formatting (subscript, superscript, italic) and another (in reversed order)
after the text, for example (unicode characters put in square brackets):

L<sub>C, peak</sub> will be:

L[\u206E][\u206D]C, peak[\u206D][\u206E]

Put this text anywhere in the header and then create index. After updating index
of course formatting will be lost, but you simply do this:
1) open Find-Replace dialog (^F)
2) into "Find" put this:
\x206E\x206D.?\x206D\x206E
3) into "Replace" put this:
$0
4) press "More options" and check "Regular Expressions"
5) goto "Format" and pick some properties (for example subscript; I also use
some background color to make all "hot points" before my markers visible)
==>"subscript and other format properties will appear under "replace" input 
line.
6) press "Replace All"
7) Voila!

As you see, you can use many combinations of invisible zerowidth UTF chars for
different styles, you can also play with ".?" part of RegEx.

The list of zero width and invisible chars can be seen here:
"Menu>Insert>Special Character". These are for default Arial Font: (U+) 200E,
200F, 202A..E, 206A..F. You can copy-paste them, so after highiliting it (select
and set some background color) you can use it quite easily.

These chars are used by UTF to perform advanced formatting od the text.
Especially pair of 206E-206D ... 206D-206E shouldn't make any problems unless
you use arabic typeset.

Hope this will help somebody.
r,
sierściuch

------- Additional comments from siersci...@openoffice.org Fri Jan  7 01:02:44 
+0000 2011 -------
I was forced to find some WORKAROUND of this really painful issue:
I insert different zero-width unicode marks before the text with special
formatting (subscript, superscript, italic) and another (in reversed order)
after the text, for example (unicode characters put in square brackets):

L<sub>C, peak</sub> will be:

L[\u206E][\u206D]C, peak[\u206D][\u206E]

Put this text anywhere in the header and then create index. After updating index
of course formatting will be lost, but you simply do this:
1) open Find-Replace dialog (^F)
2) into "Find" put this:
\x206E\x206D.?\x206D\x206E
3) into "Replace" put this:
$0
4) press "More options" and check "Regular Expressions"
5) goto "Format" and pick some properties (for example subscript; I also use
some background color to make all "hot points" before my markers visible)
==>"subscript and other format properties will appear under "replace" input 
line.
6) press "Replace All"
7) Voila!

As you see, you can use many combinations of invisible zerowidth UTF chars for
different styles, you can also play with ".?" part of RegEx.

The list of zero width and invisible chars can be seen here:
"Menu>Insert>Special Character". These are for default Arial Font: (U+) 200E,
200F, 202A..E, 206A..F. You can copy-paste them, so after highiliting it (select
and set some background color) you can use it quite easily.

These chars are used by UTF to perform advanced formatting od the text.
Especially pair of 206E-206D ... 206D-206E shouldn't make any problems unless
you use arabic typeset.

Hope this will help somebody.
r,
sierściuch

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@sw.openoffice.org
For additional commands, e-mail: issues-h...@sw.openoffice.org


---------------------------------------------------------------------
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org

Reply via email to