Re: [NTG-context] ! LuaTeX error [string \directlua ]:1: invalid escape sequence

2013-04-19 Thread Hans Hagen
On 4/19/2013 7:39 AM, Kip Warner wrote: Hey list, I am having problems typesetting the following minimal to try and extract the current revision number from my revision control system: % Bzr revision... \def\initializeBzr

Re: [NTG-context] ! LuaTeX error [string \directlua ]:1: invalid escape sequence

2013-04-19 Thread Kip Warner
On Fri, 2013-04-19 at 09:07 +0200, Hans Hagen wrote: use [[ ]] for passing strings and \letterpercent , of do: \ctxlua{context.setxvalue(BzrRevision,os.resultof(bzr revno | tr -d '\string\n'))} Thanks Hans. That solved that problem. -- Kip Warner -- Software Engineer OpenPGP

Re: [NTG-context] gnuplot module broken

2013-04-19 Thread Mojca Miklavec
Dear Hans, please consider the following example in MKII: \setupcolors[state=start] \starttext \startMPextensions a := \abc; color b; b := \MPcolor{currentcolor}; \stopMPextensions \startuseMPgraphic{bla} fill fullcircle scaled a withcolor b; \stopuseMPgraphic

[NTG-context] \bTD\numexpr\currentTABLErow\minusone\relax\eTD

2013-04-19 Thread Alan BRASLAU
Hello, I naively tried using \bTD\numexpr\currentTABLErow\minusone\relax\dTD in a TABLE. As I do not master even simple calculations under TeX, I do not see what I am missing in order to label TABLE rows, starting from 0? (Row 1 is a heading, set off by \bTABLEhead\eTABLEhead, which is

Re: [NTG-context] gnuplot module broken

2013-04-19 Thread Marco Patzer
On 2013–04–19 Mojca Miklavec wrote: Dear Hans, please consider the following example in MKII: \setupcolors[state=start] \starttext \startMPextensions a := \abc; color b; b := \MPcolor{currentcolor}; \stopMPextensions \startuseMPgraphic{bla} fill fullcircle scaled a withcolor

[NTG-context] Is fine-grained grid control possible?

2013-04-19 Thread Tom Ellis
I asked a question on tex.stackoverflow, and it was suggested ConTeXt could help and that I should repost my question here. http://tex.stackexchange.com/questions/108850/is-fine-grained-grid-control-possible I want to make a variety of checklists which are essentially based on a grid

Re: [NTG-context] \bTD\numexpr\currentTABLErow\minusone\relax\eTD

2013-04-19 Thread Marco Patzer
On 2013–04–19 Alan BRASLAU wrote: \bTD\numexpr\currentTABLErow\minusone\relax\dTD \bTD\the\numexpr\currentTABLErow-1\relax\eTD Marco signature.asc Description: Digital signature ___ If your question is

[NTG-context] gnuplot module fixed (was: gnuplot module broken)

2013-04-19 Thread Mojca Miklavec
On Fri, Apr 19, 2013 at 10:09 AM, Marco Patzer wrote: On 2013–04–19 Mojca Miklavec wrote: Dear Hans, please consider the following example in MKII: \setupcolors[state=start] \starttext \startMPextensions a := \abc; color b; b := \MPcolor{currentcolor}; \stopMPextensions

[NTG-context] Lucida doesn't work in TL 2013 / latest ConTeXt

2013-04-19 Thread Mojca Miklavec
Hi, in TL 2013 neither \setupbodyfont[lucida] nor \setupbodyfont[lucidanova] works. The first one gives: !LuaTeX error: Invalid local font in font lbr! == Fatal error occurred, no output PDF file produced! and the other one complains about ! Math error: parameter \Umathquad\displaystyle is

Re: [NTG-context] Cumulating numbered lists

2013-04-19 Thread Alan Bowen
In the simplified example, \setupitemgroup[itemize][broad] \setupitemize[itemalign=flushright] \startitemize[n,repeat] \item level a \item level a \startitemize[n,repeat] \item level b \item level b \startitemize[A][prefix=no] \item level c \item level c \stopitemize \stopitemize \stopitemize

Re: [NTG-context] Lucida doesn't work in TL 2013 / latest ConTeXt

2013-04-19 Thread Mojca Miklavec
I'm sorry. I was pointing TEXMFLOCAL to the wrong (older) version of fonts without OT in the filename. However, the Type1 fonts still don't work. Mojca On Fri, Apr 19, 2013 at 1:31 PM, Mojca Miklavec wrote: Hi, in TL 2013 neither \setupbodyfont[lucida] nor \setupbodyfont[lucidanova] works.

Re: [NTG-context] Lucida doesn't work in TL 2013 / latest ConTeXt

2013-04-19 Thread Hans Hagen
On 4/19/2013 1:31 PM, Mojca Miklavec wrote: Hi, in TL 2013 neither \setupbodyfont[lucida] nor \setupbodyfont[lucidanova] works. The first one gives: !LuaTeX error: Invalid local font in font lbr! == Fatal error occurred, no output PDF file produced! and the other one complains about !

Re: [NTG-context] Lucida doesn't work in TL 2013 / latest ConTeXt

2013-04-19 Thread Hans Hagen
On 4/19/2013 2:04 PM, Mojca Miklavec wrote: I'm sorry. I was pointing TEXMFLOCAL to the wrong (older) version of fonts without OT in the filename. However, the Type1 fonts still don't work. Did we change something with the type 1? In mkiv ... we probably never finished the mappings ... waste

[NTG-context] ConText on webspace

2013-04-19 Thread Jan Heinen
Is it possible to instal and runl ConText on webspace? Which requirements and limitations are needed? Have a nice weekend ... in Germany sun is shining :-) Regards Janis ___ If your question is of interest to others

Re: [NTG-context] Is fine-grained grid control possible?

2013-04-19 Thread Aditya Mahajan
On Fri, 19 Apr 2013, Tom Ellis wrote: I asked a question on tex.stackoverflow, and it was suggested ConTeXt could help and that I should repost my question here. http://tex.stackexchange.com/questions/108850/is-fine-grained-grid-control-possible I want to make a variety of checklists

Re: [NTG-context] Lucida doesn't work in TL 2013 / latest ConTeXt

2013-04-19 Thread Troy Henderson
Did we change something with the type 1? In mkiv ... we probably never finished the mappings ... waste of time now that we have otf. This makes me believe that I will eventually HAVE to purchase (and by purchase I really mean re-purchase) the OTF versions in order to use my Lucida fonts.

Re: [NTG-context] Lucida doesn't work in TL 2013 / latest ConTeXt

2013-04-19 Thread Khaled Hosny
On Fri, Apr 19, 2013 at 09:12:48AM -0500, Troy Henderson wrote: Did we change something with the type 1? In mkiv ... we probably never finished the mappings ... waste of time now that we have otf. This makes me believe that I will eventually HAVE to purchase (and by purchase I really

Re: [NTG-context] Lucida doesn't work in TL 2013 / latest ConTeXt

2013-04-19 Thread Troy Henderson
Given the amount of re-work that went into Lucida OT, a re-purchase is justified ;) That all depends on how it is being used. I'm not sure what advantage the OT version of the font would have to me over the Type1 version. If a reasonable justification could convince me, then I might agree.

Re: [NTG-context] Lucida doesn't work in TL 2013 / latest ConTeXt

2013-04-19 Thread Hans Hagen
On 4/19/2013 4:12 PM, Troy Henderson wrote: Did we change something with the type 1? In mkiv ... we probably never finished the mappings ... waste of time now that we have otf. This makes me believe that I will eventually HAVE to purchase (and by purchase I really mean re-purchase) the

Re: [NTG-context] Lucida doesn't work in TL 2013 / latest ConTeXt

2013-04-19 Thread Hans Hagen
On 4/19/2013 4:35 PM, Troy Henderson wrote: Given the amount of re-work that went into Lucida OT, a re-purchase is justified ;) That all depends on how it is being used. I'm not sure what advantage the OT version of the font would have to me over the Type1 version. If a reasonable

Re: [NTG-context] Is fine-grained grid control possible?

2013-04-19 Thread Tom Ellis
On Fri, Apr 19, 2013 at 09:58:47AM -0400, Aditya Mahajan wrote: On Fri, 19 Apr 2013, Tom Ellis wrote: I asked a question on tex.stackoverflow, and it was suggested ConTeXt could help and that I should repost my question here.

Re: [NTG-context] Can't make ISBN print in bibliography

2013-04-19 Thread john Culleton
On Fri, 19 Apr 2013 07:38:18 +0200 Thomas A. Schmitz thomas.schm...@uni-bonn.de wrote: On 04/19/2013 01:03 AM, john Culleton wrote: Any suggestions? Using MKIV currently. Use \setuppublicationlayout[book] (explained in the bib manual). Thomas Thanks for trying. I tried modfying one of

[NTG-context] Kile for ConTeXt

2013-04-19 Thread Jan Heinen
Does anyone here uses Kile for ConTeXt? On contextgarden-wiki I read has native ConTeXt support as well. I installed Kile and as the only thing concerning ConTeXt II found Build - Compile - ConTeXt But no highlighting or autocompletion. Google gave no answer. Do I have to install an

Re: [NTG-context] Is fine-grained grid control possible?

2013-04-19 Thread Aditya Mahajan
On Fri, 19 Apr 2013, Tom Ellis wrote: On Fri, Apr 19, 2013 at 09:58:47AM -0400, Aditya Mahajan wrote: On Fri, 19 Apr 2013, Tom Ellis wrote: Is ConTeX a good fit for my needs? How could I do it? Here are some examples of the kind of thing I would like to do that I pulled from an image

Re: [NTG-context] Lucida doesn't work in TL 2013 / latest ConTeXt

2013-04-19 Thread George N. White III
On Fri, Apr 19, 2013 at 11:12 AM, Troy Henderson thend...@gmail.com wrote: Did we change something with the type 1? In mkiv ... we probably never finished the mappings ... waste of time now that we have otf. This makes me believe that I will eventually HAVE to purchase (and by purchase I

Re: [NTG-context] Lucida doesn't work in TL 2013 / latest ConTeXt

2013-04-19 Thread Hans Hagen
On 4/19/2013 8:16 PM, George N. White III wrote: On Fri, Apr 19, 2013 at 11:12 AM, Troy Henderson thend...@gmail.com mailto:thend...@gmail.com wrote: Did we change something with the type 1? In mkiv ... we probably never finished the mappings ... waste of time now that we have

Re: [NTG-context] ConText on webspace

2013-04-19 Thread Hans Hagen
On 4/19/2013 2:50 PM, Jan Heinen wrote: Is it possible to instal and runl ConText on webspace? Which requirements and limitations are needed? define webspace Have a nice weekend ... in Germany sun is shining :-) Regards Janis

Re: [NTG-context] ConText on webspace

2013-04-19 Thread Jan Heinen
Is it possible to instal and runl ConText on webspace? Which requirements and limitations are needed? define webspace I have webspace hosted at the german provider (1und1) where my homepage is running. It contains php, perl, python, mysqld. I have access via - ssh - ftp It's NOT a

Re: [NTG-context] Missing number error, related to setupcolumnsetlines

2013-04-19 Thread Hans Hagen
On 4/18/2013 11:13 PM, Lars Huttar wrote: \definecolumnset [abbcolumn] [n=2,distance=5mm,balancing=yes] \setupcolumnsetlines[abbcolumn][1][1][60] \setupcolumnsetlines[abbcolumn][1][2][60] the 60 exceeds the number of lines \starttext \startcolumnset[abbcolumn] foo

Re: [NTG-context] ConText on webspace

2013-04-19 Thread Hans Hagen
On 4/19/2013 9:17 PM, Jan Heinen wrote: Is it possible to instal and runl ConText on webspace? Which requirements and limitations are needed? define webspace I have webspace hosted at the german provider (1und1) where my homepage is running. It contains php, perl, python, mysqld.

Re: [NTG-context] ConText on webspace

2013-04-19 Thread Henning Hraban Ramm
Am 2013-04-19 um 14:50 schrieb Jan Heinen: Is it possible to instal and runl ConText on webspace? Which requirements and limitations are needed? I run ConTeXt as typesetting machine behind my (Django/Gunicorn/NginX) webserver on my own virtual machine. You cannot run any independent program

Re: [NTG-context] ConText on webspace

2013-04-19 Thread Peter Münster
On Fri, Apr 19 2013, Jan Heinen wrote: Is it possible to instal and runl ConText on webspace? I have access via - ssh Hi, You could just try it: - ssh remote-host - mkdir context-dir ; cd context-dir - rsync -ptv rsync://contextgarden.net/distribution/setup/first-setup.sh . -

Re: [NTG-context] Is fine-grained grid control possible?

2013-04-19 Thread Tom Ellis
On Fri, Apr 19, 2013 at 02:13:44PM -0400, Aditya Mahajan wrote: On Fri, 19 Apr 2013, Tom Ellis wrote: On Fri, Apr 19, 2013 at 09:58:47AM -0400, Aditya Mahajan wrote: On Fri, 19 Apr 2013, Tom Ellis wrote: Is ConTeX a good fit for my needs? How could I do it? Here are some examples of the

Re: [NTG-context] Is fine-grained grid control possible?

2013-04-19 Thread Aditya Mahajan
On Fri, 19 Apr 2013, Tom Ellis wrote: I care about having fine-grained control over the exact placement of labels and boxes. That is, can I place boxes and text labels at exact coordinates on a page, either in absolute terms or relative to each other? That's all I'm after.

Re: [NTG-context] Is fine-grained grid control possible?

2013-04-19 Thread Tom Ellis
On Fri, Apr 19, 2013 at 04:35:52PM -0400, Aditya Mahajan wrote: On Fri, 19 Apr 2013, Tom Ellis wrote: I care about having fine-grained control over the exact placement of labels and boxes. That is, can I place boxes and text labels at exact coordinates on a page, either in absolute terms or

[NTG-context] Again: LuaTeX error: invalid escape sequence near '\i'

2013-04-19 Thread Jan Heinen
An example which was working with ConText (version beginning 2012) - and now I get an error: \define\imagepath {/home/janis/images} \starttext \externalfigure[\imagepath/test.jpg] \stoptext LuaTeX error [string \directlua ]:1: invalid escape sequence near '\i' Without my parameter

Re: [NTG-context] Again: LuaTeX error: invalid escape sequence near '\i'

2013-04-19 Thread Hans Hagen
On 4/19/2013 11:27 PM, Jan Heinen wrote: An example which was working with ConText (version beginning 2012) - and now I get an error: \define\imagepath {/home/janis/images} \starttext \externalfigure[\imagepath/test.jpg] \stoptext LuaTeX error [string \directlua ]:1: invalid escape sequence

Re: [NTG-context] Again: LuaTeX error: invalid escape sequence near '\i'

2013-04-19 Thread Jan Heinen
The following two commands seem to do the same: \defineexpandable\... \def\... And this two also do the same: \define\... \unexpanded\def\... \def is a low-level-command and shouldn't be used. Right? Regards Janis

Re: [NTG-context] Again: LuaTeX error: invalid escape sequence near '\i'

2013-04-19 Thread Jan Heinen
In last year Context this worked: \define\imagepath {/home/janis/images} \externalfigure[\imagepath/test.jpg] Now this change is necesarry: \defineexpandble\imagepath {/home/janis/images} Where do the change come from: Context, Tex or Luatex? Is there a genereal change which we have to

Re: [NTG-context] Again: LuaTeX error: invalid escape sequence near '\i'

2013-04-19 Thread Hans Hagen
On 4/20/2013 2:16 AM, Jan Heinen wrote: In last year Context this worked: \define\imagepath {/home/janis/images} \externalfigure[\imagepath/test.jpg] Now this change is necesarry: \defineexpandble\imagepath {/home/janis/images} Where do the change come from: Context, Tex or Luatex? Is

Re: [NTG-context] Again: LuaTeX error: invalid escape sequence near '\i'

2013-04-19 Thread Hans Hagen
btw, the \i that lua reports is a side effect of lua being more strict in escaping characters, so that might be a compatibility issue, although can argue that the old lua behaviour was a buglet Hans -