Hi all, I need a condensed font and Heros Condensed came into my mind. But I haven't any clue how to use that font. How can I use that font with mkiv? Thanks for your help Wolfgang Murth
Am 21.11.2009 um 09:06 schrieb Wolfgang Murth:
Hi all,
I need a condensed font and Heros Condensed came into my mind. But I haven't any clue how to use that font. How can I use that font with mkiv?
\usemodule[simplefonts] \setmainfont[TeX Gyre Heros][weight=condensed] \starttext \rm\tf roman \it italic \bf bold \bi bolditalic \sc smallcaps \stoptext PS. The bolditalic font is wrong because there was a ',' missing in the module, i will upload a new version later today. Wolfgang
Hello Wolfgang, Thanks for your solution but one problem leads to another. First I found that I had to get the simplefonts module with "first-setup.bat --extras="t-simplefonts" And now I get a luatex error
loading : ConTeXt User Module / Simplefonts ) ! LuaTeX error ...text/tex/texmf-context/tex/context/base/font-syn.lua:666: attempt to call field 'data_state' (a nil value) stack traceback: ...text/tex/texmf-context/tex/context/base/font-syn.lua:666: in function 'resetdata' ...text/tex/texmf-context/tex/context/base/font-syn.lua:671: in function 'identify' ...text/tex/texmf-context/tex/context/base/font-syn.lua:696: in function 'load' ...text/tex/texmf-context/tex/context/base/font-syn.lua:707: in function 'load' ...text/tex/texmf-context/tex/context/base/font-syn.lua:844: in function 'resolve' ...text/tex/texmf-context/tex/context/base/font-syn.lua:1235: in function 'exists' ...text/tex/context/third/simplefonts/t-simplefonts.lua:183: in function 'selectfont' <main ctx instance>:1: in main chunk. \currentcommalistcommand ...arameter \c!weight ")}
\next1 #1,->\currentcommalistcommand {#1} \doprocesscommaitem <argument> \relax regular, italic,slanted,bold,bolditalic,boldslanted,caps, i... \doprocesscommalist ...aitem \gobbleoneargument #1 ,]\relax \global \advance ... \simplefonts@definetextfont ...rocesscommacommand \simplefonts@typescript {\... l.3 \setmainfont[TeX Gyre Heros][weight=condensed]
kind regards Wolfgang Murth
Hello all, After fetching the simplefonts module with "first-setup.bat --extras="t-simplefonts" And now I get a luatex error
loading : ConTeXt User Module / Simplefonts ) ! LuaTeX error ...text/tex/texmf-context/tex/context/base/font-syn.lua:666: attempt to call field 'data_state' (a nil value) stack traceback: ...text/tex/texmf-context/tex/context/base/font-syn.lua:666: in function 'resetdata' ...text/tex/texmf-context/tex/context/base/font-syn.lua:671: in function 'identify' ...text/tex/texmf-context/tex/context/base/font-syn.lua:696: in function 'load' ...text/tex/texmf-context/tex/context/base/font-syn.lua:707: in function 'load' ...text/tex/texmf-context/tex/context/base/font-syn.lua:844: in function 'resolve' ...text/tex/texmf-context/tex/context/base/font-syn.lua:1235: in function 'exists' ...text/tex/context/third/simplefonts/t-simplefonts.lua:183: in function 'selectfont' <main ctx instance>:1: in main chunk. \currentcommalistcommand ...arameter \c!weight ")}
\next1 #1,->\currentcommalistcommand {#1} \doprocesscommaitem <argument> \relax regular, italic,slanted,bold,bolditalic,boldslanted,caps, i... \doprocesscommalist ...aitem \gobbleoneargument #1 ,]\relax \global \advance ... \simplefonts@definetextfont ...rocesscommacommand \simplefonts@typescript {\... l.3 \setmainfont[TeX Gyre Heros][weight=condensed]
kind regards Wolfgang Murth
Wolfgang Murth wrote:
After fetching the simplefonts module with "first-setup.bat --extras="t-simplefonts"
can you test with todays beta? ----------------------------------------------------------------- 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 -----------------------------------------------------------------
Hi Hans,
can you test with todays beta? Tested with following sample from Wolfgang Schuster and it worked. Thanks!
kind regards Wolfgang Murth \usemodule[simplefonts] \setmainfont[TeX Gyre Heros][weight=condensed] \starttext \rm\tf roman \it italic \bf bold \bi bolditalic \sc smallcaps \stoptext
Hi Hans,
After fetching the simplefonts module with "first-setup.bat --extras="t-simplefonts" can you test with todays beta?
I'm sorry to tell you, that with this beta in other documents I only get a titlepage with text and graphics on it. All the other pages are plain white with no text. Enclosed find the tuc and log file of the successful and failing compile. The document is named 07_Access. successful: ConTeXt ver: 2009.11.02 21:31 MKIV fmt: 2009.11.7 int: english/english failing: ConTeXt ver: 2009.11.23 11:49 MKIV fmt: 2009.11.23 int: english/english kind regards Wolfgang Murth
Am 23.11.2009 um 19:11 schrieb Wolfgang Murth:
I'm sorry to tell you, that with this beta in other documents I only get a titlepage with text and graphics on it. All the other pages are plain white with no text.
Can you try to compile it without the images, the following message looks suspicious:
structure : chapter @ level 2 : 0.4 -> Daten eingeben
[6.5
LuaTeX warning: arithmetic: number too big
Hi Wolfgang,
Can you try to compile it without the images, the following message looks suspicious: I found the problem.
The lines 187 and 188 are the troublemakers. \setupbackgrounds[header][text][background=nicetop] \setupbackgrounds[footer][text][background=nicebottom] With commenting them out the document is ok. Wolfgang Murth
participants (3)
-
Hans Hagen
-
Wolfgang Murth
-
Wolfgang Schuster