emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Zenny <garbytrash@gmail.com>
To: "Juan Manuel Macías" <maciaschain@posteo.net>
Cc: emacs-orgmode@gnu.org
Subject: Re: Sanskrit/Devanagari fonts not exported to org-pdf output
Date: Thu, 21 Sep 2023 22:41:24 +0200	[thread overview]
Message-ID: <CACuV5sAq633UwwbTxqOuUgmjgFWCaOxWH8WA0_WAauVfe2YL_Q@mail.gmail.com> (raw)
In-Reply-To: <CACuV5sBWw-XZKJmexm5ufViWxctXU66n5Erroan61VXdaNDNfA@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 8430 bytes --]

On Thu, Sep 21, 2023 at 10:39 PM Zenny <garbytrash@gmail.com> wrote:

>
> On Thu, Sep 21, 2023 at 10:26 PM Zenny <garbytrash@gmail.com> wrote:
>
>>
>> On Thu, Sep 21, 2023 at 9:32 PM Juan Manuel Macías <
>> maciaschain@posteo.net> 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 -shell-escape -interaction nonstopmode -
>>> >     output-directory %o %f" "pdflatex -shell-escape -interaction
>>> >     nonstopmode -output-directory %o %f")
>>> >     Original value was
>>> >     ("latexmk -f -pdf -%latex -interaction=nonstopmode -
>>> >     output-directory=%o %f")
>>>
>>> It seems that you have modified the original value. Besides, the
>>> docstring says:
>>>
>>> [...] %latex is the LaTeX compiler (see ‘org-latex-compiler’) [...]
>>>
>>> If you put 'pdflatex ...', it will always compile with pdflatex.
>>>
>>
> Does `#+LATEX_COMPILER: lualatex` makes no difference?
>

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"))
>

but it did not produce any pdf at all.


>
>
>>
>>> I would recommend that you restore the original value of
>>> org-latex-pdf-process, which uses latexmk (if it is installed, which
>>> seems to be your case), which executes '%latex' (=
>>> `org-latex-compiler'). latexmk is a perl script included in texlive that
>>> is responsible for executing all the necessary compilations (including
>>> the call to the bibliographic engine[1]).
>>>
>>
>> When I checked the `ox-latex.el` it appears using latexmk
>>
>>  (defcustom 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"))
>>>   "Commands to process a LaTeX file to a PDF file.
>>>
>>
>> And latexmk is already installed by texlive:
>>
>>  $ which latexmk
>>> /opt/texlive/2023/bin/x86_64-linux/latexmk
>>>
>>
>>
>> Or do you mean to change latexmk in init.el?
>>
>
> I do see in init.el that it has been changed to something like:
>
> (setq org-latex-pdf-process
>>       '("pdflatex -interaction nonstopmode -output-directory %o %f"
>>          "bibtex %b"
>>         "pdflatex -shell-escape -interaction nonstopmode
>> -output-directory %o %f"
>>         "pdflatex -shell-escape -interaction nonstopmode
>> -output-directory %o %f"))
>>
>
>
>> Thanks!
>>
>>>
>>> [1] In some cases some configuration is required for latexmk via a
>>> ~/latexmkrc file, but by default everything should work fine.
>>>
>>>
>>>
>>
>> --
>> 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.
>> -.. .. ... -.-. .-.. .- .. -- . .-. | -.. .. ... -.-. .-.. .- .. -- . .-.
>>
>>
>
> --
> 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.
> -.. .. ... -.-. .-.. .- .. -- . .-. | -.. .. ... -.-. .-.. .- .. -- . .-.
>
>

-- 
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 #2: Type: text/html, Size: 12464 bytes --]

  reply	other threads:[~2023-09-21 20:42 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-21  7:46 Sanskrit/Devanagari fonts not exported to org-pdf output Zenny
2023-09-21  8:24 ` Juan Manuel Macías
2023-09-21 13:46   ` Zenny
2023-09-21 15:33     ` Juan Manuel Macías
2023-09-21 17:53       ` Zenny
2023-09-21 18:28         ` Juan Manuel Macías
2023-09-21 18:44           ` Zenny
2023-09-21 19:32             ` Juan Manuel Macías
2023-09-21 20:26               ` Zenny
2023-09-21 20:39                 ` Zenny
2023-09-21 20:41                   ` Zenny [this message]
2023-09-21 21:19                     ` Juan Manuel Macías
2023-09-22  7:04                       ` Zenny
2023-09-22  8:00                         ` Juan Manuel Macías
2023-09-22  8:07                           ` Zenny
2023-09-22  8:09                             ` Zenny
2023-09-22  8:41                               ` Juan Manuel Macías
2023-09-22  8:49                                 ` Zenny
2023-09-22  8:54                                   ` Zenny
2023-09-22  8:54                                   ` Juan Manuel Macías
2023-09-22  8:58                                     ` Zenny
2023-09-22  9:06                                       ` Juan Manuel Macías
2023-09-22  9:37                                         ` Zenny
2023-09-22 10:02                                           ` Juan Manuel Macías
2023-09-22 12:59                                             ` Zenny
2023-09-22 15:12                                               ` Juan Manuel Macías
2023-09-22 17:51                                                 ` Zenny
2023-09-22  8:18                             ` Juan Manuel Macías
2023-09-22  8:30                               ` Zenny

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CACuV5sAq633UwwbTxqOuUgmjgFWCaOxWH8WA0_WAauVfe2YL_Q@mail.gmail.com \
    --to=garbytrash@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=maciaschain@posteo.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).