emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* External link abbreviations don't work when contained in #+INCLUDE file
@ 2012-04-30 16:04 D. C. Toedt
  2012-05-01 11:30 ` Bastien
  0 siblings, 1 reply; 2+ messages in thread
From: D. C. Toedt @ 2012-04-30 16:04 UTC (permalink / raw)
  To: emacs-orgmode

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

External link abbreviations don't seem to work if they're in an #+INCLUDE
file -- they end up pointing to a (non-existent) anchor within the main
document.

The same external link abbreviations seem to work fine if they're in the
main file.

I'm using the latest build of GNU Emacs (24.1.50.1, April 23) and the
latest version of Org-mode 7.8.09 (built-in).

I've done a fair amount of Google searching for possible answers.

Any thoughts?  Here are excerpts from the relevant files.  The same
(presumably-)erroneous behavior exists even with stripped-down files
containing only the text below.

-----------------------

[In Chapter.org:]

 #+INCLUDE: "Links.org"


For an example of a confidentiality provision protecting each party's
information, see [[Disney-Pixar][Disney Pixar]] § 19(c)(1).



-----------------------

[In Links.org:]

 #+LINK: Disney-Pixar http://goo.gl/P3ak2


-----------------------

[In Chapter.html:]

 For an example of a confidentiality provision protecting each party's
information, see <a href="#Disney-Pixar">Disney Pixar</a> § 19(c)(1).


------------------------


Thanks in advance,

D. C.

-- 
*D. C. Toedt III * |  Lawyer for tech companies  |  Houston, Texas (Central
time zone)
dc@toedt.com  |  O: +1 (713) 364-6545  C: +1 (713) 516-8968  |  Last name
pronounced: "Tate"
*LinkedIn:* dctoedt <http://www.linkedin.com/in/dctoedt>  |  *Blog: *
www.TechLawNotes.com <http://www.techlawnotes.com>  |  Twitter:
dctoedt<http://twitter.com/#!/dctoedt>






On Mon, Apr 30, 2012 at 10:48, Bastien <bzg@gnu.org> wrote:

> Greetings,
>
> thank you very much for the generous donation, it is really appreciated.
>
> Just out of curiosity, may I ask you how you use Org-mode?  More
> precisely, do you use it as a publishing tool or in your publishing
> toolchain?
>
> Thanks a lot in advance for your answers!
>
> Best regards,
>
> --
>  Bastien
>

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

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

* Re: External link abbreviations don't work when contained in #+INCLUDE file
  2012-04-30 16:04 External link abbreviations don't work when contained in #+INCLUDE file D. C. Toedt
@ 2012-05-01 11:30 ` Bastien
  0 siblings, 0 replies; 2+ messages in thread
From: Bastien @ 2012-05-01 11:30 UTC (permalink / raw)
  To: D. C. Toedt; +Cc: emacs-orgmode

Hi,

"D. C. Toedt" <dc@toedt.com> writes:

> External link abbreviations don't seem to work if they're in an #
> +INCLUDE file -- they end up pointing to a (non-existent) anchor
> within the main document.  
>
> The same external link abbreviations seem to work fine if they're in
> the main file.

That's the thing to do: put the links abbreviations in the main file or
in `org-link-abbrev-alist'.  Options are local to the file and it would
be inconsistent to make an exception for #+LINK.

HTH,

-- 
 Bastien

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

end of thread, other threads:[~2012-05-01 11:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-30 16:04 External link abbreviations don't work when contained in #+INCLUDE file D. C. Toedt
2012-05-01 11:30 ` Bastien

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