ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* M-Math; \placeformula[-] and \displaylines cause problems
@ 2000-11-11 18:51 Tobias Burnus
  2000-11-13  9:44 ` Hans Hagen
  2000-11-14 12:20 ` S2P development
  0 siblings, 2 replies; 5+ messages in thread
From: Tobias Burnus @ 2000-11-11 18:51 UTC (permalink / raw)


Hi,

After some investigational work I nailed it down to a m-math.tex
problem, which redefines \dodoplaatsformule and \dostartformula.

I have this (bigger than neccessary testcase):
-----------------<cut>--------------------------
\setupbodyfont[ams]\x13
\usemodules[math]
\def\bfC{{\Bbb C}}
\definefont [rsfst][rsfs10 sa \currentfontscale]
\def\rsfs#1{\ifmmode\hbox\fi{\rsfst#1}}

%\placeformula[-] % -- doesn't work, why?
%\startformula % -- doesn't work, but $$ does, why?
$$
\displaylines{
  \langle\phi|\chi\rangle\in\bfC, \quad\rsfs H\cdot\!\!\rsfs H\in\bfC\cr
  \langle\phi|\chi\rangle=\langle\chi|\phi\rangle^*\cr}
$$
%\stopformula  % -- doesn't work, but $$ does, why?
\bye
-----------------<cut>--------------------------
If I use \start|stopformula instead of $$ I get an error
If I use \placeformula[-] I get an error.

If I don't use the m-math.tex module, I get no error either way.

I really miss a proper documentation of m-math.tex. (I have no idea how
to use \overrightarrow, but \overset works, so I don't mind).

Tobias

-- 
This above all: To thine own self be true / And it must follow as the
night
the day / Thou canst not then be false to any man


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2000-11-14 13:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-11-11 18:51 M-Math; \placeformula[-] and \displaylines cause problems Tobias Burnus
2000-11-13  9:44 ` Hans Hagen
2000-11-13 20:25   ` Tobias Burnus
2000-11-14 12:20 ` S2P development
2000-11-14 13:26   ` Hans Hagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).