From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id wPJ3KqV03mJjhgEAbAwnHQ (envelope-from ) for ; Mon, 25 Jul 2022 12:47:01 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id yEc5KqV03mIEggEAauVa8A (envelope-from ) for ; Mon, 25 Jul 2022 12:47:01 +0200 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 5BB211926C for ; Mon, 25 Jul 2022 12:47:00 +0200 (CEST) Received: from localhost ([::1]:56044 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oFvc2-00028p-Il for larch@yhetil.org; Mon, 25 Jul 2022 06:46:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57422) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oFvaQ-00028h-QL for emacs-orgmode@gnu.org; Mon, 25 Jul 2022 06:45:18 -0400 Received: from mout02.posteo.de ([185.67.36.66]:54987) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oFvaO-0006LP-Jg for emacs-orgmode@gnu.org; Mon, 25 Jul 2022 06:45:18 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 52D8524010A for ; Mon, 25 Jul 2022 12:45:13 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1658745913; bh=SOzraGMD0XkLk2oypRl9Cx3rDNwADKod0lKYDl/lqnw=; h=From:To:Cc:Subject:Date:From; b=lspjrzznGuZl3LdOqk+caQ4yrs9uPvzd384ZZyldFs7bwELCqB9t9jFjOzj2caR/q mGsH70vrZm2zW996KFgNVbUtv4D+5s+VSkfeF1tTAuBMeeWtVz8axnzM3ShOzjTvdy ShHbsUWZoNbuLnFBXi9adrkEumEb6uaQkZwVLPqebjD6WJEFtQwjryyhRfz475Bwpt gakIyOLCmLiGoRxASF3bL15Jqn8++xFkbIzw0Vn22ThUR3iWO1doLNUnQR7G2ijGYE CC63I5DNg6c1lcTVVUwRsNs+b8Ks3YsU5eBcAtdkgTrzfT62NowUVdO/FOUkY0KcLz MJzhyEvuWBwYQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4LrxWm3p6Lz9rxB; Mon, 25 Jul 2022 12:45:08 +0200 (CEST) From: =?utf-8?Q?Juan_Manuel_Mac=C3=ADas?= To: Ihor Radchenko Cc: orgmode , Maxim Nikulin Subject: Re: Improvements in the default LaTeX preamble: templates? References: <87sfxiw2jp.fsf@posteo.net> <87czeduxnz.fsf@localhost> <87lesvlvos.fsf@posteo.net> <87bkto83n7.fsf@localhost> <87v8rtno2j.fsf@posteo.net> <87h73c527u.fsf@posteo.net> <87mtd3a2uw.fsf@posteo.net> <87wnc6wk3n.fsf@posteo.net> <87v8rp48i5.fsf@posteo.net> <87r12d44ws.fsf@posteo.net> <8735erpx6z.fsf_-_@posteo.net> <87tu76k95j.fsf_-_@posteo.net> <87edy9v8qp.fsf@localhost> Date: Mon, 25 Jul 2022 10:45:06 +0000 In-Reply-To: <87edy9v8qp.fsf@localhost> (Ihor Radchenko's message of "Mon, 25 Jul 2022 17:31:42 +0800") Message-ID: <874jz5a2tp.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.67.36.66; envelope-from=maciaschain@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.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_H2=-0.001, 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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1658746020; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=SOzraGMD0XkLk2oypRl9Cx3rDNwADKod0lKYDl/lqnw=; b=NP7A2knRrY6CqhjQnNbHl9Kmgj/Sx5bvbYqSxSQ9Dpf/ufSg1yTqxY+4A4zYAzdF3yWnvp 1neVlbZDKpY8e03y1Wa79lJtqHQmY3uRol1gJDYdMTKbYluIHcWMf2aBePfIVI3jN4V+IS KDiu4Wvvhyvuw3tSQyVI7DpFtVZxYdEUFheZ6aWQRTI9dwawUdWGDDAa4tuu1NbA1dJvjQ PjCAoDE+3E6lOfzc7KvTB8MwQnXJeOYY8Mj0ECA//OHlme2eg10oXP4edBAMJkH+N/o+xp bmHJASf3Ete4nRy9lfPAj9+oDi1QCj+4X1LMBhV2J1Kt4xAxeoOCqj5mokaN0Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1658746020; a=rsa-sha256; cv=none; b=S8GiomLJ/znWVQUQGvLBAzf/uBdoIXF6X69jq7oGy6bDsADK6EShRmIjO08luDS6sU6OfT JCN7JMw0024A/rBNGeYuqlUqsGNDnzg62a/fbqIX51m6WwQKahxDC7av3Mdo9R5xKqmuWa rqY31BIg43QGb9L9WBQz72Bv48EKR7BKOp2wNAkueNkBTJr/y5WzA/LGil2Bjj8H1Fmy/s Dy7n0B7AvR1lPl/1+FongALRFnVZMP7tzRmmEQLZSH0moKQtiF2svYSQLY7qZ+g9Aaw7z8 zkIYUsOz+uPIDctvgmFlQAKmUMajUIZEYvvEz+AmGer23RvqIvSi04KErBPrpQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=lspjrzzn; dmarc=pass (policy=none) header.from=posteo.net; 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" X-Migadu-Spam-Score: -3.43 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=lspjrzzn; dmarc=pass (policy=none) header.from=posteo.net; 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" X-Migadu-Queue-Id: 5BB211926C X-Spam-Score: -3.43 X-Migadu-Scanner: scn0.migadu.com X-TUID: 3aArQmr668Vz Ihor Radchenko writes: > LaTeX is just one export backend to worry about. From broader > perspective, we can have a generic template library. Nice idea, I agree. I was targeting LaTeX specifically because of the questions that have been raised in this thread and other parallel threads. And because LaTeX is an extremely complex beast. And it has become much more complex over the years[1]. No two LaTeX documents are alike just as no two LaTeX users are alike. Just take a look at tex.stackexchange.com to realize that reality... (ConTeXt can be a good alternative for those who don't want to mess with the complexity of LaTeX. In ConTeXt you don't need to load a package for everything ---modules at most, but that's another story---, so almost everything is out-of-the-box there). [1] And there is also the problem of multiplicity: three TeX engines coexisting at the same time, LaTeX2=CE=B5 coexisting with LaTeX 3, etc. > TEC is working on something along these lines. See > https://tecosaur.github.io/emacs-config/config.html#cleverer-preamble Thanks for the pointer! I did not know it and it seems to me a tremendously interesting work. I'll keep an eye on it. In my workflow, I am used to writing the configuration of a LaTeX document (aka, "the preamble") through .sty files that I build according to the requirements of each project. That is, I write my own packages. That's probably why I have a bias of opinion here (I use LaTeX for typesetting and editorial production, so I need more control), but I tend to think that a LaTeX preamble is something so ductile that achieving a certain degree of automation is an arduous task. At least one automation that covers all possible use cases. That's where I got the idea of being able to have a library of templates to cover different types of documents, even the most idiosyncratic ones. Or, at least, that they can serve as an inspiration to other users. Best regards, Juan Manuel=20