ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re: How to make an accent
       [not found] <mailman.228.1257195428.22155.ntg-context@ntg.nl>
@ 2009-11-02 22:45 ` Vyatcheslav Yatskovsky
  2009-11-02 23:59 ` Math setup with TimesNR Vyatcheslav Yatskovsky
  2009-11-03  0:10 ` How to set \tfa to 10pt? Vyatcheslav Yatskovsky
  2 siblings, 0 replies; 18+ messages in thread
From: Vyatcheslav Yatskovsky @ 2009-11-02 22:45 UTC (permalink / raw)
  To: ntg-context

Thanks, Arthur, for explanations. It works now via macro and I'm happy )
>    No, the letter doesn't exist at all in Unicode, and most likely won't be
> encoded in the future either, due to the rule known as "normalization
> stability".  Generally speaking, you have to input it as Cyrillic a followed by
> combining acute accent, from the Unicode point of view.  Inside TeX, you should
> of course build it with an accent macro.
>    
Vyatcheslav
___________________________________________________________________________________
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] 18+ messages in thread

* Math setup with TimesNR
       [not found] <mailman.228.1257195428.22155.ntg-context@ntg.nl>
  2009-11-02 22:45 ` How to make an accent Vyatcheslav Yatskovsky
@ 2009-11-02 23:59 ` Vyatcheslav Yatskovsky
  2009-11-10 18:51   ` Khaled Hosny
  2009-11-03  0:10 ` How to set \tfa to 10pt? Vyatcheslav Yatskovsky
  2 siblings, 1 reply; 18+ messages in thread
From: Vyatcheslav Yatskovsky @ 2009-11-02 23:59 UTC (permalink / raw)
  To: ntg-context

Hello,

I still need help with math. I created the following setup file which 
utilizes Windows standard Times New Roman font.

In general, math symbols are displayed correctly (!), but Latin letters 
in formulas are not italic but regular. Where should I start tuning up 
to get italic Latin letters?

\starttypescript [serif] [TimesNR]

     \definefontsynonym [Serif] [times.ttf] [features=default]

     \definefontsynonym [SerifBold] [timesbd.ttf] [features=default]

     \definefontsynonym [SerifBoldItalic] [timesbi.ttf] [features=default]

     \definefontsynonym [SerifItalic] [timesi.ttf] [features=default]

\stoptypescript


\starttypescript [math][TimesNR][all]

     \definefontsynonym[MathRoman][txmath@tx-math]

     \loadmapfile[original-youngryu-tx.map]

\stoptypescript

\starttypescript [TimesNR]

     \definetypeface [TimesNR] [rm] [serif] [TimesNR] [default]

     \definetypeface [TimesNR] [mm] [math] [TimesNR] [default]

\stoptypescript


Regards,
Vyatcheslav
___________________________________________________________________________________
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] 18+ messages in thread

* How to set \tfa to 10pt?
       [not found] <mailman.228.1257195428.22155.ntg-context@ntg.nl>
  2009-11-02 22:45 ` How to make an accent Vyatcheslav Yatskovsky
  2009-11-02 23:59 ` Math setup with TimesNR Vyatcheslav Yatskovsky
@ 2009-11-03  0:10 ` Vyatcheslav Yatskovsky
  2009-11-03  0:23   ` Idris Samawi Hamid ادريس   سماوي حامد
  2 siblings, 1 reply; 18+ messages in thread
From: Vyatcheslav Yatskovsky @ 2009-11-03  0:10 UTC (permalink / raw)
  To: ntg-context

Hello,

I use TimesNR 11pt as body font. How to instruct ConTeXt Mkiv that I 
want \tfx to be exactly 10pt?

Regards,
Vyatcheslav
___________________________________________________________________________________
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] 18+ messages in thread

* Re: How to set \tfa to 10pt?
  2009-11-03  0:10 ` How to set \tfa to 10pt? Vyatcheslav Yatskovsky
@ 2009-11-03  0:23   ` Idris Samawi Hamid ادريس   سماوي حامد
  2009-11-03  1:34     ` Idris Samawi Hamid ادريس   سماوي حامد
  0 siblings, 1 reply; 18+ messages in thread
From: Idris Samawi Hamid ادريس   سماوي حامد @ 2009-11-03  0:23 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

On Mon, 02 Nov 2009 17:10:42 -0700, Vyatcheslav Yatskovsky  
<yatskovsky@gmail.com> wrote:

> I use TimesNR 11pt as body font. How to instruct ConTeXt Mkiv that I  
> want \tfx to be exactly 10pt?

You can do that in a typescript, after defining

\starttypescript [serif] [myfont] [name]

etc:

\starttypescript [serif] [myfont] [size]
\definebodyfont [9pt,10pt,11pt,12pt,14.4pt]
[rm]
[tfx=Serif sa .9]
\stoptypescript

etc.

I've used this technique plenty of times in mkii, but there _may_ be  
subtleties in mkiv for your case, so experiment.

Best wishes
Idris

-- 
Professor Idris Samawi Hamid, Editor-in-Chief
International Journal of Shi`i Studies
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

___________________________________________________________________________________
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] 18+ messages in thread

* Re: How to set \tfa to 10pt?
  2009-11-03  0:23   ` Idris Samawi Hamid ادريس   سماوي حامد
@ 2009-11-03  1:34     ` Idris Samawi Hamid ادريس   سماوي حامد
  0 siblings, 0 replies; 18+ messages in thread
From: Idris Samawi Hamid ادريس   سماوي حامد @ 2009-11-03  1:34 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Mon, 02 Nov 2009 17:23:05 -0700, Idris Samawi Hamid ادريس   سماوي حامد  
<ishamid@colostate.edu> wrote:

>
> Hi,
>
> On Mon, 02 Nov 2009 17:10:42 -0700, Vyatcheslav Yatskovsky  
> <yatskovsky@gmail.com> wrote:
>
>> I use TimesNR 11pt as body font. How to instruct ConTeXt Mkiv that I  
>> want \tfx to be exactly 10pt?
>
> You can do that in a typescript, after defining
>
> \starttypescript [serif] [myfont] [name]
>
> etc:
>
> \starttypescript [serif] [myfont] [size]
> \definebodyfont [9pt,10pt,11pt,12pt,14.4pt]
> [rm]
> [tfx=Serif sa .9]
> \stoptypescript
>
> etc.

Don't forget to add the [size] parameter to your typeface in your final  
typescript eg:

\definetypeface [serif] [rm] [myfont] [name] [size]

Idris

-- 
Professor Idris Samawi Hamid, Editor-in-Chief
International Journal of Shi`i Studies
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

___________________________________________________________________________________
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] 18+ messages in thread

* Re: Math setup with TimesNR
  2009-11-02 23:59 ` Math setup with TimesNR Vyatcheslav Yatskovsky
@ 2009-11-10 18:51   ` Khaled Hosny
  2009-11-10 19:48     ` Aditya Mahajan
  2009-11-11  8:44     ` Hans Hagen
  0 siblings, 2 replies; 18+ messages in thread
From: Khaled Hosny @ 2009-11-10 18:51 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1940 bytes --]

You'd like to try XITS Math font[1], bug reports are welcomed, though no
guarantee it'll be fixed.

[1] http://github.com/khaledhosny/xits-math/tree/

Regards,
 Khaled

On Tue, Nov 03, 2009 at 01:59:46AM +0200, Vyatcheslav Yatskovsky wrote:
> Hello,
>
> I still need help with math. I created the following setup file which  
> utilizes Windows standard Times New Roman font.
>
> In general, math symbols are displayed correctly (!), but Latin letters  
> in formulas are not italic but regular. Where should I start tuning up  
> to get italic Latin letters?
>
> \starttypescript [serif] [TimesNR]
>
>     \definefontsynonym [Serif] [times.ttf] [features=default]
>
>     \definefontsynonym [SerifBold] [timesbd.ttf] [features=default]
>
>     \definefontsynonym [SerifBoldItalic] [timesbi.ttf] [features=default]
>
>     \definefontsynonym [SerifItalic] [timesi.ttf] [features=default]
>
> \stoptypescript
>
>
> \starttypescript [math][TimesNR][all]
>
>     \definefontsynonym[MathRoman][txmath@tx-math]
>
>     \loadmapfile[original-youngryu-tx.map]
>
> \stoptypescript
>
> \starttypescript [TimesNR]
>
>     \definetypeface [TimesNR] [rm] [serif] [TimesNR] [default]
>
>     \definetypeface [TimesNR] [mm] [math] [TimesNR] [default]
>
> \stoptypescript
>
>
> Regards,
> Vyatcheslav
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________

-- 
 Khaled Hosny
 Arabic localiser and member of Arabeyes.org team
 Free font developer

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

[-- Attachment #2: Type: text/plain, Size: 486 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] 18+ messages in thread

* Re: Math setup with TimesNR
  2009-11-10 18:51   ` Khaled Hosny
@ 2009-11-10 19:48     ` Aditya Mahajan
  2009-11-10 21:25       ` Khaled Hosny
  2009-11-11  8:44     ` Hans Hagen
  1 sibling, 1 reply; 18+ messages in thread
From: Aditya Mahajan @ 2009-11-10 19:48 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Tue, 10 Nov 2009, Khaled Hosny wrote:

> You'd like to try XITS Math font[1], bug reports are welcomed, though no
> guarantee it'll be fixed.
>
> [1] http://github.com/khaledhosny/xits-math/tree/

Nice name for the font.

From the readme:

This is an experimental OpenType math font font based on
He-Who-Must-Not-Be-Named math fonts.

:)


___________________________________________________________________________________
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] 18+ messages in thread

* Re: Math setup with TimesNR
  2009-11-10 19:48     ` Aditya Mahajan
@ 2009-11-10 21:25       ` Khaled Hosny
  2009-11-10 21:33         ` Wolfgang Schuster
  2009-11-10 22:13         ` Taco Hoekwater
  0 siblings, 2 replies; 18+ messages in thread
From: Khaled Hosny @ 2009-11-10 21:25 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 668 bytes --]

On Tue, Nov 10, 2009 at 02:48:30PM -0500, Aditya Mahajan wrote:
> On Tue, 10 Nov 2009, Khaled Hosny wrote:
>
>> You'd like to try XITS Math font[1], bug reports are welcomed, though no
>> guarantee it'll be fixed.
>>
>> [1] http://github.com/khaledhosny/xits-math/tree/
>
> Nice name for the font.
>
>> From the readme:
>
> This is an experimental OpenType math font font based on
> He-Who-Must-Not-Be-Named math fonts.
>
> :)

You know, one can't risk mentioning its name and being cursed not to
release till the end of eternity.

Regards,
 Khaled


-- 
 Khaled Hosny
 Arabic localiser and member of Arabeyes.org team
 Free font developer

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

[-- Attachment #2: Type: text/plain, Size: 486 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] 18+ messages in thread

* Re: Math setup with TimesNR
  2009-11-10 21:25       ` Khaled Hosny
@ 2009-11-10 21:33         ` Wolfgang Schuster
  2009-11-10 22:13         ` Taco Hoekwater
  1 sibling, 0 replies; 18+ messages in thread
From: Wolfgang Schuster @ 2009-11-10 21:33 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 10.11.2009 um 22:25 schrieb Khaled Hosny:

>>> From the readme:
>> 
>> This is an experimental OpenType math font font based on
>> He-Who-Must-Not-Be-Named math fonts.
>> 
>> :)
> 
> You know, one can't risk mentioning its name and being cursed not to
> release till the end of eternity.

That was only possible before his death two years ago :)

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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Math setup with TimesNR
  2009-11-10 21:25       ` Khaled Hosny
  2009-11-10 21:33         ` Wolfgang Schuster
@ 2009-11-10 22:13         ` Taco Hoekwater
  1 sibling, 0 replies; 18+ messages in thread
From: Taco Hoekwater @ 2009-11-10 22:13 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Khaled Hosny wrote:
> On Tue, Nov 10, 2009 at 02:48:30PM -0500, Aditya Mahajan wrote:
>> On Tue, 10 Nov 2009, Khaled Hosny wrote:
>>
>>> You'd like to try XITS Math font[1], bug reports are welcomed, though no
>>> guarantee it'll be fixed.
>>>
>>> [1] http://github.com/khaledhosny/xits-math/tree/
>> Nice name for the font.

So that is where the mysteriously missing glyphs went!

___________________________________________________________________________________
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] 18+ messages in thread

* Re: Math setup with TimesNR
  2009-11-10 18:51   ` Khaled Hosny
  2009-11-10 19:48     ` Aditya Mahajan
@ 2009-11-11  8:44     ` Hans Hagen
  1 sibling, 0 replies; 18+ messages in thread
From: Hans Hagen @ 2009-11-11  8:44 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Khaled Hosny wrote:
> You'd like to try XITS Math font[1], bug reports are welcomed, though no
> guarantee it'll be fixed.
> 
> [1] http://github.com/khaledhosny/xits-math/tree/

nice! some remarks off list

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 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] 18+ messages in thread

* Re: How to make an accent
  2009-11-01 15:33   ` Mojca Miklavec
@ 2009-11-02 20:27     ` Arthur Reutenauer
  0 siblings, 0 replies; 18+ messages in thread
From: Arthur Reutenauer @ 2009-11-02 20:27 UTC (permalink / raw)
  To: Mailing list for ConTeXt users

> Not sure, but if that letter exists in unicode and not in your font

  No, the letter doesn't exist at all in Unicode, and most likely won't be
encoded in the future either, due to the rule known as "normalization
stability".  Generally speaking, you have to input it as Cyrillic a followed by
combining acute accent, from the Unicode point of view.  Inside TeX, you should
of course build it with an accent macro.

	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] 18+ messages in thread

* Re: How to make an accent
  2009-11-01 14:31 ` Vyatcheslav Yatskovsky
@ 2009-11-01 15:33   ` Mojca Miklavec
  2009-11-02 20:27     ` Arthur Reutenauer
  0 siblings, 1 reply; 18+ messages in thread
From: Mojca Miklavec @ 2009-11-01 15:33 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Sun, Nov 1, 2009 at 15:31, Vyatcheslav Yatskovsky wrote:
>> 1. you can do
>> \def\myacute#1{\buildtextaccent\textacute{#1}}
>> Апроксим{\myacute а}ція
>>
>> 2. of course you can also define an ugly shortcut:
>> \catcode`'=\active
>> \let\'=\myacute
>> Апроксим\'ація
>>
>> 3. though in reality I would be most grateful if
>> \'а
>> would work out of the box (at least it mkiv) and generate accent over
>> whatever letter comes next. If glyph doesn't exist, it could just
>> place one over a.
>
> Thank you, Mojca. (1) works fine.
>
> Before asking, I tried (3) option, but failed. Why it doesn't work? This is
> the classic way.

Not sure, but if that letter exists in unicode and not in your font
... that might be the most probably cause. If not, read further.

In mkii it has never worked since Hans reimplemented the mechanism (it
was different from Knuth's) to enable choosing the right glyph - if
font encoding has some glyph, it comes from the font, else it gets
composed from accent and letter.

Maybe I'm wrong, but from what I remember you only get those
characters that indeed exist in Unicode and the whole set of allowed
combinations is defined somewhere in source (see enco-def.mkii). I
don't know what exactly needs to be done in mkiv.

In mkii it will never get changed; I don't remember too many
complaints, but the truth is that (all) the characters that people
need are usually covered. If any were missing, they were added to the
list.

4.) I indeed forgot the fourth option: you can also build a slightly
larger file with all letter-accent combinations that you possibly
need.

I would assume that mkiv just builds all the accent combinations (to
support "\v c" constructs) from Unicode specification. If you need
some special character with a special accent like those definitions in
enco-def.mkii ... then you need to ask someone else for mkiv since I
stayed behind of a time for quite a giant leap.

(Hans, why cannot I put any accent on \schwa any more?)

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] 18+ messages in thread

* Re: How to make an accent
       [not found] <mailman.1.1257073202.19114.ntg-context@ntg.nl>
  2009-11-01 13:11 ` How to make an accent Vyatcheslav Yatskovsky
@ 2009-11-01 14:31 ` Vyatcheslav Yatskovsky
  2009-11-01 15:33   ` Mojca Miklavec
  1 sibling, 1 reply; 18+ messages in thread
From: Vyatcheslav Yatskovsky @ 2009-11-01 14:31 UTC (permalink / raw)
  To: ntg-context

> 1. you can do
> \def\myacute#1{\buildtextaccent\textacute{#1}}
> Апроксим{\myacute а}ція
>
> 2. of course you can also define an ugly shortcut:
> \catcode`'=\active
> \let\'=\myacute
> Апроксим\'ація
>
> 3. though in reality I would be most grateful if
> \'а
> would work out of the box (at least it mkiv) and generate accent over
> whatever letter comes next. If glyph doesn't exist, it could just
> place one over a.

Thank you, Mojca. (1) works fine.

Before asking, I tried (3) option, but failed. Why it doesn't work? This 
is the classic way.

Regards,
Vyatcheslav
___________________________________________________________________________________
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] 18+ messages in thread

* Re: How to make an accent
  2009-11-01 13:11 ` How to make an accent Vyatcheslav Yatskovsky
@ 2009-11-01 13:42   ` Mojca Miklavec
  0 siblings, 0 replies; 18+ messages in thread
From: Mojca Miklavec @ 2009-11-01 13:42 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Sun, Nov 1, 2009 at 14:11, Vyatcheslav Yatskovsky wrote:
> On 01.11.2009 13:00, ntg-context-request@ntg.nl wrote:
>>
>> If there is no suitable letter in Unicode you may:
>> - try to use Unicode accent combining characters and complain if it
>> doesn't work
>> - this used to work not so long ago (well, during BachoTeX Hans has
>> fixed it), but the second example behaves weird again:
>>     \buildtextaccent\textcircumflex{y}
>>     \buildtextaccent\textcircumflex{\schwa}
>> so try with your letters and report if you stumble into problems problems.
>>
>
> Thanks. But before i try something weird, i want to explain. I need an
> accent to indicate where pronunciation stress is. Is happens on Cyrillic "а"
> letter:
>
> Апроксимація (approximation)
>
> So my goal is not to form a special letter, but to show a linguistic feature
> of the word.
> Maybe we have better way to do this?

1. you can do
    \def\myacute#1{\buildtextaccent\textacute{#1}}
    Апроксим{\myacute а}ція

2. of course you can also define an ugly shortcut:
    \catcode`'=\active
    \let\'=\myacute
    Апроксим\'ація

3. though in reality I would be most grateful if
    \'а
would work out of the box (at least it mkiv) and generate accent over
whatever letter comes next. If glyph doesn't exist, it could just
place one over a.

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] 18+ messages in thread

* Re: How to make an accent
       [not found] <mailman.1.1257073202.19114.ntg-context@ntg.nl>
@ 2009-11-01 13:11 ` Vyatcheslav Yatskovsky
  2009-11-01 13:42   ` Mojca Miklavec
  2009-11-01 14:31 ` Vyatcheslav Yatskovsky
  1 sibling, 1 reply; 18+ messages in thread
From: Vyatcheslav Yatskovsky @ 2009-11-01 13:11 UTC (permalink / raw)
  To: ntg-context

On 01.11.2009 13:00, ntg-context-request@ntg.nl wrote:
> If there is no suitable letter in Unicode you may:
> - try to use Unicode accent combining characters and complain if it doesn't work
> - this used to work not so long ago (well, during BachoTeX Hans has
> fixed it), but the second example behaves weird again:
>      \buildtextaccent\textcircumflex{y}
>      \buildtextaccent\textcircumflex{\schwa}
> so try with your letters and report if you stumble into problems problems.
>    
Thanks. But before i try something weird, i want to explain. I need an 
accent to indicate where pronunciation stress is. Is happens on Cyrillic 
"а" letter:

Апроксимація (approximation)

So my goal is not to form a special letter, but to show a linguistic 
feature of the word.
Maybe we have better way to do this?

Regards,
Vyatcheslav
___________________________________________________________________________________
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] 18+ messages in thread

* Re: How to make an accent
  2009-11-01  0:29 ` Vyatcheslav Yatskovsky
@ 2009-11-01  7:52   ` Mojca Miklavec
  0 siblings, 0 replies; 18+ messages in thread
From: Mojca Miklavec @ 2009-11-01  7:52 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Sun, Nov 1, 2009 at 01:29, Vyatcheslav Yatskovsky wrote:
> Hello,
>
> How to make an accent over a letter in a word?

It might help to know what letters exactly you have in mind.

> I use Times New Roman and Cyrillic letters.

If there is no suitable letter in Unicode you may:
- try to use Unicode accent combining characters and complain if it doesn't work
- this used to work not so long ago (well, during BachoTeX Hans has
fixed it), but the second example behaves weird again:
    \buildtextaccent\textcircumflex{y}
    \buildtextaccent\textcircumflex{\schwa}
so try with your letters and report if you stumble into problems problems.

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] 18+ messages in thread

* How to make an accent
       [not found] <mailman.1.1256986802.11443.ntg-context@ntg.nl>
@ 2009-11-01  0:29 ` Vyatcheslav Yatskovsky
  2009-11-01  7:52   ` Mojca Miklavec
  0 siblings, 1 reply; 18+ messages in thread
From: Vyatcheslav Yatskovsky @ 2009-11-01  0:29 UTC (permalink / raw)
  To: ntg-context

Hello,

How to make an accent over a letter in a word?

I use Times New Roman and Cyrillic letters.

Regards,
Vyatcheslav
___________________________________________________________________________________
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] 18+ messages in thread

end of thread, other threads:[~2009-11-11  8:44 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <mailman.228.1257195428.22155.ntg-context@ntg.nl>
2009-11-02 22:45 ` How to make an accent Vyatcheslav Yatskovsky
2009-11-02 23:59 ` Math setup with TimesNR Vyatcheslav Yatskovsky
2009-11-10 18:51   ` Khaled Hosny
2009-11-10 19:48     ` Aditya Mahajan
2009-11-10 21:25       ` Khaled Hosny
2009-11-10 21:33         ` Wolfgang Schuster
2009-11-10 22:13         ` Taco Hoekwater
2009-11-11  8:44     ` Hans Hagen
2009-11-03  0:10 ` How to set \tfa to 10pt? Vyatcheslav Yatskovsky
2009-11-03  0:23   ` Idris Samawi Hamid ادريس   سماوي حامد
2009-11-03  1:34     ` Idris Samawi Hamid ادريس   سماوي حامد
     [not found] <mailman.1.1257073202.19114.ntg-context@ntg.nl>
2009-11-01 13:11 ` How to make an accent Vyatcheslav Yatskovsky
2009-11-01 13:42   ` Mojca Miklavec
2009-11-01 14:31 ` Vyatcheslav Yatskovsky
2009-11-01 15:33   ` Mojca Miklavec
2009-11-02 20:27     ` Arthur Reutenauer
     [not found] <mailman.1.1256986802.11443.ntg-context@ntg.nl>
2009-11-01  0:29 ` Vyatcheslav Yatskovsky
2009-11-01  7:52   ` Mojca Miklavec

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).