ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Henning Hraban Ramm <hraban@fiee.net>
Subject: Re: Repost: Two problems with my chapter quote setup (Modified by Gerben Wierda)
Date: Sat, 19 Mar 2005 23:22:39 +0100	[thread overview]
Message-ID: <4fffd0d7247c4ca43458de78daa3fd62@fiee.net> (raw)
In-Reply-To: <df94aae4f9f3ca0d1294a2279b355b73@rna.nl>

Am 19.03.2005 um 20:42 schrieb Gerben Wierda:

> \def\ClearChapterQuote{\def\ChapterQuote{}}
> \ClearChapterQuote
> \def\ChQuoteFormat#1{\starttext%
>         \startalignment[left]%
>         \startnarrower[4*left] \noindent{\hyphenpenalty 10000\em #1}%
>         \stopnarrower\stopalignment\stoptext\blank}
> \setuphead[chapter]
>         [page=left,
>         before={\ChQuoteFormat{\ChapterQuote}\noheaderandfooterlines%
>                 \page[right]\blank[2*big]},
>         after={\ClearChapterQuote\blank[3*big]}%
>                 \noheaderandfooterlines]
>
> First, even with the \hyphenpenalty I get this line breaking:

Perhaps try \nohyphens instead of the penalty.

(Source: http://source.contextgarden.net/core-spa.tex?search=nohyphens)


Grüßlis vom Hraban!
---
http://www.fiee.net/texnique/
http://contextgarden.net

  reply	other threads:[~2005-03-19 22:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-19 19:42 Gerben Wierda
2005-03-19 22:22 ` Henning Hraban Ramm [this message]
2005-03-19 23:27   ` Gerben Wierda
2005-03-21  2:13 ` h h extern

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=4fffd0d7247c4ca43458de78daa3fd62@fiee.net \
    --to=hraban@fiee.net \
    --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).