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