emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Custom image link types in LaTeX
@ 2020-02-13 17:47 solomon theNinja
  2020-02-14 10:02 ` Bastien
  0 siblings, 1 reply; 5+ messages in thread
From: solomon theNinja @ 2020-02-13 17:47 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 759 bytes --]

There does not currently exist a (pretty, without huge advices) way to
create a custom link type, with a special export function, that would be
handled as an image on LaTeX exports.
By contrast, in HTML exports is possible by adding your custom link to
`org-html-inline-image-rules` - but in LaTeX, a link must either be custom
or image, and the figure-wrapping function `org-latex--inline-image`
doesn't handle custom links; its not possible without modifying these
functions
Is this the intended behavior? If so, why?

I'll be happy to implement exporting custom image links myself, given time,
if that's the issue.

- If it was not clear, in "custom links" I'm referring to links defined
with `org-link-set-parameters` that have a special export behavior.

[-- Attachment #2: Type: text/html, Size: 905 bytes --]

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

end of thread, other threads:[~2020-02-14 20:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-13 17:47 Custom image link types in LaTeX solomon theNinja
2020-02-14 10:02 ` Bastien
2020-02-14 17:17   ` Nicolas Goaziou
2020-02-14 19:18     ` solomon theNinja
2020-02-14 20:13       ` solomon theNinja

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).