Re: [NTG-context] question about mplib/mkiv

2008-04-24 Thread Thomas Schmitz
On Thu, 24 Apr 2008 08:38:51 +0200 Taco Hoekwater <[EMAIL PROTECTED]> wrote: > > That error indeed comes from mplib, but from the >overflow test in > realloc(), not the memory array "overflow" function. You >get this > error when you attempt to allocate more than 2^31 bytes. >Since that > cl

Re: [NTG-context] GNU Emacs - Context Command Reference

2008-04-24 Thread Suno Ano
>| On Thu, 24 Apr 2008 22:53:22 +0200, >| Patrick Gundlach >| from the organization of chaos >| who can be reached at: [EMAIL PROTECTED] >| (whose comments are cited below with " Patrick> "), >| had this to say in article <[EMAIL PROTECTED]> >| in newsgroups gmane.comp.tex.context >| concer

Re: [NTG-context] Date with three-letter month

2008-04-24 Thread Arthur Reutenauer
> why not completely remove locatel then ... probably also faster There would certainly be many reasons to do so ... if anything, because ConTeXt has its own “localization” system. > btw, nilling the locale is done in mkiv: > > os.setlocale(nil,nil) -- useless feature and even dangerous in

Re: [NTG-context] GNU Emacs - Context Command Reference

2008-04-24 Thread Patrick Gundlach
Hi, > Heh, same here...I'd like to have all docs available in emacs... > > iirc, Patrick spoke sometime ago that he might update etexshow... I am not going to promise anything, but the whole texshow family will be refurbished. Perhaps even the black sheep etexshow :). Patrick -- ConTeXt wiki a

Re: [NTG-context] Date with three-letter month

2008-04-24 Thread Hans Hagen
Taco Hoekwater wrote: > Arthur Reutenauer wrote: >>> Indeed, I've already seen that: when setting the locale to fr_FR.utf8, >>> without resetting it to C just after the tex.print(), then I get this >>> error: >>> !luaTeX error (file >>> /opt/TeX-live/texmf-dist/fonts/opentype/public/lm/lmroman12-r

Re: [NTG-context] question about mplib/mkiv

2008-04-24 Thread Hans Hagen
Thomas A. Schmitz wrote: > On Apr 24, 2008, at 8:38 AM, Taco Hoekwater wrote: > >> That error indeed comes from mplib, but from the overflow test in >> realloc(), not the memory array "overflow" function. You get this >> error when you attempt to allocate more than 2^31 bytes. Since that >> clearl

Re: [NTG-context] Date with three-letter month

2008-04-24 Thread Taco Hoekwater
Arthur Reutenauer wrote: >> Indeed, I've already seen that: when setting the locale to fr_FR.utf8, >> without resetting it to C just after the tex.print(), then I get this >> error: >> !luaTeX error (file >> /opt/TeX-live/texmf-dist/fonts/opentype/public/lm/lmroman12-regular.otf): >> Parsing CFF

Re: [NTG-context] question about mplib/mkiv

2008-04-24 Thread Thomas A. Schmitz
On Apr 24, 2008, at 8:38 AM, Taco Hoekwater wrote: > That error indeed comes from mplib, but from the overflow test in > realloc(), not the memory array "overflow" function. You get this > error when you attempt to allocate more than 2^31 bytes. Since that > clearly should not happen, there is a

Re: [NTG-context] \indenting[next] and math => no vertical space before the formula

2008-04-24 Thread Hans Hagen
Mikael Persson wrote: > First, thank you Wolfgang, I tried to change it in the core-mat.tex > and it looks great now! > >> > 1) I also tried the new context minimal with LuaTeX (to see if it >> > worked better there) and found out that the fourier fonts are not >> > included in the minimals an

Re: [NTG-context] Date with three-letter month

2008-04-24 Thread Arthur Reutenauer
> Indeed, I've already seen that: when setting the locale to fr_FR.utf8, > without resetting it to C just after the tex.print(), then I get this > error: > !luaTeX error (file > /opt/TeX-live/texmf-dist/fonts/opentype/public/lm/lmroman12-regular.otf): > Parsing CFF DICT failed. (error=-1) > ==>

Re: [NTG-context] \indenting[next] and math => no vertical space before the formula

2008-04-24 Thread Mikael Persson
First, thank you Wolfgang, I tried to change it in the core-mat.tex and it looks great now! > > 1) I also tried the new context minimal with LuaTeX (to see if it > > worked better there) and found out that the fourier fonts are not > > included in the minimals anymore. Are there any plans to i

Re: [NTG-context] Date with three-letter month

2008-04-24 Thread Peter Münster
On Thu, Apr 24 2008, Hans Hagen wrote: > Peter Münster wrote: > > > % engine=luatex > > \startluacode > > function Monthshort(m) > > -- os.setlocale("fr_FR.utf8") -- just for testing... > > tex.print(os.date("%b", os.time({day = 10, month = m, year = 2000}))) > > os.setlocale("C") > > end

Re: [NTG-context] \indenting[next] and math => no vertical space before the formula

2008-04-24 Thread Hans Hagen
Mikael Persson wrote: > 1) I also tried the new context minimal with LuaTeX (to see if it > worked better there) and found out that the fourier fonts are not > included in the minimals anymore. Are there any plans to include them? > Or to make some kind of package with these and other nice free f

Re: [NTG-context] \indenting[next] and math => no vertical space before the formula

2008-04-24 Thread Mikael Persson
Thank you Wolfgang, Aditya and Hans for your kind answers. Today the new ubuntu was released, and I did upgrade. That was not too smart: With the newer TeXLive in ubuntu 8.04 came an updated ConTeXt which gave me the problem explained in http://archive.contextgarden.net/message/20070830.154143.00

Re: [NTG-context] Date with three-letter month

2008-04-24 Thread Hans Hagen
Peter Münster wrote: > % engine=luatex > \startluacode > function Monthshort(m) > --os.setlocale("fr_FR.utf8") -- just for testing... > tex.print(os.date("%b", os.time({day = 10, month = m, year = 2000}))) > os.setlocale("C") > end > \stopluacode > \starttext > \ctxlua{Monthshort(\

Re: [NTG-context] Date with three-letter month

2008-04-24 Thread Peter Münster
On Thu, Apr 24 2008, [EMAIL PROTECTED] wrote: > Thanks Taco. This does the job. All I need now is a version (\Monthshort > ??) which puts the first > letter in uppercase, Jan , Feb, etc. % engine=luatex \startluacode function Monthshort(m) -- os.setlocale("fr_FR.utf8") -- just for testing

Re: [NTG-context] urgent reference problem (full path)

2008-04-24 Thread Hans Hagen
Steffen Wolfrum wrote: > I don't know how the section number (with/without previous number) is > build internally, but I hope there could be a hack, with ... > > setupsection[...][previousnumber=yes]% so that referencing gets the > full path > > but a section-design like "previousnumber=

Re: [NTG-context] \indenting[next] and math => no vertical space before the formula

2008-04-24 Thread Hans Hagen
Aditya Mahajan wrote: > Hans, if you agree with Wolfgang's fix, I think it should be included in > core-mat. i just wait till you send me a core-mat with fixes .. fixing whitespace is always a bit tricky ... test with/without whitespace as well as with grids Hans

Re: [NTG-context] Fatal error: catcode push/pop mismatch. Fix this!

2008-04-24 Thread luigi scarso
> > It disappears when I comment \protect that is at the end of a > > stylesheet of mine. > > well, so there is no matching \unprotect then true; I did not see until now because I was using pdftex. -- luigi it's new . it's powerful . it's luatex . http://www.luatex.org _

Re: [NTG-context] Fatal error: catcode push/pop mismatch. Fix this!

2008-04-24 Thread Hans Hagen
luigi scarso wrote: > On Thu, Apr 24, 2008 at 4:39 PM, Taco Hoekwater <[EMAIL PROTECTED]> wrote: >> Hi, >> >> >> luigi scarso wrote: >> > hmm, new for me. >> > >> > Fatal error: catcode push/pop mismatch. Fix this! >> > >> > \wait= >> > >> > (sorry, no more info ) >> >> We are hoping for

Re: [NTG-context] Date with three-letter month

2008-04-24 Thread richard . stephens
Aditya Mahajan wrote: >See if this works (untested) > >\unprotect >\setuplabeltext [\s!en] [\v!january :\s!mnem=Jan.] >\setuplabeltext [\s!en] [\v!february :\s!mnem=Feb.] >\setuplabeltext [\s!en] [\v!march:\s!mnem=Mar.] >\setuplabeltext [\s!en] [\v!april:\s!mnem=Apr.] >\setuplabeltext [\s!

Re: [NTG-context] metapsot vs. graphviz

2008-04-24 Thread Gour
> "Aditya" == Aditya Mahajan <[EMAIL PROTECTED]> writes: Hello Aditya! Aditya> Metapost is for drawing all kinds of graphics. It give you a Aditya> very fine control on where to place objects, and is very well Aditya> integrated with ConTeXt (your labels will be the same font as Aditya> the

Re: [NTG-context] urgent reference problem (full path)

2008-04-24 Thread Wolfgang Schuster
On Thu, Apr 24, 2008 at 2:55 PM, Steffen Wolfrum <[EMAIL PROTECTED]> wrote: > > I don't know how the section number (with/without previous number) is build > internally, but I hope there could be a hack, with ... > > setupsection[...][previousnumber=yes]% so that referencing gets the full > path >

Re: [NTG-context] Fatal error: catcode push/pop mismatch. Fix this!

2008-04-24 Thread luigi scarso
Sorry, a bit more. specials : fdf loaded ) (./layout-electrolux-enh.tex (/home/usr7/tex/texmf-local/tex/context/base/type-pre.tex) color : mpcmyk color space is supported color : mpspot color space is supported color : system rgb is global activated interaction

Re: [NTG-context] Fatal error: catcode push/pop mismatch. Fix this!

2008-04-24 Thread luigi scarso
On Thu, Apr 24, 2008 at 4:39 PM, Taco Hoekwater <[EMAIL PROTECTED]> wrote: > > Hi, > > > luigi scarso wrote: > > hmm, new for me. > > > > Fatal error: catcode push/pop mismatch. Fix this! > > > > \wait= > > > > (sorry, no more info ) > > We are hoping for a hint about what input caused th

Re: [NTG-context] metapsot vs. graphviz

2008-04-24 Thread Aditya Mahajan
On Thu, 24 Apr 2008, Gour wrote: > Hi! > > While writing some written assignments I have a need to draw some simple > diagrams. > > Tried with Dia, but it's not superb. That's why I'm thinking about > learning some graphic programming language... > > Anyone familiar with metapost & graphviz can wr

Re: [NTG-context] Fatal error: catcode push/pop mismatch. Fix this!

2008-04-24 Thread Taco Hoekwater
Hi, luigi scarso wrote: > hmm, new for me. > > Fatal error: catcode push/pop mismatch. Fix this! > > \wait= > > (sorry, no more info ) We are hoping for a hint about what input caused this ? > This is LuaTeX, Version snapshot-0.25.3-2008042217 > ConTeXt ver: 2008.04.18 14:17 MKIV fmt: 2008

[NTG-context] metapsot vs. graphviz

2008-04-24 Thread Gour
Hi! While writing some written assignments I have a need to draw some simple diagrams. Tried with Dia, but it's not superb. That's why I'm thinking about learning some graphic programming language... Anyone familiar with metapost & graphviz can write few words how the two compare? Any other sug

[NTG-context] Fatal error: catcode push/pop mismatch. Fix this!

2008-04-24 Thread luigi scarso
hmm, new for me. Fatal error: catcode push/pop mismatch. Fix this! \wait= (sorry, no more info ) This is LuaTeX, Version snapshot-0.25.3-2008042217 ConTeXt ver: 2008.04.18 14:17 MKIV fmt: 2008.4.22 int: english/english -- luigi it's new . it's powerful . it's luatex . http://www.luatex.org

Re: [NTG-context] \indenting[next] and math => no vertical space before the formula

2008-04-24 Thread Aditya Mahajan
On Thu, 24 Apr 2008, Wolfgang Schuster wrote: > On Thu, Apr 24, 2008 at 12:15 PM, Mikael Persson <[EMAIL PROTECTED]> wrote: >> Dear all, >> >> I have a problem with \indenting[next] combined with math formulas. >> Look at the example below. The space between the text above the >> formula and the f

Re: [NTG-context] Date with three-letter month

2008-04-24 Thread Aditya Mahajan
On Thu, 24 Apr 2008, [EMAIL PROTECTED] wrote: >>> I have consulted the manuals and even the source (core-con.tex) but I >>> cannot find a way of getting a three-letter month using the \date > command. >>> For example, I would like to display today's date as 23-Apr-08. This >>> gives a short displ

Re: [NTG-context] urw garamond typescript

2008-04-24 Thread Hans Hagen
Wolfgang Schuster wrote: > On Thu, Apr 24, 2008 at 3:12 PM, Hans Hagen <[EMAIL PROTECTED]> wrote: >> Wolfgang Schuster wrote: >> >>> AFAIK they are the command to switch from one style to another one, >>> e.g. \rm, \ss >>> but I wondered myself about this. >> not really, since we also have hw (hand

Re: [NTG-context] urw garamond typescript

2008-04-24 Thread Wolfgang Schuster
On Thu, Apr 24, 2008 at 3:12 PM, Hans Hagen <[EMAIL PROTECTED]> wrote: > Wolfgang Schuster wrote: > > > AFAIK they are the command to switch from one style to another one, > > e.g. \rm, \ss > > but I wondered myself about this. > > not really, since we also have hw (handwritten) and cg (calligraphy

Re: [NTG-context] Date with three-letter month

2008-04-24 Thread richard . stephens
>> I have consulted the manuals and even the source (core-con.tex) but I >> cannot find a way of getting a three-letter month using the \date command. >> For example, I would like to display today's date as 23-Apr-08. This >> gives a short display suitable for use in a margin, but avoids the >

Re: [NTG-context] urw garamond typescript

2008-04-24 Thread Hans Hagen
Wolfgang Schuster wrote: > AFAIK they are the command to switch from one style to another one, > e.g. \rm, \ss > but I wondered myself about this. not really, since we also have hw (handwritten) and cg (calligraphy) anyhow, sometimes i do map the ss to a serif or rm to sans; depends on how mixe

Re: [NTG-context] (no subject)

2008-04-24 Thread richard . stephens
>> I have consulted the manuals and even the source (core-con.tex) but I >> cannot find a way of getting a three-letter month using the \date command. >> For example, I would like to display today's date as 23-Apr-08. This >> gives a short display suitable for use in a margin, but avoids the >

Re: [NTG-context] urgent reference problem (full path)

2008-04-24 Thread Steffen Wolfrum
I don't know how the section number (with/without previous number) is build internally, but I hope there could be a hack, with ... setupsection[...][previousnumber=yes]% so that referencing gets the full path ... but a section-design like "previousnumber=no", made with ... \setuphead[...][c

Re: [NTG-context] letter

2008-04-24 Thread luigi scarso
On Thu, Apr 24, 2008 at 12:46 PM, Hans Hagen <[EMAIL PROTECTED]> wrote: > Wolfgang Werners-Lucchini wrote: > >> have you called "luatools --generate" because this is neccesary > >> for MkIV to let it find new files in your TeX tree. > > > > Ok! I have learned this now. Is this a replacement or

Re: [NTG-context] urw garamond typescript

2008-04-24 Thread Peter Münster
On Thu, Apr 24 2008, Wolfgang Schuster wrote: > The content is the name of the typescript you want to use for the font > collection, > take for example you are interested to combine different fonts for one > document > to one collcetion. > > \starttypescript [letter] > \definetypeface [letter]

[NTG-context] MetaPost v1.003: graph package broken

2008-04-24 Thread Stephan Hennig
A note from the MetaPost developers: We have noticed an incompatibility between the latest MetaPost v1.003 and the graph package. Severity is considered high, since it prevents compilation of even the most simple figures. The problem is identified and a fix is under way. A workaround is not pos

Re: [NTG-context] urw garamond typescript

2008-04-24 Thread Wolfgang Schuster
On Thu, Apr 24, 2008 at 1:35 PM, Peter Münster <[EMAIL PROTECTED]> wrote: > On Thu, Apr 24 2008, Wolfgang Schuster wrote: > > > \starttypescipt [mytypeface] > > \definetypeface [mytypeface] [ss] [sans] [...] [default] > > \stoptypescript > > I try to ask better questions: > - The first argument t

Re: [NTG-context] urw garamond typescript

2008-04-24 Thread Peter Münster
On Thu, Apr 24 2008, Wolfgang Schuster wrote: > \starttypescipt [mytypeface] > \definetypeface [mytypeface] [ss] [sans] [...] [default] > \stoptypescript I try to ask better questions: - The first argument to \definetypeface is the name of the typeface, right? - Why do I need the second *and* t

Re: [NTG-context] \indenting[next] and math => no vertical space before the formula

2008-04-24 Thread Wolfgang Schuster
On Thu, Apr 24, 2008 at 12:15 PM, Mikael Persson <[EMAIL PROTECTED]> wrote: > Dear all, > > I have a problem with \indenting[next] combined with math formulas. > Look at the example below. The space between the text above the > formula and the formula is way to small. This goes away if I change > n

Re: [NTG-context] urw garamond typescript

2008-04-24 Thread Wolfgang Schuster
On Thu, Apr 24, 2008 at 1:00 PM, Peter Münster <[EMAIL PROTECTED]> wrote: > On Thu, Apr 24 2008, Hans Hagen wrote: > > > > - What is the meaning of each parameter of \definetypeface? > > > > see mfonts.pdf > > There are examples, but I didn't find an explanation of the parameters. > If I understand

Re: [NTG-context] urw garamond typescript

2008-04-24 Thread Peter Münster
On Thu, Apr 24 2008, Hans Hagen wrote: > > - What is the meaning of each parameter of \definetypeface? > > see mfonts.pdf There are examples, but I didn't find an explanation of the parameters. If I understand right, theses are synonyms: rm <-> serif ss <-> sans tt <-> mono mm <-> math I'm tryi

Re: [NTG-context] GNU Emacs - Context Command Reference

2008-04-24 Thread Gour
> "Suno" == Suno Ano <[EMAIL PROTECTED]> writes: Suno> However, since I am a big GNU Info fanboy -- I love to not leave Suno> Emacs while writing Context source etc. -- I was looking for Suno> something "faster" than fiddling around with some PDF manual Suno> respectively the on-line command r

Re: [NTG-context] letter

2008-04-24 Thread Hans Hagen
Wolfgang Werners-Lucchini wrote: >> have you called "luatools --generate" because this is neccesary >> for MkIV to let it find new files in your TeX tree. > > Ok! I have learned this now. Is this a replacement or an additive to > mktexlsr? hm, it could replace mktexlsr if needed; anyhow, in mkiv

[NTG-context] \indenting[next] and math => no vertical space before the formula

2008-04-24 Thread Mikael Persson
Dear all, I have a problem with \indenting[next] combined with math formulas. Look at the example below. The space between the text above the formula and the formula is way to small. This goes away if I change next to for example yes. Btw, this happens on my TeXLive 2007 on ubuntu at home, my Con

Re: [NTG-context] letter

2008-04-24 Thread Wolfgang Werners-Lucchini
> have you called "luatools --generate" because this is neccesary > for MkIV to let it find new files in your TeX tree. Ok! I have learned this now. Is this a replacement or an additive to mktexlsr? Wolfgang ___ If y

[NTG-context] urgent reference problem (full path)

2008-04-24 Thread Steffen Wolfrum
Hi, my current project is set up like shown below. A serious problem is the section-reference: while section numbering should be in general (text and TOC) without previous number, it must show the full path when referenced (otherwise nobody will find "2"). Is there help? Thank you very muc

Re: [NTG-context] Letter module: Public version available

2008-04-24 Thread Mojca Miklavec
On Wed, Apr 23, 2008 at 9:38 PM, Peter Münster wrote: > On Tue, Apr 22 2008, Wolfgang Schuster wrote: > > > @Peter: You could take a look at letter-17.tex, I wrote a first version > > for page optimation of the output, feel free to change optimize.nle or > > to add additional methods. > > H

Re: [NTG-context] urw garamond typescript

2008-04-24 Thread Hans Hagen
Peter Münster wrote: > Great, now it works! (with luatex-r1188 and context-beta) > > > The typescript from Hans at the end of this message works fine. > Some questions for my understanding: > - Why 2 \starttypescript-\stoptypescript sections, and not 1? taste and acess to verbose fontname > -

Re: [NTG-context] ctxtools --updatecontext

2008-04-24 Thread Mojca Miklavec
On Thu, Apr 24, 2008 at 8:29 AM, David Arnold wrote: > All, > > If you run: > > ctxtools --updatecontext > > And it just hangs and times out, what should you try? Does this work? rsync -av \ rsync://contextgarden.net/minimals/current/context/current/ \ /usr/local/mactex/texmf.loc

Re: [NTG-context] Minimals - how to use?

2008-04-24 Thread Mojca Miklavec
On Wed, Apr 23, 2008 at 9:18 AM, Diego Depaoli wrote: > A bit ot... > running first-setup.sh under FreeBSD I get > > /usr/local/bin/rsync > /usr/local/bin/ruby > receiving file list ... done > > sent 98 bytes received 149 bytes 164.67 bytes/sec > total size is 4219262 speedup is 17082.03 >

[NTG-context] correct installation gnuplot module question

2008-04-24 Thread Jan-Erik Hägglöf
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 HI! I have minimal context installation installed in my $USER/ctx-test/ directory tree and have two questions. First: I've downloaded the 2007.02.16 zip and placed the containing 3 files in my case $USER/ctx-test/tex/texmf-context/tpm/t-gnuplot

[NTG-context] urw garamond typescript

2008-04-24 Thread Peter Münster
Great, now it works! (with luatex-r1188 and context-beta) The typescript from Hans at the end of this message works fine. Some questions for my understanding: - Why 2 \starttypescript-\stoptypescript sections, and not 1? - What does "\setups[font:fallback:serif]" mean? - What is \definetypeface

Re: [NTG-context] ctxtools --updatecontext

2008-04-24 Thread Wolfgang Schuster
On Thu, Apr 24, 2008 at 9:02 AM, David Arnold <[EMAIL PROTECTED]> wrote: > Taco, > > Thanks. But it works in my office, but not in my colleague's office. > I have gwtex and he has mactex. > > Admitting my ignorance, what is a proxy server? http://en.wikipedia.org/wiki/Proxy_server The important p

Re: [NTG-context] ctxtools --updatecontext

2008-04-24 Thread David Arnold
Taco, Thanks. But it works in my office, but not in my colleague's office. I have gwtex and he has mactex. Admitting my ignorance, what is a proxy server? D. On Apr 23, 2008, at 11:42 PM, Taco Hoekwater wrote: > David Arnold wrote: >> All, >> >> If you run: >> >> ctxtools --updatecontext >>