<html><head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head><body bgcolor="#FFFFFF" text="#000000">
<blockquote style="border: 0px none;" 
cite="mid:562bde34.0852b40a.75e99.4ee8SMTPIN_ADDED_BROKEN@mx.google.com"
 type="cite">
  <div style="margin:30px 25px 10px 25px;" class="__pbConvHr"><div 
style="width:100%;border-top:1px solid #EDEEF0;padding-top:5px">   <div 
style="display:inline-block;white-space:nowrap;vertical-align:middle;width:49%;">
        <a moz-do-not-send="true" href="mailto:j.tosovsky@email.cz" 
style="color:#737F92 
!important;padding-right:6px;font-weight:bold;text-decoration:none 
!important;">Jan Tosovsky</a></div>   <div 
style="display:inline-block;white-space:nowrap;vertical-align:middle;width:48%;text-align:
 right;">     <font color="#9FA2A5"><span style="padding-left:6px">24. 
Oktober 2015 um 21:34</span></font></div>    </div></div>
  <div style="color:#888888;margin-left:24px;margin-right:24px;" 
__pbrmquotes="true" class="__pbConvBody"><div><!----><br>More complete 
example for experiments:<br>(I am not experienced in ConTeXt, most of it
 was suggested here in the forum, there are most likely other ways how 
to accomplish the desired output - see attachments).<br><br><br>\mainlanguage[cs]<br><br>\setuppapersize[B5]<br><br>\setuplayout[header=0cm,
 footer=1cm]<br>\setuppagenumbering[alternative=doublesided, 
location={footer, right}, style=italic]<br><br>% page numbering<br>\definestructureconversionset[frontpart:pagenumber][][romannumerals]<br>\definestructureconversionset[bodypart:pagenumber]
 [][numbers]<br>\definestructureconversionset[backpart:pagenumber] 
[][numbers]<br><br>\startsectionblockenvironment[frontpart]<br>\setupuserpagenumber[numberconversion=romannumerals]<br>\stopsectionblockenvironment<br><br>\startsectionblockenvironment[bodypart]<br>\setupuserpagenumber[numberconversion=numbers]<br>\stopsectionblockenvironment<br><br>\startsectionblockenvironment[backpart]<br>\setupuserpagenumber[numberconversion=numbers]<br>\stopsectionblockenvironment<br><br>%
 fonts<br>\definefontfamily[palatino][rm][Palatino 
Linotype][features={default, quality}]<br>\definefontfeature[f:superscript][sups=yes]<br>\setupbodyfont[palatino,
 10pt]<br><br>\setuplabeltext[cs][chapter=KAPITOLA  ]<br><br>\setupindenting[medium,
 yes]<br><br>\setuphead[chapter][<br>   alternative=middle,<br>   
before={\blank[force,10mm]},<br>   after={\blank[1*line]},<br>   
style=\bfc,<br>   numberstyle={\kerncharacters[0.125]\bfa},<br>   
numbercommand=\groupedcommand{}{\blank[4mm]},<br>   sectionstopper={.},<br>
   conversion=Romannumerals,<br>]<br><br>% this alignment has no effect 
in 0.81<br>\define[1]\ChapterListNumbercommand<br>   
{\simplealignedbox{\listparameter{width}}{flushright}{#1}}<br><br>\setupcombinedlist[content][list=chapter,
 alternative=c]<br>\setupcombinedlist[chapter][<br>   before=,<br>   
distance=0.5cm,<br>   width=-0.5cm,<br>   margin=2cm,<br>   
numbercommand={\ChapterListNumbercommand},<br>   
pageconversionset=pagenumber,<br>]<br><br>\starttext<br>\startfrontmatter<br>\title{TOC}<br>\placecontent<br>\chapter{Preface}<br>\stopfrontmatter<br>\startbodymatter<br>\chapter{Introduction}<br>\chapter{Workflow}<br>\chapter{Input}<br>\chapter{Output}<br>\stopbodymatter<br>\startbackmatter<br>\chapter{Index}<br>\stopbackmatter<br>\stoptext<br>
</div></div>
</blockquote>
Try to make shorter examples by removing layout and font changes when 
when they are not necessary.<br>
<br>
\define[1]\ChapterListNumbercommand<br>
   {\offset[x=-2cm,width=0pt]{\simplealignedbox{1.5cm}{flushright}{#1}}}<br>
<br>
\setuplist<br>
  [chapter]<br>
  [distance=0cm,<br>
   width=0cm,<br>
   margin=2cm,<br>
   numbercommand=\ChapterListNumbercommand]<br>
<br>
\starttext<br>
<br>
\startfrontmatter<br>
    \completecontent<br>
    \chapter{Preface}<br>
\stopfrontmatter<br>
<br>
\startbodymatter<br>
    \chapter{Introduction}<br>
    \chapter{Workflow}<br>
    \chapter{Input}<br>
    \chapter{Output}<br>
\stopbodymatter<br>
<br>
\startbackmatter<br>
    \chapter{Index}<br>
\stopbackmatter<br>
<br>
\stoptext<br>
<br>
Wolfgang<br>
</body></html>