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: Thu, 21 Sep 2023 20:44:40 +0200

On Thu, Sep 21, 2023 at 8:28 PM Juan Manuel Macías <maciaschain@posteo.net> 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:
>
>     ! Fatal Package fontspec Error: The fontspec package requires
>     either XeTeX or
>     (fontspec)                      LuaTeX.
>     (fontspec)                     
>     (fontspec)                      You must change your typesetting
>     engine to,
>     (fontspec)                      e.g., "xelatex" or "lualatex"
>     instead of
>     (fontspec)                      "latex" or "pdflatex".
>
>     Type <return> to continue.
>      ...                                             
>                                                       
>     l.45 \msg_fatal:nn {fontspec} {cannot-use-pdftex}
>

> Entire texlive packages are installed and lualatex binary is at:
>
>     $ which lualatex
>     /opt/texlive/2023/bin/x86_64-linux/lualatex

Can you please show here the value of 'org-latex-pdf-process'?

(M-x describe-variable RET org-latex-pdf-process RET)

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

Commands to process a LaTeX file to a PDF file.

The command output will be parsed to extract compilation errors and
warnings according to ‘org-latex-known-warnings’.

This is a list of strings, each of them will be given to the
shell as a command.  %f in the command will be replaced by the
relative file name, %F by the absolute file name, %b by the file
base name (i.e. without directory and extension parts), %o by the
base directory of the file, %O by the absolute file name of the
output file, %latex is the LaTeX compiler (see
‘org-latex-compiler’), and %bib is the BibTeX-like compiler (see
‘org-latex-bib-compiler’).

The reason why this is a list is that it usually takes several
runs of ‘pdflatex’, maybe mixed with a call to ‘bibtex’.  Org
does not have a clever mechanism to detect which of these
commands have to be run to get to a stable result, and it also
does not do any error checking.

Consider a smart LaTeX compiler such as ‘texi2dvi’ or ‘latexmk’,
which calls the "correct" combinations of auxiliary programs.

Alternatively, this may be a Lisp function that does the
processing, so you could use this to apply the machinery of
AUCTeX or the Emacs LaTeX mode.  This function should accept the
file name as its single argument.

  You can customize this variable.

Thanks!


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.
-.. .. ... -.-. .-.. .- .. -- . .-. | -.. .. ... -.-. .-.. .- .. -- . .-.


reply via email to

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