login  home  contents  what's new  discussion  bug reports     help  links  subscribe  changes  refresh  edit

Submitted by : 127.0.0.1 at: 2007-11-17T05:11:47-08:00 (17 years ago)
Name :
Axiom Version :
Category : Severity : Status :
Optional subject :  
Optional comment :

The following numbers should be right justified:

  123
   12
    1

Same when using pre

  thisi
   iswr
    ong

looks good to me --Bill Page, Sat, 17 Nov 2007 13:51:06 -0800 reply
Both of these examples display in the same manner for me with the characters aligned in columns and right justified. This looks right to me. Screen print attached. I am using FireFox? 2.0.0.9 on Windows. What browser are you using?

Browser Problem
Tue, 27 Nov 2007 07:48:26 -0800 reply
I'm using Konqueror 3.5.5 on Linux. And in fact, also algebra output is broken there:

fricas
(1) -> )se ou alg on
product(product(j*i, i=1..n), j=1..m)
m n ++-++ ++-++ (1) | | | | i j | | | | j = 1 i = 1

\label{eq1}\prod_{
\displaystyle
{j = 1}}^{
\displaystyle
m}{\prod_{
\displaystyle
{i = 1}}^{
\displaystyle
n}{i \  j}}(1)
Type: Expression(Integer)

Does it work on FireFox??

...
Tue, 27 Nov 2007 07:50:13 -0800 replyFirefox 1.5.0.13pre on linux displays the text alright, but the display of the products is still broken.

I sort of narrowed down the problem: commenting out the stylesheet makes things work. But that's not really a solution...

Unfortunately, I could not convince konqueror to use a local copy of the zwiki stylesheet, to find out more.

Martin

Re: Does it work on FireFox?? --Bill Page, Tue, 04 Dec 2007 16:07:18 -0800 reply
Yes.

Problem in Stylesheet --kratt6, Wed, 05 Dec 2007 02:42:36 -0800 reply
I tracked down the bug. In the stylesheet, we find:
  /***********************************************************************-*-c-*-
   MathAction styles
   For easier upgrades, you may want to add your changes as overrides at the end
   *****************************************************************************/

  pre, code {
    white-space: pre; /* CSS2 */
    white-space: -moz-pre-wrap; /* Mozilla */
    white-space: -hp-pre-wrap; /* HP printers */
    white-space: -o-pre-wrap; /* Opera 7 */
    white-space: -pre-wrap; /* Opera 4-6 */
    white-space: pre-wrap; /* CSS 2.1 */
    white-space: pre-line; /* CSS 3 (and 2.1 as well, actually) */
    word-wrap: break-word; /* IE */
  }

But http://www.w3.org/TR/CSS21/text.html says:

  pre-line

  This value directs user agents to collapse sequences of whitespace. Lines are broken at newlines in the source, at occurrences of "\A" in generated content, and as necessary to fill line boxes.

So it is out of place here. BTW, Konqueror claims:

    KHTML is the only browser that supports all CSS 2.1 values such as pre-line and pre-wrap

Martin

Status: open => fix proposed

Re: Problem in Stylesheet --page, Wed, 05 Dec 2007 06:32:26 -0800 reply
Martin,

I have removed the'pre-line' from stylesheet.css in the Zope Management Interface. Can you confirm that it works as expected and close this if it does?

If you find any other problems like this using Konqueror please feel free to update the stylesheet.

Bill Page.

Status: fix proposed => closed




  Subject:   Be Bold !!
  ( 15 subscribers )  
Please rate this page: