Re: [NTG-context] mtxrun font patterns
On 1/7/2020 11:33 PM, Henning Hraban Ramm wrote: I just recognized that mtxrun’s pattern matching is a bit off. E.g. if I look for mtxrun --script fonts --list --all --pattern=roboto I get roboto roboto robotoregular Roboto-Regular.ttf robotocondensednormal robotocondensed robotocondenseditalic RobotoCondensed-Italic.ttf robotocondensedregular robotocondensed robotocondensedlight RobotoCondensed-Light.ttf robotoitalic roboto robotoblackitalic Roboto-BlackItalic.ttf robotomononormal robotomono robotomonoitalic RobotoMono-Italic.ttf robotomonoregular robotomono robotomonolight RobotoMono-Light.ttf robotonormal roboto robotoitalic Roboto-Italic.ttf robotoregular roboto robotoblack Roboto-Black.ttf robotoslablight robotoslab robotoslabextralight RobotoSlab-ExtraLight.ttf robotoslabnormal robotoslab robotoslabregular RobotoSlab-Regular.ttf robotoslabregular robotoslab robotoslabblack RobotoSlab-Black.ttf But I’ve several more faces installed. ConTeXt finds them with mtxrun --script fonts --list --all --pattern=robot (ROBOT, not ROBOTO) as roboto roboto robotoregular Roboto-Regular.ttf robotoblack roboto robotoblack Roboto-Black.ttf robotoblackitalic roboto robotoblackitalic Roboto-BlackItalic.ttf robotobold roboto robotobold Roboto-Bold.ttf robotobolditalic roboto robotobolditalic Roboto-BoldItalic.ttf robotocondensed robotocondensed robotocondensedregular RobotoCondensed-Regular.ttf robotocondensedbold robotocondensed robotocondensedbold RobotoCondensed-Bold.ttf robotocondensedbolditalic robotocondensed robotocondensedbolditalic RobotoCondensed-BoldItalic.ttf robotocondenseditalic robotocondensed robotocondenseditalic RobotoCondensed-Italic.ttf robotocondensedlight robotocondensed robotocondensedlight RobotoCondensed-Light.ttf robotocondensedlightitalic robotocondensed robotocondensedlightitalic RobotoCondensed-LightItalic.ttf robotocondensednormal robotocondensed robotocondenseditalic RobotoCondensed-Italic.ttf robotocondensedregular robotocondensed robotocondensedregular RobotoCondensed-Regular.ttf robotoitalic roboto robotoitalic Roboto-Italic.ttf robotolight roboto robotolight Roboto-Light.ttf robotolightitalic roboto robotolightitalic Roboto-LightItalic.ttf robotomedium roboto robotomedium Roboto-Medium.ttf robotomediumitalic roboto robotomediumitalic Roboto-MediumItalic.ttf robotomono robotomono robotomonoregular RobotoMono-Regular.ttf robotomonobold robotomono robotomonobold RobotoMono-Bold.ttf robotomonobolditalic robotomono robotomonobolditalic RobotoMono-BoldItalic.ttf robotomonoitalic robotomono robotomonoitalic RobotoMono-Italic.ttf robotomonolight robotomono robotomonolight RobotoMono-Light.ttf robotomonolightitalic robotomono robotomonolightitalic RobotoMono-LightItalic.ttf robotomonomedium robotomono robotomonomedium RobotoMono-Medium.ttf robotomonomediumitalic robotomono robotomonomediumitalic RobotoMono-MediumItalic.ttf robotomononormal robotomono robotomonoitalic RobotoMono-Italic.ttf robotomonoregular robotomono robotomonoregular RobotoMono-Regular.ttf robotomonothin robotomono robotomonothin RobotoMono-Thin.ttf robotomonothinitalic robotomono robotomonothinitalic RobotoMono-ThinItalic.ttf robotonormal roboto robotoitalic Roboto-Italic.ttf robotoregular roboto robotoregular Roboto-Regular.ttf robotoslabblack robotoslab robotoslabblack RobotoSlab-Black.ttf robotoslabbold robotoslab robotoslabbold RobotoSlab-Bold.ttf robotoslabextrabold robotoslab robotoslabextrabold RobotoSlab-ExtraBold.ttf robotoslabextralight robotoslab robotoslabextralight RobotoSlab-ExtraLight.ttf robotoslablight robotoslab robotoslablight RobotoSlab-Light.ttf robotoslabmedium robotoslab robotoslabmedium RobotoSlab-Medium.ttf robotoslabnormal robotoslab robotoslabregular RobotoSlab-Regular.ttf robotoslabregular robotoslab robotoslabregular RobotoSlab-Regular.ttf robotoslabsemibold robotoslab robotoslabsemibold Rob
Re: [NTG-context] OSFONTDIR defined in texmf.cnf not used
> > There’s unfortunately still a lot of outdated information in the wiki. > But it’s a wiki, you can fix it yourself. > I can indeed edit the wiki and in fact I did four days ago, but for this specific problem which just confused me, I don't think I am the correct one to be able to guarantee that an edit of it is necessary a fix. Why do you refer to an old revision of that page? > It's not an old version. It's a permanent link to the most recent version at the time of writing. On Wed, Jan 8, 2020 at 4:37 PM Henning Hraban Ramm wrote: > Am 08.01.20 um 11:48 schrieb Exp: > > It works, thanks! > > > > But the mentioning of texmf.cnf and OSFONTDIR in > > > https://wiki.contextgarden.net/index.php?title=Custom_Configuration&oldid=24290 > > is indeed a bit misleading though. Hope someone could fix it. > > The environment variable OSFONTDIR, to be set in .bashrc, .profile or > the like, works as well. > > There’s unfortunately still a lot of outdated information in the wiki. > But it’s a wiki, you can fix it yourself. > Why do you refer to an old revision of that page? > > Best regards, Hraban > --- > https://www.fiee.net > http://wiki.contextgarden.net > https://www.dreiviertelhaus.de > GPG Key ID 1C9B22FD > > ___ > 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://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > > ___ > -- Shuwei Hu TU München Department of Informatics ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] OSFONTDIR defined in texmf.cnf not used
Am 08.01.20 um 11:48 schrieb Exp: It works, thanks! But the mentioning of texmf.cnf and OSFONTDIR in https://wiki.contextgarden.net/index.php?title=Custom_Configuration&oldid=24290 is indeed a bit misleading though. Hope someone could fix it. The environment variable OSFONTDIR, to be set in .bashrc, .profile or the like, works as well. There’s unfortunately still a lot of outdated information in the wiki. But it’s a wiki, you can fix it yourself. Why do you refer to an old revision of that page? Best regards, Hraban --- https://www.fiee.net http://wiki.contextgarden.net https://www.dreiviertelhaus.de GPG Key ID 1C9B22FD ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] OSFONTDIR defined in texmf.cnf not used
It works, thanks! But the mentioning of texmf.cnf and OSFONTDIR in https://wiki.contextgarden.net/index.php?title=Custom_Configuration&oldid=24290 is indeed a bit misleading though. Hope someone could fix it. On Wed, Jan 8, 2020 at 11:39 AM Aditya Mahajan wrote: > On Wed, 8 Jan 2020, Exp wrote: > > > I've put `OSFONTDIR=/usr/share/fonts` in ~/.../texlive/2019/texmf.cnf, > > but `mtxrun --script fonts --reload` refuses to look it up, even though > > `kpsewhich --expand-path '$OSFONTDIR'` gives /usr/share/fonts. > > > > `export OSFONTDIR=/usr/share/fonts` does work, but doesn't feel very > tex-y. > > Context (MkIV) uses variables defined in texmfcnf.lua and not texmf.cnf. > You can copy the one that comes with texlive (should be in $TEXMF/web2c > directory) to $TEXMFHOME/web2c and edit it. > > You can check the value of a variable using > > mtxrun --expand-var OSFONTDIR > mtxrun --expand-path OSFONTDIR > mtxrun --resolve-path OSFONTDIR > > 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://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > > ___ > -- 胡树伟 PKU EECS 2012 ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] OSFONTDIR defined in texmf.cnf not used
On Wed, 8 Jan 2020, Exp wrote: I've put `OSFONTDIR=/usr/share/fonts` in ~/.../texlive/2019/texmf.cnf, but `mtxrun --script fonts --reload` refuses to look it up, even though `kpsewhich --expand-path '$OSFONTDIR'` gives /usr/share/fonts. `export OSFONTDIR=/usr/share/fonts` does work, but doesn't feel very tex-y. Context (MkIV) uses variables defined in texmfcnf.lua and not texmf.cnf. You can copy the one that comes with texlive (should be in $TEXMF/web2c directory) to $TEXMFHOME/web2c and edit it. You can check the value of a variable using mtxrun --expand-var OSFONTDIR mtxrun --expand-path OSFONTDIR mtxrun --resolve-path OSFONTDIR 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] OSFONTDIR defined in texmf.cnf not used
Hi all, I've put `OSFONTDIR=/usr/share/fonts` in ~/.../texlive/2019/texmf.cnf, but `mtxrun --script fonts --reload` refuses to look it up, even though `kpsewhich --expand-path '$OSFONTDIR'` gives /usr/share/fonts. `export OSFONTDIR=/usr/share/fonts` does work, but doesn't feel very tex-y. Any help is appreciated. ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___