From: Willi Egger <context@boede.nl>
To: NTG-Context ConTeXt users <ntg-context@ntg.nl>
Subject: Hanging indent
Date: Tue, 10 Mar 2015 22:00:43 +0100 [thread overview]
Message-ID: <15794B88-E851-48D8-A5DC-010E5F68EA7D@boede.nl> (raw)
Hello everybody,
Currently I am typesetting a small dictionary. I want to have hanging indents if the text joined to the expression is longer than one line.
In the past I had this definitions:
\defineblank[Afterhangingparagraph][1pc]
\starttext
\def\Hangindent{\hangafter=1\hangindent=1em}
\definestartstop[HangPar]
[before={\bgroup\appendtoks\Hangindent\to\everypar},
after={\egroup\blank[Afterhangingparagraph]}]
\starttext
\startHangPar
\input knuth
\stopHangPar
\startHangPar
{\bf Aanslaan,} aanspreken. Een poging in 't werk stellen.
Ik zal dat heertje reis aanslaan. Sla dien broger (man) aan, misschien heeft hij poen (geld). Jongens, er moet aangeslagen worden, daar loopt mooi gajes (menschen daar wat van te halen is).
\stopHangPar
\stoptext
The strange thing is, that the first two paragraphs of the Knuth-text is showing a hanging indent, however the last paragraph does not which is unexpected. In the example from the dictionary no hanging indentation is shown.
What do I mis here?
Kind regards
Willi
___________________________________________________________________________________
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
___________________________________________________________________________________
next reply other threads:[~2015-03-10 21:00 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-10 21:00 Willi Egger [this message]
2015-03-10 23:41 ` Wolfgang Schuster
2015-03-11 15:50 ` Willi Egger
2015-03-11 16:04 ` Wolfgang Schuster
2015-03-11 17:23 ` Willi Egger
2015-03-12 0:02 ` Wolfgang Schuster
2015-03-12 19:08 ` Willi Egger
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=15794B88-E851-48D8-A5DC-010E5F68EA7D@boede.nl \
--to=context@boede.nl \
--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).