From: solomon theNinja <solomontheninja@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Custom image link types in LaTeX
Date: Thu, 13 Feb 2020 19:47:30 +0200 [thread overview]
Message-ID: <CAJyovguxfthszgfsH0EFF8ebCqb0V2f_YuLimVbsh8fEoTpR8A@mail.gmail.com> (raw)
[-- 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 --]
next reply other threads:[~2020-02-13 17:47 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-13 17:47 solomon theNinja [this message]
2020-02-14 10:02 ` Custom image link types in LaTeX Bastien
2020-02-14 17:17 ` Nicolas Goaziou
2020-02-14 19:18 ` solomon theNinja
2020-02-14 20:13 ` solomon theNinja
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=CAJyovguxfthszgfsH0EFF8ebCqb0V2f_YuLimVbsh8fEoTpR8A@mail.gmail.com \
--to=solomontheninja@gmail.com \
--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).