From: Pedro Andres Aranda Gutierrez <[email protected]> To: Ihor Radchenko <[email protected]> Cc: Org Mode List <[email protected]> Subject: Re: Status of the all-tex-fonts feature branch Date: Fri, 4 Jul 2025 09:44:41 +0200 [thread overview] Message-ID: <CAO48Bk_iT_f9U-ieNi9SCDR1WgZ9LWgyM7LU_=Vhb9b_LPd5Pw@mail.gmail.com> (raw) In-Reply-To: <CAO48Bk9t+-Qpa+K=MfXxDqzdNjg50rMAXkMmM2WBgeC0vcwcnw@mail.gmail.com> Hi again, I've integrated this into the current feature branch. It was not too painful ;-) Best, /PA On Wed, 2 Jul 2025 at 18:03, Pedro Andres Aranda Gutierrez <[email protected]> wrote: > > Hi Ihor, > > just to check. > > What you mean is: > > diff --git a/lisp/ox-latex.el b/lisp/ox-latex.el > index c6fb6b06b..f1c9d090f 100644 > --- a/lisp/ox-latex.el > +++ b/lisp/ox-latex.el > @@ -171,6 +171,7 @@ > (:latex-toc-command nil nil org-latex-toc-command) > (:latex-compiler "LATEX_COMPILER" nil org-latex-compiler) > (:latex-multi-lang "LATEX_MULTI_LANG" nil org-latex-multi-lang-driver) > + (:languages "LANGUAGE" nil (list org-export-default-language) split) > ;; Redefine regular options. > (:date "DATE" nil "\\today" parse))) > > diff --git a/lisp/ox.el b/lisp/ox.el > index d95e031e8..36716dfc7 100644 > --- a/lisp/ox.el > +++ b/lisp/ox.el > @@ -3099,6 +3099,10 @@ still inferior to file-local settings." > (append (org-export-get-all-options backend) > org-export-options-alist)))) > tree modified-tick) > + ;; Get :languages and insert it into :language > + (when-let* ((languages (plist-get info :languages)) > + (lang (nth 0 languages))) > + (setq info (plist-put info :language lang))) > ;; Run first hook with current backend's name as argument. > (run-hook-with-args 'org-export-before-processing-hook > (org-export-backend-name backend)) > > And then, of course, use :languages in ox-latex.el > > Right? > > Best, /PA > > On Tue, 1 Jul 2025 at 07:28, Pedro Andres Aranda Gutierrez > <[email protected]> wrote: > > > > On Mon, 30 Jun 2025 at 19:34, Ihor Radchenko <[email protected]> wrote: > > > > > > Pedro Andres Aranda Gutierrez <[email protected]> writes: > > > > > > >> >> Also, since we now allow multiple languages to be listed in #+LANGUAGE, > > > >> >> we may need to update the manual when talking about #+LANGUAGE keyword > > > >> >> in other places as well; not just in latex export section. > > > >> You seemingly did not address this comment. > > > > > > > > I've gone through the code once again and I think we need to start > > > > looking at places where #+LANGUAGE is used outside the LaTeX exporter. > > > > There we will need to filter out and keep the first language if we > > > > find a comma separated list of languages... > > > > > > > > WDYT? > > > > > > 1. It will be better to use space instead of comma. Then, we will be > > > able to use "split" directive in `org-export-options-alist' > > > 2. We will probably need to do some backwards compatibility refactoring, > > > making sure that no extra package using :language is broken. > > > Preliminary, I am thinking of the following approach: > > > (i) We introduce a new :languages export option > > > (:languages "LANGUAGE" nil (list org-export-default-language) split) > > If I get you right, :languages will be an array, right? > > > (ii) We introduce pre-processing into `org-export--annotate-info' > > > extracting the first language from :languages property into > > > :language. That way, everything relying on :language value being > > > a single string, will remain operational. Newer code can then > > > use :languages directly. > > > > > > WDYT? > > My concern is the impact it might have for other backends... > > > > Let's go through a use case: > > > > Say you have an Org document you want to export to PDF and HTML from Org. > > Your Web page needs to be in Italian, and you want to have ancient > > Greek text on it. > > To produce the PDF, you intend to use =polyglossia=. > > > > What would be the approach? > > > > Thx, /PA > > > > > > -- > > > Ihor Radchenko // yantar92, > > > Org mode maintainer, > > > Learn more about Org mode at <https://orgmode.org/>. > > > Support Org development at <https://liberapay.com/org-mode>, > > > or support my work at <https://liberapay.com/yantar92> > > > > > > > > -- > > Fragen sind nicht da, um beantwortet zu werden, > > Fragen sind da um gestellt zu werden > > Georg Kreisler > > > > Sagen's Paradeiser, write BE! > > Year 1 of the New Koprocracy > > > > -- > Fragen sind nicht da, um beantwortet zu werden, > Fragen sind da um gestellt zu werden > Georg Kreisler > > Sagen's Paradeiser, write BE! > Year 1 of the New Koprocracy -- Fragen sind nicht da, um beantwortet zu werden, Fragen sind da um gestellt zu werden Georg Kreisler Sagen's Paradeiser, write BE! Year 1 of the New Koprocracy
next prev parent reply other threads:[~2025-07-04 7:44 UTC|newest]
Thread overview: 208+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-06-23 5:46 Status of the all-tex-fonts feature branch Pedro Andres Aranda Gutierrez
2025-06-29 8:21 ` Ihor Radchenko
2025-06-29 8:51 ` Pedro Andres Aranda Gutierrez
2025-06-29 16:59 ` Pedro Andres Aranda Gutierrez
2025-06-29 18:02 ` Ihor Radchenko
2025-06-30 6:41 ` Pedro Andres Aranda Gutierrez
2025-06-30 10:35 ` Pedro Andres Aranda Gutierrez
2025-06-30 17:32 ` Ihor Radchenko
2025-07-01 5:28 ` Pedro Andres Aranda Gutierrez
2025-07-02 16:03 ` Pedro Andres Aranda Gutierrez
2025-07-04 7:44 ` Pedro Andres Aranda Gutierrez [this message]
2025-07-06 17:35 ` Ihor Radchenko
2025-07-07 7:55 ` Pedro Andres Aranda Gutierrez
2025-07-07 16:26 ` Ihor Radchenko
2025-07-06 17:11 ` Ihor Radchenko
2025-06-30 17:50 ` Ihor Radchenko
2025-07-01 5:20 ` Pedro Andres Aranda Gutierrez
2025-07-06 17:15 ` Ihor Radchenko
2025-07-15 17:22 ` Ihor Radchenko
2025-07-16 6:08 ` Pedro Andres Aranda Gutierrez
2025-07-16 7:41 ` Pedro Andres Aranda Gutierrez
2025-07-17 10:57 ` Max Nikulin
2025-07-17 15:18 ` Pedro Andres Aranda Gutierrez
2025-07-19 14:11 ` Ihor Radchenko
2025-07-17 15:23 ` Pedro Andres Aranda Gutierrez
2025-07-17 15:39 ` Pedro Andres Aranda Gutierrez
2025-07-17 15:59 ` Pedro Andres Aranda Gutierrez
2025-07-19 14:27 ` Ihor Radchenko
2025-07-19 15:37 ` Pedro Andres Aranda Gutierrez
2025-07-19 15:44 ` Ihor Radchenko
2025-07-19 15:45 ` Ihor Radchenko
2025-07-22 8:11 ` Pedro Andres Aranda Gutierrez
2025-07-27 13:02 ` Ihor Radchenko
2025-07-28 5:50 ` Pedro Andres Aranda Gutierrez
2025-07-28 7:00 ` Pedro Andres Aranda Gutierrez
2025-07-28 17:48 ` Ihor Radchenko
2025-07-29 5:17 ` Pedro Andres Aranda Gutierrez
2025-07-30 7:05 ` Pedro Andres Aranda Gutierrez
2025-07-30 7:07 ` Ihor Radchenko
2025-09-27 11:28 ` Ihor Radchenko
2025-09-27 18:49 ` Pedro Andres Aranda Gutierrez
2025-09-28 5:15 ` Pedro Andres Aranda Gutierrez
2025-09-28 12:59 ` Ihor Radchenko
2025-09-29 5:32 ` Pedro Andres Aranda Gutierrez
2025-09-29 6:36 ` Pedro Andres Aranda Gutierrez
2025-09-29 8:54 ` Pedro Andres Aranda Gutierrez
2025-09-29 9:49 ` Ihor Radchenko
2025-09-30 6:19 ` Pedro Andres Aranda Gutierrez
2025-10-03 18:12 ` Ihor Radchenko
2025-10-04 5:39 ` Pedro Andres Aranda Gutierrez
2025-10-04 6:43 ` Ihor Radchenko
2025-10-04 8:19 ` Pedro Andres Aranda Gutierrez
2025-10-04 8:53 ` Ihor Radchenko
2025-10-04 10:13 ` Pedro Andres Aranda Gutierrez
2025-10-04 10:45 ` Pedro Andres Aranda Gutierrez
2025-10-04 12:20 ` Ihor Radchenko
2025-10-04 14:36 ` Pedro Andres Aranda Gutierrez
2025-10-04 18:01 ` Ihor Radchenko
2025-10-05 5:17 ` Pedro Andres Aranda Gutierrez
2025-10-05 9:39 ` Ihor Radchenko
2025-10-05 15:15 ` Pedro Andres Aranda Gutierrez
2025-10-05 18:48 ` Ihor Radchenko
2025-10-06 6:12 ` Pedro Andres Aranda Gutierrez
2025-10-06 15:25 ` Ihor Radchenko
2025-10-06 16:09 ` Pedro Andres Aranda Gutierrez
2025-10-06 17:06 ` Ihor Radchenko
2025-10-07 5:32 ` Pedro Andres Aranda Gutierrez
2025-10-07 16:58 ` Ihor Radchenko
2025-10-08 6:13 ` Pedro Andres Aranda Gutierrez
2025-10-11 11:50 ` Ihor Radchenko
2025-10-11 17:12 ` Pedro Andres Aranda Gutierrez
2025-10-12 7:10 ` Pedro A. Aranda
2025-10-12 8:56 ` Ihor Radchenko
2025-10-12 8:57 ` Ihor Radchenko
2025-10-12 9:14 ` Ihor Radchenko
[not found] ` <CAO48Bk9hxtk_n+AwgyuF+YxO3nMf94EjBa=JVfY8G6s3pgk1zQ@mail.gmail.com>
2025-10-12 11:01 ` Ihor Radchenko
2025-10-12 15:40 ` Pedro Andres Aranda Gutierrez
2025-10-12 17:08 ` Pedro Andres Aranda Gutierrez
2025-10-12 18:55 ` Ihor Radchenko
2025-10-13 5:36 ` Pedro Andres Aranda Gutierrez
2025-10-16 17:23 ` Ihor Radchenko
2025-10-17 6:25 ` Pedro Andres Aranda Gutierrez
2025-10-17 16:53 ` Ihor Radchenko
2025-10-18 8:30 ` Pedro Andres Aranda Gutierrez
2025-10-18 9:29 ` Ihor Radchenko
2025-10-18 16:50 ` Pedro Andres Aranda Gutierrez
2025-10-18 17:25 ` Ihor Radchenko
2025-10-18 19:03 ` Pedro Andres Aranda Gutierrez
2025-10-19 8:28 ` Ihor Radchenko
2025-10-19 8:43 ` Pedro Andres Aranda Gutierrez
2025-10-19 6:27 ` Pedro Andres Aranda Gutierrez
2025-10-19 8:25 ` Ihor Radchenko
2025-10-21 17:57 ` Ihor Radchenko
2025-10-22 5:48 ` Pedro A. Aranda
2025-10-22 16:55 ` Ihor Radchenko
[not found] ` <[email protected]>
2025-10-23 15:22 ` Fwd: " Pedro Andres Aranda Gutierrez
2025-10-23 17:16 ` Ihor Radchenko
2025-10-24 6:07 ` Pedro Andres Aranda Gutierrez
2025-10-24 18:27 ` Ihor Radchenko
2025-10-25 6:09 ` Pedro Andres Aranda Gutierrez
2025-10-25 10:13 ` Ihor Radchenko
2025-10-25 10:55 ` Pedro Andres Aranda Gutierrez
2025-10-25 12:14 ` Ihor Radchenko
2025-10-25 14:27 ` Pedro Andres Aranda Gutierrez
2025-10-25 15:10 ` Ihor Radchenko
2025-10-30 6:31 ` Pedro Andres Aranda Gutierrez
2025-11-01 13:23 ` Ihor Radchenko
2025-11-02 7:44 ` Pedro A. Aranda
2025-11-02 11:27 ` Ihor Radchenko
[not found] ` <[email protected]>
[not found] ` <87346unccd.fsf@localhost>
2025-11-07 17:27 ` Pedro Andres Aranda Gutierrez
2025-11-07 18:51 ` Ihor Radchenko
2025-11-08 7:12 ` Pedro Andres Aranda Gutierrez
2025-11-08 10:10 ` Ihor Radchenko
2025-11-08 16:32 ` Pedro Andres Aranda Gutierrez
2025-11-08 20:37 ` Ihor Radchenko
2025-11-09 7:15 ` Pedro Andres Aranda Gutierrez
[not found] ` <CAO48Bk-YH_9cjjeDogH57SFf4WmOC4CaiRv4zVpTYZ=Y+mUgAQ@mail.gmail.com>
2025-11-09 10:58 ` Fwd: " Huang Jing
2025-11-09 12:21 ` Ihor Radchenko
2025-11-09 13:34 ` Huang Jing
2025-11-10 18:14 ` Ihor Radchenko
2025-11-11 13:35 ` RadioNoiseE
2025-11-11 14:05 ` Pedro Andres Aranda Gutierrez
2025-11-11 15:01 ` RadioNoiseE
2025-11-11 15:35 ` Pedro Andres Aranda Gutierrez
2025-11-14 10:07 ` Fwd: " Pedro A. Aranda
2025-11-15 10:35 ` Ihor Radchenko
2025-11-15 11:46 ` Pedro Andres Aranda Gutierrez
2025-11-17 2:03 ` RadioNoiseE
[not found] ` <CAO48Bk_ua3JQYM0bjHrmE1b7gyymAwPTT4d7HX0YYCOv0KB6pw@mail.gmail.com>
2025-11-17 7:22 ` Fwd: " Pedro Andres Aranda Gutierrez
2025-11-18 17:52 ` Pedro Andres Aranda Gutierrez
2025-11-19 20:14 ` Ihor Radchenko
2025-11-20 5:50 ` Pedro Andres Aranda Gutierrez
2025-11-20 6:25 ` Ihor Radchenko
2025-11-20 6:34 ` Pedro Andres Aranda Gutierrez
2025-11-20 20:22 ` Ihor Radchenko
2025-11-21 6:12 ` Pedro Andres Aranda Gutierrez
2025-11-21 8:05 ` Ihor Radchenko
2025-11-21 8:43 ` Pedro Andres Aranda Gutierrez
2025-11-21 13:45 ` Ihor Radchenko
2025-11-21 15:59 ` Pedro Andres Aranda Gutierrez
2025-11-21 16:56 ` Pedro Andres Aranda Gutierrez
2025-11-21 17:08 ` Pedro Andres Aranda Gutierrez
2025-11-21 18:31 ` Ihor Radchenko
2025-11-22 6:46 ` Pedro Andres Aranda Gutierrez
2025-11-22 9:16 ` Ihor Radchenko
2025-11-22 12:06 ` Pedro Andres Aranda Gutierrez
2025-11-22 13:12 ` Ihor Radchenko
2025-11-22 15:58 ` Pedro Andres Aranda Gutierrez
2025-11-22 16:20 ` Ihor Radchenko
2025-11-22 16:26 ` Pedro Andres Aranda Gutierrez
2025-11-23 3:23 ` Max Nikulin
2025-11-23 5:52 ` Pedro Andres Aranda Gutierrez
2025-11-23 7:52 ` Max Nikulin
2025-11-23 8:44 ` Pedro Andres Aranda Gutierrez
2025-11-23 9:30 ` Ihor Radchenko
2025-11-23 9:58 ` Pedro Andres Aranda Gutierrez
2025-11-23 10:07 ` Ihor Radchenko
2025-11-22 16:20 ` Pedro Andres Aranda Gutierrez
2025-11-23 7:36 ` Pedro Andres Aranda Gutierrez
2025-11-23 9:20 ` Ihor Radchenko
2025-11-23 9:46 ` Pedro Andres Aranda Gutierrez
2025-11-23 11:10 ` Ihor Radchenko
2025-11-24 9:34 ` Pedro Andres Aranda Gutierrez
2025-11-24 17:57 ` Ihor Radchenko
2025-11-24 19:31 ` Pedro Andres Aranda Gutierrez
2025-11-24 19:36 ` Ihor Radchenko
2025-11-24 19:37 ` Pedro Andres Aranda Gutierrez
2025-11-24 19:40 ` Ihor Radchenko
2025-11-24 19:44 ` Ihor Radchenko
2025-11-25 6:02 ` Pedro Andres Aranda Gutierrez
2025-11-25 6:56 ` Pedro Andres Aranda Gutierrez
2025-11-25 20:01 ` Ihor Radchenko
2025-11-26 7:02 ` Pedro Andres Aranda Gutierrez
2025-11-26 7:46 ` Pedro Andres Aranda Gutierrez
2025-11-29 14:18 ` Ihor Radchenko
2025-11-29 18:52 ` Pedro Andres Aranda Gutierrez
2025-11-30 10:57 ` Ihor Radchenko
2025-11-30 11:47 ` Pedro Andres Aranda Gutierrez
2025-11-30 12:55 ` Ihor Radchenko
2025-11-30 16:43 ` Pedro Andres Aranda Gutierrez
2025-11-30 18:06 ` Ihor Radchenko
2025-11-30 19:42 ` Pedro Andres Aranda Gutierrez
2025-12-01 18:04 ` Pedro Andres Aranda Gutierrez
2025-12-01 20:26 ` Ihor Radchenko
2025-11-29 14:11 ` Ihor Radchenko
2025-11-23 7:29 ` Pedro Andres Aranda Gutierrez
2025-11-23 7:36 ` Ihor Radchenko
2025-11-23 7:40 ` Pedro Andres Aranda Gutierrez
2025-11-23 9:22 ` Ihor Radchenko
2025-11-15 6:48 ` Fwd: " Pedro Andres Aranda Gutierrez
2025-11-15 18:33 ` Ihor Radchenko
2025-11-16 6:13 ` Pedro Andres Aranda Gutierrez
2025-11-17 2:16 ` RadioNoiseE
[not found] ` <CAO48Bk_0K+EGtbk08xHUJ0C7oksuH5JoFnyS4GBQxFUPBfvzPg@mail.gmail.com>
2025-11-17 7:21 ` Pedro Andres Aranda Gutierrez
2025-11-17 7:22 ` Fwd: " Pedro Andres Aranda Gutierrez
2025-11-17 2:07 ` RadioNoiseE
2025-11-09 11:15 ` Ihor Radchenko
2025-11-09 16:38 ` Pedro Andres Aranda Gutierrez
2025-11-10 18:30 ` Ihor Radchenko
2025-11-11 6:19 ` Pedro Andres Aranda Gutierrez
2025-11-11 12:43 ` Ihor Radchenko
2025-11-11 13:40 ` Pedro Andres Aranda Gutierrez
2025-11-15 10:32 ` Ihor Radchenko
2025-11-15 11:41 ` Pedro Andres Aranda Gutierrez
2025-11-12 7:00 ` Pedro Andres Aranda Gutierrez
2025-11-15 6:13 ` Max Nikulin
2025-11-15 6:53 ` Pedro Andres Aranda Gutierrez
2025-09-27 11:30 ` Ihor Radchenko
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='CAO48Bk_iT_f9U-ieNi9SCDR1WgZ9LWgyM7LU_=Vhb9b_LPd5Pw@mail.gmail.com' \
[email protected] \
[email protected] \
[email protected] \
/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.
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).