From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id wCAeFVaVc2UIRgEAG6o9tA:P1 (envelope-from ) for ; Fri, 08 Dec 2023 23:14: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 mp10.migadu.com with LMTPS id wCAeFVaVc2UIRgEAG6o9tA (envelope-from ) for ; Fri, 08 Dec 2023 23:14:46 +0100 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 0AF43667E4 for ; Fri, 8 Dec 2023 23:14:46 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=EIWkRks7; 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=1702073686; 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=YmzMbsnHWyRNVnpRmJ02Qn/Mxr/o5YcnW9fXj3wXFYQ=; b=EAUC+LmJkRXyf6iTYOwEgX5W9iQYHX3dChPolc0Up0iHQP4/kLbA5TXLvLNiA3yjr0+02P XcfZzNGTBfO71gEcfwvikkEARQCRbK2yCIqy4VR9XFuaudAmlozrZQ6Zkwif+00xDjG20M WcC1GzhjPz4b5MNNFCeWKQ08KorbGNNS/gG0JfE3sAPsYKPTGW9y9wg129POg8VMtKqe5O S4gPpAJ2t3BrlzMNf3P1iYr9wU1I2X5zkF2ZDpSueJEzylMBe6Rv9jMxcqqCDJ2O1n6ERD zqOtBoWPL6Lah+4taPk3C2JqAekccM7C5SZ05AxwNVk8VEyEZw553TZDT0Uk2w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=EIWkRks7; 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=1702073686; a=rsa-sha256; cv=none; b=GpXkFwUzvi1gfL3Eix/Ck//hkMiKWPa5HKl3AxbqMyLn/AGZtCQpBcvofqoAEAndhEImOf pF5hg/3Dx8Kzgr0XGwVGqTS2wF1tFmgT4ZT+dRUVwIPKR+qV5CwHy++dlJmq53nvv8P+KY mcM1BDAH+Xbq6FrGdJfSuLjV8Yb3N+IAo5XuU8EU3duUIN4hNSHeoo6TZyCwEscwmO89Hu mISvNUA3lRw6S552d9KK3cFYQuOPnRqWoq6E/iQkARcMNKM8X8AjSnzPFgQgjtcAEGP7XD 4v2ykRNRyurEiNfS4dn4TDpSDiveXRl0wtAm3OTvmbcFZMrvE9Q4LqCZ5mXx1w== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rBj6I-0000cY-LE; Fri, 08 Dec 2023 17:13:39 -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 1rBj6B-0000bt-QT for emacs-orgmode@gnu.org; Fri, 08 Dec 2023 17:13:32 -0500 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rBj5y-0005zO-37 for emacs-orgmode@gnu.org; Fri, 08 Dec 2023 17:13:31 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 802B4240028 for ; Fri, 8 Dec 2023 23:13:15 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1702073595; bh=+posYv/XWKqxeRjkL48mU1sdN3VUrA0hWpjr0B89Zlk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=EIWkRks76Hw3UO02FNRPADI1ZoQUss8BPeGM19++laEa6loBJ3aWNplWXKMQCXlEr y2T18efaOmrxHr70IbAPNEZPDxRQgSPTnSu9WUeVo80Qhs35WSxPs4m4f28Lfvf8Ew PiPtGq26A7Cz6UlEY9C1a/Qbj5yPklCSimLQzLonnZqqUpS0ecwvJPZHnpq0Osihlq 9ZkPfpb9VOeG7a7xNKz+kcTa4Sj3ZqMQxbNBjdey88QcV/ZMQcAMyh7eHpWJrB3g4O SYS7pqm2tMvV1j44cDVMPF6mTM+0gD9WGF8tHObFnFIQY5mDOXFEN7Om3TWlKKMPdv Uk4+XcIYoehsQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Sn54V4mXHz6tvx; Fri, 8 Dec 2023 23:13:14 +0100 (CET) From: Ihor Radchenko To: Alexander Gogl Cc: emacs-orgmode@gnu.org Subject: Re: [FR] Please add custom command variable to org-latex-footnote-reference In-Reply-To: References: Date: Fri, 08 Dec 2023 22:16:17 +0000 Message-ID: <87sf4cbary.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de 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, 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: -2.31 X-Spam-Score: -2.31 X-Migadu-Queue-Id: 0AF43667E4 X-TUID: MXbdMPY2hSXF Alexander Gogl writes: > some LaTeX classes define their own footnote commands. For example, kaobook (https://github.com/fmarotta/kaobook/blob/master/example_and_documentation.pdf) has \footnotes and \sidenotes, whereby sidenotes (notes are put into the outter margin) are the dominant form of putting notes in kaobook. > > It would be great if you could make the footnote command in the footnote function customizable. It could look like this: > > ;; Replace footnote function to make the latex footnote command customizable > (setq org-latex-footnote-command "\\footnote{%s%s}") I see no problem with such an addition - it is conceptually similar to the existing :latex-default-table-environment, :latex-default-quote-environment, etc. Would you be interested to write a patch? See https://orgmode.org/worg/org-contribute.html We might go even further, and allow setting default environments like this per-document via keywords or as a part of `org-latex-classes'. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at