emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-export links to html
@ 2019-02-22 18:08 Daniel Herzig
  2019-02-22 18:22 ` Nicolas Goaziou
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel Herzig @ 2019-02-22 18:08 UTC (permalink / raw)
  To: Orgmode

Hi!

I'm facing an interesting issue here (emacs 25.1 & orgmode 8.2.10) when
exporting an org-file to html.

In my file there is a link to the original org-file itself (the one I'm
working on), written as 'file:/x/y/file.org'. When exporting to .pdf,
.odt, or text,
it correctly expands to 'file:///x/y/file.org', but when I export it to
.html, the link expands as 'file:///x/y/file.html'.

Does anyone have a hint, how to avoid this behaviour?

Thanks,
Daniel

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

* Re: org-export links to html
  2019-02-22 18:08 org-export links to html Daniel Herzig
@ 2019-02-22 18:22 ` Nicolas Goaziou
  2019-02-22 18:39   ` Daniel Herzig
  0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Goaziou @ 2019-02-22 18:22 UTC (permalink / raw)
  To: Daniel Herzig; +Cc: Orgmode

Hello,

Daniel Herzig <daniel.herzig@outlook.at> writes:

> I'm facing an interesting issue here (emacs 25.1 & orgmode 8.2.10) when
> exporting an org-file to html.
>
> In my file there is a link to the original org-file itself (the one I'm
> working on), written as 'file:/x/y/file.org'. When exporting to .pdf,
> .odt, or text,
> it correctly expands to 'file:///x/y/file.org', but when I export it to
> .html, the link expands as 'file:///x/y/file.html'.
>
> Does anyone have a hint, how to avoid this behaviour?

See `org-html-link-org-files-as-html'.

Regards,

-- 
Nicolas Goaziou

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

* Re: org-export links to html
  2019-02-22 18:22 ` Nicolas Goaziou
@ 2019-02-22 18:39   ` Daniel Herzig
  0 siblings, 0 replies; 3+ messages in thread
From: Daniel Herzig @ 2019-02-22 18:39 UTC (permalink / raw)
  To: Orgmode

Perfect, thank you!

Daniel


Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:

> Hello,
>
> Daniel Herzig <daniel.herzig@outlook.at> writes:
>
>> I'm facing an interesting issue here (emacs 25.1 & orgmode 8.2.10) when
>> exporting an org-file to html.
>>
>> In my file there is a link to the original org-file itself (the one I'm
>> working on), written as 'file:/x/y/file.org'. When exporting to .pdf,
>> .odt, or text,
>> it correctly expands to 'file:///x/y/file.org', but when I export it to
>> .html, the link expands as 'file:///x/y/file.html'.
>>
>> Does anyone have a hint, how to avoid this behaviour?
>
> See `org-html-link-org-files-as-html'.
>
> Regards,

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

end of thread, other threads:[~2019-02-22 18:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-02-22 18:08 org-export links to html Daniel Herzig
2019-02-22 18:22 ` Nicolas Goaziou
2019-02-22 18:39   ` Daniel Herzig

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