ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: fancybreak or alternative
Date: Fri, 27 Apr 2012 20:15:59 +0200	[thread overview]
Message-ID: <BE3733F6-D8F3-4483-90B6-1DE8357DBF6B@googlemail.com> (raw)
In-Reply-To: <E90C7EDE-F978-4263-A6E6-47CDCABA1F2B@fiee.net>


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
___________________________________________________________________________________


  reply	other threads:[~2012-04-27 18:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-27 17:51 Henning Hraban Ramm
2012-04-27 18:15 ` Wolfgang Schuster [this message]
2012-04-27 20:11   ` Henning Hraban Ramm

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BE3733F6-D8F3-4483-90B6-1DE8357DBF6B@googlemail.com \
    --to=schuster.wolfgang@googlemail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).