emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Michael Welle <mwe012008@gmx.net>
To: emacs-orgmode@gnu.org
Subject: Re: Exporting images to different output formats
Date: Tue, 01 Nov 2022 08:41:28 +0100	[thread overview]
Message-ID: <87pme76s0n.fsf@luisa.c0t0d0s0.de> (raw)
In-Reply-To: <87tu3m9ba8.fsf@localhost> (Ihor Radchenko's message of "Sun, 30 Oct 2022 04:37:51 +0000")

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	other threads:[~2022-11-01  7:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-29 11:52 Exporting images to different output formats Michael Welle
2022-10-30  4:37 ` Ihor Radchenko
2022-11-01  7:41   ` Michael Welle [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87pme76s0n.fsf@luisa.c0t0d0s0.de \
    --to=mwe012008@gmx.net \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).