On 11/5/2013 12:05 PM, Mojca Miklavec wrote:
On Tue, Nov 5, 2013 at 5:08 PM, Lars Huttar wrote:
On 11/4/2013 5:32 PM, Wolfgang Schuster wrote:
Make your choice:
\definefontfamily [gentium-basic] [serif] [Gentium Basic] \definefontfamily [gentium-book] [serif] [Gentium Book Basic] \definefontfamily [gentium-plus] [serif] [Gentium Plus]
\starttext
{\switchtobodyfont[gentium-basic]Upright \it Italic \bf Bold \bi BoldItalic}
{\switchtobodyfont[gentium-book]Upright \it Italic \bf Bold \bi BoldItalic}
{\switchtobodyfont[gentium-plus]Upright \it Italic \bf Bold \bi BoldItalic}
\stoptext
Thanks for the suggestion. I don't know if I'm doing something wrong, but when I try to compile the above with mkiv, I get "Undefined control sequence" on line 1:
l.1 \definefontfamily As I told you: "there were recent changes/improvements in that".
http://www.ntg.nl/pipermail/ntg-context/2013/075428.html
You would need the ConTeXt distribution for that, TeX Live 2013 is too old. (You can probably still load the simplefonts module explicitly or write the typescripts yourself - again different syntax.)
Mojca
Thanks again for your responses. I did try loading the simplefonts module explicitly, but definefontfamily is still undefined. I'm working on a large, production project, and the deadline is too close to risk using unstable releases. Is there a context release since Wolfgang's new version of simplefonts, that has been declared stable? Given that his new version came out less than a month ago, it seems unlikely. Maybe I can get TTFs working using mtxrun, as Hans suggested. It seems to be working on Windows; I need to try the same on Linux with our custom font. Lars