From: Willi Egger <context@boede.nl>
To: NTG-Context ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Hanging indent
Date: Wed, 11 Mar 2015 18:23:04 +0100 [thread overview]
Message-ID: <FE94A952-C147-4A79-9D67-131EA6D6E596@boede.nl> (raw)
In-Reply-To: <535607DC-A76C-40D7-B7B3-14A2867BE8EC@gmail.com>
Hello Wolfgang,
thank you so much for looking into this matter again. Indeed now the hanging indent works, provided that the paragraph das not start with {\bf Aanslaan,}. It seems that there is interference with the bold-switch. So I am puzzled again.
\define\startHangPar
{\begingroup\EveryPar{\hangafter\plusone\hangindent\emwidth\relax}}
\define\stopHangPar
{\par\endgroup\blank[Afterhangingparagraph]}
\starttext
\startHangPar
\input knuth
\stopHangPar
\startHangPar
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
\startHangPar
Afleggen, beloeren, ongemerkt nagaan, verkennen. De russen (rechercheurs) hebben hem afgelegen (beloerd). Dat spiese (huis) moet eerst afgelegen worden. Een smeris legt je af. (Een agent bespiedt je).
\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
\startHangPar
{\bf Afleggen,} beloeren, ongemerkt nagaan, verkennen. De russen (rechercheurs) hebben hem afgelegen (beloerd). Dat spiese (huis) moet eerst afgelegen worden. Een smeris legt je af. (Een agent bespiedt je).
\stopHangPar
\stoptext
Best wishes
Willi
> On 11 mrt. 2015, at 17:04, Wolfgang Schuster <schuster.wolfgang@gmail.com> wrote:
>
>
>> Am 11.03.2015 um 16:50 schrieb Willi Egger <context@boede.nl>:
>>
>> Dear Wolfgang,
>>
>> adding to my environment or using your code instead seems not to have the desired result. I still have the situation as before… Using Context 2015-03-11
>
> The following definition for the environment works:
>
> \define\startHangPar
> {\begingroup\EveryPar{\hangafter\plusone\hangindent\emwidth\relax}}
>
> \define\stopHangPar
> {\par\endgroup\blank[Afterhangingparagraph]}
>
> 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
> ___________________________________________________________________________________
___________________________________________________________________________________
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 prev parent reply other threads:[~2015-03-11 17:23 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-10 21:00 Willi Egger
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 [this message]
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=FE94A952-C147-4A79-9D67-131EA6D6E596@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).