I have a collection of notes on my iPad, written using a markdown editor/viewer (trunk notes) that does not understand latex, but does display greek. Is there a simple way to convert the greek letters (e.g. convert the UTF-8 symbol 0xCEB1, α) to their latex equivalents (\alpha)? I am using pandoc for the conversion, which is pasting a LaTeX header onto the output before conversion to TeX or ConTeXt.
|
|
|||||
|
|
Expanding Canaaerus answer In xelatex, package
For more info (in greek) look here FontsThe fonts that you may use are the following ones (they must be installed in your OS' standard font folder)
EditNote though that |
|||||||||
|
|
In ConTeXt (both MkIV and MkII with utf-8 encoding), Greek letters work out of the box in text and math mode. (You need a text font with Greek letters)
With MkIV, Unicode characters behave like ASCII characters, so |
|||
|
|
|
I use the following code to make unicode symbols work both as normal text and in mathmode. But then
Also you need some suitable font, STIX works for me. If you want to actually replace the unicode characters in the source code, that is a different issue. I don't know what kind of tools are available in your environment. I would compile a list of replacements like |
|||||||||||
|