Re: Macro replacement inside +attr_latex line

2020-08-06 Thread Berry, Charles



> On Aug 4, 2020, at 6:17 AM, Vikas Rawal  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  wrote:
>> 
>> Does orgmode macro replacement not work in an +attr_latex line? I was
>> thinking of using shortcuts for some complex latex syntax.
>> 
>> Vikas
> 
> 





Re: Macro replacement inside +attr_latex line

2020-08-04 Thread Vikas Rawal
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  wrote:
>
> Does orgmode macro replacement not work in an +attr_latex line? I was
> thinking of using shortcuts for some complex latex syntax.
>
> Vikas



Macro replacement inside +attr_latex line

2020-08-04 Thread Vikas Rawal
Does orgmode macro replacement not work in an +attr_latex line? I was
thinking of using shortcuts for some complex latex syntax.

Vikas