ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Fabrice Couvreur <fabrice1.couvreur@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Structure : problem with an environment
Date: Thu, 30 Jul 2015 15:21:22 +0200	[thread overview]
Message-ID: <CACyK-eqmLD2QRt9Y6nOSdPb5Vt3TZkNOv6Up1m4HT3+CCW7PcQ@mail.gmail.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 1468 bytes --]

Hi,
In my project, there is an env-03.tex file that contains this :

""""""""""""""""""""""""""""""""""""""""""""""""
\startenvironment env-03

\defineenumeration
  [def]
  [text={Définition},
   headstyle={\bf\feature[+][f:smallcaps]},
   width=fit,
   alternative=left,
   stopper={.}]

\stopenvironment

"""""""""""""""""""""""""""""""""""""""""""""""""

If I compile, I get this :

open source     > 4 > 119 > env-03.tex

tex error       > tex error on line 10 in file env-03.tex: ! You can't use
a prefix with `\begingroup'

<to be read again>
\begingroup
\strc_enumerations_command #1->\begingroup
                                           \strc_constructions_initialize
{#...
<to be read again>
\20>>1
\dostepwiserecurse ...on \recursedepth \endcsname
                                                  ##1##2{#4}\global
\expanda...
<inserted text> ...numerationsub {\v!sub \currentenumerationsub }}
                                                  \else \let
\currentenumera...
\define_enumeration ...he \everydefineenumeration
                                                  \let \currentenumeration
\...
...
l.10


 1     \startenvironment env-03
 2
 3     \defineenumeration
 4       [def]
 5       [text={Définition},
 6        headstyle={\bf\feature[+][f:smallcaps]},
 7        width=fit,
 8        alternative=left,
 9        stopper={.}]
10 >>
11     \stopenvironment
12

Thanks,
Fabrice

[-- Attachment #1.2: Type: text/html, Size: 3073 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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:[~2015-07-30 13:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-30 13:21 Fabrice Couvreur [this message]
2015-07-30 14:17 ` Wolfgang Schuster
2015-07-30 15:26   ` Fabrice

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=CACyK-eqmLD2QRt9Y6nOSdPb5Vt3TZkNOv6Up1m4HT3+CCW7PcQ@mail.gmail.com \
    --to=fabrice1.couvreur@gmail.com \
    --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).