From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id uMmLKYce7GUWlgAAqHPOHw:P1 (envelope-from ) for ; Sat, 09 Mar 2024 09:32:07 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id uMmLKYce7GUWlgAAqHPOHw (envelope-from ) for ; Sat, 09 Mar 2024 09:32:07 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=ExdFIzZA; 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-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1709973127; 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=vUPoyQezsHrf0LwR9W+Grb1nm7n57/vugIw6CAwjOCo=; b=e+T87E7OLi/5nZf9Tc2XejZNgh5xplEJkKSKZqMauztnOUCoD2iyK8Srvo027f8SDF5imJ cdhYwJzy/w89syQSeEjfuup6f4Dw8BU7Agc8pEcgEzDBE/GBz/egFOLx7xBo9bZi5cG2or GaWTsdf1jkP4tzRjMgO9LSuqdp4ZUCkDPWTJOqNsjiQypN7TKgtvLYyFkfhc1ttZfyy5Pt PJH7l77wFp9SjWOKxGnQOStAaJkE9BJhOM+1H/j4rg4JZx26TnB748kFN2GXwdFjycahtO kjAKab4CwEaQP0E5Z/twFtYmpbwht+es3kQVtT5fHtgJYFZceTTHAdvZlTiSjA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=ExdFIzZA; 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=1709973127; a=rsa-sha256; cv=none; b=WUm8wGBDe+nOL8Zbd6UdIJxhpvRilgp1CJozUjTMJgTQJDSlnx3331QNH48Es24GPjfA1W FnS8gKmiWJe9Oji/yHRq4yG12TVJyZr4jWQHw+17wslDnoECwz7DHGe51IEKaiTTPZlgfg J4K94aT11Krfyw4T66NwLoLh2Yn74Y9fP15kV34cvZZCLUTB9/iOnuI9cAKHFKppQtWbgj ekBmSVmGGW+5TUUv3fSICMkWaUDbRiiUUWhGDQ2EbSXL9HS+ggrtMKIhoYxulvUNfov/lT 4ujEtA5t//wktEqShus+klS8tALEJQpQcEPfwIrEqKwA/zr5fJrIcAGAv4ojZw== 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 624B81EECB for ; Sat, 9 Mar 2024 09:32:07 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ris7L-0006oS-ON; Sat, 09 Mar 2024 03:31:43 -0500 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 1ris7K-0006o3-C5 for emacs-orgmode@gnu.org; Sat, 09 Mar 2024 03:31:42 -0500 Received: from mail-ed1-x52f.google.com ([2a00:1450:4864:20::52f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ris7I-0005nb-NP for emacs-orgmode@gnu.org; Sat, 09 Mar 2024 03:31:42 -0500 Received: by mail-ed1-x52f.google.com with SMTP id 4fb4d7f45d1cf-5682f48532eso2136574a12.1 for ; Sat, 09 Mar 2024 00:31:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709973099; x=1710577899; 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=vUPoyQezsHrf0LwR9W+Grb1nm7n57/vugIw6CAwjOCo=; b=ExdFIzZALc6srV1PtQmsbucl089jbkyL3jWVGP/KrvsBWkN/1OZCXXN3BG4Nag6uOe 6NH8LSnT3dPoJeI5oe0+zQm3ommbBKgcBg+SZI2CF02BHhuMlUepjG1xxGJv65tyjEfo ZBkjjQeAM18C9bQ4kAeqi65u8+bwXMyW1g3L5sXTXzSSpxwmT7BON+2tpSFVppOdQdp8 zroq19gSGwFJr8s4wTQ4Fd4U39d0Kg8zhMg5/aZyZI5cMF+ECvWXDv49nxFJWJPviBh3 /wlVsAwt2uRiT5xMCbqnFYDXQIGkRjRENvxguJL7tsaWlmKPmAQQEmMdFuLK2t65PMa1 Ht7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709973099; x=1710577899; 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=vUPoyQezsHrf0LwR9W+Grb1nm7n57/vugIw6CAwjOCo=; b=PbUbyBiucyLaHrCJ/q5ZJ6568h/L0z6rph09PrPHk+fLZdNNg72xh6A9Rn4RizaKYe jKXZc1TgusTGfrrpOuKNoAAuwHWauwTLlRNMiglkPLkPeoyGRACf4StV/1FcDOAaXleG YSjdtSXvCSBR+5hSmXbir+J/ChKwioYvfB8nBcrfP776Z8tjCiBrICEMAb86TOhwBRlo gmAT29a5rIXPVfSVUJhR4bqvwunKeR+uArTlRrX5tDzQagMxLJ6th5RrZKbiKbVknjKG 4IGOGmCCh4xtBy/H6saqF8HycPGL6yKC4lsZkAy63M5Vfu1kdETxuewqEVZwkzoAluxU FyKw== X-Gm-Message-State: AOJu0YzkQUV42Vwu3UUWdgE6VKsgoWW5raD0MowpPRigEUhlnH7fRyJQ 7J7hlZyIOQNnh8i2b/RYZIy0qIc/iuNp36SucAQUzsmQK3BjGbfLh6MnF6O4Bz40Ghh/vT5LnWi Su+ZWsNbkvRCDJNQtFVlFmplphnA= X-Google-Smtp-Source: AGHT+IF58Gw9B6dhrJw2t8p4p7+1olbrWN29UVjSK8ldiFELmafCgA5pxWNaF7ZnWuQ4tBJQqHb8qCXo+TUcenVKv9g= X-Received: by 2002:a50:8d56:0:b0:567:1947:d53f with SMTP id t22-20020a508d56000000b005671947d53fmr1290757edt.9.1709973098783; Sat, 09 Mar 2024 00:31:38 -0800 (PST) MIME-Version: 1.0 References: <87bk7qxh6c.fsf@localhost> In-Reply-To: <87bk7qxh6c.fsf@localhost> From: Pedro Andres Aranda Gutierrez Date: Sat, 9 Mar 2024 09:31:12 +0100 Message-ID: Subject: Re: Just thinking... To: Ihor Radchenko Cc: Org Mode List Content-Type: multipart/alternative; boundary="00000000000020eb1106133623f0" Received-SPF: pass client-ip=2a00:1450:4864:20::52f; envelope-from=paaguti@gmail.com; helo=mail-ed1-x52f.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, T_SCC_BODY_TEXT_LINE=-0.01 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -6.57 X-Spam-Score: -6.57 X-Migadu-Queue-Id: 624B81EECB X-TUID: HB6PtCX8bNvx --00000000000020eb1106133623f0 Content-Type: text/plain; charset="UTF-8" You are right. It is easy to do from emacs-lisp scripts, looking for LATEX_CLASS in a document and then deciding to use the org-latex-... or the org-beamer-... functions, but it looks much more difficult in org.el itself :( It's just that it would look much more elegant to have only one. For me Beamer is just a LaTeX 'feature'... /PA On Thu, 7 Mar 2024 at 15:10, Ihor Radchenko wrote: > Pedro Andres Aranda Gutierrez writes: > > > duplicating export entries for LaTeX and Beamer makes the interface not > > exactly clean. > > We do have the LaTeX class, which should be "beamer" (I hope) for Beamer > > presentations, right? > > > > So why not use that to decide internally between (org-latex-export-...) > and > > (org-beamer-...) and then have a unified interaction with the user? > > I am afraid that implementing this would be a kludge. For technical > reasons. > > For example, Org export parses keywords depending on the selected export > backend. Selected in advance. > > -- > Ihor Radchenko // yantar92, > Org mode contributor, > Learn more about Org mode at . > Support Org development at , > or support my work at > -- Fragen sind nicht da, um beantwortet zu werden, Fragen sind da um gestellt zu werden Georg Kreisler Headaches with a Juju log: unit-basic-16: 09:17:36 WARNING juju.worker.uniter.operation we should run a leader-deposed hook here, but we can't yet --00000000000020eb1106133623f0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
You are right. It is easy to do from emacs-lisp scripts, l= ooking for LATEX_CLASS in a document and then deciding to use the org-latex= -... or the org-beamer-... functions, but it looks much more difficult in o= rg.el itself
:(
It's just that it would look much more el= egant to have only one. For me Beamer is just a LaTeX 'feature'...<= /div>

/PA

On Thu, 7 Mar 2024 at 15:10, Ihor Radchen= ko <yantar92@posteo.net> w= rote:
Pedro Andr= es Aranda Gutierrez <paaguti@gmail.com> writes:

> duplicating export entries for LaTeX and Beamer makes the interface no= t
> exactly clean.
> We do have the LaTeX class, which should be "beamer" (I hope= ) for Beamer
> presentations, right?
>
> So why not use that to decide internally between (org-latex-export-...= ) and
> (org-beamer-...) and then have a unified interaction with the user?
I am afraid that implementing this would be a kludge. For technical
reasons.

For example, Org export parses keywords depending on the selected export backend. Selected in advance.

--
Ihor Radchenko // yantar92,
Org mode contributor,
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 bea= ntwortet zu werden,
Fragen sind da um gestellt zu werden
= Georg Kreisler

Headaches with a Juju log:
unit-basic-16: 09:17:36 WARNING juju.worker.uniter.operation we should ru= n a leader-deposed hook here, but we can't yet

--00000000000020eb1106133623f0--