* em = slanted?
[not found] <mailman.754.1186866351.2346.ntg-context@ntg.nl>
@ 2007-08-12 1:07 ` Vyatcheslav Yatskovsky
2007-08-12 4:08 ` luigi scarso
2007-08-12 5:47 ` Aditya Mahajan
2007-08-12 1:34 ` mimimal typescripting Vyatcheslav Yatskovsky
1 sibling, 2 replies; 13+ messages in thread
From: Vyatcheslav Yatskovsky @ 2007-08-12 1:07 UTC (permalink / raw)
To: ntg-context-request@ntg.nl
Hello,
Just a question for my curiousity: why \em switches to Slanted, not Italic?
(I found this while setting up my own typescript for luatex.)
Best,
Vyatcheslav Yatskovsky
___________________________________________________________________________________
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] 13+ messages in thread
* mimimal typescripting
[not found] <mailman.754.1186866351.2346.ntg-context@ntg.nl>
2007-08-12 1:07 ` em = slanted? Vyatcheslav Yatskovsky
@ 2007-08-12 1:34 ` Vyatcheslav Yatskovsky
2007-08-12 14:14 ` Hans Hagen
1 sibling, 1 reply; 13+ messages in thread
From: Vyatcheslav Yatskovsky @ 2007-08-12 1:34 UTC (permalink / raw)
To: ntg-context-request@ntg.nl
Hello,
I'm wondering why before defining a typeface I must define a synonym for it. For example, my minimal working definition for Vladimir Script fontface is
\starttypescript [serif] [vladimirscript]
\definefontsynonym [Serif][name:vladimir][features=default]
\stoptypescript
\starttypescript [vladimirscript]
\definetypeface [vladimirscript] [rm] [serif] [vladimirscript] [default]
\stoptypescript
Being XeTeX-adherent, it is a pain for me write that all for every font I use. Why I cannot specify it as simply as
\starttypescript [vladimirscript]
\definetypeface [vladimirscript] [rm] [serif] [name:vladimir] [default]
\stoptypescript
or better just
\definetypeface [vladimirscript] [rm] [serif] [name:vladimir] [default]
without any synonyms?
--
Best regards,
Vyatcheslav Yatskovsky
___________________________________________________________________________________
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] 13+ messages in thread
* Re: em = slanted?
2007-08-12 1:07 ` em = slanted? Vyatcheslav Yatskovsky
@ 2007-08-12 4:08 ` luigi scarso
2007-08-12 5:47 ` Aditya Mahajan
1 sibling, 0 replies; 13+ messages in thread
From: luigi scarso @ 2007-08-12 4:08 UTC (permalink / raw)
To: Yatskovsky, mailing list for ConTeXt users
On 8/12/07, Vyatcheslav Yatskovsky <yatskovsky@gmail.com> wrote:
> Hello,
>
> Just a question for my curiousity: why \em switches to Slanted, not Italic?
hmm, try
\starttext
aXX {\it aXX {\em aXX}} \em aXX
\stoptext
Do you see the difference between first \em and second \em ?
\em stands for emphasize, so if surrounding texts is italic \em switch to roman.
--
luigi
----------------------------------------------------------------
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
___________________________________________________________________________________
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] 13+ messages in thread
* Re: em = slanted?
2007-08-12 1:07 ` em = slanted? Vyatcheslav Yatskovsky
2007-08-12 4:08 ` luigi scarso
@ 2007-08-12 5:47 ` Aditya Mahajan
2007-08-12 14:12 ` Hans Hagen
1 sibling, 1 reply; 13+ messages in thread
From: Aditya Mahajan @ 2007-08-12 5:47 UTC (permalink / raw)
To: Yatskovsky, mailing list for ConTeXt users
On Sun, 12 Aug 2007, Vyatcheslav Yatskovsky wrote:
> Hello,
>
> Just a question for my curiousity: why \em switches to Slanted, not Italic?
> (I found this while setting up my own typescript for luatex.)
I don't know the reason for difference in defaults, but it can be
changed:
\setupbodyfontenvironment[default][em=italic]
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] 13+ messages in thread
* Re: em = slanted?
2007-08-12 5:47 ` Aditya Mahajan
@ 2007-08-12 14:12 ` Hans Hagen
[not found] ` <alpine.WNT.0.999.0708121204180.2624@nqvgln>
0 siblings, 1 reply; 13+ messages in thread
From: Hans Hagen @ 2007-08-12 14:12 UTC (permalink / raw)
To: mailing list for ConTeXt users; +Cc: Yatskovsky
Aditya Mahajan wrote:
> On Sun, 12 Aug 2007, Vyatcheslav Yatskovsky wrote:
>
>> Hello,
>>
>> Just a question for my curiousity: why \em switches to Slanted, not Italic?
>> (I found this while setting up my own typescript for luatex.)
>
> I don't know the reason for difference in defaults, but it can be
> changed:
>
> \setupbodyfontenvironment[default][em=italic]
slanted has alwaye been the default .. dates from the time that we
mostly used computer modern and i didn't want that italic for emphasizing
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] 13+ messages in thread
* Re: mimimal typescripting
2007-08-12 1:34 ` mimimal typescripting Vyatcheslav Yatskovsky
@ 2007-08-12 14:14 ` Hans Hagen
2007-08-12 15:20 ` Vyatcheslav Yatskovsky
0 siblings, 1 reply; 13+ messages in thread
From: Hans Hagen @ 2007-08-12 14:14 UTC (permalink / raw)
To: Yatskovsky, mailing list for ConTeXt users
Vyatcheslav Yatskovsky wrote:
> Hello,
>
> I'm wondering why before defining a typeface I must define a synonym for it. For example, my minimal working definition for Vladimir Script fontface is
>
> \starttypescript [serif] [vladimirscript]
> \definefontsynonym [Serif][name:vladimir][features=default]
> \stoptypescript
> \starttypescript [vladimirscript]
> \definetypeface [vladimirscript] [rm] [serif] [vladimirscript] [default]
> \stoptypescript
>
> Being XeTeX-adherent, it is a pain for me write that all for every font I use. Why I cannot specify it as simply as
>
> \starttypescript [vladimirscript]
> \definetypeface [vladimirscript] [rm] [serif] [name:vladimir] [default]
> \stoptypescript
>
> or better just
>
> \definetypeface [vladimirscript] [rm] [serif] [name:vladimir] [default]
>
> without any synonyms?
>
depends if you want to access the individual fonts later on, some fonts
come with 20 variants and only a few are used in a typeface then but you
still may want to access the rest with symbolic names
--
-----------------------------------------------------------------
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] 13+ messages in thread
* Re: mimimal typescripting
2007-08-12 14:14 ` Hans Hagen
@ 2007-08-12 15:20 ` Vyatcheslav Yatskovsky
2007-08-12 17:41 ` Hans Hagen
0 siblings, 1 reply; 13+ messages in thread
From: Vyatcheslav Yatskovsky @ 2007-08-12 15:20 UTC (permalink / raw)
To: Hans Hagen; +Cc: ntg-context-request@ntg.nl
Dear Hans,
I fully understand that such complex typescripts can be the only way to use full-featured professional fonts. But if I have only one ttf with one kind of typeface in it, should I write it all? XeTeX style was very appealing for many people, and verbose font definitions may distract these users.
But anyway, thank you for escaping us from TeX-specific font hell :)
Let me restate my question: is the following definition is really MINIMAL or it can be further reduced in some way?
\starttypescript [serif] [vladimirscript]
\definefontsynonym [Serif][name:vladimir][features=default]
\stoptypescript
\starttypescript [vladimirscript]
\definetypeface [vladimirscript] [rm] [serif] [vladimirscript] [default]
\stoptypescript
\usetypescript[vladimirscript]
\setupbodyfont
[vladimirscript, 12pt]
--
Best regards,
Vyatcheslav Yatskovsky
___________________________________________________________________________________
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] 13+ messages in thread
* Re: mimimal typescripting
2007-08-12 15:20 ` Vyatcheslav Yatskovsky
@ 2007-08-12 17:41 ` Hans Hagen
2007-08-13 15:20 ` Vyatcheslav Yatskovsky
0 siblings, 1 reply; 13+ messages in thread
From: Hans Hagen @ 2007-08-12 17:41 UTC (permalink / raw)
To: Yatskovsky; +Cc: ntg-context-request@ntg.nl
Vyatcheslav Yatskovsky wrote:
> Dear Hans,
>
> I fully understand that such complex typescripts can be the only way to use full-featured professional fonts. But if I have only one ttf with one kind of typeface in it, should I write it all? XeTeX style was very appealing for many people, and verbose font definitions may distract these users.
i dunno what xetex style means here, but
\font\vladimirscript=name:vladimir*default at 12pt
is as minimum as it can gets but normally you want to set up a whole
bunch of related things
> But anyway, thank you for escaping us from TeX-specific font hell :)
>
> Let me restate my question: is the following definition is really MINIMAL or it can be further reduced in some way?
>
> \starttypescript [serif] [vladimirscript]
> \definefontsynonym [Serif][name:vladimir][features=default]
> \stoptypescript
> \starttypescript [vladimirscript]
> \definetypeface [vladimirscript] [rm] [serif] [vladimirscript] [default]
> \stoptypescript
>
> \usetypescript[vladimirscript]
> \setupbodyfont
> [vladimirscript, 12pt]
\starttypescript [serif] [vladimirscript]
\setups[font:fallback:serif]
\definefontsynonym [Serif][name:vladimir][features=default]
\stoptypescript
\starttypescript [vladimirscript]
\definetypeface [vladimirscript] [rm] [serif] [vladimirscript] [default]
\stoptypescript
\usetypescript[vladimirscript]
\setupbodyfont[vladimirscript, 12pt]
by adding the setups call, you make sure that your bold etc also uses
the same font as fallback
-----------------------------------------------------------------
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] 13+ messages in thread
* Re: em = slanted?
[not found] ` <alpine.WNT.0.999.0708121204180.2624@nqvgln>
@ 2007-08-12 22:00 ` Hans Hagen
0 siblings, 0 replies; 13+ messages in thread
From: Hans Hagen @ 2007-08-12 22:00 UTC (permalink / raw)
To: mailing list for ConTeXt users
Aditya Mahajan wrote:
> Yes, I meant, why Context's defaults are different from latex's (and
> plain tex)
because i hardly used, plain, only used latex for one document, then
moved on to lamstex, inrstex and then started making a package that was
configurable nd and could handle dutch; i know plain, but my latex
knowlegde is minimal (only what i hear at conferences) -)
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] 13+ messages in thread
* Re: mimimal typescripting
2007-08-12 17:41 ` Hans Hagen
@ 2007-08-13 15:20 ` Vyatcheslav Yatskovsky
2007-08-14 5:52 ` Wolfgang Schuster
0 siblings, 1 reply; 13+ messages in thread
From: Vyatcheslav Yatskovsky @ 2007-08-13 15:20 UTC (permalink / raw)
To: Hans Hagen; +Cc: ntg-context-request@ntg.nl
Hello Hans,
Thank you for the example, it looks really minimal. :)
But nevertheless I cannot make use of it! Should I use \setupbodyfont or other command or nothing then? (I tried some variants, none worked). I currently have this, small and ugly: :)
%engine=luatex
\starttext
\font\vladimirscript=name:vladimir*default at 36pt
\midaligned{This is my title to be in big vladimir font}
\stoptext
--
Best regards,
Vyatcheslav Yatskovsky
___________________________________________________________________________________
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] 13+ messages in thread
* Re: mimimal typescripting
2007-08-13 15:20 ` Vyatcheslav Yatskovsky
@ 2007-08-14 5:52 ` Wolfgang Schuster
2007-08-14 10:35 ` Vyatcheslav Yatskovsky
0 siblings, 1 reply; 13+ messages in thread
From: Wolfgang Schuster @ 2007-08-14 5:52 UTC (permalink / raw)
To: Yatskovsky, mailing list for ConTeXt users
2007/8/13, Vyatcheslav Yatskovsky <yatskovsky@gmail.com>:
> Hello Hans,
>
> Thank you for the example, it looks really minimal. :)
>
> But nevertheless I cannot make use of it! Should I use \setupbodyfont or other command or nothing then? (I tried some variants, none worked). I currently have this, small and ugly: :)
>
> %engine=luatex
> \starttext
> \font\vladimirscript=name:vladimir*default at 36pt
\vladimirscript
> \midaligned{This is my title to be in big vladimir font}
> \stoptext
>
> --
> Best regards,
> Vyatcheslav Yatskovsky
You should also enable then font, it is not enough to define it only.
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] 13+ messages in thread
* Re: mimimal typescripting
2007-08-14 5:52 ` Wolfgang Schuster
@ 2007-08-14 10:35 ` Vyatcheslav Yatskovsky
2007-08-14 13:17 ` Taco Hoekwater
0 siblings, 1 reply; 13+ messages in thread
From: Vyatcheslav Yatskovsky @ 2007-08-14 10:35 UTC (permalink / raw)
To: Wolfgang Schuster; +Cc: ntg-context-request@ntg.nl
Hello Wolfgang,
Thanks. It works!
%engine=luatex
\starttext
\font\vladimirscript=name:vladimir*default at 36pt
\vladimirscript
\midaligned{This is my title to be in big vladimir font}
\stoptext
--
Best regards,
Vyatcheslav Yatskovsky
___________________________________________________________________________________
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] 13+ messages in thread
* Re: mimimal typescripting
2007-08-14 10:35 ` Vyatcheslav Yatskovsky
@ 2007-08-14 13:17 ` Taco Hoekwater
0 siblings, 0 replies; 13+ messages in thread
From: Taco Hoekwater @ 2007-08-14 13:17 UTC (permalink / raw)
To: Yatskovsky, mailing list for ConTeXt users
Vyatcheslav Yatskovsky wrote:
> Hello Wolfgang,
>
> Thanks. It works!
>
If you want to get away from the bare \font command but not much
more advanced, you can do this, which is a little shorter than
your original definition:
\starttypescript [serif] [vladimirscript]
\definefontsynonym [Serif][name:vladimir][features=default]
\stoptypescript
\definetypeface [vladimirscript] [rm] [serif] [vladimirscript][default]
\setupbodyfont
[vladimirscript, 12pt]
Best wishes, Taco
___________________________________________________________________________________
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] 13+ messages in thread
end of thread, other threads:[~2007-08-14 13:17 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <mailman.754.1186866351.2346.ntg-context@ntg.nl>
2007-08-12 1:07 ` em = slanted? Vyatcheslav Yatskovsky
2007-08-12 4:08 ` luigi scarso
2007-08-12 5:47 ` Aditya Mahajan
2007-08-12 14:12 ` Hans Hagen
[not found] ` <alpine.WNT.0.999.0708121204180.2624@nqvgln>
2007-08-12 22:00 ` Hans Hagen
2007-08-12 1:34 ` mimimal typescripting Vyatcheslav Yatskovsky
2007-08-12 14:14 ` Hans Hagen
2007-08-12 15:20 ` Vyatcheslav Yatskovsky
2007-08-12 17:41 ` Hans Hagen
2007-08-13 15:20 ` Vyatcheslav Yatskovsky
2007-08-14 5:52 ` Wolfgang Schuster
2007-08-14 10:35 ` Vyatcheslav Yatskovsky
2007-08-14 13:17 ` Taco Hoekwater
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).