emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Juan Manuel Macías" <maciaschain@posteo.net>
To: Richard Stanton <rhstanton@berkeley.edu>
Cc: orgmode <emacs-orgmode@gnu.org>
Subject: Re: How to create a macro that inserts multiline text with :B_ignoreheading: tag?
Date: Fri, 30 Apr 2021 20:40:40 +0000	[thread overview]
Message-ID: <87o8dvpktz.fsf@posteo.net> (raw)
In-Reply-To: <5653BC7E-CC4C-45F0-94BF-7BEE958FAA9A@berkeley.edu> (Richard Stanton's message of "Fri, 30 Apr 2021 08:19:13 -0700")

Hi Richard,

Richard Stanton <rhstanton@berkeley.edu> writes:

> I’d 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.

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:"))


Best regards,

Juan Manuel 

  reply	other threads:[~2021-04-30 21:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-30 15:19 How to create a macro that inserts multiline text with :B_ignoreheading: tag? Richard Stanton
2021-04-30 20:40 ` Juan Manuel Macías [this message]
2021-04-30 23:40   ` Richard Stanton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87o8dvpktz.fsf@posteo.net \
    --to=maciaschain@posteo.net \
    --cc=emacs-orgmode@gnu.org \
    --cc=rhstanton@berkeley.edu \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).