Hello,
Could you upgrade Org? IIRC, it was fixed some time ago?
gvoysey <gvoysey@bu.edu> writes:
> I use org as my lab notebook. Fairly often, I include figures and
> plots. I have the following style of file structure:
>
> Project
> ├── project.org
> └── subproject
> ├── figures
> │ └── foo.png
> └── subproject.org
>
> I have been using #+INCLUDE to "lift" subproject.org up into project.org as
> a subheading, so I can export the whole thing at once.
>
> so project.org looks like:
>
> #+begin_src org
> * project
> here are my notes
> #+INCLUDE: "./subproject/subproject.org"
> #+end_src
>
>
> and subproject:
>
> #+begin_src org
> * notes
> see this plot:
> [[./figures/foo.png]]
> #+CAPTION: a cool figure.
> #+end_src
>
> When I export =project.org= as HTML or LaTeX, the figures are not
> included. When I instead export =subproject.org= directly, they are.
>
> Is there a way to insert file links to specify "relative to exactly this
> file no matter where you've found yourself", or is #+INCLUDE mangling
> filepaths kind of unavoidable? If the latter, what's the recommended
> course of action here?
Regards,
--
Nicolas Goaziou