From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id gGPGGV6PDGVQLQEAG6o9tA:P1 (envelope-from ) for ; Thu, 21 Sep 2023 20:45:50 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id gGPGGV6PDGVQLQEAG6o9tA (envelope-from ) for ; Thu, 21 Sep 2023 20:45:50 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 1A78834EA7 for ; Thu, 21 Sep 2023 20:45:50 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=B8RdgS5U; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1695321950; a=rsa-sha256; cv=none; b=t2nmPk5Xr7QbqKcB1FklfKVFeL2PvbOckSUo887gOz0EOcM2TP7baUlNeERGZI6PRV9yQ0 PC8b2uwWiyXm97zkKkiev1dYXnL+A3q71AfPyt3hHreX7fXmaX6JCWxz6a5BTpG9qex8Kp 1ovu4UaVEZf3sWzf56YD+Qv0asXVHkbgj29P4l3jpdElx+EYOtEpDoUbc4KjOIiVPLHu7r /Tafjx/wLLdWdjRYlBdqgFferquYTdg0w1pt5Doozr6ip+CgSKzRsPz504/9yNq086aHLQ Vm0Bm22nJNpoY5pRncoS9gB0wWoz8ws/NPBEC4ipqM0ZbFwQI4Nycb3954fqDQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1695321950; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=Kd/c3zN2a9mEShwCi1gMSlJNkh6j838NchycxsG9ZrA=; b=hSbgEz7UaZk5SQVyvpNeU8adk3qMddv9ODz1IJu5NCsUpAGHz2Z0FbMfsVqqCIqN98OMh2 Csjnn2clCs3LD8DRq4My+HbToXjQcY8KmFKs7X/DB0XVJW/dPIbRdfAaMyBK/9gauofAss m5jnTBSxvhn4hjE7Lt96Jff0iZDTrClNt0TlteTQqULjqG7yG4ON4igvJv5O/inqlhikto M4sESbuQ3YAe6jfrJv3bZ8/n8Rar9R7PMXx759SrEgA6s2GIN5AGlPh5hmN6w/7DyW3oLe d6l1GE6ZA9uWcUsmgDwOs62qftM5REIckE4fvgsJm2qKLAUqDnzxFtD/FxnFkw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=B8RdgS5U; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qjOfZ-0007Zy-Qb; Thu, 21 Sep 2023 14:44:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qjOfY-0007Zq-Vg for emacs-orgmode@gnu.org; Thu, 21 Sep 2023 14:44:56 -0400 Received: from mail-lj1-x232.google.com ([2a00:1450:4864:20::232]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qjOfW-0004IS-JC for emacs-orgmode@gnu.org; Thu, 21 Sep 2023 14:44:56 -0400 Received: by mail-lj1-x232.google.com with SMTP id 38308e7fff4ca-2c008042211so22060071fa.2 for ; Thu, 21 Sep 2023 11:44:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695321892; x=1695926692; darn=gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=Kd/c3zN2a9mEShwCi1gMSlJNkh6j838NchycxsG9ZrA=; b=B8RdgS5UU373gejO55SPdoRjyiRXx2yzQiDMadGmxRYnmkBro0WT6T99V4KLKs9xGw UlA5s1Cpfy1zGKsGhjhKZhXUP2sk15/RVA9oWSXgclMtLMx85gWy4IGcZz41mVTtGrfK ZohAVKG1NNgeHBcODrTiG/UPwATkY8pMD8XwHm02CcyDhEHgaMJu37KxhvYN446WdsYh 5aID2qh03r3O2fIZB29ueAY30yS3bxoflsNkwOb61SPiRofsyD4PRahMnC9A28ZwI38x 6DKvoGgXjAC44acjciBjHZAUOgKUCId++Noc4NoEY9FNeQC5VzTV0irBlM0cWxmOaaor Tf5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695321892; x=1695926692; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Kd/c3zN2a9mEShwCi1gMSlJNkh6j838NchycxsG9ZrA=; b=p+5Eu4cHamUdZGHxdBbsTuUhSf7n4WmYnEiotxTiE20YNt2ebwJ5e5LgWEPI7VJexQ 3B4uEfIc1yaexLii6e3KmMqR2pzvUL+Itm3Aa1YIkcCEoASJRXcESmz4NuMyK3IYeV1G yvwYEMvA8y6Sr1aiBo93oJFiWZnk2SEcxNqO8MxnSMh+da5txuTw5pdB62ur5BD9axSq gkdVO3WQl3SUvpf+zN7v/xR6rVc/E1bo07ECfgxp/sVBqYbsKWKzG7Pp/zlfPjaIAwrQ 37qk8akN3c2p6sj9eXFJ8rzP6T3XZQARVH/m5kx+T44/FM+jl3FslPpvix9EzuhhR/Sh xVjQ== X-Gm-Message-State: AOJu0Yzm2uC4/xh+2VU7ELb6AeNW+hNKDB6qhfhdJxMVRUUowt3alJLH 5UuqAHwz1FdFkyUwaJiwjKDlqPgAzKcVsOE6Nn8= X-Google-Smtp-Source: AGHT+IG837uVlK+gF2qIFDXubro526TgpDiDfI4+hh7dxaVcTEw2PtZ4kt2+ZVEUle+fXFrq7ugX5MpaUjg4Pfw8zxs= X-Received: by 2002:a2e:808e:0:b0:2bf:e855:8cbf with SMTP id i14-20020a2e808e000000b002bfe8558cbfmr5345445ljg.35.1695321892298; Thu, 21 Sep 2023 11:44:52 -0700 (PDT) MIME-Version: 1.0 References: <875y44q6gf.fsf@posteo.net> <87wmwjpmls.fsf@posteo.net> <87r0mrpein.fsf@posteo.net> In-Reply-To: <87r0mrpein.fsf@posteo.net> From: Zenny Date: Thu, 21 Sep 2023 20:44:40 +0200 Message-ID: Subject: Re: Sanskrit/Devanagari fonts not exported to org-pdf output To: =?UTF-8?Q?Juan_Manuel_Mac=C3=ADas?= Cc: emacs-orgmode@gnu.org Content-Type: multipart/alternative; boundary="0000000000002ba5690605e2e3a5" Received-SPF: pass client-ip=2a00:1450:4864:20::232; envelope-from=garbytrash@gmail.com; helo=mail-lj1-x232.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -9.52 X-Spam-Score: -9.52 X-Migadu-Queue-Id: 1A78834EA7 X-Migadu-Scanner: mx2.migadu.com X-TUID: KDX27dHR16M4 --0000000000002ba5690605e2e3a5 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, Sep 21, 2023 at 8:28=E2=80=AFPM Juan Manuel Mac=C3=ADas 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 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 =E2=80=98ox-latex.el=E2=80= =99. > > 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=3Dnonstopmode -output-directory=3D= %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 =E2=80=98org-latex-known-warnings=E2=80=99. > > 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 > =E2=80=98org-latex-compiler=E2=80=99), and %bib is the BibTeX-like compil= er (see > =E2=80=98org-latex-bib-compiler=E2=80=99). > > The reason why this is a list is that it usually takes several > runs of =E2=80=98pdflatex=E2=80=99, maybe mixed with a call to =E2=80=98b= ibtex=E2=80=99. 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 =E2=80=98texi2dvi=E2=80=99 or =E2= =80=98latexmk=E2=80=99, > 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=C3=ADas > > https://juanmanuelmacias.com > > https://lunotipia.juanmanuelmacias.com > > https://gnutas.juanmanuelmacias.com > > > --=20 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. -.. .. ... -.-. .-.. .- .. -- . .-. | -.. .. ... -.-. .-.. .- .. -- . .-. --0000000000002ba5690605e2e3a5 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Thu, Sep 21, 2023 at 8:28=E2=80=AFPM Juan Manuel Mac=C3=ADas <= maciaschain@posteo.net> wr= ote:
Zenny write= s:

> 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:
>
>=C2=A0 =C2=A0 =C2=A0! Fatal Package fontspec Error: The fontspec packag= e requires
>=C2=A0 =C2=A0 =C2=A0either XeTeX or
>=C2=A0 =C2=A0 =C2=A0(fontspec)=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 LuaTeX.
>=C2=A0 =C2=A0 =C2=A0(fontspec)=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0
>=C2=A0 =C2=A0 =C2=A0(fontspec)=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 You must change your typesetting
>=C2=A0 =C2=A0 =C2=A0engine to,
>=C2=A0 =C2=A0 =C2=A0(fontspec)=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 e.g., "xelatex" or "lual= atex"
>=C2=A0 =C2=A0 =C2=A0instead of
>=C2=A0 =C2=A0 =C2=A0(fontspec)=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 "latex" or "pdflatex&quo= t;.
>
>=C2=A0 =C2=A0 =C2=A0Type <return> to continue.
>=C2=A0 =C2=A0 =C2=A0 ...=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0
>=C2=A0 =C2=A0 =C2=A0l.45 \msg_fatal:nn {fontspec} {cannot-use-pdftex} >
>=C2=A0
> Entire texlive packages are installed and lualatex binary is at:
>
>=C2=A0 =C2=A0 =C2=A0$ which lualatex
>=C2=A0 =C2=A0 =C2=A0/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 i= n =E2=80=98ox-latex.el=E2=80=99.

Its value is
("pdflatex -in= teraction nonstopmode -output-directory %o %f" "bibtex %b" &= quot;pdflatex -shell-escape -interaction nonstopmode -output-directory %o %= f" "pdflatex -shell-escape -interaction nonstopmode -output-direc= tory %o %f")
Original value was
("latexmk -f -pdf -%latex = -interaction=3Dnonstopmode -output-directory=3D%o %f")

Commands= to process a LaTeX file to a PDF file.

The command output will be p= arsed to extract compilation errors and
warnings according to =E2=80=98o= rg-latex-known-warnings=E2=80=99.

This is a list of strings, each of= them will be given to the
shell as a command. =C2=A0%f in the command w= ill 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 th= e
output file, %latex is the LaTeX compiler (see
=E2=80=98org-latex-c= ompiler=E2=80=99), and %bib is the BibTeX-like compiler (see
=E2=80=98or= g-latex-bib-compiler=E2=80=99).

The reason why this is a list is tha= t it usually takes several
runs of =E2=80=98pdflatex=E2=80=99, maybe mix= ed with a call to =E2=80=98bibtex=E2=80=99.=C2=A0 Org
does not have a cl= ever mechanism to detect which of these
commands have to be run to get t= o a stable result, and it also
does not do any error checking.

Co= nsider a smart LaTeX compiler such as =E2=80=98texi2dvi=E2=80=99 or =E2=80= =98latexmk=E2=80=99,
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 ofAUCTeX or the Emacs LaTeX mode.=C2=A0 This function should accept the
f= ile name as its single argument.

=C2=A0 You can customize this varia= ble.

Thanks!


--
Cheers,
/z

-.. .. ... -.-. .-.. .- .. -- .= .-. | -.. .. ... -.-. .-.. .- .. -- . .-.
CONFIDENTIALITY NOTICE= AND DISCLAIMER: Access to this e-mail and its contents by anyone other tha= n the intended recipient is unauthorized as it contains privileged and conf= idential information, and is subject to legal privilege. Please do not re/d= istribute it.=C2=A0 If you are not the intended recipient (or responsible f= or delivery of the message to such person), you may not use, copy, distribu= te 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 c= ase, you should destroy this message, and notify the sender immediately. If= you have received this email in error, please notify the sender or your sy= sadmin immediately by e-mail or telephone, and delete the e-mail from any c= omputer. If you or your employer does not consent to internet e-mail messag= es of this kind, please notify the sender immediately. All reasonable preca= utions have been taken to ensure no viruses are present in this e-mail and = attachments included. As the sender=C2=A0 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 procedu= res prior to use. The views, opinions, conclusions and other informations e= xpressed in this electronic mail are not given or endorsed by any company i= ncluding the network providers unless otherwise indicated by an authorized = representative independent of this message.
-.. .. ... -.-. .-.. = .- .. -- . .-. | -.. .. ... -.-. .-.. .- .. -- . .-.
=
--0000000000002ba5690605e2e3a5--