Re: [NTG-context] paragraphs indented from line 2 on

2006-04-23 Thread Karsten Heymann
Hans Hagen wrote:

> Karsten Heymann wrote:

>> Great, works like a charm! By the way: What's the benefit of
>> \definestartstop over \def\start..., \def\stop...?

> looks nicer and is configurable (style,color etc) 

So it doesn't insert a extra level ouf grouping or the like -- fine to know.

Yours,
Karsten



signature.asc
Description: OpenPGP digital signature
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] paragraphs indented from line 2 on

2006-04-23 Thread Karsten Heymann
Hans Hagen wrote:
> \setuphead[section][indentnext=first]

Oh, I should have known that by now ...

Thanks Hans, I'll add it to the wiki.

Yours,
karsten
-- 
|  ~ Karsten Heymann ~  | Christian-Albrecht-Universität zu Kiel |
| Fon: +49 431 880-1186 |Netzwerkteam des Ökologiezentrum|
| Fax: +49 431 880-4083 | http://www.ecology.uni-kiel.de |
| - Selbständiger EDV-Dienstleister im Auftrag des ÖZK - |




signature.asc
Description: OpenPGP digital signature
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] paragraphs indented from line 2 on

2006-04-23 Thread Hans Hagen
Karsten Heymann wrote:
> Hans Hagen wrote:
>   
>> \definestartstop
>>   [exdent]
>>   [before={\startnarrower[left]\setupindenting[-\leftskip,yes]},
>>after=\stopnarrower]
>> 
>
>   
\setuphead[section][indentnext=first]

> Can you make the following work too? Adding \indenting[yes] to before=
> doesn't help.
>
> \startexdent
> \section{Test}
> \input tufte \endgraf
> \input tufte \endgraf
> \stopexdent
>
> \stoptext
>
> Yours,
> Karsten
>   
> 
>
> ___
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
>   


-- 

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] paragraphs indented from line 2 on

2006-04-23 Thread Hans Hagen
Karsten Heymann wrote:
>> \definestartstop
>>   [exdent]
>>   [before={\startnarrower[left]\setupindenting[-\leftskip,yes]},
>>after=\stopnarrower]
>> 
>
> Great, works like a charm! By the way: What's the benefit of
> \definestartstop over \def\start..., \def\stop...?
>   
looks nicer and is configurable (style,color etc) 


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] paragraphs indented from line 2 on

2006-04-23 Thread Karsten Heymann
Hans Hagen wrote:
> \definestartstop
>   [exdent]
>   [before={\startnarrower[left]\setupindenting[-\leftskip,yes]},
>after=\stopnarrower]

Can you make the following work too? Adding \indenting[yes] to before=
doesn't help.

\startexdent
\section{Test}
\input tufte \endgraf
\input tufte \endgraf
\stopexdent

\stoptext

Yours,
Karsten
-- 
|  ~ Karsten Heymann ~  | Christian-Albrecht-Universität zu Kiel |
| Fon: +49 431 880-1186 |Netzwerkteam des Ökologiezentrum|
| Fax: +49 431 880-4083 | http://www.ecology.uni-kiel.de |
| - Selbständiger EDV-Dienstleister im Auftrag des ÖZK - |




signature.asc
Description: OpenPGP digital signature
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] paragraphs indented from line 2 on

2006-04-23 Thread Karsten Heymann
Hans Hagen wrote:

> Karsten Heymann wrote:

>> what's the context'ish way of creating a start-stop environment in
>> which each paragraph is indented from the 2nd line on?

> \definestartstop
>   [exdent]
>   [before={\startnarrower[left]\setupindenting[-\leftskip,yes]},
>after=\stopnarrower]

Great, works like a charm! By the way: What's the benefit of
\definestartstop over \def\start..., \def\stop...?

> wikifyable 

instantly.

Yours,
Karsten
-- 
|  ~ Karsten Heymann ~  | Christian-Albrecht-Universität zu Kiel |
| Fon: +49 431 880-1186 |Netzwerkteam des Ökologiezentrum|
| Fax: +49 431 880-4083 | http://www.ecology.uni-kiel.de |
| - Selbständiger EDV-Dienstleister im Auftrag des ÖZK - |



signature.asc
Description: OpenPGP digital signature
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] paragraphs indented from line 2 on

2006-04-23 Thread Hans Hagen
Karsten Heymann wrote:
> Hello,
>
> what's the context'ish way of creating a start-stop environment in which
> each paragraph is indented from the 2nd line on? As in
>
> %
> \startIndented
> As with all computer languages, ConTeXt is much easier to use when one
> has good documentation.
>
> The official ConTeXt manual is a good place to start; this section
> provides a complement to it, with alternate explanations and examples
> for a number of key subjects, updates describing more recent additions
> to ConTeXt, and detailed solutions to some tricky problems.
> \stopIndented
> %
>
> becomes
>
> %
> As with all computer languages, ConTeXt is much easier to use when one
>has good documentation.
> The official ConTeXt manual is a good place to start; this section
>provides a complement to it, with alternate explanations and examples
>for a number of key subjects, updates describing more recent
>additions to ConTeXt, and detailed solutions to some tricky problems.
> %
>
> Yours,
> Karsten
>   
\starttext

\definestartstop
  [exdent]
  [before={\startnarrower[left]\setupindenting[-\leftskip,yes]},
   after=\stopnarrower]

\startexdent
\input tufte \endgraf
\input tufte \endgraf
\stopexdent

\stoptext

wikifyable 

Hans 

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] paragraphs indented from line 2 on

2006-04-23 Thread Karsten Heymann
Hello,

what's the context'ish way of creating a start-stop environment in which
each paragraph is indented from the 2nd line on? As in

%
\startIndented
As with all computer languages, ConTeXt is much easier to use when one
has good documentation.

The official ConTeXt manual is a good place to start; this section
provides a complement to it, with alternate explanations and examples
for a number of key subjects, updates describing more recent additions
to ConTeXt, and detailed solutions to some tricky problems.
\stopIndented
%

becomes

%
As with all computer languages, ConTeXt is much easier to use when one
   has good documentation.
The official ConTeXt manual is a good place to start; this section
   provides a complement to it, with alternate explanations and examples
   for a number of key subjects, updates describing more recent
   additions to ConTeXt, and detailed solutions to some tricky problems.
%

Yours,
Karsten
-- 
|  ~ Karsten Heymann ~  | Christian-Albrecht-Universität zu Kiel |
| Fon: +49 431 880-1186 |Netzwerkteam des Ökologiezentrum|
| Fax: +49 431 880-4083 | http://www.ecology.uni-kiel.de |
| - Selbständiger EDV-Dienstleister im Auftrag des ÖZK - |





signature.asc
Description: OpenPGP digital signature
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context