Re: [NTG-context] anaemic spacing around in-line typed text

2007-04-01 Thread Wolfgang Schuster
2007/4/1, Vyatcheslav Yatskovsky <[EMAIL PROTECTED]>: Hello Wolfgang, Thanks. \def\comm{\thinspace\groupedcommand\tt\thinspace} works quite well. From a newbie standpoint, I wonder why replacing \thinspace with \hspace[medium] fails? It did not fail, you forget only the braces. \def

[NTG-context] ConTeXt and vim spell check

2007-04-01 Thread Robin Kirkham
Hi, I'm using vim 7.0.17. When I edit a ConTeXt source file, it does the syntax highlighting correctly, but it won't do spelling error highlighting. It works for other filetypes (including LaTeX). Is there something extra needed in .vimrc? I have filetype plugin indent on syntax e

[NTG-context] \setupbodyfont vs. \switchtotypeface

2007-04-01 Thread Vyatcheslav Yatskovsky
Hello, What is better to use given the code below? \setupbodyfont or \switchtotypeface? Both produce the same result but in the second case my pdf file is twice bigger.. \enableregime[cp1251] %\language[ru]\setuplanguage[ru] \loadmapfile[t2a-monotype-timesttf.map] \usetypescriptfile[type-buy

[NTG-context] Times as math font

2007-04-01 Thread Vyatcheslav Yatskovsky
Hello, Could someone be so kind to tell me why I cannot set Times as math font? The line \definetypeface [myFont] [mm] [math,boldmath] [myfont] [default] [encoding=t2a] seems to do nothing; other code works well. \loadmapfile[t2a-monotype-timesttf.map] \usetypescriptfile[type-buy] \usetypescr

Re: [NTG-context] anaemic spacing around in-line typed text

2007-04-01 Thread Vyatcheslav Yatskovsky
Hello Wolfgang, Thanks. \def\comm{\thinspace\groupedcommand\tt\thinspace} works quite well. From a newbie standpoint, I wonder why replacing \thinspace with \hspace[medium] fails? (I had another version \def\comm#1{\hspace[medium]{\tt#1}\hspace[medium]} it worked.) Vystcheslav > On Sun,

[NTG-context] XML in ConTeXt (TeX -> XML)

2007-04-01 Thread Steffen Wolfrum
Hi, in the XML manual "example .pdf" the chapter "basic workflows" talks about TeX -> style -> XML : "we simply typeset XML. The typeset document (with lots of angle brackets) is then converted into raw text". That sounds like ... texmfstart texexec --xml --foo.tex ... but this also calls pdf

Re: [NTG-context] TextMate bundle

2007-04-01 Thread Hans Hagen
Helin Gai wrote: > Hi Patrick, > > Thanks for prompt update. > > Personally, I feel it's probably more flexible to have two distinct > command, one for pdftex, and another for xetex... > since xetex and pdftex and luatex have subtle differences one can consider adding % engine=xetex to the to

Re: [NTG-context] xetex problems

2007-04-01 Thread Mojca Miklavec
On 4/1/07, Patrick Gundlach wrote: > Hi, > > [xetex on linux, esp. on contextgarden.net] > > > /etc/fonts/local.conf, I guess... as far as the fontconfig side of the > > Force is concerned, this is the right location to add "local" font > > directories (say > > /usr/local/texlive/2007/texmf-dist/

Re: [NTG-context] anaemic spacing around in-line typed text

2007-04-01 Thread Wolfgang Schuster
On Sun, 1 Apr 2007 15:40:50 +0300 Vyatcheslav Yatskovsky <[EMAIL PROTECTED]> wrote: > Hello Taco, > > Thanks, I came up with the following > > \def\comm#1{{\tt#1}\,} > > \starttext > The \comm{rand} function generates pseudo-random numbers. > \stoptext > > I quite satisfied with it, but maybe

Re: [NTG-context] anaemic spacing around in-line typed text

2007-04-01 Thread Vyatcheslav Yatskovsky
Hello Taco, Thanks, I came up with the following \def\comm#1{{\tt#1}\,} \starttext The \comm{rand} function generates pseudo-random numbers. \stoptext I quite satisfied with it, but maybe there is better way to typeset programming keywords? Best regards, Vyatcheslav Yatskovsky >> The follow

Re: [NTG-context] xetex problems

2007-04-01 Thread Patrick Gundlach
Hi, [xetex on linux, esp. on contextgarden.net] > /etc/fonts/local.conf, I guess... as far as the fontconfig side of the > Force is concerned, this is the right location to add “local” font > directories (say > /usr/local/texlive/2007/texmf-dist/fonts/opentype/public/iwona) That is the secret!