From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id WE7OOmYhjGDqmgAAgWs5BA (envelope-from ) for ; Fri, 30 Apr 2021 17:25:26 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 2BR9NmYhjGAoXAAA1q6Kng (envelope-from ) for ; Fri, 30 Apr 2021 15:25:26 +0000 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 34D691FACB for ; Fri, 30 Apr 2021 17:25:26 +0200 (CEST) Received: from localhost ([::1]:34770 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lcV1B-0003FR-27 for larch@yhetil.org; Fri, 30 Apr 2021 11:25:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42862) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lcUvP-0001uO-8R for emacs-orgmode@gnu.org; Fri, 30 Apr 2021 11:19:28 -0400 Received: from mail-pj1-x102d.google.com ([2607:f8b0:4864:20::102d]:44684) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lcUvH-0007Nk-PP for emacs-orgmode@gnu.org; Fri, 30 Apr 2021 11:19:26 -0400 Received: by mail-pj1-x102d.google.com with SMTP id m6-20020a17090a8586b02901507e1acf0fso1932010pjn.3 for ; Fri, 30 Apr 2021 08:19:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=berkeley-edu.20150623.gappssmtp.com; s=20150623; h=from:mime-version:subject:message-id:date:to; bh=HGK87+PsH2K1SDk1+6LLDyzCf2GNxCcXvp8lK5L68Sk=; b=AEbBXHg0xT8VSbqdnBf014dI2lX08aWClSFHDhQ4OHqE4zhxLSdUIsgLLOIKXE2Foa RkhjsN9R9w6ek05hdoCiBrr/v1utLd28XBfEfwvAcY6VFG4TTYEvhCBjHPWa+Pu7H+C3 YXpx2nN8tQMqc9w4dzWHfqoU5r6/Ay7/iQJVHrRHRHTB0Q2Hg/58ak+UGZD5FkTLEbL3 M5ySftVB4xTz35aV9bgWn/qU5rS6fadsd3IlG+m1fdsRgt9995PUuUuZunkh/9uTKqVk G56WNrfUc0QbsMdmYDem/AtsiA2nSg9lJPzQsO8tn84IujPNHh3MWe6RKvc3KJ17HQbq l2Ig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:mime-version:subject:message-id:date:to; bh=HGK87+PsH2K1SDk1+6LLDyzCf2GNxCcXvp8lK5L68Sk=; b=CPkydiNY8g3W+JekVM0mcxFzKn9E1h2tBNLyrtNJ2CcRS5IDIJdRuYaQsCs/9IIKkB OoI4NGEanTx0X1xudSrJafazz+R+sJz1APMhd2y3G6C5E0TWXAgqfuSr4C4cbJtA+QXH HslawjX6qL9wfoLpjODbUXU7w648dz/T6LV+xwtzCR1UtepW+hoYNcOlpRMO/TRtryCd SPQRJGaXz1rogCsLfx5jF7l+Wz3OOYjfJaeS6pzC9v18lUMPfz6Uq8Pc/aO6JoOXBQ0N S9lHJVMofdc/oEO/HQuOIq5DMXa8qbuXkOGuyxDsZogtMEG+wrKyjJzgvCSBESo6h8TK 9heg== X-Gm-Message-State: AOAM531mUnzIFSWAREuvhxlO3x5jGFlQvi1Yk4lEpNMwJbbhne45DmxG 7y6ZXvh8Fchqm1ll30/GT2fRIJPN/CIlhg== X-Google-Smtp-Source: ABdhPJz0pmR+wS65wc5amQ7siYYeC0k3xCzNmj/8itqFc5C3ERylTb45/0nUyDuTaIqn6RMWdmkItQ== X-Received: by 2002:a17:90a:a081:: with SMTP id r1mr5859945pjp.101.1619795955229; Fri, 30 Apr 2021 08:19:15 -0700 (PDT) Received: from smtpclient.apple (157-131-168-126.fiber.dynamic.sonic.net. [157.131.168.126]) by smtp.gmail.com with ESMTPSA id b13sm2697766pjl.38.2021.04.30.08.19.14 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 30 Apr 2021 08:19:14 -0700 (PDT) From: Richard Stanton Content-Type: multipart/alternative; boundary="Apple-Mail=_32146A9E-42BA-49F0-A4EC-DA3C82F8D8F7" Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.80.0.2.43\)) Subject: How to create a macro that inserts multiline text with :B_ignoreheading: tag? Message-Id: <5653BC7E-CC4C-45F0-94BF-7BEE958FAA9A@berkeley.edu> Date: Fri, 30 Apr 2021 08:19:13 -0700 To: emacs-orgmode@gnu.org X-Mailer: Apple Mail (2.3654.80.0.2.43) Received-SPF: pass client-ip=2607:f8b0:4864:20::102d; envelope-from=rhstanton@berkeley.edu; helo=mail-pj1-x102d.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, 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.23 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1619796326; 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=HGK87+PsH2K1SDk1+6LLDyzCf2GNxCcXvp8lK5L68Sk=; b=cYLU6+a8xc3vvHWdfSE3djHb4crLNi6NJU2T45xoNy0BNvyjntcUKX/suFnnNzok25rkUJ eYL/vDDZ35wQw7NF4pQH1E9xpWZrIy2uvY08kkAHIhXcomdLkRHzL3PYdPtoYSKv4OcNLT 7pqQXyhxCQC+UcUoMoE5oAiKoGZcyPxf8bDr79G1XYeB6Z1p8P9WFsxhuUer2UUNwc2E3p aLqHniH+s30DrorXIvvOHQgB7YO06Oamp+N0wabDmgtjhM4GoA58ky7pB4GvcRnhV4YMLO PYO4LTmXfItEM/BOQe3QnZJD62kh7cishoRCOy0Z850Jm4xmm66C3WlRSKLA2Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1619796326; a=rsa-sha256; cv=none; b=IFcDLrWQCjx60T34arfcztx8AFEOnohvJbP4qBPCArXi6i54V60/yieOAOzyrKBIHwhUH9 siJqTN/taseIxX4mEwrSig3oux5SaXaiaunHgigBW15C4K+cY7uQrhlikNAav9TDUWmMQP EuYF0fXiRjE7pz4aH4pISJYmxm/DD4zt+IGnrDZ04J/p+WGJpqS4qxuW1aPbkK/vA//cqR QGHeCe8xlNzadVO0Wa+y2HKBcq5podg9+M4j2MCVi4yjJAkG8rKKc2NWoPYvxTIyNMrGbI tRHT3UGnNWVUss1rwkggR5/BNxTcF+7cofPJknw8xzpKVDo33EpQU8Rf2d1gtw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=AEbBXHg0; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -1.16 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=AEbBXHg0; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 34D691FACB X-Spam-Score: -1.16 X-Migadu-Scanner: scn0.migadu.com X-TUID: UjH1pGDAiRJa --Apple-Mail=_32146A9E-42BA-49F0-A4EC-DA3C82F8D8F7 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 I=E2=80=99m using org mode to create Beamer presentations, also using = beamerarticle so I can create an article version of my slides with extra = text. This article by James Harkins was very helpful in getting started: https://orgmode.org/worg/exporters/beamer/beamer-dual-format.html = One issue, noted in the article, is that text you want to have appear in = article mode but not in a slide needs to be outside the frame = environment, which means you need to tell org to end one slide without = starting another. This can be achieved by inserting a header like this = into the org file before the article text: *** More explanation coming = :B_ignoreheading: :PROPERTIES: :BEAMER_env: ignoreheading :END: I=E2=80=99d like to define a macro called, say, articletext, to insert = this header into my document before exporting to LaTeX, so the org file = would look something like this: {{{article text}}} This text appears only in the article version. However, I can=E2=80=99t find any way to actually define this macro and = get it to work as I want. =46rom my experiments so far, it seems that = including :B_ignoreheading: in the macro definition causes problems, but = I=E2=80=99m not 100% sure. Anyway, I=E2=80=99d be very grateful if = anyone can see an obvious way to get this to happen. Thanks for any suggestions! Richard Stanton= --Apple-Mail=_32146A9E-42BA-49F0-A4EC-DA3C82F8D8F7 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 I=E2=80= =99m using org mode to create Beamer presentations, also using = beamerarticle so I can create an article version of my slides with extra = text. This article by James Harkins was very helpful in getting = started:


One = issue, noted in the article, is that text you want to have appear in = article mode but not in a slide needs to be outside the frame = environment, which means you need to tell org to end one slide without = starting another. This can be achieved by inserting a header like this = into the org file before the article text:

*** More explanation coming      =
                           :B_ignoreheading:
    :PROPERTIES:
    :BEAMER_env: =
ignoreheading
    :END:

I=E2=80=99d like = to define a macro called, say, articletext, to insert this header into = my document before exporting to LaTeX, so the org file would look = something like this:

{{{article text}}}
This text appears = only in the article version.

However, I can=E2=80=99t find any way = to actually define this macro and get it to work as I want. =46rom my = experiments so far, it seems that including :B_ignoreheading: in the = macro definition causes problems, but I=E2=80=99m not 100% sure. Anyway, = I=E2=80=99d be very grateful if anyone can see an obvious way to get = this to happen.

Thanks for any suggestions!

Richard Stanton
= --Apple-Mail=_32146A9E-42BA-49F0-A4EC-DA3C82F8D8F7--