From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:700:3204::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id 2KzJM+F8kWUJVAAAkFu2QA (envelope-from ) for ; Sun, 31 Dec 2023 15:38:25 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id iORhLOF8kWWLawAAe85BDQ (envelope-from ) for ; Sun, 31 Dec 2023 15:38:25 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b="i9Q/OCQH"; 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=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1704033505; 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=ggCAajwBAMM/lPMJKybOMnlQF6Ay9Cp3D/7v5DvoB6k=; b=pBIoUKkcHVm26oCpcWS3tEPlKMZk4SUgCKnUPn1tU8cp/zQ/rDIqrP4/w6MPmAO6UGoI6q OZo5eFn3+K3Gb+2zo7eLSt0MbX8ELV0+9lwR9lSasIK8B7Cupvvvn5VzJ13E0hIBZc9V42 Y8s7LtiFLiiXdgVhBF6fBKnQIZj5Q1sXzFoUpnZdi0EDmzEwX9fEbWmMrgCm/CVdxc6wYO NdHeDVLl4ZJL5PsXGFlMAXwOavmWGOY3b6wLCJThS1n2J9R94CrFqmxR/2eFdV1NNmNPdF sEfiWUZY+pKeBbnH8r4KNkA1sxNGlqrkKjHBxBsLPX+3QY/T3PcD+yeqJFpcgg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b="i9Q/OCQH"; 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=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1704033505; a=rsa-sha256; cv=none; b=kumbMFF9H9mZFsc4xmgW5tOV+ZZGBLc88JMp7AnnR3/Sd67yfHYjjHys3pA4Q/rk32ishe eacpib7hrAwoyUOOZAQ+ULxQ7Qn2dE4NKSSfQbPCjnYEFgM3U2dI4eKLwueXE7bR6WZYBA dvdS7pQmSMlRT3f+wCzvi/pYotlCg1WGchnqbtVQlIGztE7Futu25RevFmN1pcH+dEYKQk YES2SA5b2RZ1nw88g/Gl9JvjTHC0wVi0kWvVymo5jJHSCJPkU5p9s8BaeTxi+XSh8q6VVV SBGdtlBDVrtjbppjyEY+I0TcakBNgveYCk6Fh82WbJL5qvXtRMM+btNfXC+nMw== 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 9174661009 for ; Sun, 31 Dec 2023 15:38:25 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rJwwV-0006dx-Qk; Sun, 31 Dec 2023 09:37:31 -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 1rJwwP-0006df-Lr for emacs-orgmode@gnu.org; Sun, 31 Dec 2023 09:37:26 -0500 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rJwwL-00088q-JI for emacs-orgmode@gnu.org; Sun, 31 Dec 2023 09:37:23 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 15A68240101 for ; Sun, 31 Dec 2023 15:37:19 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1704033439; bh=ZquL7qviBPLBHHL1aJvEYmdUjJqP2mAj2ngEsJyVa6g=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=i9Q/OCQHSdHdRTAQxQJgR346qgYwDiK/W18qcIxUIVUHV4bF4L0ejJRHu4E0u02GB Vd2HBi8407lK5C+P8rVvls9q1OynG2SO7d/QtVIaGsMnd6zvGRACKJPKlk7OrCKc8H elA12nJKjv62aA0ARZ/neO+e5MH5bAC0mMaS8nTgk77GBa89VUi0agpDQUZWBs1zkP cKMG61NRF5rAiGBOofbk/PVZdssPi5EHJYn0ox/J9TlrvqoGLzZVLdqI0uW+fujRXT 5qYThtj43gKe4581H9iiH1CemW8yHvcEqxIRgBACp3H9qqKEgXFUw1iFd2E/Dl34l6 5rF9ZRK+D5+mA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4T31sp52Wnz6tsg; Sun, 31 Dec 2023 15:37:18 +0100 (CET) From: Ihor Radchenko To: Pedro Andres Aranda Gutierrez Cc: Org Mode List Subject: Re: Adding functionality to org-latex-classes In-Reply-To: References: Date: Sun, 31 Dec 2023 14:40:32 +0000 Message-ID: <87ttny77vj.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -53 X-Spam_score: -5.4 X-Spam_bar: ----- X-Spam_report: (-5.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H5=-1, RCVD_IN_MSPIKE_WL=-0.01, 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-Spam-Score: -6.48 X-Spam-Score: -6.48 X-Migadu-Queue-Id: 9174661009 X-Migadu-Scanner: mx10.migadu.com X-TUID: i6CPBsDCUWaa 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