Re: [NTG-context] fancybreak or alternative

2012-04-27 Thread Henning Hraban Ramm

Am 2012-04-27 um 20:15 schrieb Wolfgang Schuster:


\usemodule[fancybreak] % https://bitbucket.org/wolfs/fancybreak/
\setupfancybreak[indentnext=no]
\def\Space{\fancybreak{\strut}} % i.e. just an empty line


Why so complicated, use \fancybreak without any argument and you get  
a blank line (unless you have set a symbol).


But I also get the same error.

I don’t really need the fancybreak module, just an interspace  
without indent after it. \noindent doesn’t work. How to?


A few internal command names have changed over the time and you need  
either a older version of the module


I thought I tried an older version, but perhaps not hard enough...


or you use this simple definition for the \Space command.

\def\Space{\blank\noindentation}



Thank you! Seems I was looking for \noindentation instead of \noindent
I can use that in other places, too.




Greetlings, Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)

___
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] fancybreak or alternative

2012-04-27 Thread Wolfgang Schuster

Am 27.04.2012 um 19:51 schrieb Henning Hraban Ramm:

> Hi Wolfgang and others,
> 
> I had in my book:
> \usemodule[fancybreak] % https://bitbucket.org/wolfs/fancybreak/
> \setupfancybreak[indentnext=no]
> \def\Space{\fancybreak{\strut}} % i.e. just an empty line

Why so complicated, use \fancybreak without any argument and you get a blank 
line (unless you have set a symbol).

\usemodule[fancybreak]
\starttext
line 1
\fancybreak
line 2
\fancybreak[2*line]
line 3
\stoptext

> But at least with my current version of ConTeXt (i.e. from 2010-11-29) I get:
> ---
> ! Undefined control sequence.
> 
> system  > tex > error on line 9 in file prd_feenbuch.tex: Undefined 
> control sequence ...
> 
> \dododowithnextbox ...\usefancybreakstyleandcolor
>  \c!style \c!color \aftergr...
> \Space ->\fancybreak {
>\strut }
> l.9 \Space
> ---
> 
> I don’t really need the fancybreak module, just an interspace without indent 
> after it. \noindent doesn’t work. How to?

A few internal command names have changed over the time and you need either a 
older version of the module or you use this simple definition for the \Space 
command.

\def\Space{\blank\noindentation}

\setupindenting[yes,medium]

\starttext

\input ward

\blank

\input ward

\Space

\input ward

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


[NTG-context] fancybreak or alternative

2012-04-27 Thread Henning Hraban Ramm

Hi Wolfgang and others,

I had in my book:
\usemodule[fancybreak] % https://bitbucket.org/wolfs/fancybreak/
\setupfancybreak[indentnext=no]
\def\Space{\fancybreak{\strut}} % i.e. just an empty line


But at least with my current version of ConTeXt (i.e. from 2010-11-29)  
I get:

---
! Undefined control sequence.

system  > tex > error on line 9 in file prd_feenbuch.tex:  
Undefined control sequence ...


\dododowithnextbox ...\usefancybreakstyleandcolor
  \c!style \c!color  
\aftergr...

\Space ->\fancybreak {
\strut }
l.9 \Space
---

I don’t really need the fancybreak module, just an interspace without  
indent after it. \noindent doesn’t work. How to?



Greetlings, Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)

___
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
___