From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/92896 Path: news.gmane.org!not-for-mail From: massifr@fastwebnet.it Newsgroups: gmane.comp.tex.context Subject: Re: flushing the last hbox of a paragraph to the right Date: Mon, 16 Nov 2015 13:40:01 +0100 Message-ID: <6698665.91U2y5KUxJ@max> References: <2156277.R2RGvgdSvy@max> Reply-To: massifr@fastwebnet.it, mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0889565347==" X-Trace: ger.gmane.org 1447677774 14738 80.91.229.3 (16 Nov 2015 12:42:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 16 Nov 2015 12:42:54 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Mon Nov 16 13:42:41 2015 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZyJ7H-0004sO-Vq for gctc-ntg-context-518@m.gmane.org; Mon, 16 Nov 2015 13:42:40 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D6C081022B for ; Mon, 16 Nov 2015 13:42:38 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id nCPnHl6QYBsf for ; Mon, 16 Nov 2015 13:42:37 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id DC5A910244 for ; Mon, 16 Nov 2015 13:41:58 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9C564101FA for ; Mon, 16 Nov 2015 13:41:55 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id gp8nrrWyA9Cz for ; Mon, 16 Nov 2015 13:41:54 +0100 (CET) Original-Received: from filter3-til.mf.surf.net (filter3-til.mf.surf.net [194.171.167.219]) by balder.ntg.nl (Postfix) with ESMTP id 53FD110201 for ; Mon, 16 Nov 2015 13:40:04 +0100 (CET) Original-Received: from mr005msr.fastwebnet.it (mr005msr.fastwebnet.it [85.18.95.68]) by filter3-til.mf.surf.net (8.14.4/8.14.4/Debian-4) with ESMTP id tAGCe2oD003190 for ; Mon, 16 Nov 2015 13:40:03 +0100 Original-Received: from max.localnet (2.225.185.111) by mr005msr.fastwebnet.it (8.5.140.03) (authenticated as massifr) id 5523019B0D0F6F09 for ntg-context@ntg.nl; Mon, 16 Nov 2015 13:40:02 +0100 User-Agent: KMail/4.14.10 (Linux/4.2.0-1-686-pae; KDE/4.14.13; i686; ; ) In-Reply-To: <2156277.R2RGvgdSvy@max> X-Bayes-Prob: 0.9997 (Score 4.7, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=85.18.95.68; country=IT; latitude=42.8333; longitude=12.8333; http://maps.google.com/maps?q=42.8333,12.8333&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 06PGcE2k7 - b9bb9d1b3dc0 - 20151116 Received-SPF: none (filter3-til.mf.surf.net: domain of massifr@fastwebnet.it does not designate permitted sender hosts) receiver=filter3-til.mf.surf.net; client-ip=85.18.95.68; envelope-from=; helo=mr005msr.fastwebnet.it; identity=mailfrom X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.219 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:92896 Archived-At: This is a multi-part message in MIME format. --===============0889565347== Content-Type: multipart/alternative; boundary="nextPart8908797.5amouxnGKd" Content-Transfer-Encoding: 7Bit This is a multi-part message in MIME format. --nextPart8908797.5amouxnGKd Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sorry, there was a typo in my previous email. The last example should look like this: 5 Text of the fifth endnote blah blah blah a little longer to fill the text width. p. 4, 12 > Hello list, > I'm typesetting end notes with the pages where they get called > (don't think about \endnote since I'm not using it; they are simple > \item paragraphs). > Here's an example: > > 4 Text of the end note blah blah blah blah > blah, end of para. p. 3, 45, 96 > > which means that the end note 4 occurs in pages 3, 45, 96. > > The pages are flushed to the right using \hfill. > > This works as long as there's enough room for the pages' > numbers. In case like this: > > 5 Text of the fifth endnote blah blah blah > a little longer to fill the text width. p. 4, 12 > the pages are note flushed right because the \hfill expires > at the end of the second line. What I'd like is this: > > 5 Text of the fifth endnote blah blah blah > a little longer to fill the text width. > p. 4, 12 > Since I'm typesetting XML, is there an automatic way to achieve that > right alignment in both cases? > Thanks, > Massi --nextPart8908797.5amouxnGKd Content-Transfer-Encoding: 7Bit Content-Type: text/html; charset="us-ascii"

Sorry, there was a typo in my previous email.

The last example should look like this:

 

5 Text of the fifth endnote blah blah blah

a little longer to fill the text width.

p. 4, 12

 

 

> Hello list,

> I'm typesetting end notes with the pages where they get called

> (don't think about \endnote since I'm not using it; they are simple

> \item paragraphs).

> Here's an example:

>

> 4 Text of the end note blah blah blah blah

> blah, end of para. p. 3, 45, 96

>

> which means that the end note 4 occurs in pages 3, 45, 96.

>

> The pages are flushed to the right using \hfill.

>

> This works as long as there's enough room for the pages'

> numbers. In case like this:

>

> 5 Text of the fifth endnote blah blah blah

> a little longer to fill the text width. p. 4, 12

> the pages are note flushed right because the \hfill expires

> at the end of the second line. What I'd like is this:

>

> 5 Text of the fifth endnote blah blah blah

> a little longer to fill the text width.

> p. 4, 12

> Since I'm typesetting XML, is there an automatic way to achieve that

> right alignment in both cases?

> Thanks,

> Massi

 

--nextPart8908797.5amouxnGKd-- --===============0889565347== 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= --===============0889565347==--