제 #1 장}
\blank[big]
{\sans #2} }}
\startsectionblockenvironment[bodypart]
\setupheadertexts[][{\tfx COUNTING}]
\setuppagenumber[number=1]
\setuppagenumbering[alternative={singlesided,doublesided},location={footer,right}]
\setuphead[chapter][command=\Myheader,before={\dontleavehmode\blank[2*big
ment,
>> % the first argument takes the name of the conversion which is
>> applied to the % userpage counter with
>> \setupcounter[userpage][numberconversionset=pagenumber]. % % You can
>> set a conversion for a certain sectionblock when you write the name %
>> of the bloc
ge][numberconversionset=pagenumber]. % % You can
> set a conversion for a certain sectionblock when you write the name %
> of the block before the name of the conversion set separated by a
> ___:___. %
> %\defineconversionset[frontpart:pagenumber][][romannume
of the conversion set separated by a “:”.
> %
> %\defineconversionset[frontpart:pagenumber][][romannumerals]
>
> \startsectionblockenvironment[frontpart]
>
> \setuppagenumbering[numberconversion=romannumerals]
This has to be (wrong command for the conversion and missing style
”.
%
%\defineconversionset[frontpart:pagenumber][][romannumerals]
\startsectionblockenvironment[frontpart]
\setuppagenumbering[numberconversion=romannumerals]
\setcounter[userpage][3]
\stopsectionblockenvironment
\startsectionblockenvironment[bodypart]
\setcounter[userpage][1]
\stopsection
]
\startsectionblockenvironment[frontpart]
\setupuserpagenumber[numberconversion=romannumerals, way=byblock]
\stopsectionblockenvironment
\startsectionblockenvironment[bodypart]
\setupuserpagenumber[numberconversion=numbers]
\setuppagenumber[number=1]
\stopsectionblockenvironment
\startsectionblockenvironment[backpart
{\ss\bold}]
\setupheadertexts [section][pagenumber][pagenumber][chapter]
\setupheader [before={\ss\switchtobodyfont[10pt]}]
\startsectionblockenvironment[frontpart]
\setupuserpagenumber[numberconversion=romannumerals]
\stopsectionblockenvironment
\startsectionblockenvironment[bodypart]
frontpart.
> Here is how I did set this up long time ago:
>
> \startsectionblockenvironment[frontpart]
> \setupheader [before={\ss\switchtobodyfont[10pt]}]
\setupheader[style={\switchtobodyfont[ss,10pt]}]
or use
\definefont[HeaderFont][Sans at 10pt]
in combination with
this up long time ago:
What time did you update? I fixed a side effect of some counter code
renaming efforts.
Hans
\startsectionblockenvironment[frontpart]
\setupheader [before={\ss\switchtobodyfont[10pt]}]
\setupheadertexts [section][pagenumber][pagenumber][chapter]
\setuppagenumbering
:
\startsectionblockenvironment[frontpart]
\setupheader [before={\ss\switchtobodyfont[10pt]}]
\setupheadertexts [section][pagenumber][pagenumber][chapter]
\setuppagenumbering [alternative=doublesided, partnumber=no, location=,
style={\ss\bold}]
\setupuserpagenumber[numberconversion=romannumerals
[appendix:pagenumber][][Characters]
\setuppagenumber[numberconverionset=pagenumber,way=block]
\startsectionblockenvironment[bodypart]
%\resetpagenumber
\stopsectionblockenvironment
\startsectionblockenvironment[appendix]
%\resetpagenumber
\stopsectionblockenvironment
\setupheadertexts[Page
]
\definestructureconversionset [appendix:pagenumber][][Characters]
\setuppagenumber[numberconverionset=pagenumber,way=block]
\startsectionblockenvironment[bodypart]
%\resetpagenumber
\stopsectionblockenvironment
\startsectionblockenvironment[appendix]
%\resetpagenumber
\stopsectionblockenvironment
Dear Wolfgang,
>>
>> There is an error message, "undefined control sequence as below when I use
>> "\startstructureblockenvironment":
>
> Use \startsectionblockenvironment.
>
After changing "structureblock" to "sectionblock&quo
Am 12.10.2011 um 09:11 schrieb Jeong Dalyoung:
> Dear all,
>
> There is an error message, "undefined control sequence as below when I use
> "\startstructureblockenvironment":
Use \startsection
.
Regards,
Robert
+++
\enableregime[utf]
\setuppapersize[A4][A4]
\startsectionblockenvironment[bodypart]
\setupheader[text][location=text,state=high,strut=yes,after=\vskip-0.8em\thinrule]
\setupfootertexts[{\tfx \copyright R. Ermers}][][][{\tfx \copyright R. Ermers}]
\setuppagenumber[number=1
Am 12.06.2011 um 15:07 schrieb Martin 'golodhrim' Scholz:
> In article <20110611230653.40c09d5a@glyph>, Marco wrote:
>> Try to replace
>>
>> \startstructureblockenvironment with
>> \startsectionblockenvironment
>>
>> Marco
> Hi Marco,
&
In article <20110611230653.40c09d5a@glyph>, Marco wrote:
> Try to replace
>
> \startstructureblockenvironment with
> \startsectionblockenvironment
>
> Marco
Hi Marco,
thanks that seemed to work, but now I run again in the error with
\startstandardmakeup
\stopstan
Hi Martin,
Try to replace
\startstructureblockenvironment with
\startsectionblockenvironment
Marco
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context
art] 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 en
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.
Wo
\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
=no]
\setuppagenumbering
[state=start,
conversion=romannumerals, location=bottom]
\startsectionblockenvironment[frontpart]
\definecombinedlist [content][intro,chapter,section]
\stopsectionblockenvironment
\startsectionblockenvironment[bodypart]
\stopsectionblockenvironment
]
\setuphead [intro][number=no]
\setuppagenumbering
[state=start,
conversion=romannumerals, location=bottom]
\startsectionblockenvironment[frontpart]
\definecombinedlist [content][intro,chapter,section]
\stopsectionblockenvironment
\startsectionblockenvironment[bodypart
erably by using some \setup command that I'd use in my environment
> > file).
>
> \startsectionblockenvironment[frontpart]
>
>\setupheader[state=stop]
>\setupfooter[state=stop]
>
> \stopsectionblockenvironment
Thanks Wolfgang!
Regards,
Khaled
--
Kha
Am 02.12.2010 um 20:40 schrieb Khaled Hosny:
> How can I suppress header and footer between \{start,stop}frontmatter?
> alternatively, how can I use alphabetic page numbering there?
> (preferably by using some \setup command that I'd use in my environment
> file).
\startsectio
plabeltext [chapter=Chapter ] % with trailing space; blank by default
\startsectionblockenvironment[bodypart]
\setuplist [chapter] [label=yes]
\stopsectionblockenvironment
The problem is always that easier setups also lead to more options
(undocumented) that when explained lead to the p
]
\setuplabeltext [chapter=Chapter ] % with trailing space; blank by default
\startsectionblockenvironment[bodypart]
\setuplist [chapter] [label=yes]
\stopsectionblockenvironment
You see, what should be natural (and probably the default) quickly gets to be
a bit complicated. Furthermore, I
t; click=no,
> title=TEST,
> author=Neals,
> subtitle=Test,
> keyword={test}]
>
> \setupcolors
> [state=start]
>
> \newcount\FrontPageNumbers
>
> \setupsubpagenumber[way=bytext,state=start]
> \setuppagenumbering[location=]
>
> \startsecti
{Whatever}
to be used notably within \startbodypart...\stopbodypart
Note that an unnumbered \section vs. \subject do not fill exactly the same
need.
Also, while on the subject of sectionblocks, there should be some way of
defining
\startsectionblockenvironment[bodypart]
\setuplist[c
On 18-5-2010 4:13, Thomas Floeren wrote:
\setupinteraction[state=start]
\startsectionblockenvironment[bodypart]
\setupuserpagenumber[number=1]
\stopsectionblockenvironment
\starttext
\startfrontmatter
\page[dummy]
\page[dummy]
\stopfrontmatter
\startbodymatter
\page[dummy]
bla\index
Hi,
when I place an interactive register in mkIV, and then in the PDF click the
pagenumber (in the index), it takes me to the wrong page; it seems to go to the
absolute pdf page number(?).
Example:
\setupinteraction[state=start]
\startsectionblockenvironment[bodypart
[][]
\setupfootertexts[][]
}]
I suggest to use sectionblockenvironment for these settings, e.g.
\startsectionblockenvironment[backpart]
\setupusepagenumber[numberconversion=Romannumerals]
\stopsectionblockenvironment
possibility change of section numbering to (for. example) only
numbers
\setupheadertexts[][]
\setupfootertexts[][]
}]
I suggest to use sectionblockenvironment for these settings, e.g.
\startsectionblockenvironment[backpart]
\setupusepagenumber[numberconversion=Romannumerals]
\stopsectionblockenvironment
possibility change of section
,
subsubsection,
subsubsubsection,
subsubsubsubsection,
title,
subject,
subsubject,
subsubsubject,
subsubsubsubject,
subsubsubsubsubject]
[criterium=all]
\startsectionblockenvironment[frontpart]
\setuphead[title,subject,subsubject][incrementnumber=no]
\stopsectionblockenvironment
[location=]
\setupsectionblock[bodypart][page=chapter]
\setupsectionblock[frontpart][page=chapter]
\startsectionblockenvironment[frontpart]
\setuphead[title]
[command=\MyFrontMatterCommand,textstyle=\ss\bf,number=no,
header=empty,footer=chapter,page=mychapterpagebreak,
after=\vskip 0.5in
er][header=high,footer=chapter,page=right]
\setuppagenumbering[location=]
\startsectionblockenvironment[frontpart]
\definehead[mycontenttitle][chapter]
\setuphead[mycontenttitle]
[command=\MyFrontMatterCommandM, number=no,textstyle=\ss\bf,
header=empty,footer=empty,page=mychapterpagebreak,
num
ection for the body of the text something like this?
>
> \startsectionblockenvironment[bodypart]
>
> \setuphead[chapter][...]
>
> \stopsectionblockenvironment
>
You can do this but you don't have to, general settings for the headers
in all
blocks can be done outside of t
Am 11.02.10 22:41, schrieb Tom:
Thanks, this is very helpful. I do have a couple of questions, though.
Should I insert a section for the body of the text something like this?
\startsectionblockenvironment[bodypart]
\setuphead[chapter][...]
\stopsectionblockenvironment
You can do this but
Thanks, this is very helpful. I do have a couple of questions, though.
Should I insert a section for the body of the text something like this?
\startsectionblockenvironment[bodypart]
\setuphead[chapter][...]
\stopsectionblockenvironment
\completecontent causes two blank (except for header
ront- and backmatter
\startsectionblockenvironment[frontpart]
\setuphead[chapter][...]
\stopsectionblockenvironment
\startsectionblockenvironment[appendix]
\setuphead[chapter][...]
\stopsectionblockenvironment
\starttext
\startfrontmatter
\chapterIntroduction}
\complecontent
\stopfrontmatter
\startbodym
his case.
% 1. frontmatter pagenumbering conversion=romannumerals
\startsectionblockenvironment[frontpart]
\setuppagenumbering[conversion=romannumerals]
\stopsectionblockenvironment
% 2. bodymatter pagenumbering "chapter-page"
% 3. reset pagenumber for each chapter
\startsection
net/Titles#Truly_empty_pagebreak_before_chapte
rs
I'm fine with that. For those (most, I imagine) who don't want to wade
through the notes, here is a summary of the most (again, IMHO) issues:
* startsectionblockenvironment does not appear documented, and
appears to be cri
[Oddity][width=0.75
\textwidth,background=color,backgroundcolor=lightred,frame=off,framecorner=round,frameradius=0.5cm,backgroundcorner=round,style=
\tfx]
\setupinmargin[align=right,style=\ss\tfx\setupinterlinespace]
\setupitemize[align=right]
\startsectionblockenvironment[appendix
an
> > > numerals in my appendix without any luck. Here is a minimal example:
> > >
> > > \setuppagenumbering[way=bytext,location={bottom, right}]
> > > \startsectionblockenvironment[bodypart]
> > >\setuppagenumber[number=1, state
[way=bytext,location={bottom, right}]
> > \startsectionblockenvironment[bodypart]
> >\setuppagenumber[number=1, state=start]
> > \stopsectionblockenvironment
> > \startsectionblockenvironment[appendix]
> >
>
> \setupuserpagenumber[numberconversion=numbers]
>
&
On Thu, Sep 10, 2009 at 9:10 PM,
> wrote:
> Hello,
>
> I've been trying to turn off the conversion of page numbers to roman
> numerals in my appendix without any luck. Here is a minimal example:
>
> \setuppagenumbering[way=bytext,location={bottom, right}]
>
Hello,
I've been trying to turn off the conversion of page numbers to roman
numerals in my appendix without any luck. Here is a minimal example:
\setuppagenumbering[way=bytext,location={bottom, right}]
\startsectionblockenvironment[bodypart]
\setuppagenumber[number=1, state=
Hi all,
I can't get the example below working.
Is there a problem with the sectionblockenvironment?
Regards,
Bernard
% MTXrun | current version: 2009.08.07 11:22
% linux-32
\startsectionblockenvironment[frontpart]
\setuppagenumbering [location=footer]
\setupuserpagen
the garden, and \startsection leads to
\startsectionblockenvironment (strc-sbe.tex, core-sec.tex)
\startsectionworld (core-swd.tex, doesn't mention it's not for MkIV)
\startsection (m-cweb.tex)
Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.n
owing code work for you?
> ==
> \pdfcompresslevel 0
>
> \setupinteraction
> [state=start,
> focus=width,
> page=yes,
> openaction=firstpage,
> click=no,
> title=TEST,
> author=Neals,
> subtitle=Test,
> ke
tle=TEST,
author=Neals,
subtitle=Test,
keyword={test}]
\setupcolors
[state=start]
\newcount\FrontPageNumbers
\setupsubpagenumber[way=bytext,state=start]
\setuppagenumbering[location=]
\startsectionblockenvironment[frontpart]
\setupfootertexts[pagenumber]
\setuppagenumbering[conversi
mbers
\setupsubpagenumber[way=bytext,state=start]
\setuppagenumbering[location=]
\startsectionblockenvironment[frontpart]
\setupfootertexts[pagenumber]
\setuppagenumbering[conversion=romannumerals]
\stopsectionblockenvironment
\startsectionblockenvironment[bodypart]
\global\FrontPageNumbers=\pagen
t success.
> >
> > Nevertheless, I may be lucky someone has encountered a similar one. So
> > I'll ask anyway...
> >
> > - project containing environments, product and components
> >
> > - product with standardmakeup, frontmatter, bodymatter, backmatter
environments, product and components
>
> - product with standardmakeup, frontmatter, bodymatter, backmatter
>
> - \startsectionblockenvironment[frontpart]% contains
> ToC
> \setupheader[state=start]
>\stopsectionblockenvironment
>
dardmakeup, frontmatter, bodymatter, backmatter
- \startsectionblockenvironment[frontpart]% contains ToC
\setupheader[state=start]
\stopsectionblockenvironment
- \setuphead[chapter][header=empty] (1)
- for some bodyfonts (arial, verdana) and with line (1) in the code,
/pl
e\numpage--
> \else \rm --page \the\numpage--\hfill\the
> \nom
> \fi
>\fi}
> *
> (names are french)
> but maybe there is a simpler way in Context.
Adap
myChapterPageBreak][yes,header,footer,right]
> \setuphead[chapter][page=myChapterPageBreak]
>
> \startsectionblockenvironment[frontpart]
> \setupheader[state=stop]
> \setupfooter[state=stop]
> \stopsectionblockenvironment
>
> \startsectionblockenvironment[bodypart]
&g
]
\startsectionblockenvironment[frontpart]
\setupheader[state=stop]
\setupfooter[state=stop]
\stopsectionblockenvironment
\startsectionblockenvironment[bodypart]
\setupheader[state=start]
\setupfooter[state=start]
\stopsectionblockenvironment
\startsectionblockenvironment[backpart]
\setupheader[state
][page=myChapterPageBreak]
\startsectionblockenvironment[frontpart]
\setupheader[state=stop]
\setupfooter[state=stop]
\stopsectionblockenvironment
\startsectionblockenvironment[bodypart]
\setupheader[state=start]
\setupfooter[state=start]
\stopsectionblockenvironment
\startsectionblockenvir
s,header,footer,right]
> \setuphead[chapter][page=myChapterPageBreak]
>
> \startsectionblockenvironment[frontpart]
> \setupheader[state=stop]
> \setupfooter[state=stop]
> \stopsectionblockenvironment
>
> \startsectionblockenvironment[bodypart]
> \setupheader[state=star
4][A4]
%\setuppagenumbering[alternative=singlesided]
\setuppagenumbering[alternative=doublesided]
\definepagebreak[myChapterPageBreak][yes,header,footer,right]
\setuphead[chapter][page=myChapterPageBreak]
\startsectionblockenvironment[frontpart]
\setupheader[state=stop]
\setupfooter[state
setupsectionblock and \startsectionblockenvironment.
Regards,
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
number{A}{#3}-#5}}
\def\MyCommand#1{\expandafter\doMyCommand#1\relax}
\startsectionblockenvironment[appendix]
\setuppagenumbering
[way=bychapter,
chapternumber=yes,
numberseparator=-]
%\setuplist[section][state=stop]
\writebetweenlist[chapter]{\setuplist[chapter]
[chapternumb
ndix2
> \stopappendices
>
> \stoptext
>
> Thanks as always,
>
> saji
Please send next time a working example.
\usemodule[visual]
\def\doMyCommand#1--#2-#3-#4--#5]\relax{{\convertnumber{A}{#3}-#5}}
\def\MyCommand#1{\expandafter\doMyCommand#1\relax}
\startsectionblockenviro
1
> B. Appendix 2
> C. Appendix 3
>
>
> Thanks in advance,
> saji
>
> --
> Saji N. Hameed
\startsectionblockenvironment[appendix]
\setuplist[section][state=stop]
\stopsectionblockenvironment
\starttext
\startfrontmatter
\completecontent
\stopfrontmatter
\startbodymatter
ut where to store it on the wiki/texshow, so that it will be
> possible to find it agin. (This still cannot handle the problem if I
> wanted to number "last page of frontmatter", but I don't need it at
> the moment.)
I run into similiar problems for my letter modul
in an environment file...
\startsectionblockenvironment[frontpart]
\setuppagenumber[number=1]
\setuppagenumbering[conversion=romannumerals]
\stopsectionblockenvironment
\startsectionblockenvironment[bodypart]
\setuppagenumber[number=1]
\stopsectionblockenvironment
\starttext
\startfrontmatter
%
do this?
>
>I have tried defining section blocks and then specifying the layout
>for the section blocks between \startsectionblockenvironment
>[mySectionBlock] and \stopsectionblockenvironment commands. I have
>also tried the project, product, component, environment structure
section blocks and then specifying the layout
for the section blocks between \startsectionblockenvironment
[mySectionBlock] and \stopsectionblockenvironment commands. I have
also tried the project, product, component, environment structure
from the manuals. I have not had success with
?
\startsectionblockenvironment[backpart]
\setuppagenumbering[state=stop]
\stopsectionblockenvironment
\setupsectionblock[bodypart][page=no] % avoid generation of an extra
\setupsectionblock[backpart][page=no] % page at the end of the doc
\startbodymatter
\chapter{foo} \section{bar} \index{bar
Hi,
I think that I either found a bug, or am using some commands in an invalid
way. What do you think about the following code:
\setuplayout[location=duplex]
\setuppagenumbering[alternative=doublesided]
\setuppagenumbering[way=bytext,partnumber=no]
\startsectionblockenvironment[frontpart
101 - 171 of 171 matches
Mail list logo