Re: [NTG-context] lpeg substitution

2009-08-12 Thread Taco Hoekwater
Hans Hagen wrote: Thomas A. Schmitz wrote: On Aug 11, 2009, at 2:35 PM, Hans Hagen wrote: what exactly do you want to replace ? Hans I'm trying to use the lpegs you have written for mtx-babel.lua, but instead of rewriting the greek ASCII stuff to a new file, I want to convert it to

[NTG-context] Context and Circuitikz

2009-08-12 Thread Massimo Redaelli
Hi all. After a request to make Circuitikz compatible with Context, I tried my hand at it a bit and I would say it's mostly done. I'm having some trouble with the module mechanism of context though (inputting the t-context.tex file seems to work, but using the module does not), and I'd need some

Re: [NTG-context] Change whitespace before item?

2009-08-12 Thread Uriel Avalos
That sounds like a good idea. From what you are telling me and my experience, it seems that the gurus are too busy anyway to help newbies... On Tuesday 11 August 2009 13:13:02 Stéphane Goujet wrote: Wolfgang Schuster a écrit : Am 11.08.2009 um 17:41 schrieb U Avalos: How can I get a

Re: [NTG-context] Change whitespace before item?

2009-08-12 Thread Uriel Avalos
Isn't it well documented in the wiki? http://wiki.contextgarden.net/Enumerations No, actually. The documentation says to use margins but that command does not seem to work for sub-lists. Unless my notation is wrong, it would seem that the margin values for a sub-list are hardcoded. For

Re: [NTG-context] Change whitespace before item?

2009-08-12 Thread Uriel Avalos
Like I said, I tried margin and it does NOT work. Margin has no effect on sub-lists. \startitemize[n] \item top level \startitemize[a,margin=5cm] \item sub item 1 \item sub item 2 \stopitemize \stopitemize margin does NOT affect the sublist at all. Oh I apologize if you took the rant

Re: [NTG-context] Change whitespace before item?

2009-08-12 Thread Taco Hoekwater
Hi, Idris Samawi Hamid ادريس سماوي حامد wrote: It seems that no one either knows anything or are too busy for simple questions. People are busy, and no one necessarily reads every single mail. It is a busy list after all. But see above. I just saw this thread while approving Uriel

Re: [NTG-context] problem with layers and line spacing

2009-08-12 Thread Hans Hagen
Brian R. Landy wrote: Understood, but actually it is obeying the 12pt switchtobodyfont for the interline spacing in the backgrounds. It is not using either the layer's switchtobodyfont, which I think should be correct behavior, nor is it obeying the setupbodyfont. Note that the font size is

Re: [NTG-context] lpeg substitution

2009-08-12 Thread Hans Hagen
Taco Hoekwater wrote: Hans Hagen wrote: Thomas A. Schmitz wrote: On Aug 11, 2009, at 2:35 PM, Hans Hagen wrote: what exactly do you want to replace ? Hans I'm trying to use the lpegs you have written for mtx-babel.lua, but instead of rewriting the greek ASCII stuff to a new file, I

Re: [NTG-context] lpeg substitution

2009-08-12 Thread Thomas A. Schmitz
On Aug 12, 2009, at 10:32 AM, Hans Hagen wrote: if there is more demand for that i can consider making a substituter that operates on the node list in an early stage; that way it is controlled by attributes and there is no interference with macro definitions, reading modules and such

Re: [NTG-context] \seeindex problems

2009-08-12 Thread Xan
En/na Hans Hagen ha escrit: Xan wrote: hm, strc-reg.mkii has {#1\ifcase\currententrylevel\s!entrya\or\s!entryb\or\s!entryc\else\s!entryd\fi}% maybe you have a bugged version (core-reg.tex can also contain that code) anyhow, replace the first \else by \or - In what file, Hans?:

[NTG-context] Buggy source code-- references disappears when I put sections and If I put subjects, \completecontent has void list.

2009-08-12 Thread Xan
Hi, I'm desesperated. I have I source code (that I attached) that when I substitute any (for example the last) ocurrence of subject for section, then references appears in blank. If I maintain the subjects (and subsubjects...), then \completecontent gives me a void list. What happens?.

Re: [NTG-context] Buggy source code-- references disappears when I put sections and If I put subjects, \completecontent has void list.

2009-08-12 Thread Hans Hagen
Xan wrote: Hi, I'm desesperated. I have I source code (that I attached) that when I substitute any (for example the last) ocurrence of subject for section, then references appears in blank. If I maintain the subjects (and subsubjects...), then \completecontent gives me a void list. What

Re: [NTG-context] \seeindex problems

2009-08-12 Thread Xan
En/na Hans Hagen ha escrit: Xan wrote: En/na Hans Hagen ha escrit: Xan wrote: hm, strc-reg.mkii has {#1\ifcase\currententrylevel\s!entrya\or\s!entryb\or\s!entryc\else\s!entryd\fi}% maybe you have a bugged version (core-reg.tex can also contain that code) anyhow, replace the first

Re: [NTG-context] Buggy source code-- references disappears when I put sections and If I put subjects, \completecontent has void list.

2009-08-12 Thread Xan
En/na Hans Hagen ha escrit: Xan wrote: Hi, I'm desesperated. I have I source code (that I attached) that when I substitute any (for example the last) ocurrence of subject for section, then references appears in blank. If I maintain the subjects (and subsubjects...), then \completecontent

Re: [NTG-context] Context and Circuitikz

2009-08-12 Thread Mojca Miklavec
On Tue, Aug 11, 2009 at 11:04, Massimo Redaelli wrote: I'm having some trouble with the module mechanism of context though (inputting the t-context.tex file seems to work, but using the module does not), and I'd need some help with this. Did you try to rename the file to something else than

Re: [NTG-context] Context and Circuitikz

2009-08-12 Thread Massimo Redaelli
On Wed, 2009-08-12 at 12:34 +0200, Mojca Miklavec wrote: Did you try to rename the file to something else than t-context.tex? Hmm nope, but I'm sure that's the file that is being loaded. Should the name make any difference? I added a t- in front copying some other context package, but I have no

Re: [NTG-context] loop textext and \MPstring{… }

2009-08-12 Thread Andreas Harder
Am 12.08.2009 um 07:40 schrieb Aditya Mahajan: On Tue, 11 Aug 2009, Andreas Harder wrote: Hi, I am trying to achieve the following: \setMPtext{1}{ABC} \setMPtext{2}{DEF} \setMPtext{3}{GHI} \starttext \startMPpage[offset=1ex,width=\paperwidth,height=\paperheight] for i=1 upto 3: draw

Re: [NTG-context] Context and Circuitikz

2009-08-12 Thread Hans Hagen
Massimo Redaelli wrote: On Wed, 2009-08-12 at 12:34 +0200, Mojca Miklavec wrote: Did you try to rename the file to something else than t-context.tex? Hmm nope, but I'm sure that's the file that is being loaded. Should the name make any difference? I added a t- in front copying some other

Re: [NTG-context] Context and Circuitikz

2009-08-12 Thread Massimo Redaelli
On Wed, 2009-08-12 at 13:02 +0200, Hans Hagen wrote: did you run mktexlsr luatools --generate Yep! M. ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist :

Re: [NTG-context] Buggy source code-- references disappears when I put sections and If I put subjects, \completecontent has void list.

2009-08-12 Thread Hans Hagen
Xan wrote: En/na Hans Hagen ha escrit: Xan wrote: Hi, I'm desesperated. I have I source code (that I attached) that when I substitute any (for example the last) ocurrence of subject for section, then references appears in blank. If I maintain the subjects (and subsubjects...), then

Re: [NTG-context] Buggy source code-- references disappears when I put sections and If I put subjects, \completecontent has void list.

2009-08-12 Thread Xan
En/na Hans Hagen ha escrit: Xan wrote: En/na Hans Hagen ha escrit: Xan wrote: Hi, I'm desesperated. I have I source code (that I attached) that when I substitute any (for example the last) ocurrence of subject for section, then references appears in blank. If I maintain the subjects (and

Re: [NTG-context] loop textext and \MPstring{…}

2009-08-12 Thread Aditya Mahajan
On Wed, 12 Aug 2009, Andreas Harder wrote: Am 12.08.2009 um 07:40 schrieb Aditya Mahajan: On Tue, 11 Aug 2009, Andreas Harder wrote: Hi, I am trying to achieve the following: \setMPtext{1}{ABC} \setMPtext{2}{DEF} \setMPtext{3}{GHI} \starttext

Re: [NTG-context] Buggy source code-- references disappears when I put sections and If I put subjects, \completecontent has void list.

2009-08-12 Thread Curiouslearn
Hello, Can someone please tell me how to get bold math symbols in Context. I am using ConTeXt ver: 2009.06.14 21:01 MKIV fmt: 2009.7.7 int: english/english Also, does Tikz work with the latest version of context minimals? Thank you for your help.

Re: [NTG-context] Buggy source code-- references disappears when I put sections and If I put subjects, \completecontent has void list.

2009-08-12 Thread Aditya Mahajan
On Wed, 12 Aug 2009, Curiouslearn wrote: Hello, Can someone please tell me how to get bold math symbols in Context. I am using ConTeXt ver: 2009.06.14 21:01 MKIV fmt: 2009.7.7 int: english/english ${\bi A}$ (bold italic) or with a unicode font use can also use ${\bf A}$ (bold upright).

Re: [NTG-context] loop textext and \MPstring{… }

2009-08-12 Thread Andreas Harder
Am 12.08.2009 um 15:25 schrieb Aditya Mahajan: On Wed, 12 Aug 2009, Andreas Harder wrote: Am 12.08.2009 um 07:40 schrieb Aditya Mahajan: On Tue, 11 Aug 2009, Andreas Harder wrote: Hi, I am trying to achieve the following: \setMPtext{1}{ABC} \setMPtext{2}{DEF} \setMPtext{3}{GHI}

[NTG-context] Bold letters in math and does tikz work

2009-08-12 Thread Curiouslearn
Aditya, thanks very much for your reply. Is the default font in context, a unicode font. The layout of my file is \startenvironment Layout \setuppapersize[letter][letter] \setuplayout[width=5.5in,height=10in,backspace=1.5in,topspace=0.5in,header=1.25in,footer=1.25in] \setupwhitespace[medium]

[NTG-context] Possible Bug(s) in bibl-ams.tex (mkii)

2009-08-12 Thread Xan
Hi, 1) First of all, I want to say that \setuppublicationlayout[incollection]{% \insertartauthors{}{}{\insertthekey{}{, }{}}% \insertarttitle{, \bgroup }{\egroup}{}% \inserttitle {, in % \bgroup\it}% {\egroup \inserteditors{, edited by }% {}% {}

Re: [NTG-context] Possible Bug(s) in bibl-ams.tex (mkii)

2009-08-12 Thread Xan
And in @phdthesis and @masterthesis we should have \inserttitle{\bgroup\it }{\egroup, }{}% after insertauthors. Or we want to ignore the title ? ;-) Xan. ___ If your question is of interest to others as well,

[NTG-context] fit width don't seem to get along in itemize lists

2009-08-12 Thread U Avalos
As per the wiki mailing lists, the following should give me a numbered list with the numbers right aligned: \startitemize[n,fit,packed] [itemalign=flushright,distance=12pt,width=60pt] \dorecurse{10}{\item blablabla} \stopitemize Unfortunately, with the fit setting, the width setting stops

[NTG-context] Multi-line labels in MetaPost

2009-08-12 Thread richard . stephens
Hello, Is it possible to generate multi-line labels in MetaPost? I have naively tried the following hoping to get a line feed between the two words, but it doesn't work! label.rt( btex One \crlf Two etex, (0,0)); Thanks, Richard Converteam UK Ltd. Registration Number: 5571739 and

Re: [NTG-context] Multi-line labels in MetaPost

2009-08-12 Thread Wolfgang Schuster
Am 12.08.2009 um 18:09 schrieb richard.steph...@converteam.com: Hello, Is it possible to generate multi-line labels in MetaPost? I have naively tried the following hoping to get a line feed between the two words, but it doesn't work! label.rt( btex One \crlf Two etex, (0,0));

Re: [NTG-context] fit width don't seem to get along in itemize lists

2009-08-12 Thread U Avalos
Nevermind folks. I seem to have figured it out as per another mailing list. Use broad: \startitemize[n,packed,fit,broad] [margin=6pt,itemalign=flushright,distance=24pt] \dorecurse{10}{\item blablabla} \stopitemize Then distance controls the space after the number. On Wednesday 12 August 2009

Re: [NTG-context] loop textext and \MPstring{…}

2009-08-12 Thread Mojca Miklavec
On Wed, Aug 12, 2009 at 12:51, Andreas Harder wrote: Am 12.08.2009 um 07:40 schrieb Aditya Mahajan: Another way to do this is to use \TeXtext{1}{ABC} etc. and then call draw sometxt(i) For Sec 4.5 of Mojca's my way on sometxt http://dl.contextgarden.net/myway/sometxt.pdf Thank you

Re: [NTG-context] Bold letters in math and does tikz work

2009-08-12 Thread Mojca Miklavec
On Wed, Aug 12, 2009 at 16:54, Curiouslearn wrote: Also, does Tikz work with the latest version of context minimals? This needs to be fixed by Till Tantanu. There was a long email discussion on this. But I haven't heard from him for a long time. He might be on vacations. Mojca

Re: [NTG-context] problem with layers and line spacing

2009-08-12 Thread Brian R. Landy
Aha. When I'm not using \startsetup...\stopsetups things are more forgiving; once those are in place things became a little more strict in two regards -- - The \switchtobodyfont (or, more technically accurate, the \setupinterlinespace) must be inside of the \framed. I had tried it both

Re: [NTG-context] problem with layers and line spacing

2009-08-12 Thread Hans Hagen
Brian R. Landy wrote: One more interesting point, in case this helps anyone out, is I find that the behavior also changes if \framed has an offset vs. offset=overlay or offset=none. To get the proper line spacing when there is an offset you need to \switchtobodyfont both inside and before

Re: [NTG-context] loop textext and \MPstring{… }

2009-08-12 Thread Hans Hagen
Aditya Mahajan wrote: On Wed, 12 Aug 2009, Andreas Harder wrote: Am 12.08.2009 um 07:40 schrieb Aditya Mahajan: On Tue, 11 Aug 2009, Andreas Harder wrote: Hi, I am trying to achieve the following: \setMPtext{1}{ABC} \setMPtext{2}{DEF} \setMPtext{3}{GHI} \starttext

Re: [NTG-context] Buggy source code-- references disappears when I put sections and If I put subjects, \completecontent has void list.

2009-08-12 Thread Xan
should work (i just fixed \about in mkiv and will make a new beta) I running with the last version of MKII via minimals and I get the same problem. With MKIV via minimals I get error (it hangs!). So, please, can you let it a change: can you run context with this source with the last

Re: [NTG-context] loop textext and \MPstring{…}

2009-08-12 Thread Hans Hagen
Mojca Miklavec wrote: On Wed, Aug 12, 2009 at 12:51, Andreas Harder wrote: Am 12.08.2009 um 07:40 schrieb Aditya Mahajan: Another way to do this is to use \TeXtext{1}{ABC} etc. and then call draw sometxt(i) For Sec 4.5 of Mojca's my way on sometxt

Re: [NTG-context] loop textext and \MPstring{… }

2009-08-12 Thread Andreas Harder
Am 12.08.2009 um 20:34 schrieb Mojca Miklavec: I'm sure that there's a workaround (or at least a dozen of other ways), but I have no time (and my computer is being repaired again) to inspect right now. Some tips? MKIV is both very powerful and fast, so you could probably also define strings

Re: [NTG-context] Buggy source code-- references disappears when I put sections and If I put subjects, \completecontent has void list.

2009-08-12 Thread Hans Hagen
Xan wrote: should work (i just fixed \about in mkiv and will make a new beta) I running with the last version of MKII via minimals and I get the same problem. With MKIV via minimals I get error (it hangs!). So, please, can you let it a change: can you run context with this source with

[NTG-context] leqslant for Cambria Math

2009-08-12 Thread Michail Vidiassov
Dear All, using Cambria + Cambria Math (\usetypescript[cambria] \setupbodyfont[cambria]) makes Unicode math input and typesetting instantly possible (great for a newbie, even if not FSF-kosher) - but for missing glyphs for leqslant\geqslant. What is the right way to fix or work around such

Re: [NTG-context] loop textext and \MPstring{…}

2009-08-12 Thread Aditya Mahajan
On Wed, 12 Aug 2009, Andreas Harder wrote: In the real world“ I've stripped quotes form another document and stored them in buffer-environments (attachment). Save them as lua tables. Much easier to manipulate than tex objects. With your solution I've no idea how to incorporate them in a

Re: [NTG-context] leqslant for Cambria Math

2009-08-12 Thread Aditya Mahajan
On Thu, 13 Aug 2009, Michail Vidiassov wrote: Dear All, using Cambria + Cambria Math (\usetypescript[cambria] \setupbodyfont[cambria]) makes Unicode math input and typesetting instantly possible (great for a newbie, even if not FSF-kosher) - but for missing glyphs for leqslant\geqslant.

Re: [NTG-context] leqslant for Cambria Math

2009-08-12 Thread Michail Vidiassov
Dear All, On Wed, 12 Aug 2009, Aditya Mahajan wrote: using Cambria + Cambria Math makes Unicode math input and typesetting instantly possible but for missing glyphs for leqslant\geqslant. There is not much that we can do when the glyph is missing from the font. In principle, we can create a

Re: [NTG-context] leqslant for Cambria Math

2009-08-12 Thread Aditya Mahajan
On Thu, 13 Aug 2009, Michail Vidiassov wrote: Dear All, On Wed, 12 Aug 2009, Aditya Mahajan wrote: using Cambria + Cambria Math makes Unicode math input and typesetting instantly possible but for missing glyphs for leqslant\geqslant. There is not much that we can do when the glyph is

Re: [NTG-context] Bold letters in math and does tikz work

2009-08-12 Thread Aditya Mahajan
On Wed, 12 Aug 2009, Curiouslearn wrote: Aditya, thanks very much for your reply. Is the default font in context, a unicode font. The layout of my file is No. It is a virtual font created from latin modern math font. I do NOT get bold with $ {\bf x} $ command. It is upright, but not bold.