* Custom variables in text
@ 2011-01-17 15:16 Gustav Wikström
2011-01-17 15:45 ` Giovanni Ridolfi
0 siblings, 1 reply; 2+ messages in thread
From: Gustav Wikström @ 2011-01-17 15:16 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1.1: Type: text/plain, Size: 538 bytes --]
Hello!
Is there a easy way to make use of personal variables inside a text?
Lets say that I want to use a number in my text and know that it will change
in the future. Instead of going through the whole document I just put a
variable in the beginning of the document and use the variable name, which
is transformed to the right number when the document is exported.
I know about the #+LINK in-buffer setting. But I'm looking for a simple
variable without making it a link. Is this possible?
Best regards
Gustav Wikström
[-- Attachment #1.2: Type: text/html, Size: 637 bytes --]
[-- Attachment #2: Type: text/plain, Size: 201 bytes --]
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Custom variables in text
2011-01-17 15:16 Custom variables in text Gustav Wikström
@ 2011-01-17 15:45 ` Giovanni Ridolfi
0 siblings, 0 replies; 2+ messages in thread
From: Giovanni Ridolfi @ 2011-01-17 15:45 UTC (permalink / raw)
To: Gustav Wikström; +Cc: emacs-orgmode
Gustav Wikström <gustav.erik@gmail.com> writes:
Hi Gustav,
>
> Is there a easy way to make use of personal variables inside a text?
please, have a look at the section "Macro replacement"
in the manual.
cheers,
Giovanni
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-01-17 15:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-17 15:16 Custom variables in text Gustav Wikström
2011-01-17 15:45 ` Giovanni Ridolfi
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
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).