From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 8D96D7V0JWU0PQEA9RJhRA:P1 (envelope-from ) for ; Tue, 10 Oct 2023 17:58:45 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 8D96D7V0JWU0PQEA9RJhRA (envelope-from ) for ; Tue, 10 Oct 2023 17:58:45 +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 E688462B8B for ; Tue, 10 Oct 2023 17:58:44 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=PVXCqWOz; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1696953525; 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=gIL5s2Xbh0J6O0Nd+6L2ZMMTM+c48nkFGTPoQSjl+tI=; b=Tb1ovRFaf1Dj8uAeGoCBonxqQXTDRxm24cLivx+0P+Tv50u6TeZjDhcZ8YskZlL6K7tVTl WUvu0R8fW60RpNHCpqrD7XOxJ5e3Z1/4LxBCQd1f68a5fWtipYUQhAPY1ukr2OC2EbbyA/ SyZxc95DdvIoQiqpbx015GF8KTZwfh8suZoFl8VpZJtVfTZy2lAk3vl/lDaPWVRowqmRr4 agGra6ru9DBA860+spg1xc+SjPApOwMhvQsLJ5mPKAKkMIlyWW+nfEl293Aa0nWNwytR3+ P53MT6/TRXiySx5NnKQIi9x5QOZMReK5tiL2Xx0zJY4+OgBs7ItqijeXuTkbgA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1696953525; a=rsa-sha256; cv=none; b=uu9qnpHCX51Lg5uK7l0vH+bBzRcDpu8yRVycn5UdL1Lj693z6MHxsQ2N+JS/2knMTHWflu fZW6DXLurblNPzkpUIB4dnt531LN0sT9xBekGmkrPU8LOqZhsBG9jtY9hey6H6/pqCxS18 Hi5UENIgKAnOmQ5hTI5IOdeAQKRKBO176pHuvOaOTDPOcmNTmdaT3tmXwrVcOL8iq4gnnw /EGCQL0DbxQvVT7yr6HmZZlQcoGy25iDy8RTIyz4P/fmVLUdsb8wJ3bJPzI5WkdE1wW/5d 1ABZZEJHPH18F+XwC7qrmeQk/949KxbFSYw2hrbHN9AvdTRNQr3fu29qElVzPw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=PVXCqWOz; 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" Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qqF79-000204-Mf; Tue, 10 Oct 2023 11:57:43 -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 1qqF75-0001uz-LY for emacs-orgmode@gnu.org; Tue, 10 Oct 2023 11:57:40 -0400 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 1qqF6y-000192-Tt for emacs-orgmode@gnu.org; Tue, 10 Oct 2023 11:57:39 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 7D319240027 for ; Tue, 10 Oct 2023 17:57:30 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1696953450; bh=gIL5s2Xbh0J6O0Nd+6L2ZMMTM+c48nkFGTPoQSjl+tI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=PVXCqWOzJAwsEayjvwn9jR/zNPFR/EqKU2hy6JTrFzBxvZsahXmh7McsTkogZxZMR HdoM6HJP+jRuPOgxdChJPBS+D/hHUDQR+azCdhDCAK2Mx3T9MPNhXCADFjaZvycEh2 p5caEuiKHLEtlFEqjFd8pXg+CXnTERDCvWeYmCGU5XqXpud9DhKyT7KInnCQ9A5K5n 3nwzRcqyPvoYHlfwvE54OaahOx7kb7Bb7kdCt+vHpUawe4aHZqIotYRPJRFbmnfiKw Sml5yXktIVK49vIMUdp2+T0XtHjdtp/gMUBRzqt397I6XwwH7jLeS3S2xIvv6IK/eb 0Bd5KM0enoDcw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4S4gX93kXmz9rxT; Tue, 10 Oct 2023 17:57:29 +0200 (CEST) From: Ihor Radchenko To: Pedro Prieto =?utf-8?Q?Alarc=C3=B3n?= Cc: emacs-orgmode@gnu.org 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/)] In-Reply-To: References: Date: Tue, 10 Oct 2023 15:59:06 +0000 Message-ID: <87v8be8o51.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.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_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, 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.30 X-Spam-Score: -7.30 X-Migadu-Queue-Id: E688462B8B X-TUID: +PgjqtjG0flR 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. --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at