Re: [NTG-context] Am not getting Roman numeral page numbers in MKIV

2011-03-13 Thread Jeong Dalyoung
Dear Tom,


> 
> What version are you using? 
> 

I am using minimal not TeXlive2010. Of course, there are some bugs in beta. But 
it would be fixed soon.
Moreover, you can have more than one Minimal folder. So it is easy to use 
stable version if the beta has bugs.

> 
> BTW, where did you read to use front part instead of frontmatter? 
> 

There was a thread whose title is "Roman Page numbers".
And among the mails on 2009. 2. 4, there was a sample written by Wolfgang .

\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

\starttext

\startfrontmatter

\completecontent[criterium=all]

\chapter{Intro}

\input tufte

\stopfrontmatter

\startbodymatter

\chapter{knuth}

\input knuth

\stopbodymatter

\stoptext

Mailing list is a good place for me to learn ConTeXt. There are so many things 
which are not described in the manual.
I cannot give you a solution. But many experts who are reading this list will 
give you a solution.

Cheers,

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
___


Re: [NTG-context] Am not getting Roman numeral page numbers in MKIV

2011-03-12 Thread Tom
Thank you for taking the time to look into this for me, Dalyoung. I changed
bodymatter to bodypart in two places and got the same results as you did.
Page numbering is reset to 1 for the Introduction. However, I still don't
get Roman numerals in the front part and, as you also experienced, the TOC
is not listed in the TOC.

I am using Texlive 2010, which I downloaded on February 11, just two months
ago yesterday. One would expect such basic functions to be rock solid in
MKIV by now.

What version are you using? 

I have avoided downloading Minimals for the reasons mentioned in the thread
currently running on documentation plus that I don't want to be constantly
downloading new versions because of serious bugs and having simple things
that formerly worked to no longer work due to one of these bugs. I am not
using advanced features by any means. This is very frustrating.

BTW, where did you read to use front part instead of frontmatter? 

Tom Benjey
717-258-9733 voice
717-243-0074 fax
blog: www.TomBenjey.com



-Original Message-
From: ntg-context-boun...@ntg.nl [mailto:ntg-context-boun...@ntg.nl] On
Behalf Of Jeong Dalyoung
Sent: Saturday, March 12, 2011 3:35 AM
To: ntg-context@ntg.nl
Subject: Re: [NTG-context] Am not getting Roman numeral page numbers in MKIV

Dear Tom,

Since I am an enduser of ConTeXt, I couldn't expalin what happens here.
 I just run your code in the mail and got the following results.

> 
> 1. Front matter page numbers are not lower-case Roman numerals although
they
> are listed as such in the TOC.

The Roman numerals in both front part and in TOC.
 
> 2. The Introduction is not listed in the TOC.

Same as your output. No 

> 3. Page numbering isn't reset to 1 in the bodymatter section.
> 
Same as you, but if I change \startstructureblockenvironment[bodymatter] to
\startstructureblockenvironment[bodypart], then Introduction starts from
page 1.
So I guess that there are something between [bodymatter] and [bodypart].

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

___

___
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
___


Re: [NTG-context] Am not getting Roman numeral page numbers in MKIV

2011-03-12 Thread Jeong Dalyoung
Dear Tom,

Since I am an enduser of ConTeXt, I couldn't expalin what happens here.
 I just run your code in the mail and got the following results.

> 
> 1. Front matter page numbers are not lower-case Roman numerals although they
> are listed as such in the TOC.

The Roman numerals in both front part and in TOC.
 
> 2. The Introduction is not listed in the TOC.

Same as your output. No 

> 3. Page numbering isn't reset to 1 in the bodymatter section.
> 
Same as you, but if I change \startstructureblockenvironment[bodymatter] to 
\startstructureblockenvironment[bodypart], then Introduction starts from page 1.
So I guess that there are something between [bodymatter] and [bodypart].

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
___


Re: [NTG-context] Am not getting Roman numeral page numbers in MKIV

2011-03-11 Thread Tom
I used to think I was of average intelligence but I can't figure out to do
the most basic thing in ConTeXt. My current problems with this simple code
are:

1. Front matter page numbers are not lower-case Roman numerals although they
are listed as such in the TOC.
2. The Introduction is not listed in the TOC.
3. Page numbering isn't reset to 1 in the bodymatter section.

Obviously, I'm not reading the correct documentation or am too stupid to
understand what I am reading.

\definehead [intro][chapter]
\setuphead  [intro][incrementnumber=no]

\definestructureconversionset[frontpart:pagenumber][][romannumerals]
%pagenumbers in TOC not converted if frontmatter

\definestructureconversionset[bodymatter:pagenumber] [][numbers]
\setuplist[chapter][pageconversionset=pagenumber]
\setuplist[intro][pageconversionset=pagenumber]


\startstructureblockenvironment[frontmatter]
%whether frontpart or frontmatter seems to make no difference

\setuppagenumber[number=1]

\setuppagenumbering[state=start,location=bottom,conversion=romannumerals] 

\definecombinedlist [content][intro,chapter,section]

\stopstructureblockenvironment

\startstructureblockenvironment[bodymatter]

\setuppagenumber[state=start,number=1]

\setuppagenumbering[state=start,location=bottom,conversion=numbers] 

\stopstructureblockenvironment

\startstructureblockenvironment[backmatter]

\stopstructureblockenvironment

\starttext 

\startfrontmatter % errors on startfrontpart

%sample front matter
\input knuth  %page numbers not being converted to Roman numerals

\completecontent[alternative=c,criterium=all]

\chapter{Preface}
\input knuth

\stopfrontmatter

\startbodymatter

\intro{Introduction}  %is not appearing in TOC
\input knuth  %page number not being set to 1

\chapter{I Was Born}
\input knuth

\chapter{I Observe}
\input knuth

\stopbodymatter

\startbackmatter

\stopbackmatter

\stoptext

Tom Benjey
717-258-9733 voice
717-243-0074 fax
blog: www.TomBenjey.com


___
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
___


Re: [NTG-context] Am not getting Roman numeral page numbers in MKIV

2011-03-11 Thread Wolfgang Schuster

Am 11.03.2011 um 16:17 schrieb Tom:

> Where is a good explanation of the structureblockenvironment?

structureblocks and sectionblocks are the same, both collect setups which
are flushed at the begin of the given sectionblock.

Wolfgang

___
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
___


Re: [NTG-context] Am not getting Roman numeral page numbers in MKIV

2011-03-11 Thread Tom
In MKIV, I am still unable to get lower-case Roman numeral page numbers on
the front matter pages, but if I use frontpart in the \defineconversionset
instead of frontmatter, the page numbers in the ToC are converted. Where is
a good explanation of the structureblockenvironment?

\definestructureconversionset[frontpart:pagenumber][][romannumerals]
%pagenumbers in TOC not converted if frontmatter

\definestructureconversionset[bodymatter:pagenumber] [][numbers]
\setuplist[chapter][pageconversionset=pagenumber]

\definehead [intro][chapter]
\setuphead  [intro][number=no]


\startstructureblockenvironment[frontmatter] 
%whether frontpart or frontmatter seems to make no difference

\setuppagenumbering
 [conversion=romannumerals, location=bottom]
\setuppagenumber[number=1]

\definecombinedlist [content][intro,chapter,section]

\stopstructureblockenvironment

\startstructureblockenvironment[bodymatter]

\setuppagenumbering
 [conversion=numbers, location=bottom]
\setuppagenumber[number=1]

\stopstructureblockenvironment

\startstructureblockenvironment[backmatter]

\stopstructureblockenvironment

\starttext 

\startfrontmatter % errors on startfrontpart

%sample front matter
\input knuth

\completecontent[alternative=c,criterium=all]

\chapter{Preface}
\input knuth

\stopfrontmatter

\startbodymatter


\intro{Introduction}
\input knuth

\setupheadnumber[chapter][0] %resets first chapter number to 1
\setuppagenumbering
 [state=start, 
  conversion=numbers, location=bottom]

\chapter{I Was Born}
\input knuth

\chapter{I Observe}
\input knuth

\stopbodymatter

\startbackmatter

\stopbackmatter

\stoptext 

Tom Benjey
717-258-9733 voice
717-243-0074 fax
blog: www.TomBenjey.com




-Original Message-
From: ntg-context-boun...@ntg.nl [mailto:ntg-context-boun...@ntg.nl] On
Behalf Of Wolfgang Schuster
Sent: Friday, March 11, 2011 8:29 AM
To: mailing list for ConTeXt users
Subject: Re: [NTG-context] Am not getting Roman numeral page numbers in MKIV


Am 11.03.2011 um 06:00 schrieb Jeong Dalyoung:

> Also I use \startstructureblockenvironment[backpart] instead of
\startsectionblockenvironment[backmatter].

You can use both but we should mention in manuals, the wiki etc. only the
second.

Wolfgang


___
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

___

___
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
___


Re: [NTG-context] Am not getting Roman numeral page numbers in MKIV

2011-03-11 Thread Wolfgang Schuster

Am 11.03.2011 um 06:00 schrieb Jeong Dalyoung:

> Also I use \startstructureblockenvironment[backpart] instead of 
> \startsectionblockenvironment[backmatter].

You can use both but we should mention in manuals, the wiki etc. only the 
second.

Wolfgang

___
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
___


Re: [NTG-context] Am not getting Roman numeral page numbers in MKIV

2011-03-10 Thread Jeong Dalyoung
Dear Tom,

Please add following lines in the preamble, then you will get roman numerals.

\definestructureconversionset[frontpart:pagenumber][][romannumerals]
\definestructureconversionset[bodypart:pagenumber] [][numbers]

Also I use \startstructureblockenvironment[backpart] instead of 
\startsectionblockenvironment[backmatter].

cheers, and enjoy ConTeXt!


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
___