Coordinates

Whilst translating I came upon this error:

<CMP xml:lang="en">
  We want to compute the <textref xref="diffquot_symbols/average_slope">average slope</textref> of the curve
  between $A=coords(x_coord(A),y_coord(A))=coords(0,100)$ and $B=coords(x_coord(B),y_coord(B))=coords(4000,200)$.
</CMP>
 <CMP xml:lang="nl">
  We willen de <textref xref="diffquot_symbols/average_slope">gemiddelde helling</textref> van de grafiek tussen
  $A=coords(x_coord(A),y_coord(A))=coords(0,100)$ en $B=coords(x_coord(B),y_coord(B))=coords(4000,200)$ bepalen.
</CMP>

In English this provides a nice layout, in dutch they don’t appear. How come?

Trackback URL for this post:

http://eds.activemath.org/en/trackback/155

notation should be generalized

Christian,

tis really means the notation for this symbol (in LeAM_calculus I believe) should be generalized to include dutch.

have you tried this ?

paul

Do you mean in

Do you mean in symbols.oqmath or notations.qmath or somewhere else?

the notation-presentation of coords

… is specialized by language.

In German, Spanish, and French, it is, for pointsbycoordinates(a,b,c), (a|b|c) whereas in English it is (a,b,c).

The big reason to put (a|b|c) in all these languages is that 1,2 could be one of a,b, or c, hence it would be confusing.

Actually, in French, I learned it with (a,b,c) but it seems consistent to say that (a,b,c) should only be used where the , should not appear in numbers. I am not sure what is the preferred way.

This raises the question of the format of numbers for many languages. Java seems to indicate me that 1.2, in English, is expressed as 1,2 for any other european language.. is it ok to use the notation (a|b|c) as default for every language different than chinese and english ?

paul

I understand a bit

OK, I understand it a little bit. In dutch, if the coordinates are integers, then it’s (a,b,c) whilst when there are floats then -because of comma’s- I also see (a;b;c). So I have to define a new notation in symbols.oqmath and notation.oqmath?

always (a;b;c) then ?

mmmh… that’s a fancy requirement…

What would you do with (a,pgcd(x,y,z),c) ? There’s also a comma in there.

It is not possible, yet, in the notation-system, to act differently if the arguments are integers, floating-numbers, or something else. Some are talking about it though but I think it’ll never be complete… don’t know.

Two simple solutions before we get this:

  • stay with commas always and rely on the mouse-movement for students to identify the coordinates (doesn’t work in print)
  • go always for semi-colon

which one would you prefer ?

paul

have put (a|b|c) for all but English

… until I get an answer.

paul