* latest beta
@ 2014-01-16 22:23 Thomas A. Schmitz
2014-01-17 11:22 ` Hans Hagen
0 siblings, 1 reply; 8+ messages in thread
From: Thomas A. Schmitz @ 2014-01-16 22:23 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hi,
the following test file gives an error with the latest beta:
\setupbodyfont[gentium,12pt]
\starttext
\buildtextaccent\greekdasia\greekalphamacron
\stoptext
it works with a somewhat older one (2013.12.30). The error is
! Missing number, treated as zero.
system > tex > error on line 5 in file /tmp/test.tex: Missing
number, treated as zero ...
...
<to be read again>
\relax
\buildtextaccent ...umber \b_enco_accent )}\relax
\ifcase
\scratchcounter \e...
l.5 \buildtextaccent\greekdasia\greekalphamacron
I thought this pointed to enco-ini.mkiv, but the file is unchanged
between these two versions, so I'm a bit baffled.
All best
Thomas
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: latest beta
2014-01-16 22:23 latest beta Thomas A. Schmitz
@ 2014-01-17 11:22 ` Hans Hagen
2014-01-17 16:04 ` Need for \buildtextaccent, was " Rik Kabel
0 siblings, 1 reply; 8+ messages in thread
From: Hans Hagen @ 2014-01-17 11:22 UTC (permalink / raw)
To: ntg-context
On 1/16/2014 11:23 PM, Thomas A. Schmitz wrote:
> Hi,
>
> the following test file gives an error with the latest beta:
>
> \setupbodyfont[gentium,12pt]
>
> \starttext
> \buildtextaccent\greekdasia\greekalphamacron
> \stoptext
>
> it works with a somewhat older one (2013.12.30). The error is
>
> ! Missing number, treated as zero.
>
> system > tex > error on line 5 in file /tmp/test.tex: Missing
> number, treated as zero ...
>
> ....
>
> <to be read again>
> \relax
> \buildtextaccent ...umber \b_enco_accent )}\relax
> \ifcase
> \scratchcounter \e...
> l.5 \buildtextaccent\greekdasia\greekalphamacron
>
> I thought this pointed to enco-ini.mkiv, but the file is unchanged
> between these two versions, so I'm a bit baffled.
no, side effect of substantial optimizations (where i simply couldn't
test everything ... you're probably the only user building accents)
Hans
-----------------------------------------------------------------
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 8+ messages in thread
* Need for \buildtextaccent, was Re: latest beta
2014-01-17 11:22 ` Hans Hagen
@ 2014-01-17 16:04 ` Rik Kabel
2014-01-17 18:11 ` Hans Hagen
0 siblings, 1 reply; 8+ messages in thread
From: Rik Kabel @ 2014-01-17 16:04 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 1143 bytes --]
On 2014-01-17 06:22, Hans Hagen wrote:
>
> no, side effect of substantial optimizations (where i simply couldn't
> test everything ... you're probably the only user building accents)
>
> Hans
>
It is needed to create what might otherwise be LATIN SMALL LETTER Q WITH
ACUTE ACCENT as well.
This is not a Unicode character, but is easily constructed as:
\buildtextaccent\textacute q
for use in setting, for example, this bit of Spinoza's /Tractatus
Politicus/, in which it appears four times.
The character was commonly used in Latin texts published from the 16th
through the 19th century.
The above was done with LaTeX (\csdef is from etoolbox) and the
following preamble code:
\DeclareTextAccent{\RKacute}{\UTFencname}{"00B4}
\newcommand*{\RKqacute}{\RKacute q}% LATIN SMALL LETTER Q WITH ACUTE
ACCENT
% The following works, instead of the above, with Linux Libertine (and
%+ probably many other fonts) but does not work with the IM Fell
fonts,
%+ which are missing glyph 0x301, COMBINING ACUTE ACCENT:
% \csdef{RKacute}#1{#1\char"301}
% \csdef{RKqacute}{\RKacute{q}}
--
Rik Kabel
[-- Attachment #1.2.1: Type: text/html, Size: 1986 bytes --]
[-- Attachment #1.2.2: ebjhigbe.png --]
[-- Type: image/png, Size: 71522 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Need for \buildtextaccent, was Re: latest beta
2014-01-17 16:04 ` Need for \buildtextaccent, was " Rik Kabel
@ 2014-01-17 18:11 ` Hans Hagen
2014-01-17 18:39 ` Mojca Miklavec
0 siblings, 1 reply; 8+ messages in thread
From: Hans Hagen @ 2014-01-17 18:11 UTC (permalink / raw)
To: ntg-context
On 1/17/2014 5:04 PM, Rik Kabel wrote:
> On 2014-01-17 06:22, Hans Hagen wrote:
>>
>> no, side effect of substantial optimizations (where i simply couldn't
>> test everything ... you're probably the only user building accents)
>>
>> Hans
>>
> It is needed to create what might otherwise be LATIN SMALL LETTER Q WITH
> ACUTE ACCENT as well.
> This is not a Unicode character, but is easily constructed as:
>
> \buildtextaccent\textacute q
>
> for use in setting, for example, this bit of Spinoza's /Tractatus
> Politicus/, in which it appears four times.
> The character was commonly used in Latin texts published from the 16th
> through the 19th century.
>
>
>
> The above was done with LaTeX (\csdef is from etoolbox) and the
> following preamble code:
>
> \DeclareTextAccent{\RKacute}{\UTFencname}{"00B4}
> \newcommand*{\RKqacute}{\RKacute q}% LATIN SMALL LETTER Q WITH ACUTE
> ACCENT
> % The following works, instead of the above, with Linux Libertine (and
> %+ probably many other fonts) but does not work with the IM Fell
> fonts,
> %+ which are missing glyph 0x301, COMBINING ACUTE ACCENT:
> % \csdef{RKacute}#1{#1\char"301}
> % \csdef{RKqacute}{\RKacute{q}}
do we need a module with predefined 'missing from unicode' characters?
-----------------------------------------------------------------
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Need for \buildtextaccent, was Re: latest beta
2014-01-17 18:11 ` Hans Hagen
@ 2014-01-17 18:39 ` Mojca Miklavec
2014-01-17 18:51 ` Hans Hagen
` (2 more replies)
0 siblings, 3 replies; 8+ messages in thread
From: Mojca Miklavec @ 2014-01-17 18:39 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Fri, Jan 17, 2014 at 7:11 PM, Hans Hagen wrote:
>
> do we need a module with predefined 'missing from unicode' characters?
I don't think so. We can end up with a neverending and always
incomplete list (with theoretically unlimited number of entries),
usable only to those few people who will care to contribute. In my
opinion such a list is pretty much useless.
Unicode already specifies that one could use "q" followed by
"combining acute". And TeX also has support for {\'q}. Everything else
is private use, something that users might not even use in more than a
single document. I don't see any advantage in creating an endless
incomplete list. In all honesty it's a lot more
useful/readable/straightforward to use {\'q} or proper Unicode in
these cases. And if it's not comfortable enough for the user, he can
always provide his own private definitions.
Thomas and Rik most probably need just the existing mechanism to work
properly. Well, it might be slightly different for Thomas where
Ancient Greek has a limited set of letters, but then such a list
should better be defined in an "ancient greek predefined characters
module".
Just my 2 cents.
Mojca
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Need for \buildtextaccent, was Re: latest beta
2014-01-17 18:39 ` Mojca Miklavec
@ 2014-01-17 18:51 ` Hans Hagen
2014-01-17 20:23 ` Thomas A. Schmitz
2014-01-17 20:45 ` Arthur Reutenauer
2 siblings, 0 replies; 8+ messages in thread
From: Hans Hagen @ 2014-01-17 18:51 UTC (permalink / raw)
To: ntg-context
On 1/17/2014 7:39 PM, Mojca Miklavec wrote:
> On Fri, Jan 17, 2014 at 7:11 PM, Hans Hagen wrote:
>>
>> do we need a module with predefined 'missing from unicode' characters?
>
> I don't think so. We can end up with a neverending and always
> incomplete list (with theoretically unlimited number of entries),
> usable only to those few people who will care to contribute. In my
> opinion such a list is pretty much useless.
>
> Unicode already specifies that one could use "q" followed by
> "combining acute". And TeX also has support for {\'q}. Everything else
> is private use, something that users might not even use in more than a
> single document. I don't see any advantage in creating an endless
> incomplete list. In all honesty it's a lot more
> useful/readable/straightforward to use {\'q} or proper Unicode in
> these cases. And if it's not comfortable enough for the user, he can
> always provide his own private definitions.
> Thomas and Rik most probably need just the existing mechanism to work
> properly. Well, it might be slightly different for Thomas where
> Ancient Greek has a limited set of letters, but then such a list
> should better be defined in an "ancient greek predefined characters
> module".
the mechanisms works ok (i just made it a bit more efficient, not that
it matters much)
> Just my 2 cents.
it depends on to what extend such characters play a different role too
and need to travel around (but as there never was any demand for that i
assume 2 cents will do)
Hans
-----------------------------------------------------------------
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Need for \buildtextaccent, was Re: latest beta
2014-01-17 18:39 ` Mojca Miklavec
2014-01-17 18:51 ` Hans Hagen
@ 2014-01-17 20:23 ` Thomas A. Schmitz
2014-01-17 20:45 ` Arthur Reutenauer
2 siblings, 0 replies; 8+ messages in thread
From: Thomas A. Schmitz @ 2014-01-17 20:23 UTC (permalink / raw)
To: mailing list for ConTeXt users
On 01/17/2014 07:39 PM, Mojca Miklavec wrote:
> Thomas and Rik most probably need just the existing mechanism to work
> properly. Well, it might be slightly different for Thomas where
> Ancient Greek has a limited set of letters, but then such a list
> should better be defined in an "ancient greek predefined characters
> module".
Mojca is right. These are special cases (for example metrical
descriptions), and for me at least, it wouldn't make sense to predefine
them since I may need slighly different definitions depending on font,
purpose, etc.
Thomas
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Need for \buildtextaccent, was Re: latest beta
2014-01-17 18:39 ` Mojca Miklavec
2014-01-17 18:51 ` Hans Hagen
2014-01-17 20:23 ` Thomas A. Schmitz
@ 2014-01-17 20:45 ` Arthur Reutenauer
2 siblings, 0 replies; 8+ messages in thread
From: Arthur Reutenauer @ 2014-01-17 20:45 UTC (permalink / raw)
To: mailing list for ConTeXt users
> I don't think so. We can end up with a neverending and always
> incomplete list (with theoretically unlimited number of entries),
> usable only to those few people who will care to contribute.
I couldn't agree more. Unicode already has mechanisms to encode just
about any accented character, and OpenType has its own mechanisms to
display them very accurately. It's best to use these standard features
and an appropriate font.
Arthur
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2014-01-17 20:45 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-16 22:23 latest beta Thomas A. Schmitz
2014-01-17 11:22 ` Hans Hagen
2014-01-17 16:04 ` Need for \buildtextaccent, was " Rik Kabel
2014-01-17 18:11 ` Hans Hagen
2014-01-17 18:39 ` Mojca Miklavec
2014-01-17 18:51 ` Hans Hagen
2014-01-17 20:23 ` Thomas A. Schmitz
2014-01-17 20:45 ` Arthur Reutenauer
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).