[NTG-context] help with math in context

2009-11-22 Thread luigi scarso
Hi all , I'm not a context math user at all, so I know practically nothing, and I'm starting some jobs that require a little of math. So I really appreciate any links (wiki, url, file) about math (but also mathml, etc) in context (I already start my search from http://wiki.contextgarden.net/Math

Re: [NTG-context] latest beta: trouble with font loading

2009-11-22 Thread Bernhard Rosensteiner
Hello all, thanks for help Li. It seems since the latest beta this name: is obligatory. However, now i get an error (see attachment). I think its the same error reported in [ntg-context] font-syn.lua error. keine otf fonts.log Description: Binary data keine otf fonts.tex Description: Binary

Re: [NTG-context] font-syn.lua error

2009-11-22 Thread Hans Hagen
Andreas Harder wrote: Hi, if I try to run $ mtxrun --script fonts –reload it ends with: text/tex/texmf-context/tex/context/base/font-syn.lua:666: attempt to call field 'data_state' (a nil value) that means that you run an old mtxrun (try mtxrun --selfupdate) Hans

Re: [NTG-context] font-syn.lua error

2009-11-22 Thread Andreas Harder
Am 22.11.2009 um 13:16 schrieb Hans Hagen: Andreas Harder wrote: Hi, if I try to run $ mtxrun --script fonts –reload it ends with: text/tex/texmf-context/tex/context/base/font-syn.lua:666: attempt to call field 'data_state' (a nil value) that means that you run an old mtxrun (try

Re: [NTG-context] simplefonts

2009-11-22 Thread Wolfgang Schuster
Am 21.11.2009 um 22:33 schrieb Vyatcheslav Yatskovsky: Searching for wiki, I found the line For instance, assuming the Delicious fonts http://www.josbuivenga.demon.nl/delicious.html are properly installed and recognized by ConTeXt, you can simply write. What do you mean by properly

Re: [NTG-context] simplefonts

2009-11-22 Thread Alan BRASLAU
On Sunday 22 November 2009 13:24:19 Wolfgang Schuster wrote: Am 21.11.2009 um 22:33 schrieb Vyatcheslav Yatskovsky: Searching for wiki, I found the line For instance, assuming the Delicious fonts http://www.josbuivenga.demon.nl/delicious.html are properly installed and recognized by

Re: [NTG-context] simplefonts

2009-11-22 Thread Wolfgang Schuster
Am 22.11.2009 um 14:10 schrieb Alan BRASLAU: \usemodule[simplefonts] \setmainfont[Times New Roman] \starttext Hello, {\CONTEXT} community! \stoptext Wolfgang ___ If your question is of interest to others as

Re: [NTG-context] simplefonts

2009-11-22 Thread Alan BRASLAU
Of course, I need \usemodule[simplefonts] Now I *am* impressed! (and I'm not running Windows) /usr/share/fonts/truetype/msttcorefonts/Times_New_Roman.ttf Alan On Sunday 22 November 2009 14:10:28 Alan BRASLAU wrote: On Sunday 22 November 2009 13:24:19 Wolfgang Schuster wrote: Am 21.11.2009 um

Re: [NTG-context] font-syn.lua error

2009-11-22 Thread Mojca Miklavec
On Sat, Nov 21, 2009 at 19:49, Andreas Harder wrote: Hi, if I try to run $ mtxrun --script fonts –reload it ends with: ...text/tex/texmf-context/tex/context/base/font-syn.lua:666: attempt to call field 'data_state' (a nil value) What operating system? I don't know if that can be a

Re: [NTG-context] font-syn.lua error

2009-11-22 Thread Khaled Hosny
On Sun, Nov 22, 2009 at 02:41:08PM +0100, Mojca Miklavec wrote: On Sat, Nov 21, 2009 at 19:49, Andreas Harder wrote: Hi, if I try to run $ mtxrun --script fonts –reload it ends with: ...text/tex/texmf-context/tex/context/base/font-syn.lua:666: attempt to call field 'data_state' (a

Re: [NTG-context] font-syn.lua error

2009-11-22 Thread Khaled Hosny
On Sun, Nov 22, 2009 at 02:14:05PM +0100, Hans Hagen wrote: Andreas Harder wrote: Am 22.11.2009 um 13:16 schrieb Hans Hagen: Andreas Harder wrote: Hi, if I try to run $ mtxrun --script fonts –reload it ends with: text/tex/texmf-context/tex/context/base/font-syn.lua:666: attempt to

Re: [NTG-context] font-syn.lua error

2009-11-22 Thread Andreas Harder
Am 22.11.2009 um 14:14 schrieb Hans Hagen: Andreas Harder wrote: Am 22.11.2009 um 13:16 schrieb Hans Hagen: Andreas Harder wrote: Hi, if I try to run $ mtxrun --script fonts –reload it ends with: text/tex/texmf-context/tex/context/base/font-syn.lua:666: attempt to call field

Re: [NTG-context] font-syn.lua error

2009-11-22 Thread Andreas Harder
Am 22.11.2009 um 14:41 schrieb Mojca Miklavec: On Sat, Nov 21, 2009 at 19:49, Andreas Harder wrote: Hi, if I try to run $ mtxrun --script fonts –reload it ends with: ...text/tex/texmf-context/tex/context/base/font-syn.lua:666: attempt to call field 'data_state' (a nil value) What

Re: [NTG-context] font-syn.lua error

2009-11-22 Thread Wolfgang Schuster
Am 22.11.2009 um 15:09 schrieb Andreas Harder: Am 22.11.2009 um 14:41 schrieb Mojca Miklavec: What operating system? I'm on OS-X 10.6 and using the newest beta. had you done luatools --selfupdate mtxrun --selfupdate Wolfgang

Re: [NTG-context] font-syn.lua error

2009-11-22 Thread Andreas Harder
Am 22.11.2009 um 15:15 schrieb Wolfgang Schuster: Am 22.11.2009 um 15:09 schrieb Andreas Harder: Am 22.11.2009 um 14:41 schrieb Mojca Miklavec: What operating system? I'm on OS-X 10.6 and using the newest beta. had you done luatools --selfupdate mtxrun –selfupdate Yes! And I

Re: [NTG-context] font-syn.lua error

2009-11-22 Thread Bernhard Rosensteiner
Hello, same problem here exactly as described by Andreas (and reported in: http://archive.contextgarden.net/message/20091122.111218.3b9a921f.en.html). best regards Bernhard Am 22.11.2009 um 15:26 schrieb Andreas Harder: Am 22.11.2009 um 15:15 schrieb Wolfgang Schuster: Am 22.11.2009

Re: [NTG-context] MetaPost integration: default parameters

2009-11-22 Thread Oliver Buerschaper
Hi Mojca, Also, is there a way to directly get the glyph outlines of, say, $\bigotimes$ in MetaPost code and use it to derive some length unit from it? Yes, but this only works for Type1 fonts, not for OpenType. The example below is a literal copy from metapost manual (created by Taco).

Re: [NTG-context] MetaPost integration: default parameters

2009-11-22 Thread Mojca Miklavec
On Sun, Nov 22, 2009 at 16:53, Oliver Buerschaper wrote: I know there used to be a TeX - PS - pstoedit - MetaPost workflow. Does this still work with MkIV? If you manage to extend dvips to handle OpenType fonts then maybe ... Mojca

Re: [NTG-context] Fonts disappeared after updating ConTeXt

2009-11-22 Thread Mojca Miklavec
On Sun, Nov 15, 2009 at 11:38, Mika Ritola wrote: Hello, I just updated ConTeXt to the latest version (2009.11.13 12:45), and now all the fonts I have installed on my system seem to have mysteriously disappeared from ConTeXt's sight. Running mtxrun --script fonts --list displays only the

Re: [NTG-context] Fonts disappeared after updating ConTeXt

2009-11-22 Thread Bernhard Rosensteiner
Hello all, i think the problem was with the old LuaTeX 0.44. I updated 5 minutes ago and now all my files compile like a charm again with LuaTeX 0.45. Im so happy i could sing :-). best regards Bernhard Am 22.11.2009 um 17:22 schrieb Mojca Miklavec: On Sun, Nov 15, 2009 at 11:38, Mika

Re: [NTG-context] Fonts disappeared after updating ConTeXt

2009-11-22 Thread Mojca Miklavec
On Sun, Nov 22, 2009 at 17:59, Bernhard Rosensteiner wrote: Hello all, i think the problem was with the old LuaTeX 0.44. I updated 5 minutes ago and now all my files compile like a charm again with LuaTeX 0.45. Im so happy i could sing :-). ConTeXt has worked here as well, but mtxrun

Re: [NTG-context] MetaPost integration: default parameters

2009-11-22 Thread Oliver Buerschaper
I know there used to be a TeX - PS - pstoedit - MetaPost workflow. Does this still work with MkIV? If you manage to extend dvips to handle OpenType fonts then maybe ... So does this mean that outline fonts in MetaPost are currently dead with MkIV? Oliver

Re: [NTG-context] MetaPost integration: default parameters

2009-11-22 Thread luigi scarso
On Sun, Nov 22, 2009 at 8:16 PM, Oliver Buerschaper oliver.buerscha...@mpq.mpg.de wrote: I know there used to be a TeX - PS - pstoedit - MetaPost workflow. Does this still work with MkIV? If you manage to extend dvips to handle OpenType fonts then maybe ... So does this mean that outline

Re: [NTG-context] MetaPost integration: default parameters

2009-11-22 Thread Wolfgang Schuster
Am 22.11.2009 um 21:15 schrieb luigi scarso: %%test-outlined.tex \starttext \startTEXpage \startuseMPgraphic{a} graphictext \bf Fun scaled 4 zscaled (1,1.5) withdrawcolor blue withfillcolor .5white withpen pencircle scaled 5pt \stopuseMPgraphic \useMPgraphic{a} \stopTEXpage

Re: [NTG-context] MetaPost integration: default parameters

2009-11-22 Thread Hans Hagen
Oliver Buerschaper wrote: I know there used to be a TeX - PS - pstoedit - MetaPost workflow. Does this still work with MkIV? If you manage to extend dvips to handle OpenType fonts then maybe ... So does this mean that outline fonts in MetaPost are currently dead with MkIV? it's unrelated

Re: [NTG-context] font-syn.lua error

2009-11-22 Thread Hans Hagen
Khaled Hosny wrote: On Sun, Nov 22, 2009 at 02:14:05PM +0100, Hans Hagen wrote: Andreas Harder wrote: Am 22.11.2009 um 13:16 schrieb Hans Hagen: Andreas Harder wrote: Hi, if I try to run $ mtxrun --script fonts –reload it ends with:

Re: [NTG-context] font-syn.lua error

2009-11-22 Thread Thomas A. Schmitz
On Nov 22, 2009, at 10:19 PM, Hans Hagen wrote: $ mtxrun --script font --reload ...text/tex/texmf-context/tex/context/base/font-syn.lua:666: attempt to call field 'data_state' (a nil value) that line says data_state = resolvers.data_state(), so resolvers has no data_state

[NTG-context] sectionsegments for reference

2009-11-22 Thread Wolfgang Schuster
Hi Hans, there is a nice example in strc-ref.mkiv for the use of sectionsegments in references but the feature is still missing, can it be added. % \starttext % \definestructureconversionset[default][Character,number,Romannumerals,Character][number] % \definestructureseparatorset

[NTG-context] \vspace

2009-11-22 Thread Wolfgang Schuster
Hi Hans, can you add a \vspace command which behaves like \hspace but for vertical mode, there are some cases where \blank is not so well suited (i know the \??vs namespace is already used by \blank) \def\definevspace {\dotripleempty\dodefinevspace} \def\dodefinevspace[#1][#2][#3]%

Re: [NTG-context] font-syn.lua error

2009-11-22 Thread Hans Hagen
Thomas A. Schmitz wrote: On Nov 22, 2009, at 10:19 PM, Hans Hagen wrote: $ mtxrun --script font --reload ...text/tex/texmf-context/tex/context/base/font-syn.lua:666: attempt to call field 'data_state' (a nil value) that line says data_state = resolvers.data_state(), so resolvers has

Re: [NTG-context] Fields and JS Calculations

2009-11-22 Thread jeroen muskee
OK, I started off with a simpler example, just an addition of 2 numbers. I know this should be pretty close to the correct setup by looking at other Javascript examples, but it just does not work jet. Any suggestions Thanks Jeroen \startJSpreamble {Calculate} used now function

Re: [NTG-context] MetaPost integration: default parameters

2009-11-22 Thread Taco Hoekwater
Oliver Buerschaper wrote: Hi Mojca, Also, is there a way to directly get the glyph outlines of, say, $\bigotimes$ in MetaPost code and use it to derive some length unit from it? Yes, but this only works for Type1 fonts, not for OpenType. The example below is a literal copy from

Re: [NTG-context] help with math in context

2009-11-22 Thread Taco Hoekwater
luigi scarso wrote: Hi all , I'm not a context math user at all, so I know practically nothing, and I'm starting some jobs that require a little of math. So I really appreciate any links (wiki, url, file) about math (but also mathml, etc) in context http://wiki.contextgarden.net/MathML

Re: [NTG-context] local footnote (Tables) problem

2009-11-22 Thread Taco Hoekwater
Bowen Alan C. wrote: Please excuse my persistence. The following is a minimal file illustrating a problem that I am having with a multipage table with local footnotes. Setting split=yes or split=repeat in \setuptables produces obviously unsatisfactory results. What I need is a multipage

Re: [NTG-context] local footnote (Tables) problem

2009-11-22 Thread Wolfgang Schuster
Am 23.11.2009 um 08:49 schrieb Taco Hoekwater: it seems that TaBlE does not support splitting p() columns and (iirc) TABLE does. TABLE doesn't (each cell is a \framed) but tabulate does Wolfgang ___ If your