ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [Fwd: \definestartstop]
@ 2000-02-24 10:53 Michal Kvasnicka
  2000-02-24 14:14 ` Hans Hagen
  0 siblings, 1 reply; 2+ messages in thread
From: Michal Kvasnicka @ 2000-02-24 10:53 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 759 bytes --]

Well, it doesn't work me yet. The suggested form

    definestartstop[vycet][before={\startitemize[n]},after=\stopitemize]

doesn't complain with cont-cz, english interface, but when used first
time,
it writes such an error:

        ! Extra }, or forgotten \endgroup.
        \stopvycet ->\dostopattributes \egroup
                                       \getvalue {\??be vycet\c!na }
        l.28 \stopvycet

I'm using it this way:

        \startvycet
        \item emitent peněz nená dostatečné znalosti, aby mohl emitovat
měnu
            se stabilní kupní silou, nebo\index{znalosti}
        \item emitent peněz má vlastní důvody, proč emitovat inflační,
            popř. deflační měnu.
        \stopvycet

What's wrong?

Happy TeXing to you all.

M.K.

[-- Attachment #2: Type: message/rfc822, Size: 1900 bytes --]

From: Taco Hoekwater <taco.hoekwater@wkap.nl>
To: ntg-context@ntg.nl
Subject: Re: \definestartstop
Date: Tue, 22 Feb 2000 09:58:10 +0000 (GMT)
Message-ID: <14514.23986.255594.412922@PC709.wkap.nl>

>>>>> "Michal" == Michal Kvasnicka <qasar@econ.muni.cz> writes:

    Michal> Hallo!  Why this stuff doesn't work (and to improve it)?

    Michal> \definestartstop[vycet][before=\startitemize,after=\stopitemize]

this should work

    Michal> \definestartstop[vycet][before=\startitemize[n],after=\stopitemize]

this not.

But this should also work:

\definestartstop[vycet][before={\startitemize[n]},after=\stopitemize]

greetings, taco

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

* Re: [Fwd: \definestartstop]
  2000-02-24 10:53 [Fwd: \definestartstop] Michal Kvasnicka
@ 2000-02-24 14:14 ` Hans Hagen
  0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2000-02-24 14:14 UTC (permalink / raw)
  Cc: Context

At 11:53 AM 2/24/2000 +0100, Michal Kvasnicka wrote:

>Well, it doesn't work me yet. The suggested form
>
>    definestartstop[vycet][before={\startitemize[n]},after=\stopitemize]

Hm. This is due to an interference between the style switch in
definestartstop and itemize. For the moment, you can best say:

\def\startvycet{\startitemize[n]}
\def\stopvycet {\stopitemize}

even better:

\def\startvycet      {\dosingleempty\dostartvycet}
\def\dostartvycet[#1]{\startitemize[n,#1]}

so that you can still pass arguments, 

\startvycet[...]

I will look into it when I make the \defineitemize. 

Hans

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.nl
-----------------------------------------------------------------


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

end of thread, other threads:[~2000-02-24 14:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-02-24 10:53 [Fwd: \definestartstop] Michal Kvasnicka
2000-02-24 14:14 ` 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).