[NTG-context] Re: additional font faces

2024-03-08 Thread Hans Hagen
[sans] [AlegreyaMedium] and then use \switchtobodyfont[AlegreyaMedium]\sl or \AlegreyaMedium\sl which is also more efficient than adding more variants Hans % adapted from font-pre.mkxl \definefontalternative[md] \definefontalternative[mi] \definefontalternative[ms] \definealternativestyle [m

[NTG-context] additional font faces

2024-03-08 Thread Henning Hraban Ramm
Hi, if I need an additional pair of upright and italic font faces, e.g. a Medium or Light version, would it make sense to define them like this: % adapted from font-pre.mkxl \definefontalternative[md] \definefontalternative[mi] \definefontalternative[ms] \definealternativestyle [medium

[NTG-context] Non-standard font alternatives

2022-12-13 Thread Matthew McCabe via ntg-context
t I'm making I would prefer to be able to treat the font weights as alternatives rather than separate families since I will be switching often. One can download the exact set of fonts I am using from https://fonts.google.com/specimen/Roboto Here is my code: \definefontalternative[lf] % lig

Re: [NTG-context] Help needed with Custodia typescript

2022-05-25 Thread Henning Hraban Ramm via ntg-context
Congrats! While I don’t know what \mi is, it’s apparently protected. Maybe there’s a hint in the log. Am 25.05.22 um 19:39 schrieb Stefan Nedeljkovic: Actually I got lucky just now: \definefontalternative[md] \definefontalternative[mc] Works just fine. Thank you for your suggestion

Re: [NTG-context] Help needed with Custodia typescript

2022-05-25 Thread Stefan Nedeljkovic via ntg-context
Actually I got lucky just now: \definefontalternative[md] \definefontalternative[mc] Works just fine. Thank you for your suggestion Henning! On Wed, May 25, 2022 at 7:35 PM Stefan Nedeljkovic wrote: > mtxrun --script fonts --list --all --pattern=Custodia > iden

Re: [NTG-context] Help needed with Custodia typescript

2022-05-25 Thread Stefan Nedeljkovic via ntg-context
he > > custodiasemibolditalic > > > won't show up. It shows up regularly when I run mtxrun --script > > fonts > > > --list --all --pattern=Custodia > > > > > > I'm attaching the output for reference. Any help would b

Re: [NTG-context] Help needed with Custodia typescript

2022-05-25 Thread Henning Hraban Ramm via ntg-context
7;t show up. It shows up regularly when I run mtxrun --script fonts > --list --all --pattern=Custodia > > I'm attaching the output for reference. Any help would be appreciated. > > > Sincerely, > &g

Re: [NTG-context] Help needed with Custodia typescript

2022-05-25 Thread Stefan Nedeljkovic via ntg-context
gt; > > > I'm attaching the output for reference. Any help would be appreciated. > > > > > > Sincerely, > > > > Stefan > > > > \definefontalternative[md] > > > > \definefontalternative[mi] > > > > > > \starttype

Re: [NTG-context] Help needed with Custodia typescript

2022-05-25 Thread Henning Hraban Ramm via ntg-context
cerely, Stefan \definefontalternative[md] \definefontalternative[mi] \starttypescript [serif] [custodia] \definefontsynonym[Serif] [name:custodianormal][features=default] \definefontsynonym[SerifItalic] [name:custodianormalitalic][features=default] \definefontsynonym[SerifMedium] [name:custodiasem

[NTG-context] Help needed with Custodia typescript

2022-05-25 Thread Stefan Nedeljkovic via ntg-context
cerely, Stefan \definefontalternative[md] \definefontalternative[mi] \starttypescript [serif] [custodia] \definefontsynonym[Serif] [name:custodianormal][features=default] \definefontsynonym[SerifItalic] [name:custodianormalitalic][features=default] \definefontsynonym[SerifMedium] [name:custodiasemibold][f

Re: [NTG-context] Incorrect rendering in Devanagari forms in some fonts

2021-09-01 Thread kauśika cittūr via ntg-context
ular base', i.e., have no danda (the vertical line) next > to the character. For what it is worth, I have noticed also that I am able > to 'circumvent' this issue if I write > > छ्र‌ +‌ ​ZWS + Devanagari vowel sign > > where ZWS is the zero-width space U+20

[NTG-context] Incorrect rendering in Devanagari forms in some fonts

2021-09-01 Thread kauśika cittūr via ntg-context
nately, this quickly becomes very untenable in large documents. Since I was new to ConTeXt I did not venture to ask earlier on since I had not read much of the documentaion. Now, after having read quite a bit, I have mustered up the courage to ask here. As a stop-gap solution, I defined an

Re: [NTG-context] Handling Optical Sizes for Minion Pro in Context (LuaTeX)

2016-05-09 Thread Antoine Cailliau
7pPA5_WkDdlNLbHdkMjg2dkU/view?usp=sharing > > The source: > > \definefontalternative[me] > ... > > \starttypescript [serif] [optical] [size] > > % design size 8 pt, size range (6 pt, 8.4 pt] > \definebodyfont [4pt,5pt,6pt,7pt,8pt] [rm] > [tf=SerifCaption sa 1,

[NTG-context] Handling Optical Sizes for Minion Pro in Context (LuaTeX)

2016-05-09 Thread Antoine Cailliau
font. - When using \switchtobodyfont, switches are correct up to 12pt. After that, it fallback on xits-mathbold Any help is welcome :-) The compiled file : https://drive.google.com/file/d/0Bwo7pPA5_WkDdlNLbHdkMjg2dkU/view?usp=sharing The source: \definefontalternative[me] ... \starttypescript [

Re: [NTG-context] Handling Semi-Bold for Minion Pro in Context (LuaTeX)

2016-05-04 Thread Antoine Cailliau
r the "regular" > style-alternative. > > I don't know why, but the italic style-alternative do not work. In the > log, the font is not even loaded... Do you have an idea of what I'm doing > wrong? > > \definefontalternative[me] > \definefontalternative[m

Re: [NTG-context] Handling Semi-Bold for Minion Pro in Context (LuaTeX)

2016-05-04 Thread Wolfgang Schuster
o you have an idea of what I'm doing wrong? \definefontalternative[me] \definefontalternative[meit] \definefontalternative[se] \definefontalternative[seit] You can also only two letter names for the alternatives because the \definebodyfont command interprets everything after two letter as

Re: [NTG-context] Handling Semi-Bold for Minion Pro in Context (LuaTeX)

2016-05-04 Thread Antoine Cailliau
on't know why, but the italic style-alternative do not work. In the > log, the font is not even loaded... Do you have an idea of what I'm doing > wrong? > > \definefontalternative[me] > \definefontalternative[meit] > \definefontalternative[se] > \definefontalte

Re: [NTG-context] Handling Semi-Bold for Minion Pro in Context (LuaTeX)

2016-05-04 Thread Antoine Cailliau
Thank you very much for the example. I got it working for the "regular" style-alternative. I don't know why, but the italic style-alternative do not work. In the log, the font is not even loaded... Do you have an idea of what I'm doing wrong? \definefontalternative[me] \d

Re: [NTG-context] Handling Semi-Bold for Minion Pro in Context (LuaTeX)

2016-05-03 Thread Wolfgang Schuster
ion is to write your own typescript for the fonts. \definefontalternative[sb] \definefontalternative[si] \starttypescript [sans] [source-sans] \definebodyfont [default] [ss] [tf=Sans sa 1, it=SansItalic sa 1, sb=SansMedium sa 1, si=SansMediumItali

[NTG-context] Handling Semi-Bold for Minion Pro in Context (LuaTeX)

2016-05-02 Thread Antoine Cailliau
Hello, I'm trying to use the font Minion Pro for my document. I'm using the simplefont module but I cannot use the semibold font. I guess I'm missing some line in the configuration to bind sb to the semibold variant. Here is a short example of my setup: \definefon

Re: [NTG-context] Fonts in Mk IV -- \definefontalternative documentation?

2011-11-11 Thread Christian
> > Hello and welcome to the world of ConTeXt! > > > > I was in you place about one year ago :) > > > > The best way to get started with fonts is probably the simplefonts module. > I haven't used anything since I started and was able to do everything I wished > for, so far. > > Peter wants to use

Re: [NTG-context] Fonts in Mk IV -- \definefontalternative documentation?

2011-11-11 Thread Wolfgang Schuster
Am 11.11.2011 um 11:13 schrieb Christian: > Hello and welcome to the world of ConTeXt! > > I was in you place about one year ago :) > > The best way to get started with fonts is probably the simplefonts module. I > haven't used anything since I started and was able to do everything I wished >

Re: [NTG-context] Fonts in Mk IV -- \definefontalternative documentation?

2011-11-11 Thread Christian
> somewhere else? I have searched through the revised Fonts chapter of the > ConTeXt manual but the \definefontalternative macro and the approach > described here are not documented there. > > The approach below works for me if I adapt it to Adobe Garamond Premier > Pro, but I am atte

[NTG-context] Fonts in Mk IV -- \definefontalternative documentation?

2011-11-10 Thread Peter Park Nelson
ot; or can I find it somewhere else? I have searched through the revised Fonts chapter of the ConTeXt manual but the \definefontalternative macro and the approach described here are not documented there. The approach below works for me if I adapt it to Adobe Garamond Premier Pro, but I am attemptin

Re: [NTG-context] odd end-of-line error w/ Minion Pro

2011-02-11 Thread Christian
Stylistic Alternates \definefontfeature[sups][default][sups=yes] % Superscript \definefontfeature[subs][default][subs=yes] % Subscript % small caps wrapper \def\smcp#1{{\setff{smallcaps}#1}} \definefontfeature[addfssmcp][mode=node,smcp=yes] \unexpanded\def\sc{\addfs{addfssmcp}} %% We n

Re: [NTG-context] Inconsistent handling of ligatures

2011-02-10 Thread Christian
} \definefontfeature[addfssmcp][mode=node,smcp=yes] \unexpanded\def\sc{\addfs{addfssmcp}} %%% %%% FONT-STYLES % %%%%%%% % \definefontalternative [bl] % \definefontalternative [bli] \definefontalternative [bc] \definefontalternative [bci

Re: [NTG-context] Typescript troubles with semibold font.

2011-02-09 Thread Christian
ones for defining > % the semi bold alternatives > > \definefontalternative [sb] > \definefontalternative [si] > > \definebodyfont [default] [ss] > [sb=SansSemiBold sa 1, >si=SansSemiBoldItalic sa 1] > > \starttypescript [sans] [myriadpro] >\definefontsynonym [MyriadPro

Re: [NTG-context] Typescript troubles with semibold font.

2011-02-09 Thread Taco Hoekwater
leted all lines except the relevant ones for defining % the semi bold alternatives \definefontalternative [sb] \definefontalternative [si] \definebodyfont [default] [ss] [sb=SansSemiBold sa 1, si=SansSemiBoldItalic sa 1] \starttypescript [sans] [myriadpro] \definefontsynon

Re: [NTG-context] \definefontalternative breaks font switches in math

2010-12-08 Thread Hans Hagen
On 8-12-2010 9:18, Florian Wobbe wrote: Dear typescript experts, in an earlier Email I reported, that the font switches did not work in math mode. E.g., $\bf a=\alpha$ $\bi a=\alpha$ did not display bold math. It turned out that this happens when I invoke \definefontalternative. Normaly

[NTG-context] \definefontalternative breaks font switches in math

2010-12-08 Thread Florian Wobbe
Dear typescript experts, in an earlier Email I reported, that the font switches did not work in math mode. E.g., $\bf a=\alpha$ $\bi a=\alpha$ did not display bold math. It turned out that this happens when I invoke \definefontalternative. Normaly \bf is defined like this: *\show\bf >

[NTG-context] Typescript Bodoni Old Fashion

2010-12-03 Thread Philipp Gesang
tant{SerifSemiBold} \definesystemconstant{SerifSemiBoldItalic} \definefontalternative[sbo] \definefontalternative[sbi] \definebodyfont [default] [rm] [tf=Serif sa 1, bf=SerifBold sa 1, it=SerifItalic sa 1, sl=SerifSlanted sa 1, bi=SerifBoldItalic sa 1, bs=SerifBoldSlanted sa 1, sbo=

Re: [NTG-context] Script to automatically generate typescripts

2010-06-07 Thread Thomas Floeren
;\stop' with '\starttext' and '\stoptext' (otherwise it doesn't work on my sytem). 3. The line '\usetypescriptfile []' should be included in the test-file. So the test-file will use the typescript file if it is in the same directory as the test-file. 4.

Re: [NTG-context] getting new font variants to work

2010-06-03 Thread Bernhard Rosensteiner
hough. How can I fix this, short of > > \def\me{\definedfont[SerifMedium]} when the rest if the typescript works the problem lies here: instead or additionally of \definealternativestyle[medium][\me][] use \definefontalternative[me] then the command \me

[NTG-context] typescripts

2010-03-17 Thread Michael Saunders
o reason for not > extending the model for your particular needs. Mojca -- Wolfgang Schuster: > The last time i did this you needed for MkIV also > > \definefontalternative[in] > \definefontalternative[bd] > > but be carefull with the shortcuts, \in is a

Re: [NTG-context] typescripts

2010-03-17 Thread Mojca Miklavec
dItalic sa 1, >>    bs=SerifBoldSlanted sa 1, >>    sc=SerifCaps sa 1] >> >> You could add your >>   in=SerifYourFontVariantName sa 1, >>   bd=SerifYourOtherFontVariantName sa 1, >> > > The last time i did this you needed for MkIV also > > \defin

Re: [NTG-context] typescripts

2010-03-17 Thread Wolfgang Schuster
sa 1, The last time i did this you needed for MkIV also \definefontalternative[in] \definefontalternative[bd] but be carefull with the shortcuts, \in is already used (references). And then \definefontsynonym[SerifYourFontVariantName][YourFontName] It's true that most people don