emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Bug: Dead links from clocking tables to other org files in HTML


From: Nicolas Goaziou
Subject: Re: [O] Bug: Dead links from clocking tables to other org files in HTML export [9.1.3 (9.1.3-2-g322612-elpa @ /home/mrhn/.emacs.d/elpa/org-20171120/)]
Date: Sun, 26 Nov 2017 10:50:09 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)

Hello,

Martin Hans <address@hidden> writes:

> When exporting my project with org-publish, the exporter generates
> anchors with names such as "orga79e495" and refers to them when linking
> to the headers from other files. However, the generated anchor names
> don't match between files, resulting in all links being dead.
>
> Furthermore, the publishing directory is not respected, so all links
> still point to the directory that the org file was in, even though the
> html files are located elsewhere.
>
> Example:
>
> I have put the files needed to reproduce this at
> https://gist.github.com/martinhansdk/f81a5fdf340eab591e6df55645cfd22d
> They can be viewed there or fetched with git:
>
>     git clone https://gist.github.com/martinhansdk/
> f81a5fdf340eab591e6df55645cfd22d
>
> Run emacs -Q -l minimal-org.el
>
> Then export with M-x org-publish org
>
> I get files in the exported/ subdirectory.
>
> The last link in the clocking table in exported/time.html is
>
>     <a href="file:///home/mrhn/bugreports/orgmode-html/
> journal.html#org2f3d7f7">Worked on supporting ä, ö, and ü</a>
>
> But that should have been
>
>     <a href="journal.html#org5c71d1e">Worked on supporting ä, ö, and ü</a>
>
> Note that both the path is absolute where it should have been relative
> and the anchor is wrong.

Fixed. Thank you.

> As an aside, is there any way to prevent the following line from
> appearing in the exported HTML?
>
>     #+BEGIN: clocktable :scope agenda :link t :maxlevel 5

I cannot reproduce it.

Regards,

-- 
Nicolas Goaziou



reply via email to

[Prev in Thread] Current Thread [Next in Thread]