From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id +GlbOKh5JWVBuAAAG6o9tA:P1 (envelope-from ) for ; Tue, 10 Oct 2023 18:19:53 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id +GlbOKh5JWVBuAAAG6o9tA (envelope-from ) for ; Tue, 10 Oct 2023 18:19:53 +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 65DDC63AFA for ; Tue, 10 Oct 2023 18:19:52 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=Arpumz91; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1696954792; 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=2gSSF2Co5J1nPHwESZ2myh64uNybJjtmeE9DnOJHbKY=; b=ucEoHcdX/08mISvTio/j8O7i1wM0xGOoRHWX6mYx+g0DCw5VQ4vJy0ijFPoES+3wIb5KDi PUfGVbU6URSi4Aa5fwHxVcxOk4fATPeLDfAhArD9joFId/2baQ8/X77OL4HP8E69B6CcFR NokYWEux51+qaTkPcXIwX51sj4+VasHG8dxkp8vP6i+cDSOOhN6P7hWajw90qJPXQHlJrL KXBofqO2CKU1HG7lqugloGc1viXuqssaglvUcFMo9upUtUmHMwNmkzup8Upr1A+w6a3utg YEII82QiafXrcXE5twmG1kqHzY1s/KLoUQb4eRKUD9ZILFrap0rOy+IHghGC9Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1696954792; a=rsa-sha256; cv=none; b=JcHQ0OQR1zLL3i1c6ypXhIgCSjdq1wjMfsbfR/n84oMX214sGUx90DHVlGwRRXYtPy2sEn 4FWySgYnJq0gXzx8XB/3/k2k3LMBRg8ka0uIAXfvDR+7U4cfsoLr30gtpGfOhq1I54JAvj gdnf5VoSS1lwGSessmEP/RS7dZoFDhxPym1JyPK3k9AMhgWDoV7G+LmBD6B+J+N4IsGD2y RwDChAWC5Cswtp0aj9QSzHAWMma2JWs/wQwHYVse67hZ11KWdDSRstZYeRkyiSzaIY2obx Nb2dSJYVwa5TI99b5KuL0JwvZKbe1+PcxS2QIp9OwgcD+pKqOEjTrRDsjEPMGg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=Arpumz91; 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" Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qqFRt-0004mh-S7; Tue, 10 Oct 2023 12:19:09 -0400 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 1qqFRq-0004ln-Ct for emacs-orgmode@gnu.org; Tue, 10 Oct 2023 12:19:08 -0400 Received: from mail-ed1-x529.google.com ([2a00:1450:4864:20::529]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qqFRo-00069X-CQ for emacs-orgmode@gnu.org; Tue, 10 Oct 2023 12:19:05 -0400 Received: by mail-ed1-x529.google.com with SMTP id 4fb4d7f45d1cf-53b32dca0bfso9193245a12.0 for ; Tue, 10 Oct 2023 09:19:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696954742; x=1697559542; darn=gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=2gSSF2Co5J1nPHwESZ2myh64uNybJjtmeE9DnOJHbKY=; b=Arpumz91bDHZYMzzOoj+RutjZZwwhHTWTkTqPjSZi2WkcoBDLG4sGAbPuc00wxQwnY Sp2eEIjc0Xt9ANedSDTmvI7p7WPG8dQuPAzXKi2gC5KMHNDnZ70/393uyAe/7duA4329 fzQnp4l9Hk2C6RhmE4RDXdifQ2W8NmmQcGYUhoMBA4SlusJQ2dZmBEUg9PISh8XPAwY1 VsqBCQN9JFdiVQ96b9GTG7TsPUxYbuQfV2GcgbHclm2QgTM1oZH2Yabqs+zKjAU/FOQ+ W9BKpydvu/h9rmWZyDX8S1izfE7RGPC3ZTLf1OX9Zc3qlgyeSEKvn3XRB88yHQ9S9W0o W1eA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696954742; x=1697559542; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=2gSSF2Co5J1nPHwESZ2myh64uNybJjtmeE9DnOJHbKY=; b=DSFLQvgVu/C098g3DBIZ+NTMMdVVP5WbLW5OtbQVuDmTDo80GH/EsTcUKhhWQfxdhi RANG0k5fI7twzeEzwppFmK1bIfUj4F2q9fUNuewQ4J4FuOJyZHBRz3V313jpU8F+Y2cX 4eJNQmfgKsLGX3vSY/xNo/HZXSmjC2pT/6tSX978GD0bcycY7C0a61RIYMb+6b9yKt+C +7S829Ix3grD4CQ0jF2l7lcrhIQlyCRDVEW5ydyLcDvrqvL66A3PXuEEUR+K32QXQTIi E+evlfXhqZDGJNxB3QcDDiszgOkJLROqlBjNdVsl5tYgNuUtP8hr6cMppwoVQ92bDezj BjdA== X-Gm-Message-State: AOJu0Yx0RPxukeGSlTS6LxZzWwWhnLjTrIobhDUZfUiJsy1S+o1zK5m6 XCFmDc/l5F9olK8Vsq+XiFv6qygNM6tR2n7Idww= X-Google-Smtp-Source: AGHT+IEU4NS4TW52dzqlIdzI1hi9Qz/g0f1ybTuG+0Hrfh5fXqbhrTeZiKZWLOYSWqPpnweyqOBcVSTtjJMnvwPN06s= X-Received: by 2002:a05:6402:35ca:b0:52e:3ce8:e333 with SMTP id z10-20020a05640235ca00b0052e3ce8e333mr13905090edc.18.1696954742240; Tue, 10 Oct 2023 09:19:02 -0700 (PDT) MIME-Version: 1.0 References: <87v8be8o51.fsf@localhost> In-Reply-To: <87v8be8o51.fsf@localhost> From: =?UTF-8?Q?Pedro_Prieto_Alarc=C3=B3n?= Date: Tue, 10 Oct 2023 18:18:50 +0200 Message-ID: Subject: Re: [BUG] ox-latex does not read EXPORT_LATEX_CLASS property from subtree [9.6.6 (release_9.6.6 @ /usr/share/emacs/29.1/lisp/org/)] To: Ihor Radchenko Cc: emacs-orgmode@gnu.org Content-Type: multipart/alternative; boundary="0000000000009c824e06075f10cd" Received-SPF: pass client-ip=2a00:1450:4864:20::529; envelope-from=pedpral@gmail.com; helo=mail-ed1-x529.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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx0.migadu.com X-Migadu-Spam-Score: -7.17 X-Spam-Score: -7.17 X-Migadu-Queue-Id: 65DDC63AFA X-TUID: As98g35TdtA8 --0000000000009c824e06075f10cd Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Yeah, I learned it later. Sorry, and thanks for your answer! Best, Pedro Prieto El mar, 10 oct 2023 17:57, Ihor Radchenko escribi=C3= =B3: > Pedro Prieto Alarc=C3=B3n writes: > > > I can't make ox-latex use a different class for a subtree using > > EXPORT_LATEX_CLASS, as stated in the docs: > > https://orgmode.org/manual/LaTeX-header-and-sectioning.html > > > > I am trying to change a specific subtree to a different layout (using > > tcolorbox) than the one provided in the main document class (sections) > > I am not sure if Latex class is what you want. LATEX_CLASS defines how > Org parses the document structure and what to put into \documentclass - > it is defined once at the beginning of export. When you set > EXPORT_LATEX_CLASS for a subtree, it will be used when you export that > subtree as a separate document. > > If you want to change the latex environment used during export, I > recommend using special block instead. > > Not a bug. > Canceled. > > -- > Ihor Radchenko // yantar92, > Org mode contributor, > Learn more about Org mode at . > Support Org development at , > or support my work at > --0000000000009c824e06075f10cd Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Yeah, I learned it later. Sorry, and thanks for your answ= er!

Best,

Pedro Priet= o

El mar, 10 oct 2023 17:57, Ihor Radchenko <yantar92@posteo.net> escribi=C3=B3:
Pedro Prieto Alarc=C3=B3n <pedpral@gmail.com= > writes:

> I can't make ox-latex use a different class for a subtree using > EXPORT_LATEX_CLASS, as stated in the docs:
> https://orgmode.org/manua= l/LaTeX-header-and-sectioning.html
>
> I am trying to change a specific subtree to a different layout (using<= br> > tcolorbox) than the one provided in the main document class (sections)=

I am not sure if Latex class is what you want. LATEX_CLASS defines how
Org parses the document structure and what to put into \documentclass -
it is defined once at the beginning of export. When you set
EXPORT_LATEX_CLASS for a subtree, it will be used when you export that
subtree as a separate document.

If you want to change the latex environment used during export, I
recommend using special block instead.

Not a bug.
Canceled.

--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mo= de>,
or support my work at <https://liberapay.com/yantar92>
--0000000000009c824e06075f10cd--