ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Cedric Tissieres <cedric.tissieres@objectif-securite.ch>
To: ntg-context@ntg.nl
Subject: Variable space with hanging description
Date: Tue, 16 Apr 2019 06:16:24 +0200	[thread overview]
Message-ID: <653cf343-5951-ba79-24e3-3efb3a2b71f2@objectif-securite.ch> (raw)

Dear all,

I recently switched to mkiv and experienced some problems with
descriptions when set with alternative=hanging. The horizontal space
between the description title and the rest of the text varies a lot and
looks ugly. When the same code is compiled with mkii, this space is
almost constant (replace alternative=hanging by location=hanging in mkii).

Thanks
Cedric

----

\definedescription[desc][
  align=hyphenated,alternative=hanging, width=fit,margin=standard]

\starttext
\startdesc{Abcdefgh}
\input knuth
\stopdesc

\startdesc{Abcdefghij}
\input knuth
\stopdesc

\startdesc{Abcdefghijklmn}
\input knuth
\stopdesc

\stoptext
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

             reply	other threads:[~2019-04-16  4:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-16  4:16 Cedric Tissieres [this message]
2019-04-16 21:31 ` Wolfgang Schuster
2019-04-17  3:32   ` Cedric Tissieres

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=653cf343-5951-ba79-24e3-3efb3a2b71f2@objectif-securite.ch \
    --to=cedric.tissieres@objectif-securite.ch \
    --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).