emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Macro replacement inside +attr_latex line
@ 2020-08-04 13:03 Vikas Rawal
  2020-08-04 13:17 ` Vikas Rawal
  0 siblings, 1 reply; 3+ messages in thread
From: Vikas Rawal @ 2020-08-04 13:03 UTC (permalink / raw)
  To: org-mode mailing list

Does orgmode macro replacement not work in an +attr_latex line? I was
thinking of using shortcuts for some complex latex syntax.

Vikas


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Macro replacement inside +attr_latex line
  2020-08-04 13:03 Macro replacement inside +attr_latex line Vikas Rawal
@ 2020-08-04 13:17 ` Vikas Rawal
  2020-08-06 17:23   ` Berry, Charles via General discussions about Org-mode.
  0 siblings, 1 reply; 3+ messages in thread
From: Vikas Rawal @ 2020-08-04 13:17 UTC (permalink / raw)
  To: org-mode mailing list

Found the answer in the mailing list archives
(https://lists.gnu.org/archive/html/emacs-orgmode/2013-09/msg00234.html).
Not allowed.

Vikas

On Tue, 4 Aug 2020 at 18:33, Vikas Rawal <vikasrawal@gmail.com> wrote:
>
> Does orgmode macro replacement not work in an +attr_latex line? I was
> thinking of using shortcuts for some complex latex syntax.
>
> Vikas


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Macro replacement inside +attr_latex line
  2020-08-04 13:17 ` Vikas Rawal
@ 2020-08-06 17:23   ` Berry, Charles via General discussions about Org-mode.
  0 siblings, 0 replies; 3+ messages in thread
From: Berry, Charles via General discussions about Org-mode. @ 2020-08-06 17:23 UTC (permalink / raw)
  To: Vikas Rawal; +Cc: org-mode mailing list



> On Aug 4, 2020, at 6:17 AM, Vikas Rawal <vikasrawal@gmail.com> wrote:
> 
> Found the answer in the mailing list archives
> (https://lists.gnu.org/archive/html/emacs-orgmode/2013-09/msg00234.html).
> Not allowed.
> 


But, ...

#+macro: attr_latex #+attr_latex: $1


* abc

{{{attr_latex(:width 10)}}}
[[file:abc.png]]

should get you started.

HTH,
CCB




> Vikas
> 
> On Tue, 4 Aug 2020 at 18:33, Vikas Rawal <vikasrawal@gmail.com> wrote:
>> 
>> Does orgmode macro replacement not work in an +attr_latex line? I was
>> thinking of using shortcuts for some complex latex syntax.
>> 
>> Vikas
> 
> 




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-08-06 17:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-04 13:03 Macro replacement inside +attr_latex line Vikas Rawal
2020-08-04 13:17 ` Vikas Rawal
2020-08-06 17:23   ` Berry, Charles via General discussions about Org-mode.

Code repositories for project(s) associated with this 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).