Hello,

Moritz Kiefer <moritz.kie...@gmail.com> writes:

> I have lots of links to specific pages in a pdf like
> [[filename.pdf::24]] which works fine (with a correctly configured
> org-file-apps) but when I export to latex the page number is ignored and
> the includegraphics directive includes the first page. This can
> obviously manually be changed using #+ATTR_LATEX: :options page=42 but
> as the page number is already there it would be nice if orgmode would
> automatically use that when exporting.

Good idea. Page number can be accessed with

  (org-element-property :search-option link)

However, it should be checked against "\\`[0-9]+\\'" since a search
option can also be a headline:

  [[file:test.org::*My headline]]

Also, I guess it should only apply to link to pdf files.

Do you want to provide a patch for that?


Regards,

-- 
Nicolas Goaziou

Reply via email to