Re: [BUG] LaTeX export in non-English language [9.6-pre (release_9.5.5-1087-g620a96.dirty @ /home/yantar92/.emacs.d/straight/build/org/)]

2022-11-14 Thread Ihor Radchenko
Juan Manuel Macías writes: > Ihor Radchenko writes: > >> However, the PDF (see the attached) is erroneous: >> 1. Title "Temp" is written RTL >> 2. Year and date (numbers!) are written RTL >> 3. The python code is written RTL!! >> >> Just the equation is rendered LTR as expected and the ordinary

Re: [BUG] LaTeX export in non-English language [9.6-pre (release_9.5.5-1087-g620a96.dirty @ /home/yantar92/.emacs.d/straight/build/org/)]

2022-11-14 Thread Ihor Radchenko
Juan Manuel Macías writes: >> ! Package polyglossia Error: The current latin font does not contain the >> "Hebr >> ew" script! >> (polyglossia)Please define \hebrewfont with \newfontfamily >> comm >> and. > > hmm, yes, I forgot to mention it before... It is necessary to load a

Re: [BUG] LaTeX export in non-English language [9.6-pre (release_9.5.5-1087-g620a96.dirty @ /home/yantar92/.emacs.d/straight/build/org/)]

2022-11-14 Thread Juan Manuel Macías
Ihor Radchenko writes: > However, the PDF (see the attached) is erroneous: > 1. Title "Temp" is written RTL > 2. Year and date (numbers!) are written RTL > 3. The python code is written RTL!! > > Just the equation is rendered LTR as expected and the ordinary Hebrew > text is rendered RTL. I'd

Re: [BUG] LaTeX export in non-English language [9.6-pre (release_9.5.5-1087-g620a96.dirty @ /home/yantar92/.emacs.d/straight/build/org/)]

2022-11-13 Thread Juan Manuel Macías
Ihor Radchenko writes: > On Gentoo, the required package is dev-texlive/texlive-langarabic. > > However, installing the package is not yet enough! > > With the same file, I am getting missing font errors: > > Setting \if@calendar@hebrew >

Re: [BUG] LaTeX export in non-English language [9.6-pre (release_9.5.5-1087-g620a96.dirty @ /home/yantar92/.emacs.d/straight/build/org/)]

2022-11-12 Thread Ihor Radchenko
Juan Manuel Macías writes: > I start by comment the error that you get when compiling. Is it possible > that you have an incomplete TeX Live installation? Distro repositories > usually offer TeX live in a modular way. On Arch Linux and its > derivatives, the texlive-lang and texlive-lang-extra

Re: [BUG] LaTeX export in non-English language [9.6-pre (release_9.5.5-1087-g620a96.dirty @ /home/yantar92/.emacs.d/straight/build/org/)]

2022-11-11 Thread Juan Manuel Macías
Hi, Ihor, I start by comment the error that you get when compiling. Is it possible that you have an incomplete TeX Live installation? Distro repositories usually offer TeX live in a modular way. On Arch Linux and its derivatives, the texlive-lang and texlive-lang-extra packages should be

Re: [BUG] LaTeX export in non-English language [9.6-pre (release_9.5.5-1087-g620a96.dirty @ /home/yantar92/.emacs.d/straight/build/org/)]

2022-11-10 Thread Ihor Radchenko
Juan Manuel Macías writes: >> And exported to pdf (C-c C-e l o). >> Surprisingly, the output is in English. >> >> Am I missing something? > > You need to explicitly load babel or polyglossia: > > For polyglossia (`org-latex-guess-polyglossia-language'): > > #+LaTeX_Header:

Re: [BUG] LaTeX export in non-English language [9.6-pre (release_9.5.5-1087-g620a96.dirty @ /home/yantar92/.emacs.d/straight/build/org/)]

2022-11-10 Thread Juan Manuel Macías
Ihor Radchenko writes: > I am trying to look into RTL language exports. > > I tried the following simple-minded Org file: > > #+title: Temp > #+LATEX_COMPILER: lualatex > > #+LANGUAGE: HE > > \begin{equation} > f(x) = \frac{8}{7} > \end{equation} > > #+begin_src python :exports code > for i in

[BUG] LaTeX export in non-English language [9.6-pre (release_9.5.5-1087-g620a96.dirty @ /home/yantar92/.emacs.d/straight/build/org/)]

2022-11-09 Thread Ihor Radchenko
Hi, I am trying to look into RTL language exports. I tried the following simple-minded Org file: #+title: Temp #+LATEX_COMPILER: lualatex #+LANGUAGE: HE \begin{equation} f(x) = \frac{8}{7} \end{equation} #+begin_src python :exports code for i in range(3): print("hello") #+end_src And