From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/95137 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: environment flushright Date: Fri, 10 Jun 2016 13:22:33 +0200 Message-ID: <575AA2F9.8010402@gmail.com> References: <36CA0AD0-B5A1-4430-91D1-886CED0924F3@uni-bonn.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8622216854877410749==" X-Trace: ger.gmane.org 1465557800 19573 80.91.229.3 (10 Jun 2016 11:23:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 10 Jun 2016 11:23:20 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Jun 10 13:23:09 2016 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bBKWq-0008Np-TN for gctc-ntg-context-518@m.gmane.org; Fri, 10 Jun 2016 13:23:08 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id E87CDF13F; Fri, 10 Jun 2016 13:22:44 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id j5EUycCgbYEZ; Fri, 10 Jun 2016 13:22:44 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 382B9F142; Fri, 10 Jun 2016 13:22:44 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id CD753F140 for ; Fri, 10 Jun 2016 13:22:43 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Lsgu3QcQ8Y19 for ; Fri, 10 Jun 2016 13:22:43 +0200 (CEST) Original-Received: from mail-wm0-f44.google.com (mail-wm0-f44.google.com [74.125.82.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 46165F13F for ; Fri, 10 Jun 2016 13:22:33 +0200 (CEST) Original-Received: by mail-wm0-f44.google.com with SMTP id v199so144485164wmv.0 for ; Fri, 10 Jun 2016 04:22:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to; bh=dfMknzHVJjkE1YWWM4oLF9YjJ2GqnFq931sOA9sC0q0=; b=rX08cPh13dfe2Vpq5u0hQhxQt+QlPMbdYBupon/FwUdj4dzf/tTOffdVfQo/5VtTc9 2hXzmIAjpF/lwsvtVaqWJTS7q7+x6WT1/HwmH3o9NqEmXtVi+b4s7x/8MRjgseS0yySG WIg6zjUUcfclK0k6f9SGwHnSuF4nLZZy658Wd9ZTc5RCsSuh7pClUGLPeoYc6dXOyjfa a7bGbV2f8Q6qtjNOxDlP+2MFKMlz6bipJSFox49yi/Krb0DNojdEKUQvR+BRci4X3/oO a/NcbC4HcX0tt0MSs0KvGErnhd1qOdM2+WA9lxWlzAaywUJCC3O+n1TbN9K2z7LMGSJu piGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to; bh=dfMknzHVJjkE1YWWM4oLF9YjJ2GqnFq931sOA9sC0q0=; b=XJMRBmCXJ50aNUyNdAIplrKsBI+0thpCVpVBS1mZt+ZiiUNSzHIftaeNYyoRGup1nL 9BOUv/ZxjGJGqoEIYr3ZrWjnSOvFY31Ho06j06480i9+74v8J0zHWZSKeQu9rQVoStJ0 XPYBQ1bKqL+ahm7lP0EQ3mLBb7vCg8RWLij3iPR224o+isoLSeeSIUa0q7Zu3VpxLT+h UmHFachk2S7ZvKiNdvI9uvUxv0CuG/x0MX35m3rDsIwXuzO/Wx7aYHJdlKYEMusUYUoO 0CGIU+7NAci8fSe1N3a1gqzcDcKIT9Kh1gJej0c51qy3g3q571JlVr9k4P9WwoSQg4Gt Xp0w== X-Gm-Message-State: ALyK8tI+TE1g62ayXfNiQDDOE0N3xoA6gNjQjDs8HijY9q6RyEN7hojCPTXdgL9/9LOK3A== X-Received: by 10.194.113.136 with SMTP id iy8mr673700wjb.174.1465557752758; Fri, 10 Jun 2016 04:22:32 -0700 (PDT) Original-Received: from keima.localdomain (x2f262c0.dyn.telefonica.de. [2.242.98.192]) by smtp.gmail.com with ESMTPSA id s1sm11785501wjf.43.2016.06.10.04.22.31 for (version=TLSv1/SSLv3 cipher=OTHER); Fri, 10 Jun 2016 04:22:31 -0700 (PDT) User-Agent: Postbox 4.0.8 (Macintosh/20151105) In-Reply-To: <36CA0AD0-B5A1-4430-91D1-886CED0924F3@uni-bonn.de> X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:95137 Archived-At: This is a multi-part message in MIME format. --===============8622216854877410749== Content-Type: multipart/alternative; boundary="------------040803010103010907090604" This is a multi-part message in MIME format. --------------040803010103010907090604 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable > Thomas A. Schmitz > 8. Juni 2016 um 12:11 > Hi all, > > for a translation of poetry, I would like to have an environment which=20 > will typeset a split line in a way that the second part will be=20 > flushright - is this possible? So instead of > > bla bla bla bla > bla > > I get > > bla bla bla bla > bla > > if (and only if) there=E2=80=99s a line break. > > Thanks, and all best Is indenting a solution for you? \definenarrower [thomas] [left=3D4cm, default=3Dleft, before=3D{\setupindenting[yes,-4cm]}] \starttext \startnarrow[thomas] \input knuth \stopnarrow \stoptext Wolfgang --------------040803010103010907090604 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
8.= =20 Juni 2016 um 12:11
Hi all,

for a=20 translation of poetry, I would like to have an environment which will=20 typeset a split line in a way that the second part will be flushright -=20 is this possible? So instead of

bla bla bla bla
bla

I=20 get

bla bla bla bla
bla

if (and only if)=20 there=E2=80=99s a line break.

Thanks, and all best
Is indenting a solution for you?

\definenarrower
=C2=A0 [thomas]
=C2=A0 [left=3D4cm,
=C2=A0=C2=A0 default=3Dleft,
=C2=A0=C2=A0 before=3D{\setupindenting[yes,-4cm]}]

\starttext

\startnarrow[thomas]
\input knuth
\stopnarrow

\stoptext

Wolfgang
--------------040803010103010907090604-- --===============8622216854877410749== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============8622216854877410749==--