* tex in context @ 2010-08-01 12:00 R. Bastian 2010-08-01 12:59 ` Wolfgang Schuster 0 siblings, 1 reply; 3+ messages in thread From: R. Bastian @ 2010-08-01 12:00 UTC (permalink / raw) To: mailing list for ConTeXt users 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 ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: tex in context 2010-08-01 12:00 tex in context R. Bastian @ 2010-08-01 12:59 ` Wolfgang Schuster 2010-08-01 14:23 ` R. Bastian 0 siblings, 1 reply; 3+ messages in thread From: Wolfgang Schuster @ 2010-08-01 12:59 UTC (permalink / raw) To: mailing list for ConTeXt users 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 ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: tex in context 2010-08-01 12:59 ` Wolfgang Schuster @ 2010-08-01 14:23 ` R. Bastian 0 siblings, 0 replies; 3+ messages in thread From: R. Bastian @ 2010-08-01 14:23 UTC (permalink / raw) To: ntg-context On Sun, 01 Aug 2010 14:59:39 +0200 Wolfgang Schuster <schuster.wolfgang@googlemail.com> scribit: > 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 ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-08-01 14:23 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2010-08-01 12:00 tex in context R. Bastian 2010-08-01 12:59 ` Wolfgang Schuster 2010-08-01 14:23 ` R. Bastian
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).