* How to export to pdf and link to other pdf-files?
@ 2015-05-20 2:58 Dov Grobgeld
2015-05-20 9:43 ` Rasmus
0 siblings, 1 reply; 3+ messages in thread
From: Dov Grobgeld @ 2015-05-20 2:58 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 234 bytes --]
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.
Thanks!
Dov
[-- Attachment #2: Type: text/html, Size: 292 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: How to export to pdf and link to other pdf-files?
2015-05-20 2:58 How to export to pdf and link to other pdf-files? Dov Grobgeld
@ 2015-05-20 9:43 ` Rasmus
2015-05-20 9:51 ` Suvayu Ali
0 siblings, 1 reply; 3+ messages in thread
From: Rasmus @ 2015-05-20 9:43 UTC (permalink / raw)
To: emacs-orgmode
Dov Grobgeld <dov.grobgeld@gmail.com> 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,
Hope it helps,
Rasmus
--
Dung makes an excellent fertilizer
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: How to export to pdf and link to other pdf-files?
2015-05-20 9:43 ` Rasmus
@ 2015-05-20 9:51 ` Suvayu Ali
0 siblings, 0 replies; 3+ messages in thread
From: Suvayu Ali @ 2015-05-20 9:51 UTC (permalink / raw)
To: emacs-orgmode
On Wed, May 20, 2015 at 11:43:13AM +0200, Rasmus wrote:
> Dov Grobgeld <dov.grobgeld@gmail.com> 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.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-05-20 9:51 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-20 2:58 How to export to pdf and link to other pdf-files? Dov Grobgeld
2015-05-20 9:43 ` Rasmus
2015-05-20 9:51 ` Suvayu Ali
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).