Given a test.org
file like
* A level one heading
** [[file:other.org*some_heading][Some good stuffs]]
If I export it to HTML, Some good stuffs
can get a nice link to another HTML. But this is not the case when exporting to PDF.
So when exporting to PDF, I want to include the actual content of some_heading
. I know I can use something like
#+INCLUDE: "other.org*some_heading"
But that's a comment, and it's not easy for me to see the origin structure of test.org
. I want it at least look like a heading in the org
file.
Is there a way to keep Some good stuffs
a link when exporting to HTML while include its actual content when exporting to PDF? Thanks.
[[file:other.org::*some_heading][Some good stuff]]
. When I export to PDF and open it with xpdf,Some good stuff
is a link: when clicked, it opensother.org
, although it does not go tosome_heading
. I'm not sure whether that behavior requires some setting in xpdf, but looking at both the global and local xpdfrc file, I find nothing relevant.org
file or anotherPDF
file.