Am 02.02.2014 um 09:33 schrieb Pablo Rodriguez
Dear list,
I converted the monospace fonts of txfonts (http://www.ctan.org/tex-archive/fonts/txfonts/pfb) from pbf to otf using FontForge. They work fine (http://www.ousia.tk/ryfonts.zip).
But the issue is shown in the following sample (beta from 2014.02.01 14:22):
\definefontfamily[mainface][mono][ryt1xtt][bf=ryt1xbtt] \setupbodyfont[mainface] \definetyping[TeXcode][option=TEX] \starttext \starttyping \ConTeXt\ is \stoptyping \startTeXcode \ConTeXt\ is \stopTeXcode \stoptext
If option=TEX is enabled, there is no space after the backslash.
I have checked the font and it seems to work fine, so it might be a bug.
I can reproduce the problem with the type1 fonts: \starttypescript[serif][txfonts] \setups[font:fallback:serif] \definefontsynonym [Serif] [file:t1xtt.afm] [features=complete] \definefontsynonym [SerifBold] [file:t1xbtt.afm] [features=complete] \definefontsynonym [SerifCaps] [file:t1xttsc.afm] [features=complete] \stoptypescript \starttypescript[mono][txfonts] \setups[font:fallback:mono] \definefontsynonym [Mono] [file:t1xtt.afm] [features=none] \definefontsynonym [MonoBold] [file:t1xbtt.afm] [features=none] \stoptypescript \definetypeface [mainface] [rm] [serif] [txfonts] [default] \definetypeface [mainface] [tt] [mono] [txfonts] [default] \setupbodyfont[mainface] \starttext Regular, {\bf Bold} and {\sc Smallcaps}. \starttyping[option=tex] \CONTEXT\ is wonderful! \stoptyping \stoptext Even though this is something that should be fixed using a different font in truetype/opentype format solves your problem as well. The following two fonts are similar to the monospaced font of the txfonts package: - http://www.fontsquirrel.com/fonts/Luxi-Mono - http://www.fontsquirrel.com/fonts/pt-mono Wolfgang