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 SBc3IxLOsWKXIwAAbAwnHQ (envelope-from ) for ; Tue, 21 Jun 2022 15:56:34 +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 EP0uIxLOsWLeZQEAauVa8A (envelope-from ) for ; Tue, 21 Jun 2022 15:56:34 +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 116372AC95 for ; Tue, 21 Jun 2022 15:56:34 +0200 (CEST) Received: from localhost ([::1]:42086 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o3eMr-0006H0-1S for larch@yhetil.org; Tue, 21 Jun 2022 09:56:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46074) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o3clx-0003LY-36 for emacs-orgmode@gnu.org; Tue, 21 Jun 2022 08:14:22 -0400 Received: from w4.tutanota.de ([81.3.6.165]:44580) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o3clq-0006gu-U7 for emacs-orgmode@gnu.org; Tue, 21 Jun 2022 08:14:20 -0400 Received: from w3.tutanota.de (unknown [192.168.1.164]) by w4.tutanota.de (Postfix) with ESMTP id 002021060247 for ; Tue, 21 Jun 2022 12:14:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1655813652; s=s1; d=vergauwen.me; h=From:From:To:To:Subject:Subject:Content-Description:Content-ID:Content-Type:Content-Type:Content-Transfer-Encoding:Cc:Date:Date:In-Reply-To:MIME-Version:MIME-Version:Message-ID:Message-ID:Reply-To:References:Sender; bh=WBPuJWXR33KQfKFAFnefC+6V0N9WS2xJW0aHtfNnA/U=; b=0Y64NpJ61yFlbP9l8oXgd8H6FgO4rrb76u8MAzD4YU3+xX053LC+Q8Bd/ZbRRpX6 DBqevKFRkfxPfxYGUim/5SNvjLday07iU9PhW2vzVMMpHYy06F0WEBbr9qXoP0v25Yn lX/G/C35sVqToRhHQlvy94TTqn5WwGXXtbYHUy5PQmUL5w4c98sGKHSJxg7yIJwiukb snAkx9VMRPJ6mtTvPLTZ0QgVkw7zEUaYaF/4SOK4TPt6Bp8JUUrl7O4O79FS1QTWUzR b80QoaWMy8W/fK604Dd/IzcZ5Dp5wRCxn5diUZpmtUJYK14gMMrG6n9gnioYkKvArgM Cb/o72KFQw== Date: Tue, 21 Jun 2022 14:14:12 +0200 (CEST) To: Emacs Orgmode Message-ID: Subject: Implementing ox-beamer property support in ox-latex. MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_352620_2072099026.1655813652619" Received-SPF: pass client-ip=81.3.6.165; envelope-from=bob@vergauwen.me; helo=w4.tutanota.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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Tue, 21 Jun 2022 09:54:41 -0400 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" Reply-to: bob@vergauwen.me From: bob--- via "General discussions about Org-mode." 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=1655819794; h=from:from:sender:sender:reply-to: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=WBPuJWXR33KQfKFAFnefC+6V0N9WS2xJW0aHtfNnA/U=; b=o3ea9j525GBaSrMZMnxvniXrqj1eCeMN/j+qkH1BBzZP/1vAaml70S/BUAQ4RizfpQY8xl Pjf8vQ++RZ151Zy7YOP/Wf6gVrWSO+sGxTXwWk0Ni5iFzMEzhn6zpqs1C3MOjqfSzttfiq Jra8/m75q+orR/c1CXLzkU3Zmv9dfH1h7thKQ9w8U76jdGkFVn/sfBkRGxNxBdZ103vA2C vzGaitSV7KbSRrCqwUH5/EqTBHZ0KgWJyVQuY/5W+/vnazqFbrrAbSv5ntOhMgwNe7yn84 mSotbEdWq+Si1W+xhSSmwMQVbK+zxl1Gwi4CBV70MYzBcrO5A06OJIPKDV97mA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1655819794; a=rsa-sha256; cv=none; b=QbC84DReFyE9/T59ZsEx8UJvNJfoPhAsT5bvxhI5jyPLNGAd0Eso/RJ2wJoFTpvfs92uab bhYeBmDuXoUJ5AV47P+qbb231NQWBbZe+wn0AA3xJYxaqq4ot6qkeEchoXo7lFuhRK/V7d 1BQeAYphj/8Wb0uA2RH9XxsaXnipLYenqr8fG0tPvmgR47CfhrSmj8EhA6pDAK/MN/NfOH ZHyORQp+cmnS1yc9PnFq24/OuMvdw7Ij1JFvBWTQswpNU4kArPcRceGppe3mg2ReUvs1DR 7dQHPqleMggKU0EjDzZ1zUYNWvpVDjxTmqRtpypKkMS9dr0q0QYzTqqBeFnIhg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=vergauwen.me header.s=s1 header.b=0Y64NpJ6; dmarc=pass (policy=none) header.from=gnu.org; 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.57 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=vergauwen.me header.s=s1 header.b=0Y64NpJ6; dmarc=pass (policy=none) header.from=gnu.org; 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: 116372AC95 X-Spam-Score: -3.57 X-Migadu-Scanner: scn0.migadu.com X-TUID: 8p62Cc9ekVQg ------=_Part_352620_2072099026.1655813652619 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Dear list, I recently fell in love with the properties support provided by ox-beamer.= =C2=A0 Especially in combination with an appropriate column view, this feature all= ows you to create complex presentations and maintain a good overview of all= slides, layouts and possible transitions.=C2=A0 Today I attempted to implement similar behaviour for ox-latex, with moderat= e success.=C2=A0 The problem that I encountered was that you can't easily "close" environmen= ts.=C2=A0 The example below shows what I mean: * First section ** First subsection Some text before the definition. *** Definition 1 :PROPERTIES: :LATEX_ENV: definition :END: This is a definition *** This title is ignored and very ugly :PROPERTIES: :LATEX_ENV: empty :END: Some text behind the definition. ** Subsection This is a new subsection. Expands to:=C2=A0 \begin{document}\section{First section} \subsection{First subsection} Some text before the definition. \begin{definition}[Definition 1] This is a definition \end{definition} Some text behind the definition. \subsection{Subsection} This is a new subsection. \end{document} In order to indicate that the body of definition 1 has endend, I needed to = create an empty block which is ignored by the exporter.=C2=A0 Is there an elegant way to solve this problem and to "close" a heading? Maybe in the form of an alternative carriage return character or a multiple= line breaks? Kind regards,=C2=A0 Bob ------=_Part_352620_2072099026.1655813652619 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Dear list,

I re= cently fell in love with the properties support provided by ox-beamer. = ;
Especially in combination with an appropriate = column view, this feature allows you to create complex presentations and ma= intain a good overview of all slides, layouts and possible transitions.&nbs= p;

Today I attempted= to implement similar behaviour for ox-latex, with moderate success. <= br>

The problem that I e= ncountered was that you can't easily "close" environments. 
<= div dir=3D"auto">The example below shows what I mean:

* First section
** First subsection
Some text before the definition.
= *** Definition 1
:PROPERTIES:<= i>
:LATEX_ENV: definition
<= /div>
:END:
Th= is is a definition
*** This tit= le is ignored and very ugly
:PROPERTIES:
:LATEX_ENV: empty
:= END:
Some text behind t= he definition.
** Subsection
This is a new subsection.

Expands to: 
<= /div>
\begin{document}
\section{Fir= st section}
\subsection{First subsection}
Some text before the definition.
\begin{definition}[Definition 1]
This is a= definition
\end{definition}
Some text behind the definition.
\subs= ection{Subsection}
This is a new subsection.
=
\end{document}

In order to indicate that the body of definition 1 has e= ndend, I needed to create an empty block which is ignored by the exporter.&= nbsp;

Is there an el= egant way to solve this problem and to "close" a heading?
Maybe in the form of an alternative carriage return character or = a multiple line breaks?

Kind regards, 
Bob
------=_Part_352620_2072099026.1655813652619--