From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Schmitt Subject: Re: using vref in latex export, and normal links in html export Date: Mon, 14 Mar 2016 10:33:34 +0100 Message-ID: References: <8737rxwa2i.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45142) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1afOsW-0006Qo-1q for emacs-orgmode@gnu.org; Mon, 14 Mar 2016 05:33:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1afOsQ-0003Ht-Vw for emacs-orgmode@gnu.org; Mon, 14 Mar 2016 05:33:31 -0400 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:26360) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1afOsQ-0003Hp-Oz for emacs-orgmode@gnu.org; Mon, 14 Mar 2016 05:33:26 -0400 In-Reply-To: (John Kitchin's message of "Sat, 12 Mar 2016 16:36:27 -0500") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: John Kitchin Cc: emacs-orgmode --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 2016-03-12 22:36, John Kitchin writes: > I guess these are defined in backends, e.g. org-latex-link. Ah, yes, thanks a lot. Unfortunately this approach does not work because org-add-link-type uses a function whose argument do not contain enough information to call the backend functions (for instance the first argument is a string in org-add-link-type, and it's an org link in the backend functions). I went back to the macro approach, and with the addition of org-latex-prefer-user-labels it works great. Thanks again, Alan =2D-=20 OpenPGP Key ID : 040D0A3B4ED2E5C7 Monthly Athmospheric CO=E2=82=82 (2016-02, Mauna Loa Obs.): 404.02 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBCgAGBQJW5oVuAAoJEAQNCjtO0uXHLYoH/1KNeZ4U+B6GGtGhGBpTdO3R cmex00ZWGX20ykDjolIxY7MqYXS4E8WFQ53kQIk4C10e+v5vmmeiDL4Wie3Y1Yxz BDA/g96aCMtIOo7frVItO+EuZT2PeV1zS0e2HzZjOpbXIwZM0hBfOJqKQoE+v3nq C8Wyxc824ynY7aHQTOOmzfleL4JJIIAEMRfknw1YkU5W2Msd7eQHHhZCQ8OhTezf fhitN/XMBJZelG3VbnCYITyv2yoEvCHLqWK1S850V2E4r/WJQoEupUsJJyYXix5h cEkrfk1KsJmPqPQfTdiYqIo4L7PQ9eakzUkeScNvu5+132TDRotKnQ/VvQ7olsE= =ZhuI -----END PGP SIGNATURE----- --=-=-=--