ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* startchapter in two columns
@ 2019-01-18 18:42 Lizardo M. Reyna Bowen
  2019-01-18 19:23 ` Wolfgang Schuster
  0 siblings, 1 reply; 3+ messages in thread
From: Lizardo M. Reyna Bowen @ 2019-01-18 18:42 UTC (permalink / raw)
  To: ntg-context

Hi all,

I'm trying to use \startchapter...\stopchapter command to typeset  an
article, I  need the title of the chapter in the entire \textwidth and
the following parts  in two columns (from abstract to references). With
\chapter command, it is not problem, but I can not do it with
\start..\stop command.

Somebody knows how to do it ?

Thanks

-- 
Lizardo Mauricio Reyna Bowen
Docente-Investigador
Facultad de Ingerniería Agrícola
Universidad Técnica de Manabí
+593 982924637 | lreyna@utm.edu.ec |reyna.utm@gmail.com
Manabí - Ecuador
PGP Key: 0xa35a15b90ee64e8d


___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: startchapter in two columns
  2019-01-18 18:42 startchapter in two columns Lizardo M. Reyna Bowen
@ 2019-01-18 19:23 ` Wolfgang Schuster
  2019-01-19  0:05   ` Lizardo M. Reyna Bowen
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2019-01-18 19:23 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Lizardo M. Reyna Bowen

Lizardo M. Reyna Bowen schrieb am 18.01.19 um 19:42:
> Hi all,
> 
> I'm trying to use \startchapter...\stopchapter command to typeset  an
> article, I  need the title of the chapter in the entire \textwidth and
> the following parts  in two columns (from abstract to references). With
> \chapter command, it is not problem, but I can not do it with
> \start..\stop command.

Do you have a example where you use \chapter?

> Somebody knows how to do it ?

\setuphead
   [chapter]
   [insidesection=\startcolumns,
    aftersection=\stopcolumns]

\starttext

\startchapter[title={Greenfield}]
\dorecurse{10}{\samplefile{greenfield}}
\stopchapter

\startchapter[title={Klein}]
\dorecurse{10}{\samplefile{klein}}
\stopchapter

\stoptext

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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: startchapter in two columns
  2019-01-18 19:23 ` Wolfgang Schuster
@ 2019-01-19  0:05   ` Lizardo M. Reyna Bowen
  0 siblings, 0 replies; 3+ messages in thread
From: Lizardo M. Reyna Bowen @ 2019-01-19  0:05 UTC (permalink / raw)
  To: Wolfgang Schuster, mailing list for ConTeXt users

Thanks Wolfgang,

The insidesection/aftersection options in \setuphead works well. I have 
been used the following way:


\starttext

\chapter{title of the chapter}

\startcolumns

\section{Introduction}

\dorecurse{5}{\input davis\par}

\section{Methods}

\dorecurse{5}{\input davis\par}

%....

\stopcolumns

\stoptext

I have read that the \start...\stop way of the commands are better for 
exporting  to another format like xml.


On 1/18/19 2:23 PM, Wolfgang Schuster wrote:
> Lizardo M. Reyna Bowen schrieb am 18.01.19 um 19:42:
>> Hi all,
>>
>> I'm trying to use \startchapter...\stopchapter command to typeset  an
>> article, I  need the title of the chapter in the entire \textwidth and
>> the following parts  in two columns (from abstract to references). With
>> \chapter command, it is not problem, but I can not do it with
>> \start..\stop command.
>
> Do you have a example where you use \chapter?
>
>> Somebody knows how to do it ?
>
> \setuphead
>   [chapter]
>   [insidesection=\startcolumns,
>    aftersection=\stopcolumns]
>
> \starttext
>
> \startchapter[title={Greenfield}]
> \dorecurse{10}{\samplefile{greenfield}}
> \stopchapter
>
> \startchapter[title={Klein}]
> \dorecurse{10}{\samplefile{klein}}
> \stopchapter
>
> \stoptext
>
> 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-01-19  0:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-18 18:42 startchapter in two columns Lizardo M. Reyna Bowen
2019-01-18 19:23 ` Wolfgang Schuster
2019-01-19  0:05   ` Lizardo M. Reyna Bowen

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).