ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <j.hagen@xs4all.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>,
	Johann Birnick <johann.birnick@hotmail.de>
Subject: Re: prevent error page
Date: Fri, 1 Jan 2021 11:10:35 +0100	[thread overview]
Message-ID: <e4f4b921-615c-de3e-7207-8d85c5fb708c@xs4all.nl> (raw)
In-Reply-To: <DB8PR03MB6236C9A1831ABCFF01F1ECA1FBD60@DB8PR03MB6236.eurprd03.prod.outlook.com>

On 12/31/2020 8:31 PM, Johann Birnick wrote:
> Hi there,
> 
> in my setup I constantly have a pdf viewer open showing the output of context.
> When I recompile the viewer updates.
> 
> Now if there is an error, the document fails to compile, of course. Previously
> the pdf file just remainded untouched, nice. But now with LMTX, the pdf will be
> overwritten with a pdf just saying "error". This makes my pdf viewer crash!
> I can't work like this.
> 
> So how to prevent this "error" page and just let context remain the pdf
> untouched if there is an error?
Actually the remaining file is not untouched when there is an error 
halfway, so maybe your viewer didn't do anything when the xref etc was 
missing and fonts were unresolved ... all depends on the viewer i guess
(after a pdf update the viewer has to reread the xref at least and then 
all objects it has cached).

Long ago I played with a temp file and renaming but that also was not 
stable (at least not here).

(for ways around: see other mails)

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________

  parent reply	other threads:[~2021-01-01 10:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-31 19:31 Johann Birnick
2021-01-01  6:57 ` Aditya Mahajan
2021-01-01 10:10 ` Hans Hagen [this message]
2021-01-01 14:21   ` Johann Birnick

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e4f4b921-615c-de3e-7207-8d85c5fb708c@xs4all.nl \
    --to=j.hagen@xs4all.nl \
    --cc=johann.birnick@hotmail.de \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).