[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] How to export to pdf and link to other pdf-files?
From: |
Suvayu Ali |
Subject: |
Re: [O] How to export to pdf and link to other pdf-files? |
Date: |
Wed, 20 May 2015 11:51:01 +0200 |
User-agent: |
Mutt/1.5.23.1-rc1 (2014-03-12) |
On Wed, May 20, 2015 at 11:43:13AM +0200, Rasmus wrote:
> Dov Grobgeld <address@hidden> writes:
>
> > What do I need to do to inhibit the inclusion of pdf files as graphics
> > files, when exporting an org file to pdf?
> >
> > Ideally I would like to have links to referenced pdf files and not have
> > them treated as embedded graphics.
>
> A very quick look suggests it's hardcoded in org-latex--inline-image.
> Thus, the easiest thing may be to use a filter and be sure to include the
> pdf extension. I think you might have to use
> org-export-filter-paragraph-functions,
I think the OP can simply add a description to the links. AFAIK, links
with descriptions are exported as links during LaTeX export.
Okay I can confirm this. The following:
[[file:/tmp/foo.pdf][A link]]
is exported as:
\href{file:///tmp/foo.pdf}{A link}
Hope this helps,
--
Suvayu
Open source is the future. It sets us free.