Re: [NTG-context] Plotting a graph of a function f, like f(x) = e^x, with MetaPost

2011-10-13 Thread Hans Hagen
On 13-10-2011 02:30, Mojca Miklavec wrote: Of course the user would have to make a conscious decision by enabling this “beta” release. And of course the user makes a conscious decision to either compile from trunk if he wants the latest and greatest bugs and new features or to wait patiently

[NTG-context] bug in latest beta

2011-10-13 Thread luigi scarso
On Wed, Oct 12, 2011 at 7:49 PM, Hans Hagen pra...@wxs.nl wrote: Hi, I uploaded a new beta. There are a few new things and some changes: Error This is MetaPost, version 1.504 (kpathsea version 6.0.0) (/opt/luatex/standalone-2011/tex/texmf-context/metapost/context/base/

Re: [NTG-context] Plotting a graph of a function f, like f(x) = e^x, with MetaPost

2011-10-13 Thread Alan Braslau
On Thu, Oct 13, 2011 at 02:30:07AM +0200, Mojca Miklavec wrote: MetaPost doesn't know erf and other obscure functions Metapost could possibly be extended to provide all of the functions in the standard math library. In fact, it would be nice if there be some hook to `link' to additional

Re: [NTG-context] Plotting a graph of a function f, like f(x) = e^x, with MetaPost

2011-10-13 Thread luigi scarso
On Thu, Oct 13, 2011 at 9:59 AM, Alan Braslau alan.bras...@cea.fr wrote: On Thu, Oct 13, 2011 at 02:30:07AM +0200, Mojca Miklavec wrote: MetaPost doesn't know erf and other obscure functions Metapost could possibly be extended to provide all of the functions in the standard math library.

Re: [NTG-context] bug in latest beta

2011-10-13 Thread Hans Hagen
On 13-10-2011 09:37, luigi scarso wrote: l.40 input mp-char.mpii ; Please type another input file name: you can rename mp-flow to mp-char ... I'll do a new upload later today Hans -

Re: [NTG-context] bug in latest beta

2011-10-13 Thread luigi scarso
On Thu, Oct 13, 2011 at 12:49 PM, Hans Hagen pra...@wxs.nl wrote: On 13-10-2011 09:37, luigi scarso wrote: l.40 input mp-char.mpii ; Please type another input file name: you can rename mp-flow to mp-char ... I'll do a new upload later today hm, there is not

Re: [NTG-context] Setting style and color attributes of label in metapost

2011-10-13 Thread Wolfgang Schuster
Am 25.09.2011 um 02:43 schrieb Aditya Mahajan: I am writing a module which uses metapost in the background for drawing. I wanted to create an interface for setting the style and color of metapost labels but using \doset...attributes is not working. Here is an example: \definenamespace

[NTG-context] nice friends-book with ConText

2011-10-13 Thread Jan Heinen
Hello, I hope the answer is easier than the question :-) I am a ConText-Newby and am struggeling with the huge amount of ConText-commands. I want to make a little book with infos and fotos of our friends - and I am afraid, the nice layout I have in mind is to complicated or impossible with

[NTG-context] Latest Beta

2011-10-13 Thread Andreas Harder
Hello, in some rare circumstances the enabled italic correction (\setupitaliccorrection[always]) cause the following error: /tex/texmf-context/tex/context/base/typo-itc.lua:99: attempt to index local 'cd' (a nil value) In needed I will try to make a minimal example. I’ve asked it

[NTG-context] Error in simpleslides style Swoosh

2011-10-13 Thread Marco
Hi, the presentation template “Swoosh” behaves weird and triggers an error. • Use the example file generic-talk-15min-45min.tex • Comment “style=BigNumber,” • Uncomment “style=Swoosh,” The log file is attached. Workaround: First processing the file using another style, then processing

Re: [NTG-context] Error in simpleslides style Swoosh

2011-10-13 Thread Thomas A. Schmitz
On 10/13/2011 04:30 PM, Marco wrote: Hi, the presentation template “Swoosh” behaves weird and triggers an error. • Use the example file generic-talk-15min-45min.tex • Comment “style=BigNumber,” • Uncomment “style=Swoosh,” The log file is attached. Workaround: First processing the file

Re: [NTG-context] Error in simpleslides style Swoosh

2011-10-13 Thread Hans Hagen
On 13-10-2011 16:49, Thomas A. Schmitz wrote: On 10/13/2011 04:30 PM, Marco wrote: Hi, the presentation template “Swoosh” behaves weird and triggers an error. • Use the example file generic-talk-15min-45min.tex • Comment “style=BigNumber,” • Uncomment “style=Swoosh,” The log file is

Re: [NTG-context] Error in simpleslides style Swoosh

2011-10-13 Thread Thomas A. Schmitz
On 10/13/2011 05:01 PM, Hans Hagen wrote: probably something messy with multipass data then (not enough checking or so) That's probably the case; I may have created a condition that mplib/context can't solve: I want a slightly randomized path and an intersectionpoint with a progress meter to

Re: [NTG-context] Error in simpleslides style Swoosh

2011-10-13 Thread luigi scarso
On Thu, Oct 13, 2011 at 5:07 PM, Thomas A. Schmitz thomas.schm...@uni-bonn.de wrote: That's probably the case; I may have created a condition that mplib/context can't solve: I want a slightly randomized path and an intersectionpoint with a progress meter to draw a counter on that path. But I

[NTG-context] \startmode and \ignorespaces

2011-10-13 Thread Hans van der Meer
A little while ago I asked whether \doifmode and friends should have an \ignorespaces at the end. Hans Hagen answered no and after some reasoning (probably along the same lines as his) I agree with him. Thus one uses in a quite natural way: some text\doifmode{xyz}{ conditional text}

Re: [NTG-context] nice friends-book with ConText

2011-10-13 Thread Willi Egger
Hi Jan, I would say that in this case the answer might be more elaborate than you think. Still, looking at your design I would advise to go for layers. If I understand your comments correctly, then the problems may be caused by the definitions you used. I have here a small application for

Re: [NTG-context] Interpreting MathJax HTML in MKIV

2011-10-13 Thread Hans Hagen
On 13-10-2011 19:49, Mojca Miklavec wrote: Hello, I would like to manually create some HTML which would be displayed nicely in both HTML and PDF (using MKIV for conversion from HTML). To a certain degree I'm able to fake mathematics with span class=mathspan class=letterax/spansup2/sup +span

Re: [NTG-context] bug in latest beta

2011-10-13 Thread Hans Hagen
On 13-10-2011 09:37, luigi scarso wrote: Please type another input file name: A new beta ... better check mp code as I've split all mkii/mkiv mp related code (i.e. metafun ii is frozen and metafun iv will be mainstream). I might have messed when cleaning up the code. Hans

[NTG-context] missing html entities in latest ConTeXt

2011-10-13 Thread Mojca Miklavec
When processing HTML with TeX Live 2011, all the entities are nicely converted into corresponding characters. With latest version of ConTeXt I get literal le instead of ≤ for le; or hellip instead of ... for hellip; I will try to send a minimal version (the one I sent with MathJax can probably

Re: [NTG-context] Interpreting MathJax HTML in MKIV

2011-10-13 Thread Mojca Miklavec
On Thu, Oct 13, 2011 at 21:44, Hans Hagen wrote: On 13-10-2011 19:49, Mojca Miklavec wrote: Hello, I would like to manually create some HTML which would be displayed nicely in both HTML and PDF (using MKIV for conversion from HTML). To a certain degree I'm able to fake mathematics with

Re: [NTG-context] missing html entities in latest ConTeXt

2011-10-13 Thread Mojca Miklavec
On Thu, Oct 13, 2011 at 21:51, Mojca Miklavec wrote: When processing HTML with TeX Live 2011, all the entities are nicely converted into corresponding characters. With latest version of ConTeXt I get literal le instead of ≤ for le; or hellip instead of ... for hellip; I will try to send a

[NTG-context] bug: wrong subject name in headertext

2011-10-13 Thread Mojca Miklavec
Hello, the following example might not be the most minimal possible example, but I hope that it is short enough. I'm using \setupheadertexts [] [subject] to print subject into header, but the headers are screwed up in some very weird way. My real document behaves differently

Re: [NTG-context] bug: wrong subject name in headertext

2011-10-13 Thread Wolfgang Schuster
Am 13.10.2011 um 22:10 schrieb Mojca Miklavec: Hello, the following example might not be the most minimal possible example, but I hope that it is short enough. I'm using \setupheadertexts [] [subject] to print subject into header, but the headers are screwed up in some

Re: [NTG-context] bug: wrong subject name in headertext

2011-10-13 Thread Mojca Miklavec
On Thu, Oct 13, 2011 at 22:19, Wolfgang Schuster wrote: Am 13.10.2011 um 22:10 schrieb Mojca Miklavec: Hello, the following example might not be the most minimal possible example, but I hope that it is short enough. I'm using    \setupheadertexts        []        [subject] to print

Re: [NTG-context] Include section number in reference

2011-10-13 Thread Marco
Does anyone have an idea? What I do at the moment is that I manually reference my sections. But I'm convinced, there's a neat solution for that. Regards Marco Patzer ___ If your question is of interest to

Re: [NTG-context] Include section number in reference

2011-10-13 Thread Wolfgang Schuster
Am 13.10.2011 um 22:36 schrieb Marco: Does anyone have an idea? What I do at the moment is that I manually reference my sections. But I'm convinced, there's a neat solution for that. \setupreferencestructureprefix[default][prefixsegments=2:*] Wolfgang

Re: [NTG-context] missing html entities in latest ConTeXt

2011-10-13 Thread Mojca Miklavec
Also, [bdquo]=0x0201E, is missing in math-ent.lua/char-ent.lua (but char-ent.lua doesn't seem to work properly anyway). I didn't do extensive checking of what else might be missing, but the entity can be found here: http://www.w3.org/TR/html4/sgml/entities.html with a tag NEW. Mojca

Re: [NTG-context] bug: wrong subject name in headertext

2011-10-13 Thread Hans Hagen
On 13-10-2011 22:35, Mojca Miklavec wrote: On Thu, Oct 13, 2011 at 22:19, Wolfgang Schuster wrote: Am 13.10.2011 um 22:10 schrieb Mojca Miklavec: Hello, the following example might not be the most minimal possible example, but I hope that it is short enough. I'm using \setupheadertexts

Re: [NTG-context] missing html entities in latest ConTeXt

2011-10-13 Thread Hans Hagen
On 13-10-2011 21:59, Mojca Miklavec wrote: On Thu, Oct 13, 2011 at 21:51, Mojca Miklavec wrote: When processing HTML with TeX Live 2011, all the entities are nicely converted into corresponding characters. With latest version of ConTeXt I get literal le instead of ≤ for le; or hellip instead

Re: [NTG-context] nice friends-book with ConText

2011-10-13 Thread Jan Heinen
Step by Step I'm going forward. This shuld be the result, when I am ready: http://www.imagebanana.com/view/f4o3un2c/Entwurffriends.png At the moment I try to get the foto into a layer. Though the layer is definded as 30x40mm and the foto as well - the foto does not fit into the layer: the

Re: [NTG-context] nice friends-book with ConText

2011-10-13 Thread Jan Heinen
With the change to [strut=no,offset=overlay] the result looks a litlebit better. Though there is still whitespace to the left and to the right. \definelayer[Kontaktdaten][x=50mm,y=150mm,width=30mm,height=40mm,state=start] % size is ignored!

Re: [NTG-context] nice friends-book with ConText

2011-10-13 Thread Wolfgang Schuster
Am 14.10.2011 um 00:56 schrieb Jan Heinen: With the change to [strut=no,offset=overlay] the result looks a litlebit better. Though there is still whitespace to the left and to the right. \definelayer[Kontaktdaten][x=50mm,y=150mm,width=30mm,height=40mm,state=start] % size is ignored!

Re: [NTG-context] about \startstructureblockenvironment

2011-10-13 Thread Jeong Dalyoung
Dear Wolfgang, There is an error message, undefined control sequence as below when I use \startstructureblockenvironment: Use \startsectionblockenvironment. After changing structureblock to sectionblock, it works fine. And, I see that the wiki is already changed. Thank you. Best