![](https://secure.gravatar.com/avatar/9887fc565eeb83dacd53019357109ba0.jpg?s=120&d=mm&r=g)
Hello, is there a way to insert plain tex code in context source ? example: \startTEX \font\ttbold=cmbtt10 at 12pt .... {\ttbold texte monospace en gras} ... \stopTEX -- René Bastian www.pythoneon.org
![](https://secure.gravatar.com/avatar/93131e1e6e2204bd13501390d768dbdc.jpg?s=120&d=mm&r=g)
Am 01.08.10 14:00, schrieb R. Bastian:
Hello,
is there a way to insert plain tex code in context source ? Most of the plain TeX commands work in ConTeXt out of the box but ConTeXt’s own commands and environments are recommended.
I converted the font you want to use into type1 format (http://drp.ly/1sFxdF), to use it you should use \definefont which scales the font to match the size of the normal text: \definefont[ttbold][file:cmbtt10] \starttext \tt text \ttbold text \stoptext Wolfgang
![](https://secure.gravatar.com/avatar/9887fc565eeb83dacd53019357109ba0.jpg?s=120&d=mm&r=g)
On Sun, 01 Aug 2010 14:59:39 +0200
Wolfgang Schuster
Am 01.08.10 14:00, schrieb R. Bastian:
Hello,
is there a way to insert plain tex code in context source ? Most of the plain TeX commands work in ConTeXt out of the box but ConTeXt’s own commands and environments are recommended.
I converted the font you want to use into type1 format (http://drp.ly/1sFxdF), to use it you should use \definefont which scales the font to match the size of the normal text:
\definefont[ttbold][file:cmbtt10] \starttext \tt text \ttbold text \stoptext
Wolfgang
Many thanks! it works. -- Ren\'e Bastian (charset problems with this mail ?) www.pythoneon.org w
participants (2)
-
R. Bastian
-
Wolfgang Schuster