[NTG-context] A trouble with setupbodyfontenvironment

2013-02-28 Thread Alasdair McAndrew
So I've come back to using ConTeXt after a year away from it (publishers preferring LaTeX, y'know), and in revising some student notes I'm getting errors which seem new. For a collection of overheads, I've set up \setupbodyfontenvironment[default][em={\slanted\color[red]}] However, when I run

Re: [NTG-context] A trouble with setupbodyfontenvironment

2013-02-28 Thread Marco Patzer
On 2013–02–28 Alasdair McAndrew wrote: So I've come back to using ConTeXt after a year away from it Welcome back :) \setupbodyfontenvironment[default][em={\slanted\color[red]}] \setupbodyfontenvironment [default] [em=slantedred] \definehighlight [slantedred] [style=slanted,

Re: [NTG-context] A trouble with setupbodyfontenvironment

2013-02-28 Thread Alasdair McAndrew
Thanks for that, but it doesn't seem to work: I enter context myfile.tex, and a bit later: l.26 \definehighlight [slantedred][style=slanted,color=red] ? h The control sequence at the end of the top line of your error message was never \def'ed. Do I have to include a special

Re: [NTG-context] A trouble with setupbodyfontenvironment

2013-02-28 Thread Marco Patzer
On 2013–03–01 Alasdair McAndrew wrote: Do I have to include a special module here? No. I tested some versions between 2011.11.29 23:11 and 2013.02.26 00:17 and it worked for me. Which version are you using? \definehighlight is nothing which was recent added. \setupbodyfontenvironment

[NTG-context] Arranging framed text without gaps

2013-02-28 Thread Matthias Weber
Dear all, I am trying to create a table where the entries have determined width and height. They typically are something like \framed[width=5cm,height=4cm,align={center,middle}{Text} and I understand that I will be responsible for making the dimensions so that everything fits nicely. After

Re: [NTG-context] Arranging framed text without gaps

2013-02-28 Thread Aditya Mahajan
How do I -- achieve the desired layout (exact dimensions, frames, no gaps) the right way, -- without gaps between horizontal rows \setupframed [ overlay=none, ... ] -- with text centered in the frames also in MkIV? .. align={middle,middle}, Aditya

Re: [NTG-context] Arranging framed text without gaps

2013-02-28 Thread Matthias Weber
Thanks! Matthias On Feb 28, 2013, at 5:56 PM, Aditya Mahajan adit...@umich.edu wrote: How do I -- achieve the desired layout (exact dimensions, frames, no gaps) the right way, -- without gaps between horizontal rows \setupframed [ overlay=none, ... ] -- with text

Re: [NTG-context] Arranging framed text without gaps

2013-02-28 Thread Marco Patzer
On 2013–02–28 Matthias Weber wrote: -- without gaps between horizontal rows -- with text centered in the frames also in MkIV? See Adityas answer for how to fix your current code. -- achieve the desired layout (exact dimensions, frames, no gaps) the right way, There is no “right” way.

Re: [NTG-context] A trouble with setupbodyfontenvironment

2013-02-28 Thread Alasdair McAndrew
Actually, maybe my version is a bit old: context --version returns 2011.05.18 18:04. I'll try to update it. (I'm using Ubuntu 12.04, but when I tried to update using apt-get the system told me that I had the latest version). In the meantime I'll try your alternative. Thanks! On Fri, Mar 1,

Re: [NTG-context] A trouble with setupbodyfontenvironment

2013-02-28 Thread Aditya Mahajan
On Fri, 1 Mar 2013, Alasdair McAndrew wrote: Actually, maybe my version is a bit old: context --version returns 2011.05.18 18:04. I'll try to update it. (I'm using Ubuntu 12.04, but when I tried to update using apt-get the system told me that I had the latest version). In the meantime I'll

Re: [NTG-context] Arranging framed text without gaps

2013-02-28 Thread Matthias Weber
Fascinating. Thanks!! Matthias On Feb 28, 2013, at 6:00 PM, Marco Patzer home...@lavabit.com wrote: On 2013–02–28 Matthias Weber wrote: -- without gaps between horizontal rows -- with text centered in the frames also in MkIV? See Adityas answer for how to fix your current code. --

Re: [NTG-context] Arranging framed text without gaps

2013-02-28 Thread Devendra Ghate
On 03/01/2013 04:30 AM, Marco Patzer wrote: On 2013--02--28 Matthias Weber wrote: -- without gaps between horizontal rows -- with text centered in the frames also in MkIV? See Adityas answer for how to fix your current code. -- achieve the desired layout (exact dimensions, frames, no gaps)