reddit / emacs

help with exporting org to pdf with bidi

MindlessTraining4550 · 2022-09-22 20:36
hey! sorry for asking, Im pretty new to emacs and im trying to find a way to export org file to pdf using latex. im writing both in hebrew and english... thanks a lot!
MitchellMarquez42 · 2022-09-22 23:21
Does `M-x org-latex-export-to-pdf` not work?
apfelkuchen06 · 2022-09-23 09:33
When using luatex, babel can automagically switch the language (and hence the fonts and direction) based on the unicode range with something like `\babelprovide[import, onchar=ids fonts]{hebrew}`, see the babel manual for more details.
MindlessTraining4550 · 2022-09-25 15:08
thanks a lot! any guide to how to use that?...
MindlessTraining4550 · 2022-09-25 15:08
not in hebrew....
MindlessTraining4550 · 2022-10-02 19:55
any help lease? :(
1nc0ns1st3nt · 2022-11-08 23:43
I haven't use these tools yet, but with some quick search, suggest you need to install the corresponding packages first, for example in here: [https://tex.stackexchange.com/questions/308515/latex-using-babel](https://tex.stackexchange.com/questions/308515/latex-using-babel). Then, add the line suggested by the previous user with this prefixed to the top of your org file: \`#+LATEX\_HEADER:\`. Now exporting gave you what you want.