Re: [NTG-context] autopdf on MacOS?
> On 16 Apr 2021, at 10:36, Thomas A. Schmitz > 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 If 'context' succeeds, the PDF document will be opened, otherwise not. If one wants to use another PDF reader, one can use open -a ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] autopdf on MacOS?
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. It also helps that ConTeXt now displays the colorful "error" page when something goes wrong; otherwise, preview crashes. Thomas ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] autopdf on MacOS?
> On 15 Apr 2021, at 11:45, Henning Hraban Ramm wrote: > >> Am 15.04.2021 um 10:26 schrieb Hans van der Meer : >> >> Allthough a new pdf is created, this is not opened. If the pdf is open in >> Preview already, it is not updated unless switching to the Preview >> application. >> >> It something wrong here? Is it not functional in MacOS? Am I missing some >> clue? > > Apple’s Preview updates only on activation, and not reliably (for me, it > often crashes). One can use the command 'open ', which opens it. In some versions of Preview, one get an extra copy so that they must eventually be all closed by hand. > 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. ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] autopdf on MacOS?
Thanks. At least worked twice 😊 met vriendelijke groet dr. Hans van der Meer > On 15 Apr 2021, at 11:45, Henning Hraban Ramm wrote: > > > >> Am 15.04.2021 um 10:26 schrieb Hans van der Meer : >> >> When running the command: context --autopdf --run myfile.tex I had hoped the >> pdfviewer Preview on my MacOS system (version Catalina) would open the pdf >> for viewing. > > It works with --autopdf=auto > >> Allthough a new pdf is created, this is not opened. If the pdf is open in >> Preview already, it is not updated unless switching to the Preview >> application. >> >> It something wrong here? Is it not functional in MacOS? Am I missing some >> clue? > > Apple’s Preview updates only on activation, and not reliably (for me, it > often crashes). > > 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. > > Hraban > ___ > If your question is of interest to others as well, please add an entry to the > Wiki! > > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] autopdf on MacOS?
> Am 15.04.2021 um 10:26 schrieb Hans van der Meer : > > When running the command: context --autopdf --run myfile.tex I had hoped the > pdfviewer Preview on my MacOS system (version Catalina) would open the pdf > for viewing. It works with --autopdf=auto > Allthough a new pdf is created, this is not opened. If the pdf is open in > Preview already, it is not updated unless switching to the Preview > application. > > It something wrong here? Is it not functional in MacOS? Am I missing some > clue? Apple’s Preview updates only on activation, and not reliably (for me, it often crashes). 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. Hraban ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] autopdf on MacOS?
When running the command: context --autopdf --run myfile.tex I had hoped the pdfviewer Preview on my MacOS system (version Catalina) would open the pdf for viewing. Allthough a new pdf is created, this is not opened. If the pdf is open in Preview already, it is not updated unless switching to the Preview application. It something wrong here? Is it not functional in MacOS? Am I missing some clue? met vriendelijke groet dr. Hans van der Meer ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___