Re: [NTG-context] startchapter in two columns

2019-01-18 Thread Lizardo M. Reyna Bowen

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
___

Re: [NTG-context] startchapter in two columns

2019-01-18 Thread Wolfgang Schuster

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
___