[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] LaTeX style command re-use but for within org-mode documents?

From: Thomas S. Dye
Subject: Re: [O] LaTeX style command re-use but for within org-mode documents?
Date: Sun, 11 May 2014 09:51:18 -1000

Aloha Grant,

Perhaps a macro?  Macro expansion takes place during export.

All the best,

Grant Rettke <address@hidden> writes:

> Hi,
> Today we are working on an org-document that contains a quote that
> will re-appear multiple times within
> the same document. Coming from LaTeX, my initial reaction is to create
> a new command with \newcommand.
> Trying to find something like that within org-mode set me down two paths.
> The first was to consider utilize literate programming. This would be
> a fine approach if I were publishing the tangled document, but I am
> not. Additionally, it is not code, just human readable text (a quote).
> The second thought was to learn about export filters. Stuff like using
> \rarr works just fine no matter where you export, so I wondered if I
> should follow a similar approach. I didn't pursue this further though,
> I wanted to get some feedback first.
> What is the standard approach for doing stuff like this?
> Regards,
> Grant Rettke | AAAS, ACM, ASA, FSF, IEEE, SIAM, Sigma Xi
> address@hidden | http://www.wisdomandwonder.com/
> “Wisdom begins in wonder.” --Socrates
> ((λ (x) (x x)) (λ (x) (x x)))
> “Life has become immeasurably better since I have been forced to stop
> taking it seriously.” --Thompson

Thomas S. Dye

reply via email to

[Prev in Thread] Current Thread [Next in Thread]