tag:scrivener.tenderapp.com,2011-11-17:/help/discussions/beta-testing/234-scrivener-and-pdfLiterature and Latte: Discussion 2018-10-18T21:52:40Ztag:scrivener.tenderapp.com,2011-11-17:Comment/398875802016-05-17T09:14:35Z2016-05-17T09:14:35ZScrivener and PDF<div><p>Thanks for your suggestions (which are all outside the remit of
beta-testing, of course, and go in the "to think about post-1.0
bin"!).</p>
<p>As for (1), this would be nice but it involves creating an App
Extension, I believe, and the documentation out there on this is
very poor at the moment. One technical problem is that App
Extensions cannot actually communicate with the original app - they
are entirely separate (even though they are built into and provided
by an app). This is presumably because they can be used even when
the app is closed. This is problematic in Scrivener because it
means that you could call an app extension that imports a file into
a Scrivener project that is already open in Scrivener, without
Scrivener having any way of knowing about it to update its binder
and view. This could lead to conflicts. So in Scrivener, even if I
can track down some better documentation on setting up App
Extensions for PDF import, this technical problem is quite a large
hurdle to jump.</p>
<p>(2) is technically not possible on iOS - iOS does not work like
the Mac. Each app has its own sandbox container and cannot access
anything in any other app's container directly - only import and
export is allowed on iOS. So, on iOS it is a brute technical
limitation that I cannot give any other application access to a
file inside a Scrivener project - I can only send files.</p>
<p>(3) Unlike on the Mac, there is no dedicated PDF view on iOS.
Scrivener therefore just loads imported PDFs into a standard web
view, which is the way PDFs are generally loaded on Scrivener. How
the PDF is displayed is then entirely down to Apple's
frameworks.</p>
<p>All the best,<br>
Keith</p></div>keithtag:scrivener.tenderapp.com,2011-11-17:Comment/398875802016-05-17T14:16:49Z2016-05-17T14:16:49ZScrivener and PDF<div><p>1 & 3: Apple's frameworks, Apple's poorly documented App
Extensions. Why am I not surprised?</p>
<p>2: Yes and somehow no.</p>
<p>If you asked Katherine who I think I spotted in the DEVONthink
To Go beta group she might tell you in secret what I would most
certainly not be allowed to say here: That you can copy a PDF via
Share from DEVONthink To Go to, say, PDF Expert, and annotate it
there. Then—she might continue—you send it back to
DEVONthink To Go and while the copy is kept in PDF Expert the
re-imported PDF is not added to the DEVONthink To Go database as a
new item but replaces the old one (DTTG displays "Object
refreshed").</p></div>suavito