This problem is already fixed in the CVS (grab standard.py from the HEAD
on cvs.zope.org). I have forgotten to submit the change from my sandbox.
-aj
--On Mittwoch, 16. April 2003 10:54 Uhr +0200 Pierre-Yves Delens
<py.delens@...> wrote:
> Bonjour,
>
> I tested the display of Zrest within ZPT (preferably) and DTML
> method/document,
> with no success.
>
> My Zrest version is 1.0, following advice of Mr Goodger, this week.
> My docutils config:
> C:\ServApps\Zope251\bin\docutils\
> with version (of docutils\utils.py) : # Revision: $Revision: 1.23 $
> # Date: $Date: 2003/01/10 23:28:26 $
>
> However it is un clear which version I have of Docutils itself : there is
> no version.txt file.
> My download was of 2003-03-26 - ver ???
> loaded from link "Snapshot of Docutils code, tests, documentation, and
> specifications" given on http://docutils.sourceforge.net/
>
> My documentation was :
> http://cvs.zope.org/Zope/doc/RESTRUCTUREDSTEXT.txt?rev=1.2&content-type=t
> ex
>
> So I applied these :
>
> . Usage inside DTML:
> <dtml-var rest-document fmt="restructured-text">
> in my case :
> <dtml-var C_03_MEMBERSHIP_txt fmt="restructured-text">
> . Usage inside ZPT:
> <span tal:content="structure python:
> modules['Products.PythonScripts.standard'].restructured_test(rest_txt)" />
> in my case :
> <span tal:content="structure
> python:modules['Products.PythonScripts.standard'].restructured_test(C_03_
> MEM BERSHIP_txt)" />
>
> In DTML, the result was :
> . restructured-text
> . I mean : just the string "restructured-text" does appear in the HTML
> source
>
> In ZPT, the error MSG was :
> Error Value: exceptions.AttributeError on
> 'Products.PythonScripts.standard' module has no attribute
> 'restructured_test' in "<PythonExpr
> modules['Products.PythonScripts.standard'].restructured_test(C_03_MEMBERS
> HIP _txt)>", at line 1, column 1
>
> So, someone, what should I do?
>
> This issue is important ot us, as Restructured text is a nice way to
> manage translation of az bulck of text, without having to Htmltag the
> translated version.
> ___________________________________________________
> P-Y Delens
>
> Resp. "Technologies de l'Information et de la Communication"
> pour la FAB - Federation des Architectes de Belgique
> pour la SAF - Societe des Architectes Francophones
> http://www.saf-arch.be
> mail : webmaster@...
>
> c/o LIENTERFACES - PY Delens, sprl
>
> Avenue Dolez, 243 - 1180 Bruxelles
> phone : 32 2 375 55 62
> fax : 32 2 374 75 74
> mail : py.delens@...
> web : http://www.lienterfaces.be
> ___________________________________________________
>
> -----Original Message-----
> From: docutils-develop-admin@...
> [mailto:docutils-develop-admin@... Behalf Of
> Andreas Jung
> Sent: lundi 3 fevrier 2003 10:17
> To: Moore, Paul; docutils-develop@...
> Subject: RE: [Docutils-develop] reST merged into Zope 2.7/HEAD
>
>
> http://cvs.zope.org/Zope/doc/RESTRUCTUREDSTEXT.txt?rev=1.2&content-type=t
> ex t/vnd.viewcvs-markup
>
>
> --On Montag, 3. Februar 2003 08:57 +0000 "Moore, Paul"
> <Paul.Moore@...> wrote:
>
>> From: Andreas Jung [mailto:andreas@...]
>>> I just merged the reST integration branch into the Zope
>>> HEAD including ZReST.
>>
>> I'm new to Zope, although I've been interested in reST for a while now.
>> Can you explain what this implies? Where will I be able to use reST in
>> Zope now this has happened? Just in a ZReST document, or anywhere the
>> existing version allows structured text?
>>
>> If there's a document which explains the implications, feel free to
>> point me at it.
>>
>> Thanks,
>> Paul.
>>
>>
>> -------------------------------------------------------
>> This SF.NET email is sponsored by:
>> SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
>> http://www.vasoftware.com
>> _______________________________________________
>> Docutils-develop mailing list
>> Docutils-develop@...
>> https://lists.sourceforge.net/lists/listinfo/docutils-develop
>
>
>
>
> ---------------------------------------------------------------------
> - Andreas Jung http://www.andreas-jung.com -
> - EMail: andreas at andreas-jung.com -
> - "Life is too short to (re)write parsers" -
> ---------------------------------------------------------------------
>
>
>
> -------------------------------------------------------
> This SF.NET email is sponsored by:
> SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
> http://www.vasoftware.com
> _______________________________________________
> Docutils-develop mailing list
> Docutils-develop@...
> https://lists.sourceforge.net/lists/listinfo/docutils-develop
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Docutils-develop mailing list
> Docutils-develop@...
> https://lists.sourceforge.net/lists/listinfo/docutils-develop
|