* how to define another part of a document
@ 2001-02-20 20:44 Han The Thanh
2001-02-20 21:15 ` Berend de Boer
0 siblings, 1 reply; 12+ messages in thread
From: Han The Thanh @ 2001-02-20 20:44 UTC (permalink / raw)
Hi all,
how can I define another part for a document which has been not pre-defined
yet? E.g. something similar \startappendices ... \stopappendices, but for
another purpose?
Thanks,
Thanh
^ permalink raw reply [flat|nested] 12+ messages in thread
[parent not found: <From thanh at "Feb 20, 1 09:44:26 pm">]
* Re: how to define another part of a document
@ 2001-02-21 13:12 ` Han The Thanh
2001-02-23 10:52 ` Hans Hagen
0 siblings, 1 reply; 12+ messages in thread
From: Han The Thanh @ 2001-02-21 13:12 UTC (permalink / raw)
> how can I define another part for a document which has been not pre-defined
> yet? E.g. something similar \startappendices ... \stopappendices, but for
> another purpose?
I looked into section 8.5 in the manual, but didn't get it yet. The
relevent command seems to be \definesectionblock, however after eg
\definesectionblock [myblock] [headnumber=no]
I don't know what is the command to start/stop the block. I tried either
\definesectionblock [myblock] [headnumber=no]
\startmyblock ... \stopmyblock
or
\definesectionblock [myblockpart] [headnumber=no]
\startmyblockmatter ... \stopmyblockmatter
(guessed from \definesectionblock [bodypart] and
\startbodymatter ... \stopbodymatter)
but none of them works. Do you have please any further hints?
Thanks,
Thanh
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: how to define another part of a document
2001-02-21 13:12 ` Han The Thanh
@ 2001-02-23 10:52 ` Hans Hagen
2001-02-23 15:54 ` Han The Thanh
0 siblings, 1 reply; 12+ messages in thread
From: Hans Hagen @ 2001-02-23 10:52 UTC (permalink / raw)
Cc: ConTeXt List
At 02:12 PM 2/21/01 +0100, Han The Thanh wrote:
>> how can I define another part for a document which has been not pre-defined
>> yet? E.g. something similar \startappendices ... \stopappendices, but for
>> another purpose?
>
>I looked into section 8.5 in the manual, but didn't get it yet. The
>relevent command seems to be \definesectionblock, however after eg
>
>\definesectionblock [myblock] [headnumber=no]
>
>I don't know what is the command to start/stop the block. I tried either
>
>\definesectionblock [myblock] [headnumber=no]
>\startmyblock ... \stopmyblock
>
>
>or
>
>
>\definesectionblock [myblockpart] [headnumber=no]
>\startmyblockmatter ... \stopmyblockmatter
>
>(guessed from \definesectionblock [bodypart] and
>\startbodymatter ... \stopbodymatter)
\definesectionblock [myblock] [myblocks]
\setupsectionblock [myblock] [number=no]
\starttext
\startmyblocks
\chapter{Whow, this is My Block!}
\stopmyblocks
\stoptext
The two argument approach permits definitions of more meaningful commands,
like singular/plural destinction (needed for the
dutch interface) like frontpart for the general name of a block, but
frontmatter for the command [suggested b y sebastian rahtz].
Hans
-------------------------------------------------------------------------
Hans Hagen | PRAGMA ADE | pragma@wxs.nl
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: how to define another part of a document
2001-02-23 10:52 ` Hans Hagen
@ 2001-02-23 15:54 ` Han The Thanh
2001-02-23 16:13 ` Hans Hagen
2001-03-21 10:05 ` Peter Jander
0 siblings, 2 replies; 12+ messages in thread
From: Han The Thanh @ 2001-02-23 15:54 UTC (permalink / raw)
Cc: ConTeXt List
> \definesectionblock [myblock] [myblocks]
>
> \setupsectionblock [myblock] [number=no]
>
> \starttext
>
> \startmyblocks
>
> \chapter{Whow, this is My Block!}
>
> \stopmyblocks
>
> \stoptext
>
> The two argument approach permits definitions of more meaningful commands,
> like singular/plural destinction (needed for the
> dutch interface) like frontpart for the general name of a block, but
> frontmatter for the command [suggested b y sebastian rahtz].
thanks, Hans. Can you please also tell me how to define the label of the
chapters inside myblock? The command \setuplabeltext seems to have global
effect.
Thanh
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: how to define another part of a document
2001-02-23 15:54 ` Han The Thanh
@ 2001-02-23 16:13 ` Hans Hagen
2001-03-21 10:05 ` Peter Jander
1 sibling, 0 replies; 12+ messages in thread
From: Hans Hagen @ 2001-02-23 16:13 UTC (permalink / raw)
Cc: ConTeXt List
At 04:54 PM 2/23/01 +0100, Han The Thanh wrote:
>> \definesectionblock [myblock] [myblocks]
>>
>> \setupsectionblock [myblock] [number=no]
>>
>> \starttext
>>
>> \startmyblocks
>>
>> \chapter{Whow, this is My Block!}
>>
>> \stopmyblocks
>>
>> \stoptext
>>
>> The two argument approach permits definitions of more meaningful commands,
>> like singular/plural destinction (needed for the
>> dutch interface) like frontpart for the general name of a block, but
>> frontmatter for the command [suggested b y sebastian rahtz].
>
>thanks, Hans. Can you please also tell me how to define the label of the
>chapters inside myblock? The command \setuplabeltext seems to have global
>effect.
\starttext
\definesectionblock[thanh][thanhs]
\startsectionblockenvironment[thanh]
\setuplabeltext[chapter=Whow ]
\stopsectionblockenvironment
\chapter{OEPS}
\startthanhs
\chapter{OEPS}
\stopthanhs
\chapter{OEPS}
\stoptext
-------------------------------------------------------------------------
Hans Hagen | PRAGMA ADE | pragma@wxs.nl
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: how to define another part of a document
2001-02-23 15:54 ` Han The Thanh
2001-02-23 16:13 ` Hans Hagen
@ 2001-03-21 10:05 ` Peter Jander
2001-03-21 14:32 ` Hans Hagen
2001-03-21 15:25 ` Peter Jander
1 sibling, 2 replies; 12+ messages in thread
From: Peter Jander @ 2001-03-21 10:05 UTC (permalink / raw)
Hi,
a while ago the code below was given as an example how to format
a part of a document differently. However when I run that code the
outline of the document is:
1 OEPS
1 OEPS
1 OEPS
Is there a way to have the outline like this:
1 OEPS
2 OEPS
3 OEPS
i.e. use the same chapter counter inside the user-defined
sectionblock as outside?
Thanks,
Peter Jander
Date sent: Fri, 23 Feb 2001 17:13:20 +0100
> >thanks, Hans. Can you please also tell me how to define the label of the
> >chapters inside myblock? The command \setuplabeltext seems to have global
> >effect.
>
> \starttext
>
> \definesectionblock[thanh][thanhs]
>
> \startsectionblockenvironment[thanh]
> \setuplabeltext[chapter=Whow ]
> \stopsectionblockenvironment
>
> \chapter{OEPS}
>
> \startthanhs
> \chapter{OEPS}
> \stopthanhs
>
> \chapter{OEPS}
>
> \stoptext
>
> -------------------------------------------------------------------------
> Hans Hagen | PRAGMA ADE | pragma@wxs.nl
> Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
> tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
> -------------------------------------------------------------------------
>
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: how to define another part of a document
2001-03-21 10:05 ` Peter Jander
@ 2001-03-21 14:32 ` Hans Hagen
2001-03-21 15:25 ` Peter Jander
1 sibling, 0 replies; 12+ messages in thread
From: Hans Hagen @ 2001-03-21 14:32 UTC (permalink / raw)
Cc: ConTeXt List
At 10:05 AM 3/21/01 GMT, Peter Jander wrote:
>Hi,
>
>a while ago the code below was given as an example how to format
>a part of a document differently. However when I run that code the
>outline of the document is:
>
>1 OEPS
>1 OEPS
>1 OEPS
>
>Is there a way to have the outline like this:
>
>1 OEPS
>2 OEPS
>3 OEPS
>
>i.e. use the same chapter counter inside the user-defined
>sectionblock as outside?
What exactly do you want to achieve, maybe you're looking for heading
clones and not for section blocks.
Hans
-------------------------------------------------------------------------
Hans Hagen | PRAGMA ADE | pragma@wxs.nl
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: how to define another part of a document
2001-03-21 10:05 ` Peter Jander
2001-03-21 14:32 ` Hans Hagen
@ 2001-03-21 15:25 ` Peter Jander
2001-03-21 15:55 ` Hans Hagen
2001-03-21 17:59 ` Peter Jander
1 sibling, 2 replies; 12+ messages in thread
From: Peter Jander @ 2001-03-21 15:25 UTC (permalink / raw)
>
> What exactly do you want to achieve, maybe you're looking for heading
> clones and not for section blocks.
>
I was looking for a clean way to typeset in landscape mode a
chapter containing wide tables (plus change in interlinespace).
Probably localenvironments are more appropriate, but I couldn't
make them work.
Thanks for any advice,
Peter
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: how to define another part of a document
2001-03-21 15:25 ` Peter Jander
@ 2001-03-21 15:55 ` Hans Hagen
2001-03-21 17:59 ` Peter Jander
1 sibling, 0 replies; 12+ messages in thread
From: Hans Hagen @ 2001-03-21 15:55 UTC (permalink / raw)
Cc: ConTeXt List
At 03:25 PM 3/21/01 GMT, Peter Jander wrote:
>
>>
>> What exactly do you want to achieve, maybe you're looking for heading
>> clones and not for section blocks.
>>
>I was looking for a clean way to typeset in landscape mode a
>chapter containing wide tables (plus change in interlinespace).
the whole chapter or just one page;
you can try
[some text] \page
\setuppapersize[A4,landscape][A4,landscape]
[wide text] \page
\setuppapersize[A4][A4]
Hans
-------------------------------------------------------------------------
Hans Hagen | PRAGMA ADE | pragma@wxs.nl
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: how to define another part of a document
2001-03-21 15:25 ` Peter Jander
2001-03-21 15:55 ` Hans Hagen
@ 2001-03-21 17:59 ` Peter Jander
2001-03-22 6:32 ` Hans Hagen
1 sibling, 1 reply; 12+ messages in thread
From: Peter Jander @ 2001-03-21 17:59 UTC (permalink / raw)
Well,
I wanted to keep the settings out of the source of my document.
Don't bother with that, I defined two macros
\StartLandscape
\StopLandscape
in the setup section of the document. Works fine, I was just
wondering if there is a way build into ConText to support this kind
of local settings.
Thanks,
Peter
> >
> >>
> >> What exactly do you want to achieve, maybe you're looking for heading
> >> clones and not for section blocks.
> >>
> >I was looking for a clean way to typeset in landscape mode a
> >chapter containing wide tables (plus change in interlinespace).
>
> the whole chapter or just one page;
>
> you can try
>
> [some text] \page
>
> \setuppapersize[A4,landscape][A4,landscape]
>
> [wide text] \page
>
> \setuppapersize[A4][A4]
>
>
>
> Hans
> -------------------------------------------------------------------------
> Hans Hagen | PRAGMA ADE | pragma@wxs.nl
> Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
> tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
> -------------------------------------------------------------------------
>
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: how to define another part of a document
2001-03-21 17:59 ` Peter Jander
@ 2001-03-22 6:32 ` Hans Hagen
0 siblings, 0 replies; 12+ messages in thread
From: Hans Hagen @ 2001-03-22 6:32 UTC (permalink / raw)
Cc: ConTeXt List
At 05:59 PM 3/21/01 GMT, Peter Jander wrote:
>Well,
>I wanted to keep the settings out of the source of my document.
>Don't bother with that, I defined two macros
>
>\StartLandscape
>\StopLandscape
>
>in the setup section of the document. Works fine, I was just
>wondering if there is a way build into ConText to support this kind
>of local settings.
Not yet, but there will be 'definable layout's' that cn be called anywhere .
Hans
-------------------------------------------------------------------------
Hans Hagen | PRAGMA ADE | pragma@wxs.nl
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2001-03-22 6:32 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-02-20 20:44 how to define another part of a document Han The Thanh
2001-02-20 21:15 ` Berend de Boer
[not found] <From thanh at "Feb 20, 1 09:44:26 pm">
2001-02-21 13:12 ` Han The Thanh
2001-02-23 10:52 ` Hans Hagen
2001-02-23 15:54 ` Han The Thanh
2001-02-23 16:13 ` Hans Hagen
2001-03-21 10:05 ` Peter Jander
2001-03-21 14:32 ` Hans Hagen
2001-03-21 15:25 ` Peter Jander
2001-03-21 15:55 ` Hans Hagen
2001-03-21 17:59 ` Peter Jander
2001-03-22 6:32 ` Hans Hagen
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).