* Where to store typescripts ? @ 2009-06-04 8:34 Nicolas Girard 2009-06-04 8:38 ` luigi scarso 0 siblings, 1 reply; 20+ messages in thread From: Nicolas Girard @ 2009-06-04 8:34 UTC (permalink / raw) To: mailing list for ConTeXt users Hi, Where should typescript files be stored ? Is it possible to store them in user space, eg in a subdirectory of Luatex cache (when using luatex) ? Thanks in advance! Nicolas ___________________________________________________________________________________ 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] 20+ messages in thread
* Re: Where to store typescripts ? 2009-06-04 8:34 Where to store typescripts ? Nicolas Girard @ 2009-06-04 8:38 ` luigi scarso 2009-06-04 9:05 ` Hans Hagen 2009-06-04 9:11 ` Nicolas Girard 0 siblings, 2 replies; 20+ messages in thread From: luigi scarso @ 2009-06-04 8:38 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1.1: Type: text/plain, Size: 224 bytes --] On Thu, Jun 4, 2009 at 10:34 AM, Nicolas Girard <nicolas.girard@nerim.net>wrote: > Hi, > > Where should typescript files be stored ? > If you have minimals(-beta) try minimals/tex/texmf-context/tex/context/user -- luigi [-- Attachment #1.2: Type: text/html, Size: 531 bytes --] [-- 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] 20+ messages in thread
* Re: Where to store typescripts ? 2009-06-04 8:38 ` luigi scarso @ 2009-06-04 9:05 ` Hans Hagen 2009-06-04 9:11 ` Nicolas Girard 1 sibling, 0 replies; 20+ messages in thread From: Hans Hagen @ 2009-06-04 9:05 UTC (permalink / raw) To: mailing list for ConTeXt users luigi scarso wrote: > On Thu, Jun 4, 2009 at 10:34 AM, Nicolas Girard <nicolas.girard@nerim.net>wrote: > >> Hi, >> >> Where should typescript files be stored ? >> > > If you have minimals(-beta) > try > minimals/tex/texmf-context/tex/context/user personal ones? minimals/tex/texmf-fonts/tex/context/user minimals/tex/texmf-project/tex/context/user ----------------------------------------------------------------- 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] 20+ messages in thread
* Re: Where to store typescripts ? 2009-06-04 8:38 ` luigi scarso 2009-06-04 9:05 ` Hans Hagen @ 2009-06-04 9:11 ` Nicolas Girard 2009-06-04 9:21 ` luigi scarso 1 sibling, 1 reply; 20+ messages in thread From: Nicolas Girard @ 2009-06-04 9:11 UTC (permalink / raw) To: mailing list for ConTeXt users 2009/6/4 luigi scarso <luigi.scarso@gmail.com>: > > > On Thu, Jun 4, 2009 at 10:34 AM, Nicolas Girard <nicolas.girard@nerim.net> > wrote: >> >> Hi, >> >> Where should typescript files be stored ? > > If you have minimals(-beta) > try > minimals/tex/texmf-context/tex/context/user > Hi Luigi, thanks for your answer. I'm using the latest mkiv installed over texlive 2008. It is a system directory ; is it the only one ? Anyway I couldn't get my typescript file to work. Here's what I did: (assume TF is http://bitbucket.org/wolfs/typescripts/src/7050bb6918bb/type-exljbris.mkiv ) 1. put the contents of TF in a test document along with \usetypescript[delicious] The document compiled fine and the Delicious fonts were properly included. 2. copied TF in tex/context/user/ as adviced 3. ran mktexlsr, just in case 4. In the test document, removed the contents of TF and replaced it with \usetypescriptfile[type-exljibris] The compilation ran smoothly, I should say too smoothly, because I couldn't find any font-related error message, neither in the output, nor in the log file. And however, ConTeXt used lmodern fonts instead of the Delicious fonts. Cheers, Nicolas ___________________________________________________________________________________ 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] 20+ messages in thread
* Re: Where to store typescripts ? 2009-06-04 9:11 ` Nicolas Girard @ 2009-06-04 9:21 ` luigi scarso 2009-06-04 14:00 ` Nicolas Girard 0 siblings, 1 reply; 20+ messages in thread From: luigi scarso @ 2009-06-04 9:21 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1.1: Type: text/plain, Size: 1080 bytes --] On Thu, Jun 4, 2009 at 11:11 AM, Nicolas Girard <nicolas.girard@nerim.net>wrote: > 2009/6/4 luigi scarso <luigi.scarso@gmail.com>: > > > > > > On Thu, Jun 4, 2009 at 10:34 AM, Nicolas Girard < > nicolas.girard@nerim.net> > > wrote: > >> > >> Hi, > >> > >> Where should typescript files be stored ? > > > > If you have minimals(-beta) > > try > > minimals/tex/texmf-context/tex/context/user > > > > Hi Luigi, > thanks for your answer. > I'm using the latest mkiv installed over texlive 2008. > It is a system directory ; is it the only one ? > > Anyway I couldn't get my typescript file to work. > Here's what I did: > > (assume TF is > http://bitbucket.org/wolfs/typescripts/src/7050bb6918bb/type-exljbris.mkiv > ) > > 1. put the contents of TF in a test document along with > \usetypescript[delicious] > The document compiled fine and the Delicious fonts were properly included. > > 2. copied TF in tex/context/user/ as adviced > 3. ran mktexlsr, just in case > hmm try context --generate x Wolfgang maybe is better to add some instructions on usage at the end ... -- luigi [-- Attachment #1.2: Type: text/html, Size: 1796 bytes --] [-- 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] 20+ messages in thread
* Re: Where to store typescripts ? 2009-06-04 9:21 ` luigi scarso @ 2009-06-04 14:00 ` Nicolas Girard 2009-06-04 14:06 ` luigi scarso ` (3 more replies) 0 siblings, 4 replies; 20+ messages in thread From: Nicolas Girard @ 2009-06-04 14:00 UTC (permalink / raw) To: mailing list for ConTeXt users 2009/6/4 luigi scarso <luigi.scarso@gmail.com>: > hmm > try context --generate > Tried that, and it didn't work. Nicolas ___________________________________________________________________________________ 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] 20+ messages in thread
* Re: Where to store typescripts ? 2009-06-04 14:00 ` Nicolas Girard @ 2009-06-04 14:06 ` luigi scarso 2009-06-04 14:07 ` Wolfgang Schuster ` (2 subsequent siblings) 3 siblings, 0 replies; 20+ messages in thread From: luigi scarso @ 2009-06-04 14:06 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1.1: Type: text/plain, Size: 919 bytes --] On Thu, Jun 4, 2009 at 4:00 PM, Nicolas Girard <nicolas.girard@nerim.net>wrote: > 2009/6/4 luigi scarso <luigi.scarso@gmail.com>: > > hmm > > try context --generate > > > > Tried that, and it didn't work. > > Nicolas > > ___________________________________________________________________________________ > 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 > > ___________________________________________________________________________________ > Did you put something like \usetypefile[delicious] or \usetypefile[exljbris]<http://bitbucket.org/wolfs/typescripts/src/7050bb6918bb/type-exljbris.mkiv> before \usetypescript ? -- luigi [-- Attachment #1.2: Type: text/html, Size: 1786 bytes --] [-- 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] 20+ messages in thread
* Re: Where to store typescripts ? 2009-06-04 14:00 ` Nicolas Girard 2009-06-04 14:06 ` luigi scarso @ 2009-06-04 14:07 ` Wolfgang Schuster 2009-06-04 14:21 ` luigi scarso 2009-06-04 14:11 ` Peter Rolf 2009-06-04 14:44 ` Nicolas Girard 3 siblings, 1 reply; 20+ messages in thread From: Wolfgang Schuster @ 2009-06-04 14:07 UTC (permalink / raw) To: mailing list for ConTeXt users Am 04.06.2009 um 16:00 schrieb Nicolas Girard: > 2009/6/4 luigi scarso <luigi.scarso@gmail.com>: >> hmm >> try context --generate > > Tried that, and it didn't work. Dou you have also type-exljbris.tex? 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] 20+ messages in thread
* Re: Where to store typescripts ? 2009-06-04 14:07 ` Wolfgang Schuster @ 2009-06-04 14:21 ` luigi scarso 0 siblings, 0 replies; 20+ messages in thread From: luigi scarso @ 2009-06-04 14:21 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1.1: Type: text/plain, Size: 400 bytes --] On Thu, Jun 4, 2009 at 4:07 PM, Wolfgang Schuster < schuster.wolfgang@googlemail.com> wrote: > > Am 04.06.2009 um 16:00 schrieb Nicolas Girard: > > 2009/6/4 luigi scarso <luigi.scarso@gmail.com>: >> >>> hmm >>> try context --generate >>> >> >> Tried that, and it didn't work. >> > > Dou you have also type-exljbris.tex? > why don't put an example of use at the end of the typescript ? -- luigi [-- Attachment #1.2: Type: text/html, Size: 1132 bytes --] [-- 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] 20+ messages in thread
* Re: Where to store typescripts ? 2009-06-04 14:00 ` Nicolas Girard 2009-06-04 14:06 ` luigi scarso 2009-06-04 14:07 ` Wolfgang Schuster @ 2009-06-04 14:11 ` Peter Rolf 2009-06-04 14:44 ` Nicolas Girard 3 siblings, 0 replies; 20+ messages in thread From: Peter Rolf @ 2009-06-04 14:11 UTC (permalink / raw) To: mailing list for ConTeXt users Nicolas Girard schrieb: > 2009/6/4 luigi scarso <luigi.scarso@gmail.com>: > >> hmm >> try context --generate >> >> > > Tried that, and it didn't work. > you can try mtxrun --script fonts --reload Best wishes, Peter > Nicolas > ___________________________________________________________________________________ > 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] 20+ messages in thread
* Re: Where to store typescripts ? 2009-06-04 14:00 ` Nicolas Girard ` (2 preceding siblings ...) 2009-06-04 14:11 ` Peter Rolf @ 2009-06-04 14:44 ` Nicolas Girard 2009-06-04 14:54 ` luigi scarso 2009-06-04 17:17 ` Wolfgang Schuster 3 siblings, 2 replies; 20+ messages in thread From: Nicolas Girard @ 2009-06-04 14:44 UTC (permalink / raw) To: mailing list for ConTeXt users Wow. Now, I'm lost -- and i still can't make it work anyway. Could you explain right from the start ? Let's assume (as it is the case on my system) that the Delicious fonts are properly installed *and* the font database knows about it. Let's assume context = LuaTeX mkiv Now, 1. if I want to create a typescript file supporting some XX fonts, do I need to name the file type-XX.some_extension, or is it only a convention and the file could also be named XX.some_extension or even whatever.some_extension ? 2. what should be the extension for mkiv ? .mkiv ? .tex ? Are both allowed ? 3. Assuming I properly install such http://bitbucket.org/wolfs/typescripts/src/7050bb6918bb/type-exljbris.mkiv file, should I load it using \usetypescriptfile[type-exljbris] or \usetypescriptfile[exljbris] ? 4. What is the relationship between type-exljbris.mkiv and type-exljbris.tex ? Is type-exljbris.tex necessary when using mkiv ? 5. In order to install one or several typescript files, I should first copy them, either in tex/texmf-fonts/tex/context/user or in tex/texmf-project/tex/context/user right ? But then, what is it necessary to run ? - context --generate ? - mtxrun --script fonts --reload ? - both ? 6. How comes ConTeXt can silently substitute my fonts, without even outputting any error message ? How to change this behaviour ? How to disable font substitution ? Hopefully you forgive me for asking so many questions. Beware, answers will be recorded and published in the wiki ;-) Cheers, Nicolas ___________________________________________________________________________________ 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] 20+ messages in thread
* Re: Where to store typescripts ? 2009-06-04 14:44 ` Nicolas Girard @ 2009-06-04 14:54 ` luigi scarso 2009-06-04 15:28 ` Nicolas Girard 2009-06-08 22:35 ` Mojca Miklavec 2009-06-04 17:17 ` Wolfgang Schuster 1 sibling, 2 replies; 20+ messages in thread From: luigi scarso @ 2009-06-04 14:54 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1.1: Type: text/plain, Size: 4581 bytes --] On Thu, Jun 4, 2009 at 4:44 PM, Nicolas Girard <nicolas.girard@nerim.net>wrote: > Wow. Now, I'm lost -- and i still can't make it work anyway. > Could you explain right from the start ? > > Let's assume (as it is the case on my system) that the Delicious fonts > are properly installed *and* the font database knows about it. > Let's assume context = LuaTeX mkiv > > Now, > > 1. if I want to create a typescript file supporting some XX fonts, do > I need to name the file type-XX.some_extension, or is it only a > convention and the file could also be named XX.some_extension or even > whatever.some_extension ? > > 2. what should be the extension for mkiv ? .mkiv ? .tex ? Are both allowed > ? > > 3. Assuming I properly install such > http://bitbucket.org/wolfs/typescripts/src/7050bb6918bb/type-exljbris.mkiv > file, should I load it using > \usetypescriptfile[type-exljbris] > or > \usetypescriptfile[exljbris] > ? > > 4. What is the relationship between type-exljbris.mkiv and > type-exljbris.tex ? Is type-exljbris.tex necessary when using mkiv ? > 5. In order to install one or several typescript files, I should first > copy them, either in > tex/texmf-fonts/tex/context/user > or in > tex/texmf-project/tex/context/user > right ? > But then, > what is it necessary to run ? > - context --generate ? > - mtxrun --script fonts --reload ? > - both ? > > 6. How comes ConTeXt can silently substitute my fonts, without even > outputting any error message ? > How to change this behaviour ? > How to disable font substitution ? > > > Hopefully you forgive me for asking so many questions. Beware, answers > will be recorded and published in the wiki ;-) > Cheers, > Nicolas > > ___________________________________________________________________________________ > 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 > > ___________________________________________________________________________________ > Here my example I have minimals/tex/texmf-context/tex/context/user/type-catalog.tex and eventually context --generate %%type-catalog.tex %%%%%%%%% \starttypescript [serif] [catalog] \setups[font:fallback:serif] \definefontsynonym [Serif] [CharisSIL-Regular] \definefontsynonym [SerifItalic] [CharisSIL-Italic] \definefontsynonym [SerifBold] [CharisSIL-Bold] \definefontsynonym [SerifBoldItalic] [CharisSIL-BoldItalic] \stoptypescript \starttypescript [serif] [catalog] \definefontsynonym [CharisSIL-Regular] [file:CharisSILR][features=default] \definefontsynonym [CharisSIL-Italic] [file:CharisSILI][features=default] \definefontsynonym [CharisSIL-Bold] [file:CharisSILB][features=default] \definefontsynonym [CharisSIL-BoldItalic] [file:CharisSILBI][features=default] \stoptypescript \starttypescript [sans] [catalog] \setups[font:fallback:sans] \definefontsynonym [Sans] [Delicious-Regular] \definefontsynonym [SansItalic] [Delicious-Italic] \definefontsynonym [SansBold] [Delicious-Bold] \definefontsynonym [SansBoldItalic] [Delicious-BoldItalic] \definefontsynonym [SansCaps] [Delicious-Caps] \stoptypescript \starttypescript [sans] [catalog] \definefontsynonym [Delicious-Regular] [name:Delicious-Roman] [features=default] \definefontsynonym [Delicious-Italic] [name:Delicious-Italic] [features=default] \definefontsynonym [Delicious-Bold] [name:Delicious-Bold] [features=default] \definefontsynonym [Delicious-BoldItalic] [name:Delicious-BoldItalic] [features=default] \definefontsynonym [Delicious-Caps] [name:Delicious-SmallCaps] [features=default] \stoptypescript \starttypescript [catalog] \definetypeface [catalog] [rm] [serif] [catalog] [default] \definetypeface [catalog] [ss] [sans] [catalog] [default] \stoptypescript %%%%%%%%%%%%%%%%% %%%test.tex%%%%%%%%%%% \usetypefile[catalog] \usetypescript[catalog] \setupbodyfont[catalog,8pt,serif] \starttext \rm \input tufte \ss \input tufte \stoptext %%%%%%%%%%%%%% $> context test.tex $>pdffonts test.pdf name type emb sub uni object ID ------------------------------------ ----------------- --- --- --- --------- HMORXY+CharisSIL CID TrueType yes yes yes 4 0 EVRTHR+Delicious-Roman CID Type 0C yes yes yes 5 0 -- luigi [-- Attachment #1.2: Type: text/html, Size: 6116 bytes --] [-- 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] 20+ messages in thread
* Re: Where to store typescripts ? 2009-06-04 14:54 ` luigi scarso @ 2009-06-04 15:28 ` Nicolas Girard 2009-06-04 15:33 ` luigi scarso 2009-06-04 15:55 ` Wolfgang Schuster 2009-06-08 22:35 ` Mojca Miklavec 1 sibling, 2 replies; 20+ messages in thread From: Nicolas Girard @ 2009-06-04 15:28 UTC (permalink / raw) To: mailing list for ConTeXt users 2009/6/4 luigi scarso <luigi.scarso@gmail.com>: > > > > On Thu, Jun 4, 2009 at 4:44 PM, Nicolas Girard <nicolas.girard@nerim.net> > wrote: >> >> Wow. Now, I'm lost -- and i still can't make it work anyway. >> Could you explain right from the start ? >> >> Let's assume (as it is the case on my system) that the Delicious fonts >> are properly installed *and* the font database knows about it. >> Let's assume context = LuaTeX mkiv >> >> Now, >> >> 1. if I want to create a typescript file supporting some XX fonts, do >> I need to name the file type-XX.some_extension, or is it only a >> convention and the file could also be named XX.some_extension or even >> whatever.some_extension ? >> >> 2. what should be the extension for mkiv ? .mkiv ? .tex ? Are both allowed >> ? >> >> 3. Assuming I properly install such >> http://bitbucket.org/wolfs/typescripts/src/7050bb6918bb/type-exljbris.mkiv >> file, should I load it using >> \usetypescriptfile[type-exljbris] >> or >> \usetypescriptfile[exljbris] >> ? >> >> 4. What is the relationship between type-exljbris.mkiv and >> type-exljbris.tex ? Is type-exljbris.tex necessary when using mkiv ? >> 5. In order to install one or several typescript files, I should first >> copy them, either in >> tex/texmf-fonts/tex/context/user >> or in >> tex/texmf-project/tex/context/user >> right ? >> But then, >> what is it necessary to run ? >> - context --generate ? >> - mtxrun --script fonts --reload ? >> - both ? >> >> 6. How comes ConTeXt can silently substitute my fonts, without even >> outputting any error message ? >> How to change this behaviour ? >> How to disable font substitution ? >> >> >> Hopefully you forgive me for asking so many questions. Beware, answers >> will be recorded and published in the wiki ;-) >> Cheers, >> Nicolas >> >> ___________________________________________________________________________________ >> 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 >> >> ___________________________________________________________________________________ > > Here my example > I have > minimals/tex/texmf-context/tex/context/user/type-catalog.tex > > and eventually > context --generate > > %%type-catalog.tex %%%%%%%%% > \starttypescript [serif] [catalog] > \setups[font:fallback:serif] > \definefontsynonym [Serif] [CharisSIL-Regular] > \definefontsynonym [SerifItalic] [CharisSIL-Italic] > \definefontsynonym [SerifBold] [CharisSIL-Bold] > \definefontsynonym [SerifBoldItalic] [CharisSIL-BoldItalic] > \stoptypescript > > \starttypescript [serif] [catalog] > \definefontsynonym [CharisSIL-Regular] > [file:CharisSILR][features=default] > \definefontsynonym [CharisSIL-Italic] > [file:CharisSILI][features=default] > \definefontsynonym [CharisSIL-Bold] > [file:CharisSILB][features=default] > \definefontsynonym [CharisSIL-BoldItalic] > [file:CharisSILBI][features=default] > \stoptypescript > > \starttypescript [sans] [catalog] > \setups[font:fallback:sans] > \definefontsynonym [Sans] [Delicious-Regular] > \definefontsynonym [SansItalic] [Delicious-Italic] > \definefontsynonym [SansBold] [Delicious-Bold] > \definefontsynonym [SansBoldItalic] [Delicious-BoldItalic] > \definefontsynonym [SansCaps] [Delicious-Caps] > \stoptypescript > > \starttypescript [sans] [catalog] > \definefontsynonym [Delicious-Regular] [name:Delicious-Roman] > [features=default] > \definefontsynonym [Delicious-Italic] [name:Delicious-Italic] > [features=default] > \definefontsynonym [Delicious-Bold] [name:Delicious-Bold] > [features=default] > \definefontsynonym [Delicious-BoldItalic] [name:Delicious-BoldItalic] > [features=default] > \definefontsynonym [Delicious-Caps] [name:Delicious-SmallCaps] > [features=default] > \stoptypescript > > \starttypescript [catalog] > \definetypeface [catalog] [rm] [serif] [catalog] [default] > \definetypeface [catalog] [ss] [sans] [catalog] [default] > \stoptypescript > %%%%%%%%%%%%%%%%% > > > %%%test.tex%%%%%%%%%%% > \usetypefile[catalog] > \usetypescript[catalog] > \setupbodyfont[catalog,8pt,serif] > \starttext > \rm > \input tufte > \ss > \input tufte > \stoptext > %%%%%%%%%%%%%% > > $> context test.tex > $>pdffonts test.pdf > > name type emb sub uni object ID > ------------------------------------ ----------------- --- --- --- --------- > HMORXY+CharisSIL CID TrueType yes yes yes 4 0 > EVRTHR+Delicious-Roman CID Type 0C yes yes yes 5 0 > > > -- > 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 > ___________________________________________________________________________________ > > Luigi, thanks very much for your efforts. Apparently, \usetypescriptfile[catalog] \usetypescript[catalog] doesn't work, whereas \usetypefile[catalog] \usetypescript[catalog] does. Is there any reason for this ? Cheers, nicolas ___________________________________________________________________________________ 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] 20+ messages in thread
* Re: Where to store typescripts ? 2009-06-04 15:28 ` Nicolas Girard @ 2009-06-04 15:33 ` luigi scarso 2009-06-04 17:18 ` Nicolas Girard 2009-06-04 15:55 ` Wolfgang Schuster 1 sibling, 1 reply; 20+ messages in thread From: luigi scarso @ 2009-06-04 15:33 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1.1: Type: text/plain, Size: 6161 bytes --] On Thu, Jun 4, 2009 at 5:28 PM, Nicolas Girard <nicolas.girard@nerim.net>wrote: > 2009/6/4 luigi scarso <luigi.scarso@gmail.com>: > > > > > > > > On Thu, Jun 4, 2009 at 4:44 PM, Nicolas Girard <nicolas.girard@nerim.net > > > > wrote: > >> > >> Wow. Now, I'm lost -- and i still can't make it work anyway. > >> Could you explain right from the start ? > >> > >> Let's assume (as it is the case on my system) that the Delicious fonts > >> are properly installed *and* the font database knows about it. > >> Let's assume context = LuaTeX mkiv > >> > >> Now, > >> > >> 1. if I want to create a typescript file supporting some XX fonts, do > >> I need to name the file type-XX.some_extension, or is it only a > >> convention and the file could also be named XX.some_extension or even > >> whatever.some_extension ? > >> > >> 2. what should be the extension for mkiv ? .mkiv ? .tex ? Are both > allowed > >> ? > >> > >> 3. Assuming I properly install such > >> > http://bitbucket.org/wolfs/typescripts/src/7050bb6918bb/type-exljbris.mkiv > >> file, should I load it using > >> \usetypescriptfile[type-exljbris] > >> or > >> \usetypescriptfile[exljbris] > >> ? > >> > >> 4. What is the relationship between type-exljbris.mkiv and > >> type-exljbris.tex ? Is type-exljbris.tex necessary when using mkiv ? > >> 5. In order to install one or several typescript files, I should first > >> copy them, either in > >> tex/texmf-fonts/tex/context/user > >> or in > >> tex/texmf-project/tex/context/user > >> right ? > >> But then, > >> what is it necessary to run ? > >> - context --generate ? > >> - mtxrun --script fonts --reload ? > >> - both ? > >> > >> 6. How comes ConTeXt can silently substitute my fonts, without even > >> outputting any error message ? > >> How to change this behaviour ? > >> How to disable font substitution ? > >> > >> > >> Hopefully you forgive me for asking so many questions. Beware, answers > >> will be recorded and published in the wiki ;-) > >> Cheers, > >> Nicolas > >> > >> > ___________________________________________________________________________________ > >> 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 > >> > >> > ___________________________________________________________________________________ > > > > Here my example > > I have > > minimals/tex/texmf-context/tex/context/user/type-catalog.tex > > > > and eventually > > context --generate > > > > %%type-catalog.tex %%%%%%%%% > > \starttypescript [serif] [catalog] > > \setups[font:fallback:serif] > > \definefontsynonym [Serif] [CharisSIL-Regular] > > \definefontsynonym [SerifItalic] [CharisSIL-Italic] > > \definefontsynonym [SerifBold] [CharisSIL-Bold] > > \definefontsynonym [SerifBoldItalic] [CharisSIL-BoldItalic] > > \stoptypescript > > > > \starttypescript [serif] [catalog] > > \definefontsynonym [CharisSIL-Regular] > > [file:CharisSILR][features=default] > > \definefontsynonym [CharisSIL-Italic] > > [file:CharisSILI][features=default] > > \definefontsynonym [CharisSIL-Bold] > > [file:CharisSILB][features=default] > > \definefontsynonym [CharisSIL-BoldItalic] > > [file:CharisSILBI][features=default] > > \stoptypescript > > > > \starttypescript [sans] [catalog] > > \setups[font:fallback:sans] > > \definefontsynonym [Sans] [Delicious-Regular] > > \definefontsynonym [SansItalic] [Delicious-Italic] > > \definefontsynonym [SansBold] [Delicious-Bold] > > \definefontsynonym [SansBoldItalic] [Delicious-BoldItalic] > > \definefontsynonym [SansCaps] [Delicious-Caps] > > \stoptypescript > > > > \starttypescript [sans] [catalog] > > \definefontsynonym [Delicious-Regular] [name:Delicious-Roman] > > [features=default] > > \definefontsynonym [Delicious-Italic] [name:Delicious-Italic] > > [features=default] > > \definefontsynonym [Delicious-Bold] [name:Delicious-Bold] > > [features=default] > > \definefontsynonym [Delicious-BoldItalic] [name:Delicious-BoldItalic] > > [features=default] > > \definefontsynonym [Delicious-Caps] [name:Delicious-SmallCaps] > > [features=default] > > \stoptypescript > > > > \starttypescript [catalog] > > \definetypeface [catalog] [rm] [serif] [catalog] [default] > > \definetypeface [catalog] [ss] [sans] [catalog] [default] > > \stoptypescript > > %%%%%%%%%%%%%%%%% > > > > > > %%%test.tex%%%%%%%%%%% > > \usetypefile[catalog] > > \usetypescript[catalog] > > \setupbodyfont[catalog,8pt,serif] > > \starttext > > \rm > > \input tufte > > \ss > > \input tufte > > \stoptext > > %%%%%%%%%%%%%% > > > > $> context test.tex > > $>pdffonts test.pdf > > > > name type emb sub uni object > ID > > ------------------------------------ ----------------- --- --- --- > --------- > > HMORXY+CharisSIL CID TrueType yes yes yes > 4 0 > > EVRTHR+Delicious-Roman CID Type 0C yes yes yes > 5 0 > > > > > > -- > > 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 > > > ___________________________________________________________________________________ > > > > > > Luigi, > thanks very much for your efforts. > > Apparently, > \usetypescriptfile[catalog] > \usetypescript[catalog] > doesn't work, whereas > \usetypefile[catalog] > \usetypescript[catalog] > does. > so does it work now for you ? > Is there any reason for this ? > sure...there is always a reason for things...but I don't remember :) Try to look into the source . -- luigi [-- Attachment #1.2: Type: text/html, Size: 9059 bytes --] [-- 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] 20+ messages in thread
* Re: Where to store typescripts ? 2009-06-04 15:33 ` luigi scarso @ 2009-06-04 17:18 ` Nicolas Girard 0 siblings, 0 replies; 20+ messages in thread From: Nicolas Girard @ 2009-06-04 17:18 UTC (permalink / raw) To: mailing list for ConTeXt users 2009/6/4 luigi scarso <luigi.scarso@gmail.com>: > > so does it work now for you ? Yes it does. Thanks everybody for your assistance. I've summarized what I understood from this thread here: http://wiki.contextgarden.net/Fonts_in_LuaTex#The_standard_way:_Typescripts Please have a look & correct my mistakes. Cheers, Nicolas ___________________________________________________________________________________ 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] 20+ messages in thread
* Re: Where to store typescripts ? 2009-06-04 15:28 ` Nicolas Girard 2009-06-04 15:33 ` luigi scarso @ 2009-06-04 15:55 ` Wolfgang Schuster 1 sibling, 0 replies; 20+ messages in thread From: Wolfgang Schuster @ 2009-06-04 15:55 UTC (permalink / raw) To: mailing list for ConTeXt users Am 04.06.2009 um 17:28 schrieb Nicolas Girard: > Apparently, > \usetypescriptfile[catalog] > \usetypescript[catalog] > doesn't work, whereas > \usetypefile[catalog] > \usetypescript[catalog] > does. > > Is there any reason for this ? The convention for typescript files is to save them as type-<fontname| foundry|...>.tex and load it either with \usetypescriptfile[type-<...>] or \usetypefile[<...>] where ConTeXt prepends 'type-' when it load the file but \usetypescriptfile is the preferred command because it takes care of \starttypescriptcollection/\stoptypescriptcollection environments. 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] 20+ messages in thread
* Re: Where to store typescripts ? 2009-06-04 14:54 ` luigi scarso 2009-06-04 15:28 ` Nicolas Girard @ 2009-06-08 22:35 ` Mojca Miklavec 2009-06-09 9:47 ` Nicolas Girard 1 sibling, 1 reply; 20+ messages in thread From: Mojca Miklavec @ 2009-06-08 22:35 UTC (permalink / raw) To: mailing list for ConTeXt users On Thu, Jun 4, 2009 at 16:54, luigi scarso wrote: > > I have > minimals/tex/texmf-context/tex/context/user/type-catalog.tex This is a bad place - there's a high risk that it will be removed or overwritten. Use texmf-local or texmf-project or texmf-fonts or ~/texmf or whatever else ... but better not texmf or texmf-context. In TeX Live ~/texmf should work. 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: Where to store typescripts ? 2009-06-08 22:35 ` Mojca Miklavec @ 2009-06-09 9:47 ` Nicolas Girard 0 siblings, 0 replies; 20+ messages in thread From: Nicolas Girard @ 2009-06-09 9:47 UTC (permalink / raw) To: mailing list for ConTeXt users 2009/6/9 Mojca Miklavec <mojca.miklavec.lists@gmail.com>: > On Thu, Jun 4, 2009 at 16:54, luigi scarso wrote: >> >> I have >> minimals/tex/texmf-context/tex/context/user/type-catalog.tex > > This is a bad place - there's a high risk that it will be removed or > overwritten. Use texmf-local or texmf-project or texmf-fonts or > ~/texmf or whatever else ... but better not texmf or texmf-context. > > In TeX Live ~/texmf should work. > I Mojca, could you please update the wiki ( http://wiki.contextgarden.net/Fonts_in_LuaTex#Installing_typescripts ) with these informations, or elaborate a little bit more ? I'm unsure about the precise directories you're advising (eg, texmf-fonts -> minimals/tex/texmf-fonts/tex/context/user/ ? ) Thanks in advance, Nicolas ___________________________________________________________________________________ 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] 20+ messages in thread
* Re: Where to store typescripts ? 2009-06-04 14:44 ` Nicolas Girard 2009-06-04 14:54 ` luigi scarso @ 2009-06-04 17:17 ` Wolfgang Schuster 2009-06-04 17:29 ` Nicolas Girard 1 sibling, 1 reply; 20+ messages in thread From: Wolfgang Schuster @ 2009-06-04 17:17 UTC (permalink / raw) To: mailing list for ConTeXt users Am 04.06.2009 um 16:44 schrieb Nicolas Girard: > Wow. Now, I'm lost -- and i still can't make it work anyway. > Could you explain right from the start ? > > Let's assume (as it is the case on my system) that the Delicious fonts > are properly installed *and* the font database knows about it. > Let's assume context = LuaTeX mkiv > > Now, > > 1. if I want to create a typescript file supporting some XX fonts, do > I need to name the file type-XX.some_extension, or is it only a > convention and the file could also be named XX.some_extension or even > whatever.some_extension ? You can use <whatever>.tex for the name of the file but the convention is to name it type-<whatever>.tex. > 2. what should be the extension for mkiv ? .mkiv ? .tex ? Are both > allowed ? You could write extra files to follow the different naming conventions for XeTeX and LuaTeX and name the files type-<whatever>.mkii/mkiv and load it in the type-<...>.tex file with \loadmarkfile{type-<...>}. > 3. Assuming I properly install such > http://bitbucket.org/wolfs/typescripts/src/7050bb6918bb/type-exljbris.mkiv > file, should I load it using > \usetypescriptfile[type-exljbris] > or > \usetypescriptfile[exljbris] > ? You load in your document type-exljbris.tex, the mkii/mkiv files are loaded from type-exljbris.tex dependend what engine you use and never by yourself. > 4. What is the relationship between type-exljbris.mkiv and > type-exljbris.tex ? Is type-exljbris.tex necessary when using mkiv ? See above. > 5. In order to install one or several typescript files, I should first > copy them, either in > tex/texmf-fonts/tex/context/user > or in > tex/texmf-project/tex/context/user > right ? Yes but I can create a package with all files you can the load from the modules section or with the minimals updater. > But then, > what is it necessary to run ? > - context --generate ? > - mtxrun --script fonts --reload ? > - both ? When you saved the typescript files (tex + mkii/mkiv) in the above folder call 'context --generate' to let ConTeXt know there are new files available. The second command 'mtxrun --script fonts --reload' is used to let ConTeXt look for new fonts but this normally happen by default when you request a new font which is unknown to ConTeXt. The only case (I know at the moment) when you need the command is when you have install a new font which has the same name as a old one but a different file extension, did not happen very often a few fonts are available in TT and OT format. > 6. How comes ConTeXt can silently substitute my fonts, without even > outputting any error message ? > How to change this behaviour ? > How to disable font substitution ? This happens only when the font you requested is not available or you try to load not existing typescripts. 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] 20+ messages in thread
* Re: Where to store typescripts ? 2009-06-04 17:17 ` Wolfgang Schuster @ 2009-06-04 17:29 ` Nicolas Girard 0 siblings, 0 replies; 20+ messages in thread From: Nicolas Girard @ 2009-06-04 17:29 UTC (permalink / raw) To: mailing list for ConTeXt users 2009/6/4 Wolfgang Schuster <schuster.wolfgang@googlemail.com>: > Thanks Wolfgang ! I think pretty much everything you said should now be in http://wiki.contextgarden.net/Fonts_in_LuaTex , except for font substitution, which I find quite annoying. Anyway... Cheers, Nicolas ___________________________________________________________________________________ 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] 20+ messages in thread
end of thread, other threads:[~2009-06-09 9:47 UTC | newest] Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2009-06-04 8:34 Where to store typescripts ? Nicolas Girard 2009-06-04 8:38 ` luigi scarso 2009-06-04 9:05 ` Hans Hagen 2009-06-04 9:11 ` Nicolas Girard 2009-06-04 9:21 ` luigi scarso 2009-06-04 14:00 ` Nicolas Girard 2009-06-04 14:06 ` luigi scarso 2009-06-04 14:07 ` Wolfgang Schuster 2009-06-04 14:21 ` luigi scarso 2009-06-04 14:11 ` Peter Rolf 2009-06-04 14:44 ` Nicolas Girard 2009-06-04 14:54 ` luigi scarso 2009-06-04 15:28 ` Nicolas Girard 2009-06-04 15:33 ` luigi scarso 2009-06-04 17:18 ` Nicolas Girard 2009-06-04 15:55 ` Wolfgang Schuster 2009-06-08 22:35 ` Mojca Miklavec 2009-06-09 9:47 ` Nicolas Girard 2009-06-04 17:17 ` Wolfgang Schuster 2009-06-04 17:29 ` Nicolas Girard
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).