[NTG-context] autopdf on MacOS?
haberg-1 at telia.com
Fri Apr 16 14:21:59 CEST 2021
> On 16 Apr 2021, at 10:36, Thomas A. Schmitz <thomas.schmitz at uni-bonn.de> wrote:
> On 4/16/21 10:26 AM, Hans Åberg wrote:
>>> That it doesn’t update in the background is more a feature than a bug, otherwise it would complain about broken/unavailable files during the TeX runs.
>> It is likely a bug: It has worked in some past versions.
> It still works for me (I'm on the latest version of macos). The trick is to not change the focus to the pdf document in preview until the TeX run has finished; otherwise you get a dialogue box complaining about a broken pdf document.
That is the activation, which also can be done by the 'open' command:
context … && open <pdf>
If 'context' succeeds, the PDF document will be opened, otherwise not. If one wants to use another PDF reader, one can use
open -a <application> <filename>
More information about the ntg-context