emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Zenny
Subject: Re: Sanskrit/Devanagari fonts not exported to org-pdf output
Date: Fri, 22 Sep 2023 09:04:46 +0200

On Thu, Sep 21, 2023 at 11:19 PM Juan Manuel Macías <maciaschain@posteo.net> wrote:
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"
>           "%latex -interaction nonstopmode -output-directory %o %f"
>           "%latex -interaction nonstopmode -output-directory %o %f"))

I think the _expression_ is bad formed; In addition, latexmk is already
responsible for executing bibtex or biber and other processes that
require more than one compilation. The right thing would be:

(setq org-latex-pdf-process (if (executable-find "latexmk")
                                '("latexmk -f -pdf -%latex -interaction=nonstopmode -output-directory=%o %f")
                              '("%latex -interaction nonstopmode -output-directory %o %f"
                                "%latex -interaction nonstopmode -output-directory %o %f"
                                "%latex -interaction nonstopmode
                                -output-directory %o %f")))

(or just remove the customization of that variable from your init).

And then put in your document:

#+LATEX_COMPILER: lualatex (or pdflatex or xelatex)

Exactly done as you advised, but no pdf is produced even after waiting for ~10minutes (attached screenshot)
 

This keyword modifies the value of org-latex-compiler in the document.
If you are going to use lualatex more often, you can put in your init:

(setq org-latex-compiler "lualatex")

Thanks for your input.

Best regards,

Juan Manuel

--
Juan Manuel Macías

https://juanmanuelmacias.com

https://lunotipia.juanmanuelmacias.com

https://gnutas.juanmanuelmacias.com



--
Cheers,
/z

-.. .. ... -.-. .-.. .- .. -- . .-. | -.. .. ... -.-. .-.. .- .. -- . .-.
CONFIDENTIALITY NOTICE AND DISCLAIMER: Access to this e-mail and its contents by anyone other than the intended recipient is unauthorized as it contains privileged and confidential information, and is subject to legal privilege. Please do not re/distribute it.  If you are not the intended recipient (or responsible for delivery of the message to such person), you may not use, copy, distribute or deliver the email and part of its contents to anyone this message (or any part of its contents or take any action in connection to it. In such case, you should destroy this message, and notify the sender immediately. If you have received this email in error, please notify the sender or your sysadmin immediately by e-mail or telephone, and delete the e-mail from any computer. If you or your employer does not consent to internet e-mail messages of this kind, please notify the sender immediately. All reasonable precautions have been taken to ensure no viruses are present in this e-mail and attachments included. As the sender  cannot accept responsibility for any loss or damage arising from the use of this e-mail or attachments it is recommended that you are responsible to follow your virus checking procedures prior to use. The views, opinions, conclusions and other informations expressed in this electronic mail are not given or endorsed by any company including the network providers unless otherwise indicated by an authorized representative independent of this message.
-.. .. ... -.-. .-.. .- .. -- . .-. | -.. .. ... -.-. .-.. .- .. -- . .-.

Attachment: pic-selected-230922-0903-25.png
Description: PNG image


reply via email to

[Prev in Thread] Current Thread [Next in Thread]