ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Xan <dxpublica@telefonica.net>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: \startsplit \stopsplit errors?
Date: Thu, 17 Oct 2013 17:12:44 +0200	[thread overview]
Message-ID: <20131017171244.eb257326b09cb699c32110cd@telefonica.net> (raw)

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
___________________________________________________________________________________


             reply	other threads:[~2013-10-17 15:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-17 15:12 Xan [this message]
2013-10-17 17:03 ` Wolfgang Schuster
2013-10-18 12:31 ` Xan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20131017171244.eb257326b09cb699c32110cd@telefonica.net \
    --to=dxpublica@telefonica.net \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).