From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/92895 Path: news.gmane.org!not-for-mail From: massifr@fastwebnet.it Newsgroups: gmane.comp.tex.context Subject: flushing the last hbox of a paragraph to the right Date: Mon, 16 Nov 2015 13:35:36 +0100 Message-ID: <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="===============1802031834==" X-Trace: ger.gmane.org 1447677399 8773 80.91.229.3 (16 Nov 2015 12:36:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 16 Nov 2015 12:36:39 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Mon Nov 16 13:36:24 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 1ZyJ1D-00046d-1F for gctc-ntg-context-518@m.gmane.org; Mon, 16 Nov 2015 13:36:23 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1E9FB10228 for ; Mon, 16 Nov 2015 13:36:22 +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 ms2saxcfZj0Q for ; Mon, 16 Nov 2015 13:36:20 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 198B81023A for ; Mon, 16 Nov 2015 13:35:50 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C856B101FA for ; Mon, 16 Nov 2015 13:35:45 +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 8xO-LA7vmKFr for ; Mon, 16 Nov 2015 13:35:44 +0100 (CET) Original-Received: from filter1-til.mf.surf.net (filter1-til.mf.surf.net [194.171.167.217]) by balder.ntg.nl (Postfix) with ESMTP id 6A9AE101F6 for ; Mon, 16 Nov 2015 13:35:44 +0100 (CET) Original-Received: from mr004msr.fastwebnet.it (mr004msr.fastwebnet.it [85.18.95.67]) by filter1-til.mf.surf.net (8.14.4/8.14.4/Debian-4) with ESMTP id tAGCZcYq009072 for ; Mon, 16 Nov 2015 13:35:43 +0100 Original-Received: from max.localnet (2.225.185.111) by mr004msr.fastwebnet.it (8.5.140.03) (authenticated as massifr) id 55E0867E04ECF92A for ntg-context@ntg.nl; Mon, 16 Nov 2015 13:35:37 +0100 User-Agent: KMail/4.14.10 (Linux/4.2.0-1-686-pae; KDE/4.14.13; i686; ; ) X-Bayes-Prob: 0.9986 (Score 4.7, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=85.18.95.67; 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: 0RPGczCwL - 3683f393ade2 - 20151116 Received-SPF: none (filter1-til.mf.surf.net: domain of massifr@fastwebnet.it does not designate permitted sender hosts) receiver=filter1-til.mf.surf.net; client-ip=85.18.95.67; envelope-from=; helo=mr004msr.fastwebnet.it; identity=mailfrom X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.217 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:92895 Archived-At: This is a multi-part message in MIME format. --===============1802031834== Content-Type: multipart/alternative; boundary="nextPart5036604.xzfQGSxbIl" Content-Transfer-Encoding: 7Bit This is a multi-part message in MIME format. --nextPart5036604.xzfQGSxbIl Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" 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 --nextPart5036604.xzfQGSxbIl Content-Transfer-Encoding: 7Bit Content-Type: text/html; charset="us-ascii"

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

--nextPart5036604.xzfQGSxbIl-- --===============1802031834== 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= --===============1802031834==--