From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Schmitt Subject: Re: how can I html export a relative link to an org file? Date: Wed, 03 Dec 2014 20:11:18 +0100 Message-ID: References: <87ppc0kev5.fsf@nicolasgoaziou.fr> <87bnnkk8je.fsf@nicolasgoaziou.fr> 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]:40219) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XwFKj-0006uJ-J2 for emacs-orgmode@gnu.org; Wed, 03 Dec 2014 14:11:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XwFKe-0000jF-7J for emacs-orgmode@gnu.org; Wed, 03 Dec 2014 14:11:29 -0500 Received: from mx1.polytechnique.org ([129.104.30.34]:33658) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XwFKd-0000hv-Iq for emacs-orgmode@gnu.org; Wed, 03 Dec 2014 14:11:24 -0500 Received: from charm-wifi.irisa.fr (cbg35-2-78-242-14-140.fbx.proxad.net [78.242.14.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ssl.polytechnique.org (Postfix) with ESMTPSA id 6AA391408EFA2 for ; Wed, 3 Dec 2014 20:11:20 +0100 (CET) In-Reply-To: <87bnnkk8je.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Wed, 03 Dec 2014 17:22:29 +0100") 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: emacs-orgmode --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain On 2014-12-03 17:22, Nicolas Goaziou writes: > Alan Schmitt writes: > >> Thank you. Here is a manual patch to mention this option as that >> point. > > Thank you. Could you add an appropriate @vindex entry above modified > paragraph? Here you go. --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-org.texi-Document-org-html-link-org-files-as-html.patch Content-Transfer-Encoding: quoted-printable From=2082f941e23929357d18b3c8f180caaf8abe3bc118 Mon Sep 17 00:00:00 2001 From: Alan Schmitt Date: Wed, 3 Dec 2014 15:40:50 +0100 Subject: [PATCH] org.texi: Document `org-html-link-org-files-as-html' * doc/org.texi: Document `org-html-link-org-files-as-html' in the "Links in HTML export" section. =2D-- doc/org.texi | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/doc/org.texi b/doc/org.texi index 15830fc..8bbc801 100644 =2D-- a/doc/org.texi +++ b/doc/org.texi @@ -11325,15 +11325,17 @@ All lines between these markers are exported lite= rally @cindex links, in HTML export @cindex internal links, in HTML export @cindex external links, in HTML export +@vindex org-html-link-org-files-as-html Internal links (@pxref{Internal links}) will continue to work in HTML@. T= his includes automatic links created by radio targets (@pxref{Radio targets}). Links to external files will still work if the target file is = on the same @i{relative} path as the published Org file. Links to other @file{.org} files will be translated into HTML links under the assumption that an HTML version also exists of the linked file, at the same relative =2Dpath. @samp{id:} links can then be used to jump to specific entries acr= oss =2Dfiles. For information related to linking files while publishing them t= o a =2Dpublishing directory see @ref{Publishing links}. +path; setting @code{org-html-link-org-files-as-html} to @code{nil} disables +this translation. @samp{id:} links can then be used to jump to specific +entries across files. For information related to linking files while +publishing them to a publishing directory see @ref{Publishing links}. =20 If you want to specify attributes for links, you can do so using a special @code{#+ATTR_HTML} line to define attributes that will be added to the =2D-=20 2.2.0 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable I can commit is directly if you prefer. Best, Alan =2D-=20 OpenPGP Key ID : 040D0A3B4ED2E5C7 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.22 (Darwin) iQEcBAEBCgAGBQJUf2BaAAoJEAQNCjtO0uXHIXwH/jSN3JmOA/LqxYF8MkAOC8Hu UNnZ9IfcBei3IIrx+m/TXnMJNpMT7kzIxcNEXMeG5T9CWkcUldUF8bygZnLEHlKo XqCranhdKDnnbNkt9+nO1ZHRSF/acDNztZNybAwnp3+6SFtE/1taXMDSiFbhqr2N 54HgIUD1evQXLsa4lngTfp05qwuLCZxqXTt11euE7Ct6wLeCFlaLycfpE4LBI0lF aLkS7KSFXFoNLB9Z+gBlhQOh1QIuzzio/sYdQaGAEbG+KMi1sEZMJLea0SfiuA7I uXKVLggGOv5hdAvej7X4BH20PvST2Weo8UiPm+nnLqjNYdocFtCiZT4ueJ7AT8A= =ucXM -----END PGP SIGNATURE----- --==-=-=--