Re: [NTG-context] BUGS with \setupbodyfontenvironment

2015-05-22 Thread Wolfgang Schuster
> Am 22.05.2015 um 13:07 schrieb david.boerschl...@juno.com: > > I have the following: > > \setupbodyfontenvironment[default][em=italic,x=9.0pt,xx=8.0pt,a=12.0pt,b=14.0pt,c=16.0pt,d=18.0pt,e=24.0pt,small=8.0pt] > > Per: http://wiki.contextgarden.net/Font_Switching >

[NTG-context] BUGS with \setupbodyfontenvironment

2015-05-22 Thread david.boerschl...@juno.com
I have the following: \setupbodyfontenvironment[default][em=italic,x=9.0pt,xx=8.0pt,a=12.0pt,b=14.0pt,c=16.0pt,d=18.0pt,e=24.0pt,small=8.0pt] Per: http://wiki.contextgarden.net/Font_Switching However Context has a syntax error. ! Missing \endcsname inserted ! You can't use `\dimexp

Re: [NTG-context] A trouble with setupbodyfontenvironment

2013-03-01 Thread Alasdair McAndrew
I think I might completely uninstall my current TeXlive (2011) and install the newest one from CTAN, as you recommend. I also run into problems when I want to run both ConTeXt and plain TeX or LaTeX: I was using TeX on some old files yesterday, and because my path was set up to reference the /opt/

Re: [NTG-context] A trouble with setupbodyfontenvironment

2013-03-01 Thread Bill Meahan
On 02/28/2013 06:51 PM, 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'

Re: [NTG-context] A trouble with setupbodyfontenvironment

2013-03-01 Thread Hans Hagen
On 3/1/2013 11:27 AM, Alasdair McAndrew wrote: I'll try to sort out a minimal example; unfortunately neither of those suggestions worked. btw, can it be that you run a new luatex but an old context? if so ... it's a 5.2 hashing issue and you need to update context to match luatex ---

Re: [NTG-context] A trouble with setupbodyfontenvironment

2013-03-01 Thread Hans Hagen
On 3/1/2013 11:27 AM, Alasdair McAndrew wrote: I'll try to sort out a minimal example; unfortunately neither of those suggestions worked. In the meantime, here's some more info from the log file: - (chapter.tex ! LuaTeX error .../context/tex/texmf-context/tex/context/base/strc-doc.lua:156:

Re: [NTG-context] A trouble with setupbodyfontenvironment

2013-03-01 Thread Alasdair McAndrew
I'll try to sort out a minimal example; unfortunately neither of those suggestions worked. In the meantime, here's some more info from the log file: - (chapter.tex ! LuaTeX error .../context/tex/texmf-context/tex/context/base/strc-doc.lua:156: attempt to index local 'metadata' (a number value

Re: [NTG-context] A trouble with setupbodyfontenvironment

2013-03-01 Thread Marco Patzer
On 2013–03–01 Alasdair McAndrew wrote: > Arrgh: more problems. I've downloaded and installed context standalone > (version 2013.02.26 00:17). Now when I run context I get an error (for the > first time ever) when it reaches a chapter heading: > > l.1 ...[ch:this]{My first chapter} > > ? h > Th

Re: [NTG-context] A trouble with setupbodyfontenvironment

2013-03-01 Thread Alasdair McAndrew
Arrgh: more problems. I've downloaded and installed context standalone (version 2013.02.26 00:17). Now when I run context I get an error (for the first time ever) when it reaches a chapter heading: l.1 ...[ch:this]{My first chapter} ? h The lua interpreter ran into a problem, so the remainder o

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 tr

Re: [NTG-context] A trouble with setupbodyfontenvironment

2013-02-28 Thread Alasdair McAndrew
; \definehighlight is nothing which was recent added. > > \setupbodyfontenvironment > [default] > [em=slantedred] > > \definehighlight > [slantedred] > [style=slanted, >color=red] > > \starttext > foo {\em bar} > \stoptext > > You cann

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. \setupbodyfontenvironm

Re: [NTG-context] A trouble with setupbodyfontenvironment

2013-02-28 Thread Alasdair McAndrew
I have to include a special module here? -Alasdair On Thu, Feb 28, 2013 at 11:02 PM, Marco Patzer wrote: > On 2013–02–28 Alasdair McAndrew wrote: > > > So I've come back to using ConTeXt after a year away from it > > Welcome back :) > > > \setu

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] [st

[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]}]