ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Jeong Dalyoung <haksan@me.com>
To: ntg-context@ntg.nl
Subject: about \startstructureblockenvironment
Date: Wed, 12 Oct 2011 16:11:04 +0900	[thread overview]
Message-ID: <989331AD-030A-40E5-AC79-72D3578BC377@me.com> (raw)

Dear all,

There is an error message, "undefined control sequence as below when I use "\startstructureblockenvironment":

mtx-context | run 1: luatex --fmt="/Users/graph/ConTeXt/tex/texmf-cache/luatex-cache/context/2448223e6631addb83df348d74153606/formats/cont-en" --lua="/Users/graph/ConTeXt/tex/texmf-cache/luatex-cache/context/2448223e6631addb83df348d74153606/formats/cont-en.lui" --backend="pdf" "./test4.tex" \stoptext
This is LuaTeX, Version beta-0.70.1-2011051908 (rev 4277)
\write18 enabled.
(test4.tex
ConTeXt ver: 2011.10.08 11:42 MKIV fmt: 2011.10.12 int: english/english
system > cont-new.mkiv loaded
(/Users/graph/ConTeXt/tex/texmf-context/tex/context/base/cont-new.mkiv
system > beware: some patches loaded from cont-new.mkiv
)
system > test4.top loaded
(test4.top)
fonts > latin modern fonts are not preloaded
languages > language en is active
! Undefined control sequence.
system > tex > error on line 6 in file test4.tex: Undefined control sequence ...
1 \definestructureconversionset[frontpart:pagenumber][][romannumerals]
2 \definestructureconversionset[bodypart:pagenumber] [][numbers]
3
4 \setuplist[chapter][pageconversionset=pagenumber]
5
6 >> \startstructureblockenvironment[frontpart]
7 \setupuserpagenumber[numberconversion=romannumerals]
8 \setuppagenumber[number=1]
9 \stopstructureblockenvironment
10
11 \startstructureblockenvironment[bodypart]
12 \setuppagenumber[number=1]
13 \stopstructureblockenvironment
14
15 \startcomponent Test
16
l.6 \startstructureblockenvironment
[frontpart]
?


I followed an example in the wiki - http://wiki.contextgarden.net/Table_of_Contents
Would you please tell me what is wrong?

Here is a sample code.  

\definestructureconversionset[frontpart:pagenumber][][romannumerals]
\definestructureconversionset[bodypart:pagenumber] [][numbers]
\setuplist[chapter][pageconversionset=pagenumber]
\startstructureblockenvironment[frontpart]
\setupuserpagenumber[numberconversion=romannumerals]
\setuppagenumber[number=1]
\stopstructureblockenvironment
\startstructureblockenvironment[bodypart]
\setuppagenumber[number=1]
\stopstructureblockenvironment

\startcomponent Test
\startbodymatter
\chapter{One}
\input knuth
\chpater{Two}
\input knuth
\stopbodymatter
\stopcomponent



Thank you.
Best regards,

Dalyoung



___________________________________________________________________________________
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:[~2011-10-12  7:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-12  7:11 Jeong Dalyoung [this message]
2011-10-12  7:20 ` Wolfgang Schuster
     [not found] <mailman.40.1318409776.4232.ntg-context@ntg.nl>
2011-10-14  0:56 ` Jeong Dalyoung

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=989331AD-030A-40E5-AC79-72D3578BC377@me.com \
    --to=haksan@me.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).