[Zope] StructuredText with Images

Andreas Jung Andreas Jung" <andreas@zope.com
Wed, 22 May 2002 11:47:09 -0400


This behaviour is fixed for Zope 2.6 (means image support is on by default).
If you need this for your existing installation, you have to copy over
the StructuredText.py file from the CVS trunk to your 2.5 installation.

-aj

----- Original Message -----
From: "Barry Pederson" <barryp@medicine.nodak.edu>
To: <zope@zope.org>
Sent: Thursday, May 16, 2002 12:19
Subject: [Zope] StructuredText with Images


> I was wondering what's the story with
> lib/python/StructuredText/HTMLWithImages.py - it looks like it should
allow
> you to place images in structured text, with something like:
>
>       "my image":img:http://foo.com/myimg.jpg
>
> but it doesn't seem to be used by default, instead plain HTMLClass.py
looks
> to be the usual handler for STX documents, for example when calling
> structured_text() from within a PythonScript.
>
> I'm also curious why HTMLWithImages.document() method overrides
> HTMLClass.document() but takes away the option of disabling the header,
and
> only adds a: bgcolor="#FFFFFF" attribute to the body tag (athough the
version
> in CVS doesn't even add that).
>
> In CVS it also looks like HTMLWithImages overrides the HTMLClass.xref()
> method with an absolutely identical method.
>
> I'm guessing I could call it with an external method (I'm not asking for
help
> with that) - I would mostly like to know why is it there, why isn't it
being
> used by default, and why is it just a little different in not being able
to
> turn off the headers in the document() method.
>
> Barry
>
>
>
>
>
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
>