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

Kirch Fritz Friedrich.Kirch at it2media.de
Thu Sep 27 10:23:37 PDT 2012


Hi,

the easiest thing would be to create XEPOUT intermediate format in a first step.
If XEPOUT doesn’t contain the 404 image everything is ok and you can continue producing a correct PDF.
Otherwise don’t create the PDF.

Fritz Kirch

-----Ursprüngliche Nachricht-----
Von: xep-support-bounces at renderx.com [mailto:xep-support-bounces at renderx.com] Im Auftrag von Thomas Schraitle
Gesendet: Donnerstag, 27. September 2012 14:00
An: xep-support at renderx.com
Betreff: [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




_______________________________________________
(*) 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
**********************************************************************
Diese E-Mail wurde auf Viren ueberprueft.
mailsweeper at it2media.de
**********************************************************************

***SPAM***

!DSPAM:87,50648bbb63731490315428!




More information about the Xep-support mailing list