* include a specific PDF page to org beamer
[not found] <mailman.95.1416675628.13049.emacs-orgmode@gnu.org>
@ 2014-11-22 18:29 ` Zhihao Ding
2014-11-22 20:41 ` Rasmus
0 siblings, 1 reply; 2+ messages in thread
From: Zhihao Ding @ 2014-11-22 18:29 UTC (permalink / raw)
To: emacs-orgmode@gnu.org
Hi there,
I was wondering if there is a way to import a specific PDF page
in org beamer?
I tried the following ways but neither 1 or 2 worked and I had to
retreat to 3, which is a pain as it requires those extra lines for
each link.
1.
[[file:~/path/to/myfigure.pdf::10]]
2.
#+ATTR_LATEX: page=10
[[file:~/path/to/myfigure.pdf]]
3.
#+begin_LaTeX
\includegraphics[page=10]{file:~/path/to/myfigure.pdf}
#+end_LaTeX
Many thanks!
Zhihao
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: include a specific PDF page to org beamer
2014-11-22 18:29 ` include a specific PDF page to org beamer Zhihao Ding
@ 2014-11-22 20:41 ` Rasmus
0 siblings, 0 replies; 2+ messages in thread
From: Rasmus @ 2014-11-22 20:41 UTC (permalink / raw)
To: emacs-orgmode
Hi Zhihao,
Zhihao Ding <zhihao.ding@imm.ox.ac.uk> writes:
> 1.
> [[file:~/path/to/myfigure.pdf::10]]
>
> 2.
> #+ATTR_LATEX: page=10
> [[file:~/path/to/myfigure.pdf]]
>
> 3.
> #+begin_LaTeX
> \includegraphics[page=10]{file:~/path/to/myfigure.pdf}
> #+end_LaTeX
3. can be reduced to
#+LATEX: \includegraphics{myfig.pdf}
However, probably this is what you are looking for:
#+ATTR_LATEX: :options page=10 :width 10cm
[[file:myfig.pdf]]
For other backends than LaTeX, a solution would be more involved.
Hope it helps,
Rasmus
--
Send from my Emacs
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-11-22 20:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <mailman.95.1416675628.13049.emacs-orgmode@gnu.org>
2014-11-22 18:29 ` include a specific PDF page to org beamer Zhihao Ding
2014-11-22 20:41 ` Rasmus
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).