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
___

[NTG-context] startchapter in two columns

2019-01-18 Thread Lizardo M. Reyna Bowen
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 | lre...@utm.edu.ec |reyna@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
___

[NTG-context] startchapter?

2013-02-24 Thread Meer, H. van der
Previously I could use \chapter[reference-to-this-chapter]{title}

Now the preferred way seems to be \startchapter[title=the-title], but how do I 
program now the reference to this chapter?

The Wiki does not contains a page for \startchapter and the section on command 
only gives info and examples on the \chapter macro.

Hans van der Meer



___
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] startchapter?

2013-02-24 Thread Reviczky Adam
Hi Hans,

Did you try this:
\startchapter[title={the-title},reference={reference-to-this-chapter}]

see: http://www.mail-archive.com/ntg-context@ntg.nl/msg66342.html


Adam



On Sun, Feb 24, 2013 at 3:32 PM, Meer, H. van der h.vanderm...@uva.nlwrote:

  Previously I could use \chapter[reference-to-this-chapter]{title}

  Now the preferred way seems to be \startchapter[title=the-title], but
 how do I program now the reference to this chapter?

  The Wiki does not contains a page for \startchapter and the section on
 command only gives info and examples on the \chapter macro.

  Hans van der Meer





 ___
 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] startchapter?

2013-02-24 Thread Meer, H. van der
Thanks. No, I didn't try that, I got stuck with ..,ref=..
Coming from a computer age where every byte counted, I clearly was to terse. 
However thinking of 'ref' as a synonym for 'reference' .. ..

Hans van der Meer



On 24 feb. 2013, at 16:38, Reviczky Adam 
revic...@gmail.commailto:revic...@gmail.com wrote:


Hi Hans,

Did you try this:
\startchapter[title={the-title},reference={reference-to-this-chapter}]



see: http://www.mail-archive.com/ntg-context@ntg.nl/msg66342.html




Adam


On Sun, Feb 24, 2013 at 3:32 PM, Meer, H. van der 
h.vanderm...@uva.nlmailto:h.vanderm...@uva.nl wrote:
Previously I could use \chapter[reference-to-this-chapter]{title}

Now the preferred way seems to be \startchapter[title=the-title], but how do I 
program now the reference to this chapter?

The Wiki does not contains a page for \startchapter and the section on command 
only gives info and examples on the \chapter macro.

Hans van der Meer




___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nlmailto:ntg-context@ntg.nl / 
http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nlhttp://www.pragma-ade.nl/ / 
http://tex.aanhet.nethttp://tex.aanhet.net/
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.nethttp://contextgarden.net/
___

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nlmailto: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
___

[NTG-context] \startchapter[title = First] didn't show the title.

2012-11-02 Thread Jeong Dal
Hi all,

Here is one more question.

\starttext
\startchapter[title = First]
bla bla bla
\stopchapter
\stoptext

In this sample, the title First isn't show up.
After removing spaces before and after = sign, it showed up.

It is not a big problem though, but, is it intended?
It still remains after the updating.

Thanks for reading

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] \startchapter[title = First] didn't show the title.

2012-11-02 Thread Hans Hagen

On 2-11-2012 12:18, Jeong Dal wrote:

Hi all,

Here is one more question.

\starttext
\startchapter[title = First]
bla bla bla
\stopchapter
\stoptext

In this sample, the title First isn't show up.
After removing spaces before and after = sign, it showed up.

It is not a big problem though, but, is it intended?


yes: in your case the keyword is title  and the value is  First

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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
___


[NTG-context] \startchapter[title=Test] is not working inside \startcomponent

2012-09-04 Thread Jeong Dalyoung
Dear Listers,

\startchapter[title=Test] is working inside \starttext and \stoptext.
But it is not working inside \startcomponent and \stopcomponent.
Is it a natural behavior? 

I am using iMac, OSX Mountain Lion.
And the ConTeXt version is ConTeXt ver: 2012.08.28 20:00 MKIV fmt: 2012.9.4 
int: english/english

A short test file is:

%\startcomponent
\starttext

\startchapter[title=Test]

\input knuth
\stopchapter

\stoptext
%\stopcomponent

Thank you for reading.
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] \startchapter[title=Test] is not working inside \startcomponent

2012-09-04 Thread Marco Patzer
On 2012-09-04 Jeong Dalyoung hak...@me.com wrote:

Hi Jeong,

 \startchapter[title=Test] is working inside \starttext and \stoptext.
 But it is not working inside \startcomponent and \stopcomponent.
 Is it a natural behavior? 

Yes. \startcomponent expects an argument.

\startcomponent somecomponent

or

\startcomponent *

http://wiki.contextgarden.net/Command/startcomponent


Marco

___
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] \startchapter[title=Test] is not working inside \startcomponent

2012-09-04 Thread Jeong Dalyoung
Dear Marco,

Aha, I missed to put the name of the component.
With the component name, it works fine.
I am sorry for the noise.

Thank you.

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
___


[NTG-context] \startchapter syntax

2010-09-22 Thread Alan BRASLAU
Hello,

What is the correct syntax to define a reference
with \startstructure\stopstructure?

\starttext
\startchapter [ref] [title=My title]
\stopchapter
\stoptext

Yields:
check   : missing or ungrouped '=' after 'ref' in line 2 (@@ns)

Alan
___
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] \startchapter syntax

2010-09-22 Thread Alan BRASLAU
On Wednesday 22 September 2010 21:22:45 Alan BRASLAU wrote:
 Hello,
 
 What is the correct syntax to define a reference
 with \startstructure\stopstructure?
 
 \starttext
 \startchapter [ref] [title=My title]
 \stopchapter
 \stoptext
 
 Yields:
 check   : missing or ungrouped '=' after 'ref' in line 2 (@@ns)
 

\startchapter [reference=ref,title={My title}]
\stopchapter

Of course!

(You see, I was even faster than 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
___


[NTG-context] \startchapter

2009-09-14 Thread Bernd Militzer




Hallo Hans,

please have a look at my testfile:


% --- snip
\setupcolors[state=start]
\setupinteraction[state=start]
\placebookmarks[chapter,section,subsection][chapter,section,subsection]
\setupinteractionscreen[option=bookmark]
%
\starttext
%
\placelist[chapter,section][criterium=all,interaction=text]
%
% this works !
%
\startchapter[title={Geburten 1606--1737},list={Geburten
1606--1737},bookmark={Geburten},reference={Geburten}]
%
% this does not work! no title in text, no title in list, no bookmark
text,  no reference!!!
%
 \startsection[title    ={Getafte A. dominj 1606},%
   list ={Geburten 1606},%
   bookmark ={Geb-1606},%
   reference={Geb:1606}]
%
\input tufte
\stopsection
%
\page
% this works!
ref Geburten: \about[Geburten]
\vspacing[12pt]
% this does not work!
ref 1606: \about[Geb:1606]
\stopchapter
%
\stoptext
% --- snip

This is LuaTeX, Version beta-0.43.0-2009081911
ConTeXt  ver: 2009.09.12 14:44 MKIV  fmt: 2009.9.13  int:
english/english



Thanks

Bernd



___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] \startchapter

2009-09-14 Thread Wolfgang Schuster


Am 14.09.2009 um 12:27 schrieb Bernd Militzer:


 \startsection[title={Getaŭfte A. dominj 1606},%
   list ={Geburten 1606},%
   bookmark ={Geb-1606},%
   reference={Geb:1606}]


remove the space between the keys and the '='

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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] \startchapter

2009-09-14 Thread Bernd Militzer

Wolfgang Schuster schrieb:


Am 14.09.2009 um 12:27 schrieb Bernd Militzer:


 \startsection[title={Getaŭfte A. dominj 1606},%
   list ={Geburten 1606},%
   bookmark ={Geb-1606},%
   reference={Geb:1606}]


remove the space between the keys and the '='


thanks, Wolfgang, it works now!

Bernd

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___