From: Hans Hagen <pragma@wxs.nl>
To: ntg-context@ntg.nl
Subject: Re: tnum and aligncharacter=yes
Date: Mon, 21 Oct 2013 21:13:53 +0900 [thread overview]
Message-ID: <52651A81.1060007@wxs.nl> (raw)
In-Reply-To: <2263582C-3B2A-4BAD-A306-D3DF765C570D@gmail.com>
On 10/21/2013 8:04 AM, Wolfgang Schuster wrote:
>
> Am 21.10.2013 um 00:55 schrieb Hans Hagen <pragma@wxs.nl>:
>
>> On 10/21/2013 7:44 AM, Peter Münster wrote:
>>> Hi,
>>>
>>> aligncharacter=yes does not work with \addfeature[with-tnum]:
>>>
>>> --8<---------------cut here---------------start------------->8---
>>> \definefontfeature[with-tnum][default][tnum=yes]
>>> \definefontfamily[mainface][sans][Alwyn New]
>>> \setupbodyfont[mainface]
>>> \setupTABLE[alignmentcharacter=., aligncharacter=yes]
>>> \starttext
>>> \startbuffer
>>> \bTABLE \bTR \bTD 111.111 \eTD \eTR \bTR \bTD 444.444 \eTD \eTR \eTABLE
>>> \stopbuffer
>>> \getbuffer\addfeature[with-tnum]\getbuffer
>>> \stoptext
>>> --8<---------------cut here---------------end--------------->8---
>>>
>>> Please find attached the pdf file.
>>>
>>> How could I solve this problem please?
% \setupbodyfont[pagella]
\definefontfeature[oldstylenumbers][onum=yes]
\definefontfeature[inlinenumbers] [lnum=yes,tnum=no]
\definefontfeature[tabularnumbers] [tnum=yes,lnum=no]
\definefontfamily[mainface][sans][Constantia]
\setupbodyfont[mainface]
\starttext
\setupTABLE
[alignmentcharacter=.,
aligncharacter=yes]
\startbuffer
\bTABLE
\bTR \bTD 11.111 \eTD \eTR
\bTR \bTD 2.2 \eTD \eTR
\bTR \bTD 444.444 \eTD \eTR
\eTABLE
\par
1234567890\par
0000000000\par
1111111111\par
4444444444
\blank
\stopbuffer
\start
inlinenumbers:\crlf
\addfeature[inlinenumbers]
\getbuffer
\stop
\start
tabularnumbers:\crlf
\addfeature[tabularnumbers]
\getbuffer
\stop
\start
oldstylenumbers:\crlf
\addfeature[oldstylenumbers]
\getbuffer
\stop
\start
oldstylenumbers + inlinenumbers:\crlf
\addfeature[oldstylenumbers]
\addfeature[inlinenumbers]
\getbuffer
\stop
\start
oldstylenumbers + tabularnumbers:\crlf
\addfeature[oldstylenumbers]
\addfeature[tabularnumbers]
\getbuffer
\stop
\stoptext
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2013-10-21 12:13 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-20 22:44 Peter Münster
2013-10-20 22:55 ` Hans Hagen
2013-10-20 23:04 ` Wolfgang Schuster
2013-10-21 12:13 ` Hans Hagen [this message]
2013-10-21 13:03 ` Peter Münster
2013-10-21 23:47 ` Hans Hagen
2013-10-22 4:57 ` Peter Münster
2013-11-04 22:14 ` Peter Münster
2013-11-05 12:17 ` Hans Hagen
2013-11-05 20:56 ` Peter Münster
2013-11-06 11:17 ` Hans Hagen
2013-11-06 23:07 ` Peter Münster
2013-11-08 11:49 ` Hans Hagen
2013-11-08 12:09 ` Peter Münster
2013-10-21 23:55 ` Hans Hagen
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=52651A81.1060007@wxs.nl \
--to=pragma@wxs.nl \
--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).