ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: massifr@fastwebnet.it
To: ntg-context@ntg.nl
Subject: flushing the last hbox of a paragraph to the right
Date: Mon, 16 Nov 2015 13:35:36 +0100	[thread overview]
Message-ID: <2156277.R2RGvgdSvy@max> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 918 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 5495 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

             reply	other threads:[~2015-11-16 12:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-16 12:35 massifr [this message]
2015-11-16 12:40 ` massifr
2015-11-16 14:34   ` Rik Kabel
2015-11-16 21:50     ` mf

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=2156277.R2RGvgdSvy@max \
    --to=massifr@fastwebnet.it \
    --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).