From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id cBAxOs8CLGMHjQAAbAwnHQ (envelope-from ) for ; Thu, 22 Sep 2022 08:38:08 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id wAdZOc8CLGP6eQEAG6o9tA (envelope-from ) for ; Thu, 22 Sep 2022 08:38:07 +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 8CDDD3B215 for ; Thu, 22 Sep 2022 08:38:07 +0200 (CEST) Received: from localhost ([::1]:56232 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1obFqY-0005h7-M9 for larch@yhetil.org; Thu, 22 Sep 2022 02:38:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37420) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1obFl0-0002sl-Ba for emacs-orgmode@gnu.org; Thu, 22 Sep 2022 02:32:22 -0400 Received: from mail-ej1-x632.google.com ([2a00:1450:4864:20::632]:41578) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1obFky-0000zC-KZ for emacs-orgmode@gnu.org; Thu, 22 Sep 2022 02:32:22 -0400 Received: by mail-ej1-x632.google.com with SMTP id hy2so15077064ejc.8 for ; Wed, 21 Sep 2022 23:32:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date; bh=qYhy6h4fAamFCZnialyxHwg24PItzNwvLTgulp4/SKM=; b=Exn6bp9Q7lrSKCI7a22s0Ojg2pwSptOyip4Q4WRCm+DCmMhgwHgZOt2NP5Ts0F4BAx x/e4/VZa1dZPWKV77OWBwOFXmHF99CjbcBWV/KCL6GPYh/Uw5u8NoGRgBVz1RIg9uQDz oVyNmKVqN5mVNIjdxinU8JBKjgcDyA64Vq0HOYge/ON+Upm/hkbT/7IxfIwjhPvf/gPD RgdtawCcAO44WG+r6PHi25YmLtNkBpM2MNngJHNnJ53Zt+2vI4+eE7Nr0zpbH4hAmsNm cU3r+mvpQSBpXAqyduOXyL5PQp4T8qVK3Kht0GV0Lt/mtoxQZZ4AbWXVjPM1uoSN0qur wbYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date; bh=qYhy6h4fAamFCZnialyxHwg24PItzNwvLTgulp4/SKM=; b=8EuWmXX9u7rEbKDTvWNIv1yUYMesuHE+Ogd6zIGLAwbPLffrk16J2xK4MDRTDWjiBU OGonCVI3EZrgHbQYpWvEHzaCzXABl+x1wX6MRutLx7HTkUIqqGanZFkWjpftGftsclYs ik8acSeMwS4ryxJjZXkv3pevqpRqoyityZnxzm0vF3W2FbvC4+8tZgSSUaOPb3rrp3v8 iF8+KbzzN4B8xcq30o55e/Sb3Wmkc01kd/G37PuD4rvJnjZhbYyNcC9d9x2baBWN4vlU 923PbNyF++ARxuuRzcE2bKmLrI68OMIw/qsB7t3e7/vGfWdfrXzgvzNDI81Lz1jTiKpE W0yw== X-Gm-Message-State: ACrzQf1leioHHHxoZnuVgzbwR8UNGEvsvzTKOLMePqigRaXP3UQnVQAV DHE2C8oOaFWde26SCc7iwdn0x8FF9cqTLYMzJvMvjbc546o= X-Google-Smtp-Source: AMsMyM7QCLJUQQQHlTJL7sykG0IInpCt1e7E5f3EgQxkhhXzLGe9naKKMnfvol9LR9k0a+ZwkY3L/sNoYXy3WxJDVVg= X-Received: by 2002:a17:906:5a6b:b0:73c:c9ee:8b5c with SMTP id my43-20020a1709065a6b00b0073cc9ee8b5cmr1457419ejc.310.1663828337567; Wed, 21 Sep 2022 23:32:17 -0700 (PDT) MIME-Version: 1.0 From: Pedro Andres Aranda Gutierrez Date: Thu, 22 Sep 2022 08:31:51 +0200 Message-ID: Subject: Re: Re: [Patch] Pre-/postpend arbitrary LaTeX code to a section To: Org Mode List Content-Type: multipart/alternative; boundary="000000000000072e7605e93e3919" Received-SPF: pass client-ip=2a00:1450:4864:20::632; envelope-from=paaguti@gmail.com; helo=mail-ej1-x632.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 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=1663828687; 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=qYhy6h4fAamFCZnialyxHwg24PItzNwvLTgulp4/SKM=; b=onfH3VAT+wdb+jmtgqlr2xjUw21SBY4oaEe4W8LE9AQHxcxEz3O+CvwfmcQfl4xreH/u5y igHp37RZX0W+dIiw/gBlf8yoQhjmzTF4Wc5RNGU2cMHz5C7YsbC3bkggtLdDD+HAuCGASq KTXczskWP/trCGqclex6Dpi0mjebfc2C8dgRCtfeIKsnc1DXfNRnj1l0PCgyG8s+Kvbvqc C+R+MHDGxsFmaydkNjUJ03yR4aArlCWCzRJUpyZ1tvHXUrhE9sN+iaLqHFAm+uYXH9JEiD gBAULhVO4w/avEiO5q7OOe9Ntk4X1uwLmVtqrEw9FzO6oIls9Q9mYbOdbwvs4A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1663828687; a=rsa-sha256; cv=none; b=IAVrzhGLbMjYdyF+4A8Zw/AROTkK9r9pwhFVCGciuYX2f9mXX3OMHScq83xUqQdrcvZ+Dm hzAbWB/IsFKCjS/Xun6xv1tNDPdYYm9LKh1ndlE7xzX9Mv4bSt1/W/T6E5DMFZZL6CBMcX KUqWreXaoimRhwGOJ62HYqV1ACX4RJZaZJA+R2XbOlp2enRQUHOBX8c7QftGbAzZYCfRO2 cW561Gu6mChsKtBRPfoaH75eV4xVY8zl3nC2nIGHp4Eps2LbaKceoqqHym4LsIOpSpxh+E LCVOTS0L6wGaoEuyUrDdea+kT2k5ppHZYagkxetlXgjDJZhcXhm6DlIh/iYTSQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Exn6bp9Q; dmarc=pass (policy=none) header.from=gmail.com; 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: -4.64 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Exn6bp9Q; dmarc=pass (policy=none) header.from=gmail.com; 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: 8CDDD3B215 X-Spam-Score: -4.64 X-Migadu-Scanner: scn0.migadu.com X-TUID: lHX2lQD4DY4O --000000000000072e7605e93e3919 Content-Type: text/plain; charset="UTF-8" Ihor writes; > More concretely, I mean something like > > * Section > :PROPERTIES: > :attr_latex: :prepend "section" \setcounter{secnumdepth}{0} > :attr_latex+: :prepend "section" \addtocontents{toc}{\protect\setcounter{tocdepth}{0}\ignorespaces} > :attr_latex+: :append "section" \setcounter{secnumdepth}{2} > :attr_latex+: :append "section" \addtocontents{toc}{\protect\setcounter{tocdepth}{2}\ignorespaces} > :END: Could do if it where for the 'little' detail that a section is not an environment in Latex The ORG document structure mimics the LaTEX document structure. To control headers, we need the \At... commands Juan Manuel suggests IMv(^n)HO [n>10] My 10^-10 cents, /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 --000000000000072e7605e93e3919 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Ihor writes;

>= More concretely, I mean something like
>=C2=A0
>= * Section
>=C2=A0 =C2=A0:PROPERTIES:
>=C2=A0 =C2= =A0:attr_latex: :prepend "section" \setcounter{secnumdepth}{0}
>=C2=A0 =C2=A0:attr_latex+: :prepend "section" \addtoc= ontents{toc}{\protect\setcounter{tocdepth}{0}\ignorespaces}
>= =C2=A0 =C2=A0:attr_latex+: :append "section" \setcounter{secnumde= pth}{2}
>=C2=A0 =C2=A0:attr_latex+: :append "section"= ; \addtocontents{toc}{\protect\setcounter{tocdepth}{2}\ignorespaces}
<= div>>=C2=A0 =C2=A0:END:

Could do if it where fo= r the 'little' detail that a section is not an environment in Latex=
The ORG document structure mimics the LaTEX document structu= re. To control headers, we need the \At... commands Juan Manuel suggests IM= v(^n)HO [n>10]
=C2=A0
My 10^-10 cents, /PA
-- <= br>
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 WA= RNING juju.worker.uniter.operation we should run a leader-deposed hook here= , but we can't yet

--000000000000072e7605e93e3919--