Re: Sanskrit/Devanagari fonts not exported to org-pdf output

2023-09-22 Thread Zenny
On Fri, Sep 22, 2023 at 5:13 PM Juan Manuel Macías wrote: > Zenny writes: > > > Appended the above line, but the rendering became much worse, see > > Ganapati and BiSht lines: > > Well, try this: > > 1. remove \newfontscript{Devanagari}{deva} > > 2. modify the \babelprovide for Bengali like this:

Re: Sanskrit/Devanagari fonts not exported to org-pdf output

2023-09-22 Thread Juan Manuel Macías
Zenny writes: > Appended the above line, but the rendering became much worse, see > Ganapati and BiSht lines: Well, try this: 1. remove \newfontscript{Devanagari}{deva} 2. modify the \babelprovide for Bengali like this: \babelprovide[onchar=ids fonts,import,script=Bengali]{sanskrit-bengali} (

Re: Sanskrit/Devanagari fonts not exported to org-pdf output

2023-09-22 Thread Zenny
On Fri, Sep 22, 2023 at 12:02 PM Juan Manuel Macías wrote: > Zenny writes: > > > It still shows the problem with > > glyphs: > > > > Should look like in the attached > > screenshots, in emacs orgmode > > and rendered to pdf (from org to > > docx using pandoc) > > Add this line to the bottom: > >

Re: Sanskrit/Devanagari fonts not exported to org-pdf output

2023-09-22 Thread Juan Manuel Macías
Zenny writes: > It still shows the problem with > glyphs: > > Should look like in the attached > screenshots, in emacs orgmode > and rendered to pdf (from org to > docx using pandoc) Add this line to the bottom: #+LaTeX_Header:\defaultfontfeatures{Renderer=HarfBuzz}

Re: Sanskrit/Devanagari fonts not exported to org-pdf output

2023-09-22 Thread Juan Manuel Macías
Zenny writes: > Here it comes: > > | Original | Anglicized | Switch | > |--++| > | सत्य | Satya | Sathya | > | सरस्वती | Saraswati | Saraswathy | > | गणपति | Ganapati | Ganapathy | > | गोषाल | goShal | Ghoshal| > | गोष्ठ

Re: Sanskrit/Devanagari fonts not exported to org-pdf output

2023-09-22 Thread Zenny
On Fri, Sep 22, 2023 at 10:54 AM Juan Manuel Macías wrote: > Zenny writes: > > > > > > > > > > > With this both languages (scripts) were rendered) but both renderings > > has no correct glyphs (see screenshots) > > Could you please copy the text of your example here, so I can compi

Re: Sanskrit/Devanagari fonts not exported to org-pdf output

2023-09-22 Thread Juan Manuel Macías
Zenny writes: > > > > > With this both languages (scripts) were rendered) but both renderings > has no correct glyphs (see screenshots) Could you please copy the text of your example here, so I can compile it?

Re: Sanskrit/Devanagari fonts not exported to org-pdf output

2023-09-22 Thread Zenny
On Fri, Sep 22, 2023 at 10:49 AM Zenny wrote: > On Fri, Sep 22, 2023 at 10:41 AM Juan Manuel Macías < > maciasch...@posteo.net> wrote: > >> Zenny writes: >> >> > Also the Bengali letters were omitted with: >> >> Sorry, this is the correct MWE: >> >> #+LaTeX_Header: \usepackage[english]{babel}

Re: Sanskrit/Devanagari fonts not exported to org-pdf output

2023-09-22 Thread Zenny
On Fri, Sep 22, 2023 at 10:41 AM Juan Manuel Macías wrote: > Zenny writes: > > > Also the Bengali letters were omitted with: > > Sorry, this is the correct MWE: > > #+LaTeX_Header: \usepackage[english]{babel} > #+LaTeX_Header: \usepackage{fontspec} > #+LaTeX_Header: \newfontscript{Devanagari}

Re: Sanskrit/Devanagari fonts not exported to org-pdf output

2023-09-22 Thread Juan Manuel Macías
Zenny writes: > Also the Bengali letters were omitted with: Sorry, this is the correct MWE: #+LaTeX_Header: \usepackage[english]{babel} #+LaTeX_Header: \usepackage{fontspec} #+LaTeX_Header: \newfontscript{Devanagari}{deva} #+LaTeX_Header: \babelprovide[onchar=ids fonts]{sanskrit-devanagari}

Re: Sanskrit/Devanagari fonts not exported to org-pdf output

2023-09-22 Thread Zenny
On Fri, Sep 22, 2023 at 10:18 AM Juan Manuel Macías wrote: > Zenny writes: > > > Thanks, this was extremely helpful. The pdf is produced, but the > > Devanagari glyphs were not respected. See screenshot. > > Could you please create this MWE, and execute the same process? > > #+LaTeX_Header: \usep

Re: Sanskrit/Devanagari fonts not exported to org-pdf output

2023-09-22 Thread Juan Manuel Macías
Zenny writes: > Thanks, this was extremely helpful. The pdf is produced, but the > Devanagari glyphs were not respected. See screenshot. Could you please create this MWE, and execute the same process? #+LaTeX_Header: \usepackage[english]{babel} #+LaTeX_Header: \usepackage{fontspec} #+LaTeX_Heade

Re: Sanskrit/Devanagari fonts not exported to org-pdf output

2023-09-22 Thread Zenny
On Fri, Sep 22, 2023 at 10:07 AM Zenny wrote: > > On Fri, Sep 22, 2023 at 10:00 AM Juan Manuel Macías < > maciasch...@posteo.net> wrote: > >> Zenny writes: >> >> > Exactly done as you advised, but no pdf is produced even after waiting >> > for ~10minutes (attached screenshot) >> >> Let's try the

Re: Sanskrit/Devanagari fonts not exported to org-pdf output

2023-09-22 Thread Zenny
On Fri, Sep 22, 2023 at 10:00 AM Juan Manuel Macías wrote: > Zenny writes: > > > Exactly done as you advised, but no pdf is produced even after waiting > > for ~10minutes (attached screenshot) > > Let's try the following: > > 1. Export your document to a 'your-document.tex' file: C-c C-e l l > >

Re: Sanskrit/Devanagari fonts not exported to org-pdf output

2023-09-22 Thread Juan Manuel Macías
Zenny writes: > Exactly done as you advised, but no pdf is produced even after waiting > for ~10minutes (attached screenshot) Let's try the following: 1. Export your document to a 'your-document.tex' file: C-c C-e l l 2. Open a terminal in your directory and run: latexmk -f -pdf -lualatex -int

Re: Sanskrit/Devanagari fonts not exported to org-pdf output

2023-09-22 Thread Zenny
On Thu, Sep 21, 2023 at 11:19 PM Juan Manuel Macías wrote: > Zenny writes: > > > I also tried with: > > > > (setq org-latex-pdf-process > > (if (executable-find "latexmk") > > '("latexmk -interaction nonstopmode -output-directory %o > > %f") > > "bibte

Re: Sanskrit/Devanagari fonts not exported to org-pdf output

2023-09-21 Thread Juan Manuel Macías
Zenny writes: > I also tried with: > > (setq org-latex-pdf-process > (if (executable-find "latexmk") > '("latexmk -interaction nonstopmode -output-directory %o > %f") > "bibtex %b" > '("%latex -interaction nonstopmode -output-directory %o %f"

Re: Sanskrit/Devanagari fonts not exported to org-pdf output

2023-09-21 Thread Zenny
On Thu, Sep 21, 2023 at 10:39 PM Zenny wrote: > > On Thu, Sep 21, 2023 at 10:26 PM Zenny wrote: > >> >> On Thu, Sep 21, 2023 at 9:32 PM Juan Manuel Macías < >> maciasch...@posteo.net> wrote: >> >>> Zenny writes: >>> >>> > Here it comes: >>> > >>> > org-latex-pdf-process is a variable defined

Re: Sanskrit/Devanagari fonts not exported to org-pdf output

2023-09-21 Thread Zenny
On Thu, Sep 21, 2023 at 10:26 PM Zenny wrote: > > On Thu, Sep 21, 2023 at 9:32 PM Juan Manuel Macías > wrote: > >> Zenny writes: >> >> > Here it comes: >> > >> > org-latex-pdf-process is a variable defined in ‘ox-latex.el’. >> > >> > Its value is >> > ("pdflatex -interaction nonstopm

Re: Sanskrit/Devanagari fonts not exported to org-pdf output

2023-09-21 Thread Zenny
On Thu, Sep 21, 2023 at 9:32 PM Juan Manuel Macías wrote: > Zenny writes: > > > Here it comes: > > > > org-latex-pdf-process is a variable defined in ‘ox-latex.el’. > > > > Its value is > > ("pdflatex -interaction nonstopmode -output-directory %o %f" > > "bibtex %b" "pdflatex -she

Re: Sanskrit/Devanagari fonts not exported to org-pdf output

2023-09-21 Thread Juan Manuel Macías
Zenny writes: > Here it comes: > > org-latex-pdf-process is a variable defined in ‘ox-latex.el’. > > Its value is > ("pdflatex -interaction nonstopmode -output-directory %o %f" > "bibtex %b" "pdflatex -shell-escape -interaction nonstopmode - > output-directory %o %f" "pdflatex

Re: Sanskrit/Devanagari fonts not exported to org-pdf output

2023-09-21 Thread Zenny
On Thu, Sep 21, 2023 at 8:28 PM Juan Manuel Macías wrote: > Zenny writes: > > > With above code for LuaLaTeX, I have also appended: > > > > #+LATEX_COMPILER: lualatex > > > > even after specifying the LaTeX compiler to lualatex a report that > > says, the compiler seems to use pdflatex: > > > >

Re: Sanskrit/Devanagari fonts not exported to org-pdf output

2023-09-21 Thread Juan Manuel Macías
Zenny writes: > With above code for LuaLaTeX, I have also appended: > > #+LATEX_COMPILER: lualatex > > even after specifying the LaTeX compiler to lualatex a report that > says, the compiler seems to use pdflatex: > > ! Fatal Package fontspec Error: The fontspec package requires > either X

Re: Sanskrit/Devanagari fonts not exported to org-pdf output

2023-09-21 Thread Zenny
Hi Juan, On Thu, Sep 21, 2023 at 5:33 PM Juan Manuel Macías wrote: > Hi, Zenny, > > Zenny writes: > > > Where does this preamble goes to? Any example? > > As in your example, using latex_header keywords (replacing the > polyglossia code with the babel code): > > #+LaTeX_Header: \usepackage[engli

Re: Sanskrit/Devanagari fonts not exported to org-pdf output

2023-09-21 Thread Juan Manuel Macías
Hi, Zenny, Zenny writes: > Where does this preamble goes to? Any example? As in your example, using latex_header keywords (replacing the polyglossia code with the babel code): #+LaTeX_Header: \usepackage[english]{babel} #+LaTeX_Header: \usepackage{fontspec} #+LaTeX_Header: \newfontscript{Devana

Re: Sanskrit/Devanagari fonts not exported to org-pdf output

2023-09-21 Thread Zenny
Thanks Juan for prompt response, my replies inline below: On Thu, Sep 21, 2023 at 10:24 AM Juan Manuel Macías wrote: > Hi, > > I would recommend that you use babel, as it is the official package for > language support and now has many more options than polyglossia. Thanks for the pointer and e

Re: Sanskrit/Devanagari fonts not exported to org-pdf output

2023-09-21 Thread Juan Manuel Macías
Hi, I would recommend that you use babel, as it is the official package for language support and now has many more options than polyglossia. You can try this preamble (compiles in LuaLaTeX): \documentclass{article} \usepackage[english]{babel} \usepackage{fontspec} \newfontscript{Devanagari}{deva}

Sanskrit/Devanagari fonts not exported to org-pdf output

2023-09-21 Thread Zenny
Hi, I tried to export to pdf with the following: #+LATEX_HEADER: \usepackage{polyglossia} > #+LATEX_HEADER: \usepackage{fontspec} > #+LATEX_COMPILER: xelatex (also tried with lualatex) > #+LATEX_HEADER: \setmainlanguage{english} > #+LATEX_HEADER: \setotherlanguage{sanskrit} > #+LATEX_HEADER: