[NTG-context] MP bounding box

2014-03-12 Thread Peter Rolf
Hi, I run into a problem with the bounding box calculation of a MP graphic. Seems like very small values are represented in scientific notation and MP can't handle those. Example attached. [..] to be read again e to be read again e - argument 6.103515625e- 005 \setMPboundingbox

[NTG-context] confusion about expansion

2014-03-12 Thread Lars Huttar
Hello, I've got a running page head like this in my document: \def\CurrentUser{\cldcontext{os.resultofwhoami}} \def\Markname { Compiled \date by \CurrentUser \LUATEX +\ConTeXt\ \contextversion } and later: \setlayer[cropmark][preset=lefttop,x=3cm,y=-1.5\lineheight]{\Markname} But when I run

Re: [NTG-context] confusion about expansion

2014-03-12 Thread Wolfgang Schuster
Am 12.03.2014 um 15:00 schrieb Lars Huttar lars_hut...@sil.org: Hello, I've got a running page head like this in my document: \def\CurrentUser{\cldcontext{os.resultofwhoami}} \def\Markname { Compiled \date by \CurrentUser \LUATEX +\ConTeXt\ \contextversion } and later:

Re: [NTG-context] confusion about expansion

2014-03-12 Thread Lars Huttar
On 3/12/2014 10:05 AM, Wolfgang Schuster wrote: Am 12.03.2014 um 15:00 schrieb Lars Huttar lars_hut...@sil.org: Hello, I've got a running page head like this in my document: \def\CurrentUser{\cldcontext{os.resultofwhoami}} \def\Markname { Compiled \date by \CurrentUser \LUATEX +\ConTeXt\

Re: [NTG-context] confusion about expansion

2014-03-12 Thread Wolfgang Schuster
Am 12.03.2014 um 15:12 schrieb Lars Huttar lars_hut...@sil.org: On 3/12/2014 10:05 AM, Wolfgang Schuster wrote: Am 12.03.2014 um 15:00 schrieb Lars Huttar lars_hut...@sil.org: Hello, I've got a running page head like this in my document: \def\CurrentUser{\cldcontext{os.resultofwhoami}}

Re: [NTG-context] confusion about expansion

2014-03-12 Thread Lars Huttar
On 3/12/2014 10:21 AM, Wolfgang Schuster wrote: Am 12.03.2014 um 15:12 schrieb Lars Huttar lars_hut...@sil.org mailto:lars_hut...@sil.org: On 3/12/2014 10:05 AM, Wolfgang Schuster wrote: Am 12.03.2014 um 15:00 schrieb Lars Huttar lars_hut...@sil.org mailto:lars_hut...@sil.org: Hello,

Re: [NTG-context] confusion about expansion

2014-03-12 Thread Wolfgang Schuster
Am 12.03.2014 um 15:51 schrieb Lars Huttar lars_hut...@sil.org: This gets rid of the error, but it seems to prevent any expansion of the content of \CurrentUser, because the page head now literally looks like this: You can try to print the string in verbatim mode:

Re: [NTG-context] confusion about expansion

2014-03-12 Thread Lars Huttar
On 3/12/2014 11:06 AM, Wolfgang Schuster wrote: Am 12.03.2014 um 15:51 schrieb Lars Huttar lars_hut...@sil.org mailto:lars_hut...@sil.org: This gets rid of the error, but it seems to prevent any expansion of the content of \CurrentUser, because the page head now literally looks like this:

Re: [NTG-context] MP bounding box

2014-03-12 Thread Hans Hagen
On 3/12/2014 2:38 PM, Peter Rolf wrote: Hi, I run into a problem with the bounding box calculation of a MP graphic. Seems like very small values are represented in scientific notation and MP can't handle those. Example attached. [..] to be read again e to be read again e - argument

Re: [NTG-context] MP bounding box

2014-03-12 Thread Peter Rolf
Am 12.03.2014 17:05, schrieb Hans Hagen: On 3/12/2014 2:38 PM, Peter Rolf wrote: Hi, I run into a problem with the bounding box calculation of a MP graphic. Seems like very small values are represented in scientific notation and MP can't handle those. Example attached. [..] to be read

Re: [NTG-context] MP bounding box

2014-03-12 Thread Hans Hagen
On 3/12/2014 5:25 PM, Peter Rolf wrote: Am 12.03.2014 17:05, schrieb Hans Hagen: On 3/12/2014 2:38 PM, Peter Rolf wrote: Hi, I run into a problem with the bounding box calculation of a MP graphic. Seems like very small values are represented in scientific notation and MP can't handle those.

Re: [NTG-context] MP bounding box

2014-03-12 Thread Peter Rolf
Am 12.03.2014 18:15, schrieb Hans Hagen: On 3/12/2014 5:25 PM, Peter Rolf wrote: Am 12.03.2014 17:05, schrieb Hans Hagen: On 3/12/2014 2:38 PM, Peter Rolf wrote: Hi, I run into a problem with the bounding box calculation of a MP graphic. Seems like very small values are represented in

Re: [NTG-context] Problem with an environment

2014-03-12 Thread Fabrice
Hi Wolfgang, Thank you for your help. I actually forgot this : \ definetypeface [mainface] [ss] [sans] [dejavu] [default] [rscale = auto]. The problem is that I'm still new with ConTeXt, but I think I can say that I grew to people like you.

[NTG-context] Movable code, was Re: starttexdefinition error in standalone, works in TL2013

2014-03-12 Thread Rik
On 2014-03-01 07:32, Wolfgang Schuster wrote: \unexpanded\def\startTranslation {\begingroup \dosingleempty\dostartTranslation} \def\dostartTranslation[#1]% {\iffirstargument \getrawparameters[Translation][setups=,language=en,#1]% \fi