I am working on a project that deals with polytonic Greek, and wish to write everything in Org mode, and export to a PDF with one of the compilers (like XeLaTeX).
I have spent hours today reading posts and StackExchange threads about Unicode and Org mode, but feel no closer to solving my problem than when I first started. For example, I have a table like the following in my Org file:
| Greek letter | IPA | English match | |--------------+--------------------------+---------------| | Α α | [a], [aː] | A | | Β β | [b] | B | | Γ γ | [g], [ŋ] (before velars) | G | | Δ δ | [d] | D | | Ε ε | [e] | E | | Ζ ζ | [zd] | Z | | Η η | [ɛː] | | | Θ θ | [θ] | | | Ι ι | [i], [iː] | I | | Κ κ | [k] | K | | Λ λ | [l] | L | | Μ μ | [m] | M | | Ν ν | [n] | N | | Ξ ξ | [ks] | X | | Ο ο | [o] | O | | Π π | [p] | P | | Ρ ρ | [r] | R | | Σ σ | [s] | S | | Τ τ | [t] | T | | Υ υ | [y], [yː] | U | | Φ φ | [f] | F | | Χ χ | [kʰ] | | | Ψ ψ | [ps] | | | Ω ω | [ɔː] | |
And these lines in my .spacemacs file (evidently XeLaTeX supports Unicode better than PDFLaTeX?):
;; Use XeLaTeX (setq org-latex-pdf-process '("xelatex -interaction nonstopmode -output-directory %o %f" "xelatex -interaction nonstopmode -output-directory %o %f")) ;; for multiple passes
I have been unable to get any of the Greek characters in the table to show up in the PDF when I use
C-C C-e l p. I am not getting any build errors: the intermediate .tex file is produced and looks absolutely fine. It's just that when the PDF is produced, it doesn't have any of the Unicode characters I want. I am at a complete loss as to what I need to do, what packages I need to install, and so forth.
I'd like to get a handle on how to include Unicode symbols in general as I'll probably need to use IPA symbols and Hebrew letters as well in this project. But I'd be happy to get even just basic Greek letters working at this point.