From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id s1m3Mtl4jGD3BAEAgWs5BA (envelope-from ) for ; Fri, 30 Apr 2021 23:38:33 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id sCVXLdl4jGDwcQAAB5/wlQ (envelope-from ) for ; Fri, 30 Apr 2021 21:38:33 +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 3735D26E69 for ; Fri, 30 Apr 2021 23:38:32 +0200 (CEST) Received: from localhost ([::1]:34180 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lcaqF-0001my-BA for larch@yhetil.org; Fri, 30 Apr 2021 17:38:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55362) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lcZwR-0008TN-PZ for emacs-orgmode@gnu.org; Fri, 30 Apr 2021 16:40:52 -0400 Received: from mout01.posteo.de ([185.67.36.65]:49203) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lcZwL-00052h-UX for emacs-orgmode@gnu.org; Fri, 30 Apr 2021 16:40:51 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 7720C240026 for ; Fri, 30 Apr 2021 22:40:42 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1619815242; bh=HE6+W8cmblTFKZiZU1+fiBvV/XrgaIEJA5lWFWXpO1A=; h=From:To:Cc:Subject:Date:From; b=kGjGw+XM5EXsFW+JWVtJZuykh5nE5SFzCc2bA7mWjrDMsZpVrzAj4wF1Lvbuipqz6 KAD3leJLiPUM3jOsHnhjN9jty2eceyMMTnqeqx6VTX2ok0WiFmfEMvY2/QzDQ8NBJz pFWJs5Nh+0UoFvlhQgBhUqxiMpCca8BtXts3PI3jSG8Knh9Bnp/Fshjrh7+O18C3Ps f6f9kvxvmnLl9c4kI5O6JmivEct08nuZZjIIbgKuXz7doRArpEvs3l+yjQOflUFW7E n7fTjyuDQcqALmkV2scDKJ7w6jL3lmleiOHTDkwoO0enWpLYo+UIFvd1wuN0GzZw68 QzsVZVXvvCnGA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4FX4555Cf0z6tm5; Fri, 30 Apr 2021 22:40:41 +0200 (CEST) From: =?utf-8?Q?Juan_Manuel_Mac=C3=ADas?= To: Richard Stanton Subject: Re: How to create a macro that inserts multiline text with :B_ignoreheading: tag? References: <5653BC7E-CC4C-45F0-94BF-7BEE958FAA9A@berkeley.edu> Date: Fri, 30 Apr 2021 20:40:40 +0000 In-Reply-To: <5653BC7E-CC4C-45F0-94BF-7BEE958FAA9A@berkeley.edu> (Richard Stanton's message of "Fri, 30 Apr 2021 08:19:13 -0700") Message-ID: <87o8dvpktz.fsf@posteo.net> 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=maciaschain@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_H3=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.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: orgmode 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=1619818712; 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=HE6+W8cmblTFKZiZU1+fiBvV/XrgaIEJA5lWFWXpO1A=; b=IdNzu6C/fp9eTGEu+ZYRE6mBCZx76YRGeVEZxU7Z18XDfaK87rq9dkteVTIRIrOVj0ZSAH 9n9inEMFwdQWUbbdUAluyxTszrFA0oJ5u/XQY6idRY2pQdocBWC5uael1Rt3lHj55lKaTs NMr2THTmpxsj011XpZ0JCXLnqLRlw+zKNknT4tnUiY+SgyfQe+IfQjOhFDlPeKgfeXxkh5 5N/7sYz7DITk7Fi007iQ5sdwpQyFxYeJ1V342Yj+nfh6kDhz6CDzO+E/UMGPB3BkDIxj9V jTYzmEjZESi0tUybwps9XleFINYvXkqHeSqsr70wiQG/y4sZET9MCP2AMHkOaA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1619818712; a=rsa-sha256; cv=none; b=GGuDYc45H2nUMzLY+5BOXijmZ5lVnZP585nrpgyLR7NG74wpfqGhqmkqX0v+TYSg1eBnh0 fpf+fYG/vA+ag5utxZA7GhMuaNfPvuYUKZ2WZO/xL1dKBFLLSv/Y44cHHq1otT7/kWaUL5 x3q3EVex7OUI49jfSjRGkA0zB8+oKVRVg0RgMfoyxoeaXHIgBya6me+Trk8j7MbHGvjP8b nD38dbAhhCA8GHEWj0NLkXvFtO2qJlzoQVFJvHyIEaxShutTuGamKCe28Q+hf7j41XNmav P6WnR8Clw8ZVFseB/EPORCy6PShChlQ8q0rSDbnbtjFhGUcMI5wu1tnM1eJvRg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=kGjGw+XM; 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: -2.16 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=kGjGw+XM; dmarc=pass (policy=none) header.from=posteo.net; 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: 3735D26E69 X-Spam-Score: -2.16 X-Migadu-Scanner: scn0.migadu.com X-TUID: XZwUufoAeD/i Hi Richard, Richard Stanton writes: > I=E2=80=99d like to define a macro called, say, articletext, to insert th= is > 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. Macro definitions do not allow spaces. You can try something like: #+MACRO: article_text (eval (concat "*** More explanation coming" "\s" ":B_= ignoreheading:\n:PROPERTIES:\n:BEAMER_env: ignoreheading\n:END:")) {{{article_text}}} Best regards, Juan Manuel=20