2.5.0 vs. 2.3.3 oddity w/structured text
I've got some structured text of the form Head1 Some text (indented 2). Head2 (indented 1) Some more text (indented 2) Head3 (indented 1) etc., and it all works fine under Zope 2.3.3. However, under 2.5.0, each succeeding Head2/3/4, etc., is one level lower, i.e., it gets rendered <h3>Head1</h3> <p>Some text (indented 2)</p> <h4>Head2</h4> <p>Some more text (indented 2)</p> <h5>Head3</h5> ... but *not always*. I can't figure out what the differences between the cases might be. It's possible that it's something to do with the fact that I moved the Data.fs from a Win2K box to my Linux server box, but under 2.3.3 it all works perfectly. Under 2.5.0 it doesn't. Does anyone have any clues as to where to look next? Thanks. -- Cheers! Chris Ryland Em Software, Inc. www.emsoftware.com
The default starting level in 3 in STXNG (Zope 2.4 and higher). -aj ----- Original Message ----- From: "Chris Ryland" <cpr@emsoftware.com> To: <zope@zope.org> Sent: Saturday, March 16, 2002 17:34 Subject: [Zope] 2.5.0 vs. 2.3.3 oddity w/structured text
I've got some structured text of the form
Head1
Some text (indented 2).
Head2 (indented 1)
Some more text (indented 2)
Head3 (indented 1)
etc.,
and it all works fine under Zope 2.3.3.
However, under 2.5.0, each succeeding Head2/3/4, etc., is one level lower, i.e., it gets rendered
<h3>Head1</h3> <p>Some text (indented 2)</p> <h4>Head2</h4> <p>Some more text (indented 2)</p> <h5>Head3</h5> ...
but *not always*. I can't figure out what the differences between the cases might be.
It's possible that it's something to do with the fact that I moved the Data.fs from a Win2K box to my Linux server box, but under 2.3.3 it all works perfectly. Under 2.5.0 it doesn't.
Does anyone have any clues as to where to look next?
Thanks. -- Cheers! Chris Ryland Em Software, Inc. www.emsoftware.com
_______________________________________________ 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 )
Right, that's OK, but why do the translated head levels increase at each subsequent subhead *at the same level*? -- Cheers! Chris Ryland Em Software, Inc. www.emsoftware.com ----- Original Message ----- From: "Andreas Jung" <andreas@andreas-jung.com> To: "Chris Ryland" <cpr@emsoftware.com>; <zope@zope.org> Sent: Saturday, March 16, 2002 6:01 PM Subject: Re: [Zope] 2.5.0 vs. 2.3.3 oddity w/structured text
The default starting level in 3 in STXNG (Zope 2.4 and higher). -aj ----- Original Message ----- From: "Chris Ryland" <cpr@emsoftware.com> To: <zope@zope.org> Sent: Saturday, March 16, 2002 17:34 Subject: [Zope] 2.5.0 vs. 2.3.3 oddity w/structured text
I've got some structured text of the form
Head1
Some text (indented 2).
Head2 (indented 1)
Some more text (indented 2)
Head3 (indented 1)
etc.,
and it all works fine under Zope 2.3.3.
However, under 2.5.0, each succeeding Head2/3/4, etc., is one level lower, i.e., it gets rendered
<h3>Head1</h3> <p>Some text (indented 2)</p> <h4>Head2</h4> <p>Some more text (indented 2)</p> <h5>Head3</h5> ...
but *not always*. I can't figure out what the differences between the cases might be.
It's possible that it's something to do with the fact that I moved the Data.fs from a Win2K box to my Linux server box, but under 2.3.3 it all works perfectly. Under 2.5.0 it doesn't.
Does anyone have any clues as to where to look next?
Thanks. -- Cheers! Chris Ryland Em Software, Inc. www.emsoftware.com
_______________________________________________ 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 )
Jup, it can confirm this odd behaviour inside DTML however it works fine when I use the StructuredText module directly from Python...strange. ..please file a collector issue to reminde me to fix it. - aj ----- Original Message ----- From: "Chris Ryland" <cpr@emsoftware.com> To: "Andreas Jung" <andreas@andreas-jung.com>; <zope@zope.org> Sent: Saturday, March 16, 2002 18:10 Subject: Re: [Zope] 2.5.0 vs. 2.3.3 oddity w/structured text
Right, that's OK, but why do the translated head levels increase at each subsequent subhead *at the same level*? -- Cheers! Chris Ryland Em Software, Inc. www.emsoftware.com
----- Original Message ----- From: "Andreas Jung" <andreas@andreas-jung.com> To: "Chris Ryland" <cpr@emsoftware.com>; <zope@zope.org> Sent: Saturday, March 16, 2002 6:01 PM Subject: Re: [Zope] 2.5.0 vs. 2.3.3 oddity w/structured text
The default starting level in 3 in STXNG (Zope 2.4 and higher). -aj ----- Original Message ----- From: "Chris Ryland" <cpr@emsoftware.com> To: <zope@zope.org> Sent: Saturday, March 16, 2002 17:34 Subject: [Zope] 2.5.0 vs. 2.3.3 oddity w/structured text
I've got some structured text of the form
Head1
Some text (indented 2).
Head2 (indented 1)
Some more text (indented 2)
Head3 (indented 1)
etc.,
and it all works fine under Zope 2.3.3.
However, under 2.5.0, each succeeding Head2/3/4, etc., is one level lower, i.e., it gets rendered
<h3>Head1</h3> <p>Some text (indented 2)</p> <h4>Head2</h4> <p>Some more text (indented 2)</p> <h5>Head3</h5> ...
but *not always*. I can't figure out what the differences between the cases might be.
It's possible that it's something to do with the fact that I moved the Data.fs from a Win2K box to my Linux server box, but under 2.3.3 it all works perfectly. Under 2.5.0 it doesn't.
Does anyone have any clues as to where to look next?
Thanks. -- Cheers! Chris Ryland Em Software, Inc. www.emsoftware.com
_______________________________________________ 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 )
_______________________________________________ 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 )
On Sat, 16 Mar 2002, Andreas Jung wrote:
The default starting level in 3 in STXNG (Zope 2.4 and higher). -aj
Is there a way to change this? (on a case by case basis; not by editing the STX source code) -- Joel BURTON | joel@joelburton.com | joelburton.com | aim: wjoelburton Independent Knowledge Management Consultant
Not when using STX inside DTML but you can change it by hacking an external method around it or using a PythonScript. -aj ----- Original Message ----- From: "Joel Burton" <joel@joelburton.com> To: "Andreas Jung" <andreas@andreas-jung.com> Cc: "Chris Ryland" <cpr@emsoftware.com>; <zope@zope.org> Sent: Sunday, March 17, 2002 11:13 Subject: Re: [Zope] 2.5.0 vs. 2.3.3 oddity w/structured text
On Sat, 16 Mar 2002, Andreas Jung wrote:
The default starting level in 3 in STXNG (Zope 2.4 and higher). -aj
Is there a way to change this? (on a case by case basis; not by editing the STX source code)
--
Joel BURTON | joel@joelburton.com | joelburton.com | aim: wjoelburton Independent Knowledge Management Consultant
participants (3)
-
Andreas Jung -
Chris Ryland -
Joel Burton