ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \startsplit \stopsplit errors?
@ 2013-10-17 15:12 Xan
  2013-10-17 17:03 ` Wolfgang Schuster
  2013-10-18 12:31 ` Xan
  0 siblings, 2 replies; 3+ messages in thread
From: Xan @ 2013-10-17 15:12 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

I use that:

\def\startsplit
{\startalign} % no number by default

\def\stopsplit
{&\doalignNR[+][]\crcr % for a number on last line
\stopalign}

but in my text:

\startformula
\startsplit
\NC A \NC = (11 + 2x) × (6 + 2x) \text{ cm}^2 \NR
\NC \NC = 66 + 22x + 12x + 4x^2 \NR
\NC \NC = 4x^2 + 34x + 66
\stopsplit
\stopformula


it fails:
floatblocks     > 4 moved
 <figs/m_k_i_v_q1.eps.pdf>
pages           > flushing realpage 19, userpage 19
floatblocks     > 5 saved
! Undefined control sequence.

system          > tex > error on line 933 in file /home/xan/SYNC/cepasud-raw-mercurial/classe/ESPA4/planificació/Tema1-Funció-quadràtica/97-Quadràtica-a-la-realitat.conTeXt: Undefined control sequence ...

923     \startalignment[center]
924     {\bf Resolució}
925     \stopalignment
926     
927     L'àrea de l'acer abans de tallar serà:
928     \startformula
929     \startsplit
930     \NC A \NC = (11 + 2x) × (6 + 2x) \text{ cm}^2 \NR
931     \NC \NC = 66 + 22x + 12x + 4x^2 \NR
932     \NC \NC = 4x^2 + 34x + 66
933 >>  \stopsplit
934     \stopformula
935     
936     %Area of steel after cutting out the 11 × 6 middle:
937     %Area = 4x2 + 34x + 66 - 66
938     %Area = 4x2 + 34x
939     
940     
941     \stopnarrower
942     \stopmode
943     


\stopsplit ^^@-&\doalignNR 
                         [+][]\crcr \stopalign 
l.933 \stopsplit
              
? r


What happens that? I use MKIV. 2013.10.09


Thanks in advance,
Xan.
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

end of thread, other threads:[~2013-10-18 12:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-17 15:12 \startsplit \stopsplit errors? Xan
2013-10-17 17:03 ` Wolfgang Schuster
2013-10-18 12:31 ` Xan

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).