← Back to team overview

zim-wiki team mailing list archive

Re: Relative path in html generated by zim

 

In some cases yours can be a good workaround, but not in this case. Note I
want to link to HTML pages that have been automatically generated outside
zim (i.e using rmarkdown) and are stored on a directory related to the
destination directory of the HTML pages generated by zim.
Agus
On May 9, 2016 9:02 PM, "Karthik Tayur" <karthikstayur@xxxxxxxxx> wrote:

> If I get your problem correctly, it is the lack of a relative link.
> I had that problem before using export to collect all pages in a single
> html file with the attendant attachments in a folder. Does that help?
>
> On 10 May 2016 00:26, "Agustin Lobo" <aloboaleu@xxxxxxxxx> wrote:
> >
> > I have the following problem:
> > I need a link to a relative path in the destination folder of the html
> pages
> > generated by zim. I can write in zim
> > ../../example.html
> > but after exporting as html, while the text is written exactly as
> > ../../example.html
> > on the html page,
> > the actual link points towards the absolute path in relation to the
> > the directory where the zim notebook lives. I want the link to be as
> > the text: just in relation to
> > where the html page lives.
> >
> > Any solution?
> >
> > Thanks
> >
> > --
> > Agustin Lobo
> > aloboaleu@xxxxxxxxx
> >
> > _______________________________________________
> > Mailing list: https://launchpad.net/~zim-wiki
> > Post to     : zim-wiki@xxxxxxxxxxxxxxxxxxx
> > Unsubscribe : https://launchpad.net/~zim-wiki
> > More help   : https://help.launchpad.net/ListHelp
>

References