From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: medium constant is missed
Date: Fri, 27 Mar 2009 02:36:09 +0100 [thread overview]
Message-ID: <258DA739-9D87-4CAD-BFCB-ACDED353CCE2@gmail.com> (raw)
In-Reply-To: <49CA6FCC.5030005@gmail.com>
Am 25.03.2009 um 18:54 schrieb Vyatcheslav Yatskovsky:
> I'm using latest beta, mkiv.
>
> \setupinterlinespace[medium] fails, but \setupinterlinespace[1.25]
> works. Bug?
Yes, hans optimized \assignvalue is not expandable but the old version
works.
\let\nopv!none \v!none
\let\posv!big \v!big
\let\posv!middle \v!medium
\let\posv!small \v!small
\edef\negv!big {-\v!big}
\edef\negv!middle{-\v!medium}
\edef\negv!small {-\v!small}
\def\assignvalue#1#2#3#4#5%
{\edef\!!stringa{#1}%
\edef#2{\ifx\!!stringa\posv!big #5\else
\ifx\!!stringa\posv!middle#4\else
\ifx\!!stringa\posv!small #3\else
#1\fi\fi\fi}}
Wolfgang
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
prev parent reply other threads:[~2009-03-27 1:36 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.12.1238000200.26151.ntg-context@ntg.nl>
2009-03-25 17:54 ` Vyatcheslav Yatskovsky
2009-03-25 18:12 ` Wolfgang Schuster
2009-03-25 18:51 ` Wolfgang Schuster
2009-03-27 1:36 ` Wolfgang Schuster [this message]
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=258DA739-9D87-4CAD-BFCB-ACDED353CCE2@gmail.com \
--to=schuster.wolfgang@googlemail.com \
--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).