From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/93042 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: horizontal spacing under special circumstances Date: Tue, 08 Dec 2015 10:01:58 +0100 Message-ID: <56669C86.8080503@gmail.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1566947156206419557==" X-Trace: ger.gmane.org 1449565377 8738 80.91.229.3 (8 Dec 2015 09:02:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 8 Dec 2015 09:02:57 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Dec 08 10:02:46 2015 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1a6EAW-0000nL-7u for gctc-ntg-context-518@m.gmane.org; Tue, 08 Dec 2015 10:02:44 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id E267A521E; Tue, 8 Dec 2015 10:02:12 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0t8M-C9jqp8c; Tue, 8 Dec 2015 10:02:10 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 14E4C5220; Tue, 8 Dec 2015 10:02:10 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 48E02521E for ; Tue, 8 Dec 2015 10:02:09 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4GZf2z7t4anW for ; Tue, 8 Dec 2015 10:02:08 +0100 (CET) Original-Received: from mail-wm0-f50.google.com (mail-wm0-f50.google.com [74.125.82.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 7FDD7521C for ; Tue, 8 Dec 2015 10:01:58 +0100 (CET) Original-Received: by wmec201 with SMTP id c201so20806601wme.1 for ; Tue, 08 Dec 2015 01:01:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type; bh=Ww+J07d1Y2OASKfgsh6/Nv1Mc6pycC/GYz6r+2/uQm0=; b=lk3xzSy3uXMlrHpEtmvoM1MPeD31kDxo50+6hSdvhUhD2Ou7NIvXfRmhm0YNauq9Ut 9llYBktCKzc9hrn2KSjiRpkjEN5NGksAqFS3IO9Ok4Ktcw1se+iSTW0N0ndcrNUlNVy7 LDi1/poHJjAc/7F2Np+PlHjvUlrBx4vzhLW81wD9/gPwUvFxDK7SIpxZyiTy9f6oT3lx IovVwgnac9R9ltb9m4ivS1tLGreoGbmWDxs1ffBgeFtTY5tiBe8YTWm6+7et0oUVfmJ1 cq8idDGgiOV0jK2L5+Pl4j+DjL3H4EEw2D8bS6limm8OtqifGxqC3K7iISUJXS+ZdBqc VMXw== X-Received: by 10.28.8.15 with SMTP id 15mr27273145wmi.50.1449565318268; Tue, 08 Dec 2015 01:01:58 -0800 (PST) Original-Received: from keima.localdomain (x2f2ba83.dyn.telefonica.de. [2.242.186.131]) by smtp.googlemail.com with ESMTPSA id kj3sm1993001wjb.19.2015.12.08.01.01.56 for (version=TLSv1/SSLv3 cipher=OTHER); Tue, 08 Dec 2015 01:01:57 -0800 (PST) User-Agent: Postbox 4.0.8 (Macintosh/20151105) In-Reply-To: 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:93042 Archived-At: This is a multi-part message in MIME format. --===============1566947156206419557== Content-Type: multipart/alternative; boundary="------------030109000802020704050905" This is a multi-part message in MIME format. --------------030109000802020704050905 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable > Henning Hraban Ramm > 7. Dezember 2015 um 10:54 > Hi again, > > since my bibliographic setup works well, thanks again, I=E2=80=99d like= to=20 > tighten it a bit, i.e. reduce spacing under defined circumstances. > > In the docs and sources I found only how to affect spacing of=20 > languages, and only "packed" or "broad". > > In lang-spa.mkiv I found \definehspace, and in spac-hor.mkiv I found=20 > \spac_spacecodes_set_fixed{}, but I don=E2=80=99t understand if they ca= n do=20 > what I want, and how. > > This doesn=E2=80=99t help: > > \unprotect > \definedescription[BibItem][ > headcommand=3D\gobbleoneargument, > align=3Dright, > before=3D{\bgroup\spac_spacecodes_set_fixed{50}}, % does this take a=20 > value or a unicode point? > after=3D{\egroup}, %\spac_spacecodes_set_stretch}, > ] > \protect > > I=E2=80=99d also like to have footnotes in tighter spacing. You have to change the value of the \spaceskip register when you want to=20 change with width of a space. \startsetups[footnote:space] \spaceskip .7\interwordspace plus .5\interwordstretch minus=20 \interwordshrink \stopsetups \setupnote[footnote][setups=3Dfootnote:space] \starttext \input zapf \startfootnote \input zapf \stopfootnote \stoptext Wolfgang --------------030109000802020704050905 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
7.= =20 Dezember 2015 um 10:54
Hi again,

since = my=20 bibliographic setup works well, thanks again, I=E2=80=99d like to tighten= it a=20 bit, i.e. reduce spacing under defined circumstances.

In the docs and sources I found only how to affect spacing of languages, and only=20 "packed" or "broad".

In lang-spa.mkiv I found \definehspace, and=20 in spac-hor.mkiv I found \spac_spacecodes_set_fixed{}, but I don=E2=80=99= t=20 understand if they can do what I want, and how.

This doesn=E2=80=99= t=20 help:

\unprotect
\definedescription[BibItem][
=09 headcommand=3D\gobbleoneargument,
align=3Dright,
=09 before=3D{\bgroup\spac_spacecodes_set_fixed{50}}, % does this take a valu= e or a unicode point?
after=3D{\egroup},=20 %\spac_spacecodes_set_stretch},
]
\protect

I=E2=80=99d also = like to have footnotes in tighter spacing.

You have to change the value of the \spaceskip register when you want to change with width of a space.

\startsetups[footnote:space]
=C2=A0 \spaceskip .7\interwordspace plus .5\interwordstretch minus=20 \interwordshrink
\stopsetups

\setupnote[footnote][setups=3Dfootnote:space]

\starttext

\input zapf
\startfootnote
\input zapf
\stopfootnote

\stoptext

Wolfgang
--------------030109000802020704050905-- --===============1566947156206419557== 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= --===============1566947156206419557==--