[xep-support] Re: Abort when Image File not found?

Kevin Brown kevin at renderx.com
Thu Sep 27 12:57:50 PDT 2012


Thomas/John and anyone else who wishes to respond.

I have someone who may be willing to do this -- question on Specs:

Other than image not found, is there any other "warning" you wish to abort on?

Just from memory -- warnings could be:

Image not found
Font asked for not found and is being replaced by default font

Kevin

-----Original Message-----
From: xep-support-bounces at renderx.com [mailto:xep-support-bounces at renderx.com] On Behalf Of Thomas Schraitle
Sent: Thursday, September 27, 2012 5:00 AM
To: xep-support at renderx.com
Subject: [xep-support] Re: Abort when Image File not found?

Hi Alexey,

On Thu, 27 Sep 2012 14:16:17 +0400
Alexey Gagarinov <agagarinov at renderx.com> wrote:
 
> > when XEP tries to find an image file and it can't, it proceeds in 
> > the rendering process and shows the 404 image in the output format.
> > I would like to stop XEP in case an image cannot be found.
> >
> > How can I do this?
> 
> There is no "official" way to stop XEP when an image is not found.
> Where and why you need this behavior?

Well, consider it as an early "quality control alarm". :) If XEP has built a PDF, is the PDF correct? Maybe, maybe not. If you haven't looked at the (error?) messages, you can't tell.

The only way to tell is to browse through your 600 or so pages to find the missing images. Not very nice.

The question is, should XEP abort the rendering process if it can't find an image. Well, probably the FO spec gives you some freedom in this regard. I would propose to make it either an option in the configuration or in the command line. 

With such a configuration method, people can switch the behaviour: when they are writing their documents, missing images are not very serious as they will be added later. However, if they create the final document, any missing pieces should are fatal and so should be any error messages (which means, abort).

That would make such an error obvious and you won't deliver broken PDFs anymore.


--
Gruß/Regards,
    Thomas Schraitle

!DSPAM:87,50643fe863731083312073!


_______________________________________________
(*) To unsubscribe, please visit http://lists.renderx.com/mailman/options/xep-support
(*) By using the Service, you expressly agree to these Terms of Service http://w ww.renderx.com/terms-of-service.html



More information about the Xep-support mailing list