From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:5f26::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id GBRbBf5zkmVw7QAAkFu2QA (envelope-from ) for ; Mon, 01 Jan 2024 09:12:46 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id WLOrAv5zkmVWAgEAqHPOHw (envelope-from ) for ; Mon, 01 Jan 2024 09:12:46 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20230601 header.b=X5vrb3wQ; 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=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1704096765; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=zRtrzKFoyzVjcGrthkS9qo5iFeEtP8XlkgEtHI/a2+8=; b=qLC5tDrNudXS+8u4U2aAaGwzC7ccAFz1eBomMxt7YFuWQUzRejgNm5xi+fxcMTdnCJvID1 G6B8Dp7QvccZ0cDsL7guFpskt8GZ3GazAek+gHx/UNh8QoBIo3lcIVKvNr+EaxVwusFFN8 IXgKWrcLXh1x+Ap6iD8CUF46gFliPg6uiDRQbCGUDzoQ4OAAuZwKk2CsOshDkbiiqsQ6bJ cRPZvnoCDWVm6oux4FLfhIWb+7mXBuzvJ2ighlBTJ4HHvS92DYohNVZLVV/rXkHLqafyoN muzGhknld3pMP4f6tGc7Z6WQJbSTM9uzDLx+EtpvW7YBJZYz6jETUxNRu4+htA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20230601 header.b=X5vrb3wQ; 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=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1704096765; a=rsa-sha256; cv=none; b=Vpql6SwfEjdkji/GAT0DUQ7QmTLHFrfATtccEcjFcranzMlbxwkIxvc50K4jaWkNs1XIdz vouPpt7C7fogER5C6+jg5MkMgiTjyqnmPkFuvIKx3f9t1LLxzNloJVICDt/aUXbW3JXAqN jTkK4SmgGZvpN8cJb59jYKN1UqKYI3RoCAKjtB0iuFKE9vwz+9jcxztrfFW2fWRzrhUaa0 Mqpd4zH6m5TffXYCwmKbp252Wv5ia4y109fDzUQ8tQJ48t7f2Z7QMGBF+ccm14lShwE0wf 4D+X97nFp1CAQWhsjpTe8EZn14jnx5T4is86N5qanc0WwGjGskSqScX+YEDe7g== 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 CC86043501 for ; Mon, 1 Jan 2024 09:12:45 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rKDJz-0007fq-Fk; Mon, 01 Jan 2024 03:06:51 -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 1rKDJx-0007fh-N3 for emacs-orgmode@gnu.org; Mon, 01 Jan 2024 03:06:49 -0500 Received: from mail-lf1-x133.google.com ([2a00:1450:4864:20::133]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rKDJv-0000kf-JR for emacs-orgmode@gnu.org; Mon, 01 Jan 2024 03:06:49 -0500 Received: by mail-lf1-x133.google.com with SMTP id 2adb3069b0e04-50e759ece35so6254176e87.3 for ; Mon, 01 Jan 2024 00:06:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704096405; x=1704701205; darn=gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=IoEiQyiLShREkxymjsU2RjgyUsJHXlE5j8sGI50ck58=; b=X5vrb3wQ/g/ISc1Ihibfjigx/jg5eteBjA3327jRqqJNQoiHLm6eDEBjXRKsyNVrXS wlNXzp2VoxmoNZRpbKaCM9niZhjIfDIapNQOGumLa5JxoloOow6LCUSXB5d6OKyCMGKW zhKP1VMRgv0/yv594RD76iyllHcoZJ3XcanuPa4YGgykxf4rhc3oofanzrQtg/5kOTTm OU50GJ/S7oz2Ge17FdV7RV9hyKC8mxMyhza4x3nmSuTehGBb+WBdMxuvkdLhjioN9OOT K4IECLnwvfK4frCQYfBZw9rCGDFFbnZQIVtA7qcBlgNespmeddjn6wxqxspxm6pv//ag b03A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704096405; x=1704701205; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=IoEiQyiLShREkxymjsU2RjgyUsJHXlE5j8sGI50ck58=; b=r9UzOlmj5r70vCDi7DEYjynZQEIib0C/c4Vh6fItWoggkFMf27Tb6Rs444dRyLdm9Y TTq3AbAxaDNCDmJOeloAbz1VJ6Eo08cjWHAljR58zH+rq00XhaIIg/gLxNCSbhaq50LT SOCnwNg3F5wGUTvJ/NtBd43M01p+veya7V+scCqhEjiQXpLLAqkgjXLBTUTpF4fkeEv8 MI8+ZvJxziRZ6iX9DI430zzd0HIURUtc3YrhjSG6V3tna9r2Gx3HQ44/YHWuRmqV/5o0 2Ya+Xyr8qeH51S6zvsxnbFxoQVI2Jp21Ku4tqm///bxb6RZbnHT4WD94vWIjOcc5fW2S 6OCg== X-Gm-Message-State: AOJu0YwjBB2uvk8VFF0+pORcfbabOb8Bu4h/M5Kmr5MHAOSaYsM+PAPu mdu52oETdIRsKOLu7tJVT6/1vsqv6tzUA1gKhg9EsO9K3UPc7A== X-Google-Smtp-Source: AGHT+IEwx6F9DDdVspWKeAQd6TBTcqJ0lvfXZIlxF0oGWcvmUrzsE1vpCMbTHQHHE6bA9VkygLiTfOWaUttpsQqjomg= X-Received: by 2002:a19:4f15:0:b0:50e:6d96:4b32 with SMTP id d21-20020a194f15000000b0050e6d964b32mr5310060lfb.71.1704096405141; Mon, 01 Jan 2024 00:06:45 -0800 (PST) MIME-Version: 1.0 From: Pedro Andres Aranda Gutierrez Date: Mon, 1 Jan 2024 09:06:19 +0100 Message-ID: Subject: Re: Re: Adding functionality to org-latex-classes To: Org Mode List Content-Type: multipart/mixed; boundary="000000000000e4df91060ddddc0f" Received-SPF: pass client-ip=2a00:1450:4864:20::133; envelope-from=paaguti@gmail.com; helo=mail-lf1-x133.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: mx13.migadu.com X-Migadu-Spam-Score: -3.05 X-Spam-Score: -3.05 X-Migadu-Queue-Id: CC86043501 X-TUID: zUXMsmUwhg/G --000000000000e4df91060ddddc0f Content-Type: multipart/alternative; boundary="000000000000e4df8e060ddddc0d" --000000000000e4df8e060ddddc0d Content-Type: text/plain; charset="UTF-8" >Message: 16 >Date: Sun, 31 Dec 2023 14:40:32 +0000 >From: Ihor Radchenko >To: Pedro Andres Aranda Gutierrez >Cc: Org Mode List >Subject: Re: Adding functionality to org-latex-classes >Message-ID: <87ttny77vj.fsf@localhost> >Content-Type: text/plain > >Pedro Andres Aranda Gutierrez writes: > >> I was just wondering whether it would be possible to add further >> functionality to org-latex-classes and would like to start a discussion ;-) >> >> My use case is the following: >> >> The document class is tightly coupled with ~org-latex-subtitle-format~ >> and ~org-latex-subtitle-separate~. Koma-script classes, for example, need >> those variables to be defined with file or directory local variables in >> order to take full profit of the layouts. If we found a way of >> accommodating them in the class definitions, the fuzz of the extra >> variables could easily be overcome. > >We may extend `org-latex-classes' to allow custom backend option values. >For example, > > (latex-subtitle-format . value) > (latex-subtitle-separate . value) > >Then, we can use these values as the overrides when the variables are >not set explicitly as buffer-locals or as in-buffer/subtree export >keywords. > >-- >Ihor Radchenko // yantar92, >Org mode contributor, >Learn more about Org mode at . >Support Org development at , >or support my work at Attached is a concept which might be useful. At least it detects when variables are set locally and then doesn't attempt anything. Peaceful New Year, /PA -- 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 --000000000000e4df8e060ddddc0d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

>Message: 16
>Date: Sun, 3= 1 Dec 2023 14:40:32 +0000
>From: Ihor Radchenko <yantar92@posteo.net>
>To: Pedro Andres A= randa Gutierrez <paaguti@gmail.com<= /a>>
>Cc: Org Mode List <
emacs-orgmode@gnu.org>
>Subject: Re: Adding functionality t= o org-latex-classes
>Message-ID: <87ttny77vj.fsf@localhost>
= >Content-Type: text/plain
>
>Pedro Andres Aranda Gutierrez &= lt;paaguti@gmail.com> writes:>
>> I was just wondering whether it would be possible to add= further
>> functionality to org-latex-classes and would like to s= tart a discussion ;-)
>>
>> My use case is the following:=
>>
>> The document class is tightly coupled with =C2=A0~= org-latex-subtitle-format~
>> and =C2=A0~org-latex-subtitle-separa= te~. Koma-script classes, for example, need
>> those variables to = be defined with file or directory local variables in
>> order to t= ake full profit of the layouts. If we found a way of
>> accommodat= ing them in the class definitions, the fuzz of the extra
>> variab= les could easily be overcome.
>
>We may extend `org-latex-class= es' to allow custom backend option values.
>For example,
><= br>> =C2=A0(latex-subtitle-format . value)
> =C2=A0(latex-subtitle= -separate . value)
>
>Then, we can use these values as the over= rides when the variables are
>not set explicitly as buffer-locals or = as in-buffer/subtree export
>keywords.
>
>--
>Ihor = Radchenko // yantar92,
>Org mode contributor,
>Learn more about= Org mode at <https://orgmode.org/&= gt;.
>Support Org development at <https://liberapay.com/org-mode>,
>or support my wor= k at <https://liberapay.com/y= antar92>

Attached is a concept which mi= ght be useful. At least it detects when variables are set locally and then = doesn't attempt anything.

Peaceful New Year,
/PA

-- =
Fragen sind = nicht da, um beantwortet zu werden,
Fragen sind da um gestellt zu = werden
Georg Kreisler

Headaches with a Ju= ju log:
unit-basic-16: 09:17:36 WARNING juju.worker.uniter.operat= ion we should run a leader-deposed hook here, but we can't yet

<= /div>
--000000000000e4df8e060ddddc0d-- --000000000000e4df91060ddddc0f Content-Type: text/x-emacs-lisp; charset="US-ASCII"; name="org-latex-classes.el" Content-Disposition: attachment; filename="org-latex-classes.el" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_lqumz3nv0 OzsgVGhpcyBidWZmZXIgaXMgZm9yIHRleHQgdGhhdCBpcyBub3Qgc2F2ZWQsIGFuZCBmb3IgTGlz cCBldmFsdWF0aW9uLgo7OyBUbyBjcmVhdGUgYSBmaWxlLCB2aXNpdCBpdCB3aXRoICdDLXggQy1m JyBhbmQgZW50ZXIgdGV4dCBpbiBpdHMgYnVmZmVyLgoKCihkZWZ1biBpcy1pbi1sb2NhbC12YXJp YWJsZS1hbGlzdHMgKHN5bSkKICAiQ2hlY2sgaWYgc3ltYm9sIGlzIGluIGFueSBsb2NhbCB2YXJp YWJsZSBhbGlzdCIKICAod2hlbgogICAgICAob3IgKGFuZCAoYm91bmRwICdjb25uZWN0aW9uLWxv Y2FsLXZhcmlhYmxlcy1hbGlzdCkKICAgICAgICAgICAgICAgKGFzc29jIHN5bSBjb25uZWN0aW9u LWxvY2FsLXZhcmlhYmxlcy1hbGlzdCkpCiAgICAgICAgICAoYW5kIChib3VuZHAgJ2ZpbGUtbG9j YWwtdmFyaWFibGVzLWFsaXN0KQogICAgICAgICAgICAgICAoYXNzb2Mgc3ltIGZpbGUtbG9jYWwt dmFyaWFibGVzLWFsaXN0KSkKICAgICAgICAgIChhbmQgKGJvdW5kcCAnZGlyLWxvY2FsLXZhcmlh Ymxlcy1hbGlzdCkKICAgICAgICAgICAgICAgKGFzc29jIHN5bSBkaXItbG9jYWwtdmFyaWFibGVz LWFsaXN0KSkpCiAgICB0KSkKCihkZWZ1biBsb2NhbC1vci1sYXRleC1jbGFzcyAoKQogIChpbnRl cmFjdGl2ZSkKICA7OwogIDs7IFRoaXMgd291bGQgY29tZSBmcm9tIG94LWxhdGV4CiAgOzsKICAo bGV0ICgodGVzdCAnKChvcmctbGF0ZXgtc3VidGl0bGUtZm9ybWF0IC4gIlxcc3VidGl0bGV7JXN9 IikKICAgICAgICAgICAgICAgIChvcmctbGF0ZXgtc3VidGl0bGUtc2VwYXJhdGUgLiB0KSkpKQog ICAgKG1hcGNhciAjJyhsYW1iZGEgKGVsZW1lbnQpCiAgICAgICAgICAgICAgICAobGV0KiAoKHN5 bSAoY2FyIGVsZW1lbnQpKQogICAgICAgICAgICAgICAgICAgICAgIChza2lwIChpcy1pbi1sb2Nh bC12YXJpYWJsZS1hbGlzdHMgc3ltKSkKICAgICAgICAgICAgICAgICAgICAgICAoc3ltLW5hbWUg KHN5bWJvbC1uYW1lIHN5bSkpCiAgICAgICAgICAgICAgICAgICAgICAgKHZhbCAoY2RyIGVsZW1l bnQpKSkKICAgICAgICAgICAgICAgICAgOzsgKG1lc3NhZ2UgIi0tPiAlcyIgZWxlbWVudCkKICAg ICAgICAgICAgICAgICAgOzsgKGlmIHNraXAKICAgICAgICAgICAgICAgICAgOzsgICAgIChtZXNz YWdlICIlcyBzZXQgYXMgZmlsZS1sb2NhbCIgc3ltLW5hbWUpCiAgICAgICAgICAgICAgICAgIDs7 ICAgKHByb2duCiAgICAgICAgICAgICAgICAgIDs7ICAgICAobWVzc2FnZSAiV2lsbCBzZXQgJXMg dG8gJXMiIHN5bS1uYW1lIHZhbCkKICAgICAgICAgICAgICAgICAgOzsgICAgIChldmFsICcoc2V0 cSBzeW0tbmFtZSB2YWwpKSkpKSkKICAgICAgICAgICAgICAgICAgKHVubGVzcyBza2lwCiAgICAg ICAgICAgICAgICAgICAgKGV2YWwgJyhzZXRxIHN5bS1uYW1lIHZhbCkpKSkpCiAgICAgICAgICAg IHRlc3QpCiAgICAobWVzc2FnZSAiSXMgc2VwYXJhdGU6ICVzIiBvcmctbGF0ZXgtc3VidGl0bGUt c2VwYXJhdGUpCiAgICAobWVzc2FnZSAic3VidGl0bGU6ICVzIiBvcmctbGF0ZXgtc3VidGl0bGUt Zm9ybWF0KSkKICApCg== --000000000000e4df91060ddddc0f--