Re: [NTG-context] How to set a layout shown in the attachment png file?

2009-04-16 Thread Alex Lubberts
I attached a PNG file to show the layout that I want. I want the text part narrowed and right aligned. I tried the following settings: \setuplayout [backspace=20mm, topspace=20mm, height=257mm, width=170mm, %textwidth=115mm, header=10mm, footer=0mm,

Re: [NTG-context] How to set a layout shown in the attachment png file?

2009-04-16 Thread Wei-Wei Guo
Hi Ales, Alex Lubberts 写道: I attached a PNG file to show the layout that I want. I want the text part narrowed and right aligned. I tried the following settings: \setuplayout [backspace=20mm, topspace=20mm, height=257mm, width=170mm, %textwidth=115mm, header=10mm,

[NTG-context] Problem: Arrows in math mode etc.

2009-04-16 Thread Tomas Kisela
Hi everybody, I've got problems with typesetting binomial coefficients and arrows in math mode on ConTeXt ver: 2009.03.27 08:00 MKIV on Win Vista. Binomial coefficients: The brackets stay small (usual size like in plain text), here's my code: starttext startformula {achoose b} stopformula

Re: [NTG-context] new structure code

2009-04-16 Thread Hans Hagen
Wei-Wei Guo wrote: Hi Wolfgang, I just rsynced the latest beta, the error I posted in previous mail is gone, but a new one comes. ! Argument of \doplacepagenumberatlocation has an extra }. ok, will be fixed -

Re: [NTG-context] new structure code

2009-04-16 Thread Hans Hagen
Yanrui Li wrote: 2009/4/15 Hans Hagen pra...@wxs.nl: Wolfgang Schuster wrote: Hi, i found a few bugs in the new structure code for mkiv. i fixed a few things Hi, Hans, Header and footer appear in the chapter page. Isn't this problem fixed? also fixed in next beta

Re: [NTG-context] Keep text elements together

2009-04-16 Thread Hans Hagen
Uriel Avalos wrote: So does anyone know how to do this? I'm sure it's possible -- I did it in TeX once but I can't find the ConTeXt equivalent in the docs... you can try \startitemize[packed] On Tue, Apr 14, 2009 at 09:32:16AM -0400, Uriel Avalos wrote: Hi all. I'm writing a Multiple

[NTG-context] Bugs in latest beta: line numbering in verbatim

2009-04-16 Thread Otared Kavian
Hi Hans, This bug was reported by Wolfgang Schuster a few months ago, but it persists: line numbering in verbatim is broken in mkiv (it works as expected in mkii). Minimal example: \setuptyping[numbering=line] \setupcolors[state=start] \starttext

[NTG-context] Bugs in latest beta: \Bbb broken

2009-04-16 Thread Otared Kavian
Hi Hans, It seems that in the latest beta (mkiv) the command \Bbb is broken (but it works fine in mkii). Minimal example: \starttext The set ${\Bbb C}$ is the set of complex numbers. \stoptext Thanks for your attention: OK

Re: [NTG-context] Problem: Arrows in math mode etc.

2009-04-16 Thread Taco Hoekwater
Tomas Kisela wrote: The second problem is much more bothering to me because I can't typeset limits in right way - the arrow under the lim is omitted (both ways fail): starttext startformula lim_{trightarrow 0}f(x) stopformula startformula lim_{tto 0}f(x) stopformula stoptext Can you

[NTG-context] \choose problems in new math fonts

2009-04-16 Thread Taco Hoekwater
Tomas Kisela wrote: Binomial coefficients: The brackets stay small (usual size like in plain text), here's my code: \starttext \startformula {a\choose b} \stopformula \stoptext This is currently an issue with opentype math fonts: luatex doesn't know what the values of

Re: [NTG-context] Problem: Arrows in math mode etc.

2009-04-16 Thread Tomas Kisela
I'm sorry for that, I hope it's gonna be ok by now: \starttext \startformula \lim_{t\rightarrow 0}f(x) \stopformula \startformula \lim_{t\to 0}f(x) \stopformula \stoptext Best wishes, Tomas __ Od: t...@elvenkind.com Komu: mailing list

Re: [NTG-context] Problem: Arrows in math mode etc.

2009-04-16 Thread Tomas Kisela
Thanks for help, I installed a new version and now it's working. (ver: 2009.04.15 12:15 MKIV) Best wishes, Tomas __ Od: t...@elvenkind.com Komu: mailing list for ConTeXt users ntg-context@ntg.nl Datum: 16.04.2009 11:16 Předmět: Re:

Re: [NTG-context] problems with TeX Gyre/t2a/sc

2009-04-16 Thread Hans Hagen
Mojca Miklavec wrote: Hello Hans, there's a tiny problem with the following line(s) in type-one (if we neglect the fact that Cyrilic is a bit problematic with Gyre anyway): \starttypescript [serif,sans,mono]

Re: [NTG-context] Problem: Arrows in math mode etc.

2009-04-16 Thread Taco Hoekwater
Tomas Kisela wrote: I'm sorry for that, I hope it's gonna be ok by now: \starttext \startformula \lim_{t\rightarrow 0}f(x) \stopformula \startformula \lim_{t\to 0}f(x) \stopformula \stoptext This input works ok for me (I remember there were problems earlier) This is LuaTeX,

Re: [NTG-context] Bugs in latest beta: \Bbb broken

2009-04-16 Thread Otared Kavian
On 16 avr. 09, at 11:18, Hans Hagen wrote: […] i'll add \let\Bbb\mathblackboard Thanks Hans. Indeed \mathblackboard works fine in mkiv. Best regards: OK ___ If your question is of interest to others as well,

Re: [NTG-context] Problem: Arrows in math mode etc.

2009-04-16 Thread Hans Hagen
Tomas Kisela wrote: I'm sorry for that, I hope it's gonna be ok by now: \starttext \startformula \lim_{t\rightarrow 0}f(x) \stopformula \startformula \lim_{t\to 0}f(x) \stopformula \stoptext works ok here -

Re: [NTG-context] MkII synonyms additional space problem

2009-04-16 Thread Otared Kavian
Hi Thomas, I tested your example: indeed in the latest mkii the problem you mention appears (however it doesn't in the latest mkiv, nor in mkii ConTeXt ver: 2009.01.18 14:39 MKII fmt: 2009.2.19 int: english/ english). A temporary solution (not in the spirit of ConTeXt though…) is the

Re: [NTG-context] Bugs in latest beta: \Bbb broken

2009-04-16 Thread Hans Hagen
Otared Kavian wrote: Hi Hans, It seems that in the latest beta (mkiv) the command \Bbb is broken (but it works fine in mkii). Minimal example: \starttext The set ${\Bbb C}$ is the set of complex numbers. \stoptext i'll add \let\Bbb\mathblackboard

[NTG-context] MkII synonyms additional space problem

2009-04-16 Thread Thomas Floeren
Hello, I have a problem with synonyms in recent context betas: At the first occurrence of a synonym in a document there is an additional horizontal white space in front of the synonym. The space does not show up in further occurrences. Minimal: % coding: utf-8 \enableregime[utf]

Re: [NTG-context] Problem with MyItemCommand

2009-04-16 Thread Hans Hagen
bbvo...@home.nl wrote: Dear all, Is the following example still valid for MKIV or is it a bug? %from: %tex/context/base/strc-itm.tex % \def\MyItemCommand#1{{\bf#1}\quad} \unexpanded\def... -

[NTG-context] problems with bibliography

2009-04-16 Thread Nicolas Luchier
Bonjour, I am using the bib and bibltx modules to manage the bibliography of my articles. All was fine up to just recently where no more reference seems to be made any more in my current writing (half the article is OK). The \cite command return empty brackets [] (even when I wrote the

Re: [NTG-context] MkII synonyms additional space problem

2009-04-16 Thread Thomas Floeren
Thanks for the phantom hint! I made a macro that I'll put at the beginning of each component file, after the chapter header: \def\synCorr{\vphantom{all synonym macros go here}\vskip-\lineheight} I think this will do it for the moment. Thanks and Greetings Thomas Otared Kavian

Re: [NTG-context] problems with bibliography

2009-04-16 Thread Taco Hoekwater
Nicolas Luchier wrote: Bonjour, I am using the bib and bibltx modules to manage the bibliography of my articles. All was fine up to just recently where no more reference seems to be made any more in my current writing (half the article is OK). The \cite command return empty brackets []

Re: [NTG-context] problems with bibliography

2009-04-16 Thread Aditya Mahajan
On Thu, 16 Apr 2009, Nicolas Luchier wrote: Bonjour, I am using the bib and bibltx modules to manage the bibliography of my articles. All was fine up to just recently where no more reference seems to be made any more in my current writing (half the article is OK). The \cite command return

Re: [NTG-context] MkII synonyms additional space problem

2009-04-16 Thread Hans Hagen
Thomas Floeren wrote: Thanks for the phantom hint! I made a macro that I'll put at the beginning of each component file, after the chapter header: \def\synCorr{\vphantom{all synonym macros go here}\vskip-\lineheight} I think this will do it for the moment. it's fixed in the beta

Re: [NTG-context] button alignment question

2009-04-16 Thread Hans Hagen
Alan Stone wrote: Hi, How do you keep the footer buttons between the footer's top and bottom ? \showframe \def\myHeaderButton{\interactionbuttons[width=2cm,height=\headerheight][OK]} \def\myFooterButton{\interactionbuttons[width=2cm,height=\footerheight][OK]} \setupinteraction[state=start]

Re: [NTG-context] problems with bibliography

2009-04-16 Thread Nicolas Luchier
Thank you for your quick answers. Following Taco suggestion, I used a former biblio.bib which doesn't cause any problem in a former article (25 entry in the article bibliography and I recompiled it ti check wether something new could happen, but everything ran fine). Since I did add some

Re: [NTG-context] new structure code

2009-04-16 Thread Yanrui Li
2009/4/16 Hans Hagen pra...@wxs.nl: Yanrui Li wrote: Header and footer appear in the chapter page. Isn't this problem fixed? also fixed in next beta Thanks very much. Now I found a new bug with \setupinteraction in latest beta. \setupinteraction [state=start,focus=standard] \starttext

[NTG-context] Bug in mkiv: \setupinteraction (Was: new structure code)

2009-04-16 Thread Otared Kavian
Hi Yanrui, I tested your code on Mac OS X 10.5.6 with the latest beta (ConTeXt ver: 2009.04.15 12:15 MKIV fmt: 2009.4.15 int: english/english): I don't see the problem you mention, but the interaction is not activated (while with mkii everything is as expected). Here is the code I

Re: [NTG-context] Bug in mkiv: \setupinteraction (Was: new structure code)

2009-04-16 Thread Yanrui Li
2009/4/16 Otared Kavian ota...@gmail.com: Hi Yanrui, I tested your code on Mac OS X 10.5.6 with the latest beta (ConTeXt  ver: 2009.04.15 12:15 MKIV  fmt: 2009.4.15  int: english/english): I don't see the problem you mention, but the interaction is not activated (while with mkii everything

Re: [NTG-context] MkII synonyms additional space problem

2009-04-16 Thread Thomas Floeren
This is really great. Thanks! I'm aware that actually the MkII probs must be a paine in the ass, as youre quite heavily working on the MkIV. I will change to MkIV as soon as possible, but for the moment I have to produce and I have a deadline (30.4.), so MkII is my choice ;) Hope you

Re: [NTG-context] MkII synonyms additional space problem

2009-04-16 Thread Thomas Floeren
This is great! Thanks for having it integrated into the beta. And generally spoken a thousand thanks (ok, maybe a few hundreds) to all the contributing people on this list, which has become my primary source of ... thinking further. :) and of course of information of any kind:) Greets

Re: [NTG-context] MkII synonyms additional space problem

2009-04-16 Thread Hans Hagen
Thomas Floeren wrote: This is really great. Thanks! I'm aware that actually the MkII probs must be a paine in the ass, as youre quite heavily working on the MkIV. actually the space was introduced recently when i removed the mkiv code some files come as .tex .mkii and mkiv where the later

[NTG-context] Files for verbatim output of Python source, zc.buildout and Apache config files

2009-04-16 Thread Drazen Baic
Hello, I'm using MKIV and needed syntax highlighting for a few source and config files. I read on the Wiki and on this list that it should be pretty easy to do this in Lua and although I never wrote anything in Lua I just tried it. Maybe the result will be of use for somebody so I'm posting them

Re: [NTG-context] new structure code

2009-04-16 Thread Hans Hagen
Yanrui Li wrote: 2009/4/16 Hans Hagen pra...@wxs.nl: Yanrui Li wrote: Header and footer appear in the chapter page. Isn't this problem fixed? also fixed in next beta Thanks very much. Now I found a new bug with \setupinteraction in latest beta. ok, fixed in next beta ps. the backend

Re: [NTG-context] context mkiv nomenclature problem (bug)

2009-04-16 Thread Hans Hagen
Thomas Prochaska wrote: ok, i deleted all files except my .tex .bib files. now this error occurs. i sent a mkiv hack to taco who has to check it and integrate it in the bib zip Hans -

[NTG-context] new beta

2009-04-16 Thread Hans Hagen
Hi, I uploaded a beta matching luatex 0.39 (+ some fixes) Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax:

Re: [NTG-context] new beta

2009-04-16 Thread Eythan Weg
Hi, With the latest beta running under luatex 0.39 I cannot compile the simplest of files. With 0.38 they run fine. Also plain tex runs ok. Here is where it stops: local/share/texmf/tex/context/base/type-otf.tex \ (/usr/local/share/texmf/tex/context/base/type-otf.mkiv))\

Re: [NTG-context] new beta

2009-04-16 Thread Wei-Wei Guo
Hi Hans, Something are not working here with the latest beta on luatex 0.39. 1. The following two settings has no effect. % lines under headers. \setupbackgrounds [header][text] [frame=off,bottomframe=on,rulethickness=1.5pt] % Text inserted in Contents