Re: Custom image link types in LaTeX

2020-02-14 Thread solomon theNinja
Also, it would be nice to get access to the "info" variable for custom
links;
that way, custom image links could handle attributes like "#+WIDTH".

But straight up giving the ":export" function (registered through
"org-link-set-parameters")
another argument would break all existing custom links, so I'm not sure
whats the way
to go about this.

Regards,

--
Solomon


Re: Custom image link types in LaTeX

2020-02-14 Thread solomon theNinja
Alright, I'll wait. Meanwhile I have a few crude advises in my config that
allow some functionality, so no hurry :)

On Fri, Feb 14, 2020 at 7:17 PM Nicolas Goaziou 
wrote:

> Hello,
>
> Bastien  writes:
>
> > solomon theNinja  writes:
> >
> >> I'll be happy to implement exporting custom image links myself, given
> >> time, if that's the issue.
> >
> > Sure, please go ahead!  If your change is more than 15 lines or so,
> > you might need to sign the FSF copyright assignment:
> >
> > https://orgmode.org/request-assign-future.txt
> >
> >> - 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.
> >
> > Yes, that's what they are for.
>
> Note that I need to slightly improve the tooling in "ol.el", so
> I suggest to wait for these changes, as it might make this feature
> trivial.
>
> Regards,
>
> --
> Nicolas Goaziou
>


Re: Custom image link types in LaTeX

2020-02-14 Thread Nicolas Goaziou
Hello,

Bastien  writes:

> solomon theNinja  writes:
>
>> I'll be happy to implement exporting custom image links myself, given
>> time, if that's the issue.
>
> Sure, please go ahead!  If your change is more than 15 lines or so,
> you might need to sign the FSF copyright assignment:
>
> https://orgmode.org/request-assign-future.txt
>
>> - 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.
>
> Yes, that's what they are for.

Note that I need to slightly improve the tooling in "ol.el", so
I suggest to wait for these changes, as it might make this feature
trivial.

Regards,

-- 
Nicolas Goaziou



Re: Custom image link types in LaTeX

2020-02-14 Thread Bastien
Hi Solomon,

solomon theNinja  writes:

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

Sure, please go ahead!  If your change is more than 15 lines or so,
you might need to sign the FSF copyright assignment:

https://orgmode.org/request-assign-future.txt

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

Yes, that's what they are for.

Thanks!

-- 
 Bastien