ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* fancybreak or alternative
@ 2012-04-27 17:51 Henning Hraban Ramm
  2012-04-27 18:15 ` Wolfgang Schuster
  0 siblings, 1 reply; 3+ messages in thread
From: Henning Hraban Ramm @ 2012-04-27 17:51 UTC (permalink / raw)
  To: mailing ConTeXt users list for

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
___________________________________________________________________________________


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

* Re: fancybreak or alternative
  2012-04-27 17:51 fancybreak or alternative Henning Hraban Ramm
@ 2012-04-27 18:15 ` Wolfgang Schuster
  2012-04-27 20:11   ` Henning Hraban Ramm
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2012-04-27 18:15 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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
___________________________________________________________________________________


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

* Re: fancybreak or alternative
  2012-04-27 18:15 ` Wolfgang Schuster
@ 2012-04-27 20:11   ` Henning Hraban Ramm
  0 siblings, 0 replies; 3+ messages in thread
From: Henning Hraban Ramm @ 2012-04-27 20:11 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


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

end of thread, other threads:[~2012-04-27 20:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-27 17:51 fancybreak or alternative Henning Hraban Ramm
2012-04-27 18:15 ` Wolfgang Schuster
2012-04-27 20:11   ` Henning Hraban Ramm

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