That works. Thanks Juan Manuel!

> On Apr 30, 2021, at 1:40 PM, Juan Manuel Macías <maciasch...@posteo.net> 
> wrote:
> 
> Hi Richard,
> 
> Richard Stanton <rhstan...@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:"))
> 
> {{{article_text}}}
> 
> Best regards,
> 
> Juan Manuel 


Reply via email to