* [OT] Monospaced greek font
@ 2009-09-08 4:56 Aditya Mahajan
2009-09-08 13:59 ` Wolfgang Schuster
0 siblings, 1 reply; 10+ messages in thread
From: Aditya Mahajan @ 2009-09-08 4:56 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hi,
Is there a monospaced font which matches with Latin Modern and contains
greek letters?
I could only find DejaVu Sans Mono, but it does not match LM.
Thanks,
Aditya
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [OT] Monospaced greek font
2009-09-08 4:56 [OT] Monospaced greek font Aditya Mahajan
@ 2009-09-08 13:59 ` Wolfgang Schuster
2009-09-08 14:36 ` Aditya Mahajan
2009-09-12 3:31 ` disabling font features with xetex (was: Monospaced greek font) Aditya Mahajan
0 siblings, 2 replies; 10+ messages in thread
From: Wolfgang Schuster @ 2009-09-08 13:59 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 08.09.2009 um 06:56 schrieb Aditya Mahajan:
> Hi,
>
> Is there a monospaced font which matches with Latin Modern and
> contains greek letters?
Computer Modern Unicode Sans Serif
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [OT] Monospaced greek font
2009-09-08 13:59 ` Wolfgang Schuster
@ 2009-09-08 14:36 ` Aditya Mahajan
2009-09-12 3:31 ` disabling font features with xetex (was: Monospaced greek font) Aditya Mahajan
1 sibling, 0 replies; 10+ messages in thread
From: Aditya Mahajan @ 2009-09-08 14:36 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Tue, 8 Sep 2009, Wolfgang Schuster wrote:
>
> Am 08.09.2009 um 06:56 schrieb Aditya Mahajan:
>
>> Hi,
>>
>> Is there a monospaced font which matches with Latin Modern and contains
>> greek letters?
>
> Computer Modern Unicode Sans Serif
Thanks. CM Unicode works perfectly.
Aditya
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 10+ messages in thread
* disabling font features with xetex (was: Monospaced greek font)
2009-09-08 13:59 ` Wolfgang Schuster
2009-09-08 14:36 ` Aditya Mahajan
@ 2009-09-12 3:31 ` Aditya Mahajan
2009-09-12 10:37 ` Wolfgang Schuster
2009-09-12 12:50 ` disabling font features with xetex Hans Hagen
1 sibling, 2 replies; 10+ messages in thread
From: Aditya Mahajan @ 2009-09-12 3:31 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1: Type: TEXT/PLAIN, Size: 1374 bytes --]
On Tue, 8 Sep 2009, Wolfgang Schuster wrote:
>
> Am 08.09.2009 um 06:56 schrieb Aditya Mahajan:
>
>> Hi,
>>
>> Is there a monospaced font which matches with Latin Modern and contains
>> greek letters?
>
> Computer Modern Unicode Sans Serif
How do I remove font features with xetex? I have the following example,
with cmuntt taken from
ftp://canopus.iacp.dvo.ru/pub/Font/cm_unicode/cm-unicode-0.6.3a-otf.tar.gz
\starttypescript [mono] [cmunicode]
%\setups[font:fallback:mono]
\definefontsynonym [Mono] [file:cmuntt]
[features=none]
\definefontsynonym [MonoItalic] [file:cmuntt]
[features=none]
\definefontsynonym [MonoBold] [file:cmuntt]
[features=none]
\definefontsynonym [MonoBoldItalic] [file:cmuntt]
[features=none]
\stoptypescript
\definetypeface[mainface][rm][serif][modern] [default]
\definetypeface[mainface][ss][sans] [modern] [default]
\definetypeface[mainface][tt][mono][cmunicode] [default]
\definetypeface[mainface][mm][math][modern] [default]
\setupbodyfont[mainface,10pt]
\starttext
\type{suffix} \type{αβγ}
\stoptext
With luatex it works fine, but with xetex I get the ffi ligature in
"suffix". Any idea how to get rid of it in xetex?
Thanks,
Aditya
[-- Attachment #2: Type: text/plain, Size: 487 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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: disabling font features with xetex (was: Monospaced greek font)
2009-09-12 3:31 ` disabling font features with xetex (was: Monospaced greek font) Aditya Mahajan
@ 2009-09-12 10:37 ` Wolfgang Schuster
2009-09-12 12:50 ` disabling font features with xetex Hans Hagen
1 sibling, 0 replies; 10+ messages in thread
From: Wolfgang Schuster @ 2009-09-12 10:37 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 12.09.2009 um 05:31 schrieb Aditya Mahajan:
> How do I remove font features with xetex?
Does \definefontfeature[default][default][liga=no] work?
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: disabling font features with xetex
2009-09-12 3:31 ` disabling font features with xetex (was: Monospaced greek font) Aditya Mahajan
2009-09-12 10:37 ` Wolfgang Schuster
@ 2009-09-12 12:50 ` Hans Hagen
2009-09-12 14:53 ` \definefontfeature (was: disabling font features with xetex) Wolfgang Schuster
2009-09-12 23:27 ` several messages Aditya Mahajan
1 sibling, 2 replies; 10+ messages in thread
From: Hans Hagen @ 2009-09-12 12:50 UTC (permalink / raw)
To: mailing list for ConTeXt users
Aditya Mahajan wrote:
> On Tue, 8 Sep 2009, Wolfgang Schuster wrote:
>
>>
>> Am 08.09.2009 um 06:56 schrieb Aditya Mahajan:
>>
>>> Hi,
>>>
>>> Is there a monospaced font which matches with Latin Modern and
>>> contains greek letters?
>>
>> Computer Modern Unicode Sans Serif
>
> How do I remove font features with xetex? I have the following example,
> with cmuntt taken from
> ftp://canopus.iacp.dvo.ru/pub/Font/cm_unicode/cm-unicode-0.6.3a-otf.tar.gz
>
> \starttypescript [mono] [cmunicode]
> %\setups[font:fallback:mono]
> \definefontsynonym [Mono] [file:cmuntt]
> [features=none]
> \definefontsynonym [MonoItalic] [file:cmuntt]
> [features=none]
> \definefontsynonym [MonoBold] [file:cmuntt]
> [features=none]
> \definefontsynonym [MonoBoldItalic] [file:cmuntt]
> [features=none]
> \stoptypescript
>
> \definetypeface[mainface][rm][serif][modern] [default]
> \definetypeface[mainface][ss][sans] [modern] [default]
> \definetypeface[mainface][tt][mono][cmunicode] [default]
> \definetypeface[mainface][mm][math][modern] [default]
>
> \setupbodyfont[mainface,10pt]
>
> \starttext
> \type{suffix} \type{αβγ}
> \stoptext
>
> With luatex it works fine, but with xetex I get the ffi ligature in
> "suffix". Any idea how to get rid of it in xetex?
what happens if you define 'none' to disable liga explicitly
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 10+ messages in thread
* \definefontfeature (was: disabling font features with xetex)
2009-09-12 12:50 ` disabling font features with xetex Hans Hagen
@ 2009-09-12 14:53 ` Wolfgang Schuster
2009-09-13 11:22 ` \definefontfeature Hans Hagen
2009-09-12 23:27 ` several messages Aditya Mahajan
1 sibling, 1 reply; 10+ messages in thread
From: Wolfgang Schuster @ 2009-09-12 14:53 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 12.09.2009 um 14:50 schrieb Hans Hagen:
> what happens if you define 'none' to disable liga explicitly
the three argument version of \definefontfeature is more handy but the
definition for mkii makes no sense
\def\dodefinefontfeature[#1][#2][#3]%
{\doifassignmentelse{#2}
{\setevalue{\??fa#1}{#2}}
{\let\!!stringa\empty
\def\mkdodefinefontfeature##1{\edef\!!stringa{\ifx\!!stringa
\empty\else\!!stringa,\fi##1}}%
\processcommalist[#2]\mkdodefinefontfeature
\setevalue{\??fa#1}{\ifx\!!stringa\empty\else\!!stringa,\fi#3}}}
wouldn't be
...
\def\mkdodefinefontfeature##1%
{\edef\!!stringa{\ifx\!!stringa\empty\else\!!stringa,\fi
\executeifdefined{\??fa##1}\empty}}%
...
better?
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: several messages
2009-09-12 12:50 ` disabling font features with xetex Hans Hagen
2009-09-12 14:53 ` \definefontfeature (was: disabling font features with xetex) Wolfgang Schuster
@ 2009-09-12 23:27 ` Aditya Mahajan
2009-09-13 11:56 ` Hans Hagen
1 sibling, 1 reply; 10+ messages in thread
From: Aditya Mahajan @ 2009-09-12 23:27 UTC (permalink / raw)
To: mailing list for ConTeXt users
> Am 12.09.2009 um 05:31 schrieb Aditya Mahajan:
>
>> How do I remove font features with xetex?
On Sat, 12 Sep 2009, Wolfgang Schuster wrote:
> Does \definefontfeature[default][default][liga=no] work?
On Sat, 12 Sep 2009, Hans Hagen wrote:
> what happens if you define 'none' to disable liga explicitly
Thanks. Basically I ended up with
\definefontfeature[reallynone][none][liga=no]
and then use features=reallynone in the typescripts. I am still curious on
why features=none does not work out of the box with xetex.
Aditya
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: \definefontfeature
2009-09-12 14:53 ` \definefontfeature (was: disabling font features with xetex) Wolfgang Schuster
@ 2009-09-13 11:22 ` Hans Hagen
0 siblings, 0 replies; 10+ messages in thread
From: Hans Hagen @ 2009-09-13 11:22 UTC (permalink / raw)
To: mailing list for ConTeXt users
Wolfgang Schuster wrote:
>
> Am 12.09.2009 um 14:50 schrieb Hans Hagen:
>
>> what happens if you define 'none' to disable liga explicitly
>
> the three argument version of \definefontfeature is more handy but the
> definition for mkii makes no sense
>
> \def\dodefinefontfeature[#1][#2][#3]%
> {\doifassignmentelse{#2}
> {\setevalue{\??fa#1}{#2}}
> {\let\!!stringa\empty
>
> \def\mkdodefinefontfeature##1{\edef\!!stringa{\ifx\!!stringa\empty\else\!!stringa,\fi##1}}%
>
> \processcommalist[#2]\mkdodefinefontfeature
> \setevalue{\??fa#1}{\ifx\!!stringa\empty\else\!!stringa,\fi#3}}}
>
> wouldn't be
>
> ...
> \def\mkdodefinefontfeature##1%
>
> {\edef\!!stringa{\ifx\!!stringa\empty\else\!!stringa,\fi\executeifdefined{\??fa##1}\empty}}%
>
> ...
>
> better?
sure. actually most of these \mk* macros hav eto go (date from the
shared time)
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: several messages
2009-09-12 23:27 ` several messages Aditya Mahajan
@ 2009-09-13 11:56 ` Hans Hagen
0 siblings, 0 replies; 10+ messages in thread
From: Hans Hagen @ 2009-09-13 11:56 UTC (permalink / raw)
To: mailing list for ConTeXt users
Aditya Mahajan wrote:
>> Am 12.09.2009 um 05:31 schrieb Aditya Mahajan:
>>
>>> How do I remove font features with xetex?
>
> On Sat, 12 Sep 2009, Wolfgang Schuster wrote:
>
>> Does \definefontfeature[default][default][liga=no] work?
>
> On Sat, 12 Sep 2009, Hans Hagen wrote:
>
>> what happens if you define 'none' to disable liga explicitly
>
> Thanks. Basically I ended up with
>
> \definefontfeature[reallynone][none][liga=no]
>
> and then use features=reallynone in the typescripts. I am still curious
> on why features=none does not work out of the box with xetex.
In mkiv we have:
\definefontfeature
[none]
[mode=none,features=no]
but none is not defined in mkii
so, i defined it and also extended the xetex handler to listen to
features=no but still xetex does ligatures so it maybe that xetex also
has some defaults built in but i leave that to you to figure out
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2009-09-13 11:56 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-08 4:56 [OT] Monospaced greek font Aditya Mahajan
2009-09-08 13:59 ` Wolfgang Schuster
2009-09-08 14:36 ` Aditya Mahajan
2009-09-12 3:31 ` disabling font features with xetex (was: Monospaced greek font) Aditya Mahajan
2009-09-12 10:37 ` Wolfgang Schuster
2009-09-12 12:50 ` disabling font features with xetex Hans Hagen
2009-09-12 14:53 ` \definefontfeature (was: disabling font features with xetex) Wolfgang Schuster
2009-09-13 11:22 ` \definefontfeature Hans Hagen
2009-09-12 23:27 ` several messages Aditya Mahajan
2009-09-13 11:56 ` Hans Hagen
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).