Hi all, So the following used to work perfectly, but no longer does: \usemodule[simplefonts] \setmainfont[Liberation-Serif] \starttext I feel so Liberated that {\ConTeXt} can see all my system fonts! \stoptext I don't seem to remember changing any configuration in order to get ConTeXt to see my system fonts (running ArchLinux, so it follows Linux standards). Yet now I cannot get the simplefonts module to see what it used to see fine. Has there been some backend changes so that *.ttf files on the system are now ignored? Do I need to install it to the ConTeXt directory or is there another alternative? (Updating my font database does nothing, unless 'luatools --generate' does not do this?) % context --version MTXrun | main context file: /home/serk17/context/tex/texmf-context/tex/context/base/context.tex MTXrun | current version: 2009.11.24 10:13
Am 02.02.10 12:43, schrieb John Haltiwanger:
Hi all,
So the following used to work perfectly, but no longer does:
\usemodule[simplefonts] \setmainfont[Liberation-Serif]
\starttext
I feel so Liberated that {\ConTeXt} can see all my system fonts!
\stoptext
I don't seem to remember changing any configuration in order to get ConTeXt to see my system fonts (running ArchLinux, so it follows Linux standards). Yet now I cannot get the simplefonts module to see what it used to see fine. Has there been some backend changes so that *.ttf files on the system are now ignored? Do I need to install it to the ConTeXt directory or is there another alternative?
(Updating my font database does nothing, unless 'luatools --generate' does not do this?) For system fonts on Linux you need a entry the OSFONTDIR environment variable, how you can do this is explained here:
http://wiki.contextgarden.net/Fonts_in_LuaTex#Getting_access_to_the_system_f... http://archive.contextgarden.net/message/20091026.201256.cbd7927c.en.html http://archive.contextgarden.net/message/20091027.062301.0a8817d0.en.html Wolfgang
Alright! Thanks Wolfgang! However, I'm running into another weirdness: all the text is italicized. See attached (and for Liberation fonts see your package manager or https://www.redhat.com/promo/fonts/). ~~~~~~~~~ % context --version MTXrun | main context file: /home/serk17/context/tex/texmf-context/tex/context/base/context.tex MTXrun | current version: 2010.02.01 11:19 % luatex --version This is LuaTeX, Version beta-0.50.0-2009122419 ~~~~~~~~~~ On Tue, Feb 2, 2010 at 1:24 PM, Wolfgang Schuster < schuster.wolfgang@googlemail.com> wrote:
Am 02.02.10 12:43, schrieb John Haltiwanger:
Hi all,
So the following used to work perfectly, but no longer does:
\usemodule[simplefonts] \setmainfont[Liberation-Serif]
\starttext
I feel so Liberated that {\ConTeXt} can see all my system fonts!
\stoptext
I don't seem to remember changing any configuration in order to get ConTeXt to see my system fonts (running ArchLinux, so it follows Linux standards). Yet now I cannot get the simplefonts module to see what it used to see fine. Has there been some backend changes so that *.ttf files on the system are now ignored? Do I need to install it to the ConTeXt directory or is there another alternative?
(Updating my font database does nothing, unless 'luatools --generate' does not do this?)
For system fonts on Linux you need a entry the OSFONTDIR environment variable, how you can do this is explained here:
http://wiki.contextgarden.net/Fonts_in_LuaTex#Getting_access_to_the_system_f... http://archive.contextgarden.net/message/20091026.201256.cbd7927c.en.html http://archive.contextgarden.net/message/20091027.062301.0a8817d0.en.html
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
___________________________________________________________________________________
Am 02.02.10 14:35, schrieb John Haltiwanger:
Alright! Thanks Wolfgang!
However, I'm running into another weirdness: all the text is italicized. I uploaded a new version today which should fix this, please update your context (it can take a few hours till the minimals use the new simplefonts version).
Wolfgang
Thanks Wolfgang! simplefonts is an amazing tool to tide me over until I take the time to tackle the native font stuff (which seems to be too in flux to really learn at this point anyway). Perfect for getting short documents together and looking good. So, to clarify, I just wait a few hours and then update my minimals? On Tue, Feb 2, 2010 at 3:11 PM, Wolfgang Schuster < schuster.wolfgang@googlemail.com> wrote:
Am 02.02.10 14:35, schrieb John Haltiwanger:
Alright! Thanks Wolfgang!
However, I'm running into another weirdness: all the text is italicized.
I uploaded a new version today which should fix this, please update your context (it can take a few hours till the minimals use the new simplefonts version).
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
___________________________________________________________________________________
Am 02.02.10 15:18, schrieb John Haltiwanger:
Thanks Wolfgang! simplefonts is an amazing tool to tide me over until I take the time to tackle the native font stuff (which seems to be too in flux to really learn at this point anyway). The font system is stable and from the user side nothing has changed since a very long time, you write a typescript where you map the font files to a style (Serif, Sans, Mono) and load it in your document with \setupbodyfont.
One new feature is that \setupbodyfont is enough in certain cases and you no longer need \usetypescript.
Perfect for getting short documents together and looking good.
So, to clarify, I just wait a few hours and then update my minimals? Yes, it takes a while till the files from the modules section are included in the minimals (only Mojca can tell how long :).
Wolfgang
On Tue, Feb 2, 2010 at 3:30 PM, Wolfgang Schuster < schuster.wolfgang@googlemail.com> wrote:
Am 02.02.10 15:18, schrieb John Haltiwanger:
Thanks Wolfgang! simplefonts is an amazing tool to tide me over until I
take the time to tackle the native font stuff (which seems to be too in flux to really learn at this point anyway).
The font system is stable and from the user side nothing has changed since a very long time, you write a typescript where you map the font files to a style (Serif, Sans, Mono) and load it in your document with \setupbodyfont.
One new feature is that \setupbodyfont is enough in certain cases and you no longer need \usetypescript.
Okay, I guess I've gotten myself confused reading documents describing many new features that were opened up by LuaTeX. Good to know, but still glad to have simplefonts ;)
participants (2)
-
John Haltiwanger
-
Wolfgang Schuster