W3C home > Mailing lists > Public > www-xsl-fo@w3.org > July 2007

Re: xslt:fo include binaryfile

From: David Carlisle <davidc@nag.co.uk>
Date: Thu, 12 Jul 2007 23:02:35 +0100
Message-Id: <200707122202.l6CM2Z5l024340@edinburgh.nag.co.uk>
To: www-xsl-fo@w3.org

> > I forgot to mention that this trick is not applicable for PostScript
> > producing.

what we do in LaTeX in this situation is (where possible) specify the
image independant of format, specifically
\includegraphics{file} rather than say \includegraphics(file.pdf}.

\includegraphics{file} will typically include file.eps if producing
postscript, file.pdf if producing pdf, and in some on screen preview
drivers will include file.gif or some other bitmap format, so as long as
the image is available in multiple formats the source document can be
processed to different target rendering formats, including a suitable
image format in each case.

An FO processor could do something similar of course using content
negotiation or equivalent mechanisms, the URI used to specify the
external graphic can return the graphic in different file formats
depending on what mime types are acceptable, so in principle
an FO renderer could do something similar. Perhaps soem do, I'm not


The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 
Received on Thursday, 12 July 2007 22:02:37 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:58:31 UTC