ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Henning Hraban Ramm <texml@fiee.net>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: horizontal spacing under special circumstances
Date: Tue, 8 Dec 2015 21:22:13 +0600	[thread overview]
Message-ID: <611C0532-8964-47C3-865C-15BB24B51223@fiee.net> (raw)
In-Reply-To: <5666C408.8070100@gmx.es>


Am 2015-12-08 um 17:50 schrieb Pablo Rodriguez <oinos@gmx.es>:

> On 12/08/2015 12:11 PM, Henning Hraban Ramm wrote:
>> [...]
>> Thank you for the suggestion, but I can’t see any change, even if I use
>> extreme values for \spaceskip (like 0.1 or 10.0), neither in footnotes
>> nor in my description (is the setups key even supposed to work in
>> \definedescription?).
> 
> Hi Hraban,
> 
> I don’t know whether this is right, but this works for me:
> 
>    \startsetups[footnote:space]
>      \spaceskip .7\interwordspace
>        plus .5\interwordstretch minus \interwordshrink
>    \stopsetups
> 
>    \definedescription[definition][before=\directsetup{footnote:space}]
>    \definedescription[definitiona]
> 
>    \starttext
>    \definition{Hermann Zapf} \input zapf
> 
>    \definitiona{Hermann Zapf} \input zapf
>    \stoptext

Thank you, this is really nice. Didn’t know \directsetup (i.e. I can’t handle these setups at all).

I also tried to get rid of the bigger space after stops:

\installlanguage[packed][en]
\setuplanguage[packed][spacing=packed]

\startsetups[tightspace]
  \spaceskip 0.7\interwordspace plus .5\interwordstretch minus \interwordshrink
\stopsetups

\definedescription[BibItem][
	before={\directsetup{tightspace}\bgroup\language[packed]},
	after={\egroup},
]


Greetlings, Hraban
---
http://www.fiee.net
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)

___________________________________________________________________________________
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-12-08 15:22 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-07  9:54 Henning Hraban Ramm
2015-12-07 15:39 ` Aditya Mahajan
2015-12-07 18:06   ` Henning Hraban Ramm
2015-12-07 20:15     ` Rik Kabel
2015-12-08  3:01       ` Henning Hraban Ramm
2015-12-08  9:01 ` Wolfgang Schuster
2015-12-08 11:11   ` Henning Hraban Ramm
2015-12-08 11:48     ` Wolfgang Schuster
2015-12-08 15:20       ` Henning Hraban Ramm
2015-12-08 15:34       ` Aditya Mahajan
2015-12-08 11:50     ` Pablo Rodriguez
2015-12-08 15:22       ` Henning Hraban Ramm [this message]
2015-12-08 22:16         ` Wolfgang Schuster
2015-12-13 16:41           ` Henning Hraban Ramm

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=611C0532-8964-47C3-865C-15BB24B51223@fiee.net \
    --to=texml@fiee.net \
    --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).