* Cyrillic replacement for TeX Gyre Schola? @ 2013-08-20 5:16 Henning Hraban Ramm 2013-08-23 12:00 ` Marco Patzer 0 siblings, 1 reply; 11+ messages in thread From: Henning Hraban Ramm @ 2013-08-20 5:16 UTC (permalink / raw) To: mailing ConTeXt users list for приве́т! My songbooks are typeset in TeX Gyre Schola (since Century Schoolbook is the default lyrics font of LilyPond, I like it and it’s very readable). Seems like I didn’t need Russian lyrics since the removal of Cyrillic glyphs from TeX Gyre. But now I do. What would you do? Is there an illegal "complete" version around, or can you suggest a replacement (and tell me how to setup ConTeXt to take that font for all Cyrillic letters)? Greetlings, Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer) ___________________________________________________________________________________ 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] 11+ messages in thread
* Re: Cyrillic replacement for TeX Gyre Schola? 2013-08-20 5:16 Cyrillic replacement for TeX Gyre Schola? Henning Hraban Ramm @ 2013-08-23 12:00 ` Marco Patzer 2013-08-23 14:54 ` Henning Hraban Ramm 0 siblings, 1 reply; 11+ messages in thread From: Marco Patzer @ 2013-08-23 12:00 UTC (permalink / raw) To: ntg-context [-- Attachment #1.1: Type: text/plain, Size: 2186 bytes --] On 2013–08–20 Henning Hraban Ramm wrote: > Seems like I didn’t need Russian lyrics since the removal of > Cyrillic glyphs from TeX Gyre. But now I do. What would you do? Is > there an illegal "complete" version around, Many commercial fonts cover the Cyrillic range. Pick whichever you like. > or can you suggest a replacement (and tell me how to setup ConTeXt > to take that font for all Cyrillic letters)? You didn't specify your requirements. Do you need a free font or a free font that ships with ConTeXt? I think DejaVu Serif is fairly close to Century Schoolbook. You can also try xits. This should get you started: \usemodule [simplefonts] \setmainfont [schola] \setmainfontfallback [dejavuserif] [range=cyrillic] \starttext \input knuth Традиционная систематика лишайников оказывается во многом условна и отражает, скорее, особенности их строения и экологии, чем родственные отношения внутри группы, тем более что основывается она только на микобионте, а фотобионт сохраняет свою таксономическую самостоятельность. Классифицируют лишайники по-разному, но в настоящее время рассматривают их как экологическую группу, уже не придавая им статуса таксона, поскольку независимость происхождения разных групп лишайников не вызывает сомнений, а группы, входящие в состав лишайников, помещают туда же, что и родственные микобионту грибы, не образующие лишайников. Для обозначения лишайников используют биноминальную номенклатуру, названия соответствуют названию микобионта. \stoptext Marco [-- Attachment #1.2: Digital signature --] [-- Type: application/pgp-signature, Size: 490 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] 11+ messages in thread
* Re: Cyrillic replacement for TeX Gyre Schola? 2013-08-23 12:00 ` Marco Patzer @ 2013-08-23 14:54 ` Henning Hraban Ramm 2013-08-23 16:33 ` Marco Patzer 2013-08-24 5:10 ` Wolfgang Schuster 0 siblings, 2 replies; 11+ messages in thread From: Henning Hraban Ramm @ 2013-08-23 14:54 UTC (permalink / raw) To: mailing list for ConTeXt users Am 2013-08-23 um 18:00 schrieb Marco Patzer <lists@homerow.info>: > On 2013–08–20 Henning Hraban Ramm wrote: > >> Seems like I didn’t need Russian lyrics since the removal of >> Cyrillic glyphs from TeX Gyre. But now I do. What would you do? Is >> there an illegal "complete" version around, > > Many commercial fonts cover the Cyrillic range. Pick whichever you > like. Of course. I have plenty. The question was meant more like: Is there another free version of Century Schoolbook or lookalike that includes Cyrillic. >> or can you suggest a replacement (and tell me how to setup ConTeXt >> to take that font for all Cyrillic letters)? > > You didn't specify your requirements. Do you need a free font or a > free font that ships with ConTeXt? I think DejaVu Serif is fairly > close to Century Schoolbook. You can also try xits. > > This should get you started: > > \usemodule [simplefonts] > \setmainfont [schola] > \setmainfontfallback [dejavuserif] [range=cyrillic] Thank you, that is what I was looking for. How would I write the last line without the simplefonts module? (At the moment I’m using a typescript that e.g. also defines hw.) Greetlings, Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer) ___________________________________________________________________________________ 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] 11+ messages in thread
* Re: Cyrillic replacement for TeX Gyre Schola? 2013-08-23 14:54 ` Henning Hraban Ramm @ 2013-08-23 16:33 ` Marco Patzer 2013-08-23 16:44 ` Marco Patzer 2013-08-24 5:10 ` Wolfgang Schuster 1 sibling, 1 reply; 11+ messages in thread From: Marco Patzer @ 2013-08-23 16:33 UTC (permalink / raw) To: ntg-context [-- Attachment #1.1: Type: text/plain, Size: 1259 bytes --] On 2013–08–23 Henning Hraban Ramm wrote: > > This should get you started: > > > > \usemodule [simplefonts] > > \setmainfont [schola] > > \setmainfontfallback [dejavuserif] [range=cyrillic] > > > Thank you, that is what I was looking for. > How would I write the last line without the simplefonts module? You define the fallback using \definefontfallback and then use the fallback key when defining the font. \definefontfallback [cyr] [name:dejavuserif] [cyrillic] \definefontsynonym [Serif-Fallback] [Serif] [fallbacks=cyr] \definefont [mySchola] [Serif-Fallback] \setupbodyfont [schola] \starttext \mySchola \input knuth Традиционная систематика лишайников оказывается во многом условна и отражает, скорее, особенности их строения и экологии, чем родственные отношения внутри группы, тем более что основывается она только на микобионте, а фотобионт сохраняет свою таксономическую самостоятельность. \stoptext Marco [-- Attachment #1.2: Digital signature --] [-- Type: application/pgp-signature, Size: 490 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] 11+ messages in thread
* Re: Cyrillic replacement for TeX Gyre Schola? 2013-08-23 16:33 ` Marco Patzer @ 2013-08-23 16:44 ` Marco Patzer 2013-08-24 5:12 ` Wolfgang Schuster 0 siblings, 1 reply; 11+ messages in thread From: Marco Patzer @ 2013-08-23 16:44 UTC (permalink / raw) To: ntg-context [-- Attachment #1.1: Type: text/plain, Size: 1745 bytes --] On 2013–08–23 Marco Patzer wrote: > On 2013–08–23 Henning Hraban Ramm wrote: > > > > This should get you started: > > > > > > \usemodule [simplefonts] > > > \setmainfont [schola] > > > \setmainfontfallback [dejavuserif] [range=cyrillic] > > > > > > Thank you, that is what I was looking for. > > How would I write the last line without the simplefonts module? > > You define the fallback using \definefontfallback and then use the > fallback key when defining the font. Maybe it's better to show a complete typescript: \definefontfallback [cyrillic_regular] [name:dejavuserif] [cyrillic] \definefontfallback [cyrillic_bold] [name:dejavuserifbold] [cyrillic] \definefontfallback [cyrillic_italic] [name:dejavuserifitalic] [cyrillic] \definefontfallback [cyrillic_bolditalic] [name:dejavuserifbolditalic] [cyrillic] \starttypescript [serif] [schola] \setups [font:fallback:serif] \definefontsynonym [Serif] [name:texgyreschola-regular] [fallbacks=cyrillic_regular] \definefontsynonym [SerifBold] [name:texgyreschola-bold] [fallbacks=cyrillic_bold] \definefontsynonym [SerifItalic] [name:texgyreschola-italic] [fallbacks=cyrillic_italic] \definefontsynonym [SerifBoldItalic] [name:texgyreschola-bolditalic] [fallbacks=cyrillic_bolditalic] \stoptypescript \starttypescript [schola] \definetypeface [\typescriptone] [rm] [serif] [schola] [default] \definetypeface [\typescriptone] [ss] [sans] [latin-modern] [default] \definetypeface [\typescriptone] [tt] [mono] [latin-modern] [default] \definetypeface [\typescriptone] [mm] [math] [latin-modern] [default] \stoptypescript Marco [-- Attachment #1.2: Digital signature --] [-- Type: application/pgp-signature, Size: 490 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] 11+ messages in thread
* Re: Cyrillic replacement for TeX Gyre Schola? 2013-08-23 16:44 ` Marco Patzer @ 2013-08-24 5:12 ` Wolfgang Schuster 2013-08-24 11:38 ` Marco Patzer 0 siblings, 1 reply; 11+ messages in thread From: Wolfgang Schuster @ 2013-08-24 5:12 UTC (permalink / raw) To: mailing list for ConTeXt users Am 23.08.2013 um 18:44 schrieb Marco Patzer <lists@homerow.info>: > Maybe it's better to show a complete typescript: > > \definefontfallback [cyrillic_regular] [name:dejavuserif] [cyrillic] > \definefontfallback [cyrillic_bold] [name:dejavuserifbold] [cyrillic] > \definefontfallback [cyrillic_italic] [name:dejavuserifitalic] [cyrillic] > \definefontfallback [cyrillic_bolditalic] [name:dejavuserifbolditalic] [cyrillic] > > \starttypescript [serif] [schola] > \setups [font:fallback:serif] > \definefontsynonym [Serif] [name:texgyreschola-regular] [fallbacks=cyrillic_regular] > \definefontsynonym [SerifBold] [name:texgyreschola-bold] [fallbacks=cyrillic_bold] > \definefontsynonym [SerifItalic] [name:texgyreschola-italic] [fallbacks=cyrillic_italic] > \definefontsynonym [SerifBoldItalic] [name:texgyreschola-bolditalic] [fallbacks=cyrillic_bolditalic] > \stoptypescript > > \starttypescript [schola] > \definetypeface [\typescriptone] [rm] [serif] [schola] [default] > \definetypeface [\typescriptone] [ss] [sans] [latin-modern] [default] > \definetypeface [\typescriptone] [tt] [mono] [latin-modern] [default] > \definetypeface [\typescriptone] [mm] [math] [latin-modern] [default] > \stoptypescript You missed in the typescript the features setting for the main and also the fallback font. 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] 11+ messages in thread
* Re: Cyrillic replacement for TeX Gyre Schola? 2013-08-24 5:12 ` Wolfgang Schuster @ 2013-08-24 11:38 ` Marco Patzer 2013-08-24 14:00 ` Wolfgang Schuster 0 siblings, 1 reply; 11+ messages in thread From: Marco Patzer @ 2013-08-24 11:38 UTC (permalink / raw) To: ntg-context [-- Attachment #1.1: Type: text/plain, Size: 1377 bytes --] On 2013–08–24 Wolfgang Schuster wrote: > You missed in the typescript the features setting for the main and also the fallback font. I did, indeed. However, I'm unsure how to do it (I never needed to typeset Cyrillic and I can't even tell if it typesets correctly). The default features should be applied to the regular font and a special feature set to the fallback font. If I add the features=default in the font synonym definition, the fallback breaks. It works, if the star syntax is being used. I don't quite understand why. %% not sure which features are required for Cyrillic \definefontfeature [cyr-default] [mode=node, script=cyrl] \definefontfallback [cyrillic_regular] [name:dejavuserif*cyr-default] [cyrillic] \starttypescript [serif] [schola] %% works %% \definefontsynonym [Serif] [name:texgyreschola-regular*default] [fallbacks=cyrillic_regular] %% fallback does not work \definefontsynonym [Serif] [name:texgyreschola-regular] [features=default, fallbacks=cyrillic_regular] \stoptypescript \starttypescript [schola] \definetypeface [\typescriptone] [rm] [serif] [schola] [default] \stoptypescript \setupbodyfont [schola] \starttext \input knuth Традиционная систематика лишайников оказывается во многом условна и \stoptext Marco [-- Attachment #1.2: Digital signature --] [-- Type: application/pgp-signature, Size: 490 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] 11+ messages in thread
* Re: Cyrillic replacement for TeX Gyre Schola? 2013-08-24 11:38 ` Marco Patzer @ 2013-08-24 14:00 ` Wolfgang Schuster 2013-08-24 14:18 ` Marco Patzer 0 siblings, 1 reply; 11+ messages in thread From: Wolfgang Schuster @ 2013-08-24 14:00 UTC (permalink / raw) To: mailing list for ConTeXt users Am 24.08.2013 um 13:38 schrieb Marco Patzer <lists@homerow.info>: > On 2013–08–24 Wolfgang Schuster wrote: > >> You missed in the typescript the features setting for the main and also the fallback font. > > I did, indeed. However, I'm unsure how to do it (I never needed to > typeset Cyrillic and I can't even tell if it typesets correctly). > The default features should be applied to the regular font and a > special feature set to the fallback font. If I add the > features=default in the font synonym definition, the fallback > breaks. It works, if the star syntax is being used. > > I don't quite understand why. > > %% not sure which features are required for Cyrillic > \definefontfeature [cyr-default] [mode=node, script=cyrl] > \definefontfallback [cyrillic_regular] [name:dejavuserif*cyr-default] [cyrillic] > > \starttypescript [serif] [schola] > %% works > %% \definefontsynonym [Serif] [name:texgyreschola-regular*default] [fallbacks=cyrillic_regular] > > %% fallback does not work > \definefontsynonym [Serif] [name:texgyreschola-regular] [features=default, fallbacks=cyrillic_regular] > \stoptypescript > > \starttypescript [schola] > \definetypeface [\typescriptone] [rm] [serif] [schola] [default] > \stoptypescript > > \setupbodyfont [schola] > > \starttext > \input knuth > > Традиционная систематика лишайников оказывается во многом условна и > \stoptext I can’t reproduce your problem with the features key. To set the features for the fallback font I would use \ definefontsynonym. \definefontfeature [cyr-default] [mode=node, script=cyrl] \definefontsynonym [CyrillicRegular] [file:dejavuserif] [features=cyr-default] \definefontfallback [cyrillic_regular] [CyrillicRegular] [cyrillic] \starttypescript [serif] [schola] \definefontsynonym [Serif] [file:texgyrescholaregular] [features=default,fallbacks=cyrillic_regular] \stoptypescript \starttypescript [schola] \definetypeface [\typescriptone] [rm] [serif] [schola] [default] \stoptypescript \setupbodyfont [schola] \starttext \input knuth Традиционная систематика лишайников оказывается во многом условна и \stoptext 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] 11+ messages in thread
* Re: Cyrillic replacement for TeX Gyre Schola? 2013-08-24 14:00 ` Wolfgang Schuster @ 2013-08-24 14:18 ` Marco Patzer 2013-08-24 14:24 ` Wolfgang Schuster 0 siblings, 1 reply; 11+ messages in thread From: Marco Patzer @ 2013-08-24 14:18 UTC (permalink / raw) To: ntg-context [-- Attachment #1.1: Type: text/plain, Size: 647 bytes --] On 2013–08–24 Wolfgang Schuster wrote: > I can’t reproduce your problem with the features key. I was surprised that your example was running here, and I noticed that a space makes all the difference: %% fails \definefontsynonym [Serif] [file:texgyrescholaregular] [features=default, fallbacks=cyrillic_regular] %% works \definefontsynonym [Serif] [file:texgyrescholaregular] [features=default,fallbacks=cyrillic_regular] ^^^ > To set the features for the fallback font I would use \ > definefontsynonym. Makes more sense, yes. Marco [-- Attachment #1.2: Digital signature --] [-- Type: application/pgp-signature, Size: 490 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] 11+ messages in thread
* Re: Cyrillic replacement for TeX Gyre Schola? 2013-08-24 14:18 ` Marco Patzer @ 2013-08-24 14:24 ` Wolfgang Schuster 0 siblings, 0 replies; 11+ messages in thread From: Wolfgang Schuster @ 2013-08-24 14:24 UTC (permalink / raw) To: mailing list for ConTeXt users Am 24.08.2013 um 16:18 schrieb Marco Patzer <lists@homerow.info>: > On 2013–08–24 Wolfgang Schuster wrote: > >> I can’t reproduce your problem with the features key. > > I was surprised that your example was running here, and I noticed > that a space makes all the difference: \definefontsynonym uses its own parser for the key-val arguments which doesn’t remove spaces before keys. 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] 11+ messages in thread
* Re: Cyrillic replacement for TeX Gyre Schola? 2013-08-23 14:54 ` Henning Hraban Ramm 2013-08-23 16:33 ` Marco Patzer @ 2013-08-24 5:10 ` Wolfgang Schuster 1 sibling, 0 replies; 11+ messages in thread From: Wolfgang Schuster @ 2013-08-24 5:10 UTC (permalink / raw) To: mailing list for ConTeXt users; +Cc: Henning Hraban Ramm Am 23.08.2013 um 16:54 schrieb Henning Hraban Ramm <texml@fiee.net>: > (At the moment I’m using a typescript that e.g. also defines hw.) You can set a font for \hw with the \sethandwritingfont command. 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] 11+ messages in thread
end of thread, other threads:[~2013-08-24 14:24 UTC | newest] Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2013-08-20 5:16 Cyrillic replacement for TeX Gyre Schola? Henning Hraban Ramm 2013-08-23 12:00 ` Marco Patzer 2013-08-23 14:54 ` Henning Hraban Ramm 2013-08-23 16:33 ` Marco Patzer 2013-08-23 16:44 ` Marco Patzer 2013-08-24 5:12 ` Wolfgang Schuster 2013-08-24 11:38 ` Marco Patzer 2013-08-24 14:00 ` Wolfgang Schuster 2013-08-24 14:18 ` Marco Patzer 2013-08-24 14:24 ` Wolfgang Schuster 2013-08-24 5:10 ` Wolfgang Schuster
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).