emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* feature request: export page of pdf in latex
@ 2014-02-23 20:55 Andreas Leha
  2014-02-23 23:46 ` John Kitchin
  0 siblings, 1 reply; 3+ messages in thread
From: Andreas Leha @ 2014-02-23 20:55 UTC (permalink / raw)
  To: emacs-orgmode

Hi all,

there is the nice functionality in docview links, where
[[docview:papers/last.pdf::2]] will open the second page of the given
pdf.

Would it be hard to make [[file:papers/last.pdf::2]] export the second
page of the pdf to latex?  I.e. to export to something like
\includegraphics[page=2]{papers/last.pdf}?


Regards,
Andreas

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: feature request: export page of pdf in latex
  2014-02-23 20:55 feature request: export page of pdf in latex Andreas Leha
@ 2014-02-23 23:46 ` John Kitchin
  2014-02-24 21:40   ` Andreas Leha
  0 siblings, 1 reply; 3+ messages in thread
From: John Kitchin @ 2014-02-23 23:46 UTC (permalink / raw)
  To: Andreas Leha; +Cc: emacs-orgmode@gnu.org

[-- Attachment #1: Type: text/plain, Size: 994 bytes --]

you can do this with a filter, and conditional handling. I did something
like this at
http://kitchingroup.cheme.cmu.edu/blog/2013/09/28/Changing-links-to-files-so-they-work-in-a-blog/where
file links were handled differently depending on whether the file
link had content or not. you could do something similar.

John

-----------------------------------
John Kitchin
Associate Professor
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
http://kitchingroup.cheme.cmu.edu



On Sun, Feb 23, 2014 at 3:55 PM, Andreas Leha <
andreas.leha@med.uni-goettingen.de> wrote:

> Hi all,
>
> there is the nice functionality in docview links, where
> [[docview:papers/last.pdf::2]] will open the second page of the given
> pdf.
>
> Would it be hard to make [[file:papers/last.pdf::2]] export the second
> page of the pdf to latex?  I.e. to export to something like
> \includegraphics[page=2]{papers/last.pdf}?
>
>
> Regards,
> Andreas
>
>
>

[-- Attachment #2: Type: text/html, Size: 1605 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: feature request: export page of pdf in latex
  2014-02-23 23:46 ` John Kitchin
@ 2014-02-24 21:40   ` Andreas Leha
  0 siblings, 0 replies; 3+ messages in thread
From: Andreas Leha @ 2014-02-24 21:40 UTC (permalink / raw)
  To: emacs-orgmode

Hi John,

John Kitchin <jkitchin@andrew.cmu.edu> writes:

> you can do this with a filter, and conditional handling. I did
> something like this at
> http://kitchingroup.cheme.cmu.edu/blog/2013/09/28/Changing-links-to-files-so-they-work-in-a-blog/ where file links were handled differently depending on whether the file link had content or not. you could do something similar.
>
> John
>
> -----------------------------------
> John Kitchin
> Associate Professor
> Doherty Hall A207F
> Department of Chemical Engineering
> Carnegie Mellon University
> Pittsburgh, PA 15213
> 412-268-7803
> http://kitchingroup.cheme.cmu.edu
>
> On Sun, Feb 23, 2014 at 3:55 PM, Andreas Leha
> <andreas.leha@med.uni-goettingen.de> wrote:
>
>     Hi all,
>     
>     there is the nice functionality in docview links, where
>     [[docview:papers/last.pdf::2]] will open the second page of the
>     given
>     pdf.
>     
>     Would it be hard to make [[file:papers/last.pdf::2]] export the
>     second
>     page of the pdf to latex? I.e. to export to something like
>     \includegraphics[page=2]{papers/last.pdf}?
>     
>     
>     Regards,
>     Andreas
>     
>     
>     


Thank you for this.  I'll look into it.

Regards,
Andreas

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-02-24 21:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-23 20:55 feature request: export page of pdf in latex Andreas Leha
2014-02-23 23:46 ` John Kitchin
2014-02-24 21:40   ` Andreas Leha

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).