emacs-orgmode
[Top][All Lists]
Advanced

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

Re: Exporting images to different output formats


From: Michael Welle
Subject: Re: Exporting images to different output formats
Date: Tue, 01 Nov 2022 08:41:28 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

Hello,

Ihor Radchenko <yantar92@posteo.net> writes:

> Michael Welle <mwe012008@gmx.net> writes:
[...]
>> {{{img(./foo, foo, barfoo)}}}
>>
>> That kind of works (and breaks if I want commas in the caption)
>
> Re: commas. See 13.5 Macro Replacement
I found that shortly after posting. Works as expected.


>    (1) Since commas separate the arguments, commas within arguments have
> to be escaped with the backslash character.  So only those backslash
> characters before a comma need escaping with another backslash
> character.
>
>> , but is
>> ugly as... and doesn't get better if I implement the other output formats.
>
> Agree. The proper way to implement this is special blocks + custom
> export filter that will take care about backend selection.
>
> Also, see https://list.orgmode.org/orgmode/87y1yr9gbl.fsf@gmail.com/
> referring to https://github.com/alhassy/org-special-block-extras/
Ah, that looks promising.

Thank you!

All the best
hmw



reply via email to

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