[O] include a specific PDF page to org beamer

2014-11-22 Thread Zhihao Ding
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



Re: [O] include a specific PDF page to org beamer

2014-11-22 Thread Rasmus
Hi Zhihao,

Zhihao Ding zhihao.d...@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