Re: [NTG-context] Page background color. Does not cover the entire page.

2009-04-17 Thread Yanrui Li
2009/4/17 Curiouslearn curiousle...@gmail.com: Hi, I created the attached PDF file using ConTeXt. As you can see I have a green background, which covers the whole page. However, when I took it to the printer today and he printed two copies for me, there was some white space left at four ends.

Re: [NTG-context] Page background color. Does not cover the entire page.

2009-04-17 Thread Hans Hagen
Curiouslearn wrote: Hi, I created the attached PDF file using ConTeXt. As you can see I have a green background, which covers the whole page. However, when I took it to the printer today and he printed two copies for me, there was some white space left at four ends. The amount of space above,

Re: [NTG-context] new beta

2009-04-17 Thread Hans Hagen
Eythan Weg wrote: 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 \

Re: [NTG-context] new beta

2009-04-17 Thread Taco Hoekwater
Hans Hagen wrote: Eythan Weg wrote: 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 \

[NTG-context] Bib module in mkiv

2009-04-17 Thread Taco Hoekwater
Hi, Hans sent me a patch for the bib module so that it now should work with the latest mkiv once again, but the code needs testing before being included in the context distribution, so please do so. You can get the new version of the module from http://modules.contextgarden.net/bib Note: you

Re: [NTG-context] problems with bibliography

2009-04-17 Thread Nicolas Luchier
Hello OK, I found the problem. It may be of interest so here is the faulty code : \startformula\startalign[n=1,align={left}] \NC \text{Dans la théorie de l'électron libre (\cite[ashcroft1976]) } k_{F}=1,65 \text{~} \Angstrom^{-1} \NR ... \stopalign \stopformula The \cite command

Re: [NTG-context] problems with bibliography

2009-04-17 Thread Taco Hoekwater
Nicolas Luchier wrote: Hello OK, I found the problem. It may be of interest so here is the faulty code : \startformula\startalign[n=1,align={left}] \NC \text{Dans la théorie de l'électron libre (\cite[ashcroft1976]) } k_{F}=1,65 \text{~} \Angstrom^{-1} \NR That should have worked, so

[NTG-context] page area state evaluation

2009-04-17 Thread Alan Stone
Hi, How do you evaluate, for example, a page's header state (normal, start, stop, empty, high, none, nomarking, name) in order to if header state = x do this else do that endif Thanks, Alan ___ If your question is

Re: [NTG-context] Bib module in mkiv

2009-04-17 Thread Thomas A. Schmitz
On Apr 17, 2009, at 9:55 AM, Taco Hoekwater wrote: Hi, Hans sent me a patch for the bib module so that it now should work with the latest mkiv once again, but the code needs testing before being included in the context distribution, so please do so. You can get the new version of the module

Re: [NTG-context] LuaTeX 64bit

2009-04-17 Thread Mojca Miklavec
On Wed, Apr 15, 2009 at 21:23, Mohamed Bana wrote: Hi guys, I don't think I have ever needed more than than 3-4gb, so it worth using the 64bit ver. of LuaTeX? What would be the advantages of using the 32-bit version?  Can I force the minimals install script to download and use the 32bit

Re: [NTG-context] new beta

2009-04-17 Thread Wei-Wei Guo
Hi, The \completepublications error is gone with newly published t-bib. I find a new bug. The figure list and table list do not show caption titles and dots. Only label number and page number appear there, such as: 1.2.1 Should have a caption title here Should have dots here 13 Dots

Re: [NTG-context] Bib module in mkiv

2009-04-17 Thread Hans Hagen
Thomas A. Schmitz wrote: On Apr 17, 2009, at 9:55 AM, Taco Hoekwater wrote: Hi, Hans sent me a patch for the bib module so that it now should work with the latest mkiv once again, but the code needs testing before being included in the context distribution, so please do so. You can get the

Re: [NTG-context] Page background color. Does not cover the entire page.

2009-04-17 Thread John Devereux
Hans Hagen pra...@wxs.nl writes: Curiouslearn wrote: Hi, I created the attached PDF file using ConTeXt. As you can see I have a green background, which covers the whole page. However, when I took it to the printer today and he printed two copies for me, there was some white space left at

Re: [NTG-context] new beta

2009-04-17 Thread Hans Hagen
Wei-Wei Guo wrote: Hi, The \completepublications error is gone with newly published t-bib. I find a new bug. The figure list and table list do not show caption titles and dots. Only label number and page number appear there, such as: 1.2.1 Should have a caption title here Should have

Re: [NTG-context] Bib module in mkiv

2009-04-17 Thread Wolfgang Schuster
Am 17.04.2009 um 12:08 schrieb Hans Hagen: i'll look into it, but then need a zip with a minimal set of files that i can use for testing With the filecontents environment you need only one file: http://wiki.contextgarden.net/Filecontents Wolfgang

Re: [NTG-context] new beta

2009-04-17 Thread Hans Hagen
Wei-Wei Guo wrote: 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

Re: [NTG-context] new beta

2009-04-17 Thread Eythan Weg
Taco Hoekwater t...@elvenkind.com Fri, 17 Apr 2009 09:44:47 +0200 Hans Hagen wrote: Eythan Weg wrote: 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

[NTG-context] Demostrations ala AMS

2009-04-17 Thread Xan
Hi, I like to have the same environments in ConTeXt like in amsthm LaTeX. With defineenumeration I did emulate thm and others, but now I trying to have something like demostration. My code is: % AMSTHM \defineenumeration [exercici]

Re: [NTG-context] Demostrations ala AMS

2009-04-17 Thread Xan
En/na Xan ha escrit: Hi, I like to have the same environments in ConTeXt like in amsthm LaTeX. With defineenumeration I did emulate thm and others, but now I trying to have something like demostration. My code is: % AMSTHM \defineenumeration [exercici]

Re: [NTG-context] Demostrations ala AMS

2009-04-17 Thread Wolfgang Schuster
Am 17.04.2009 um 15:40 schrieb Xan: The **problem** is how to put qed symbol (for example $\Box$ in my case) at the end of demo. I try with after but it's not works: \Box appears in the next line at the begginning. Can someone help me? AFAIK closesymbol=\mathematics{\Box} Wolfgang

Re: [NTG-context] new beta

2009-04-17 Thread Hans Hagen
Eythan Weg wrote: 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 \

[NTG-context] Customize \head in startitemize

2009-04-17 Thread Xan
Hi, I want to do \startitemize[a][left={Apartado\space}] \head \stopitemize but put left={Apartado\space} _only_ for \head. How can I do that? Regards, Xan. ___ If your question is of interest to others as well,

Re: [NTG-context] new beta

2009-04-17 Thread Eythan Weg
Hans Hagen pra...@wxs.nl Fri, 17 Apr 2009 16:22:38 +0200 Eythan Weg wrote: 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:

Re: [NTG-context] new beta

2009-04-17 Thread Taco Hoekwater
Eythan Weg wrote: In an earlier message I have provided logs, which may contain hints, (but I could not find any). Neither can I. The situation is weird because you seem to be the only person (so far?) suffering from this problem. Best wishes, Taco

Re: [NTG-context] new beta

2009-04-17 Thread Eythan Weg
Taco Hoekwater t...@elvenkind.com Fri, 17 Apr 2009 17:53:17 +0200 Eythan Weg wrote: In an earlier message I have provided logs, which may contain hints, (but I could not find any). Neither can I. The situation is weird because you seem to be the only person (so far?)

Re: [NTG-context] new beta

2009-04-17 Thread Hans Hagen
Eythan Weg wrote: Taco Hoekwater t...@elvenkind.com Fri, 17 Apr 2009 17:53:17 +0200 Eythan Weg wrote: In an earlier message I have provided logs, which may contain hints, (but I could not find any). Neither can I. The situation is weird because you seem to be the

Re: [NTG-context] Customize \head in startitemize

2009-04-17 Thread Hans Hagen
Xan wrote: Hi, I want to do \startitemize[a][left={Apartado\space}] \head \stopitemize but put left={Apartado\space} _only_ for \head. How can I do that? best use the descriptions mechanism then -

Re: [NTG-context] Bib module in mkiv

2009-04-17 Thread Hans Hagen
Wolfgang Schuster wrote: Am 17.04.2009 um 12:08 schrieb Hans Hagen: i'll look into it, but then need a zip with a minimal set of files that i can use for testing With the filecontents environment you need only one file: http://wiki.contextgarden.net/Filecontents is this related to

Re: [NTG-context] Bib module in mkiv

2009-04-17 Thread Hans Hagen
Thomas A. Schmitz wrote: On Apr 17, 2009, at 9:55 AM, Taco Hoekwater wrote: Hi, Hans sent me a patch for the bib module so that it now should work with the latest mkiv once again, but the code needs testing before being included in the context distribution, so please do so. You can get the

[NTG-context] Calculator math

2009-04-17 Thread Marcin Borkowski
Hi, where could I read about calculator math? Regards -- Marcin Borkowski (http://mbork.pl) - Why did a mathematician call his dog Cauchy? - Because it left a residue at every pole. ___ If your question is of

[NTG-context] \setuparranging in mkiv

2009-04-17 Thread Otared Kavian
Hi Hans, Your yesterday's beta impressed me once more with the speed at which you fix the reported bugs… Thanks so much! Today I noticed something wrong with \setuparranging in mkiv, which may be due to the fact that the pagenumbering mechanisms have changed and I don't know yet the new

Re: [NTG-context] Customize \head in startitemize

2009-04-17 Thread Wolfgang Schuster
Am 17.04.2009 um 16:33 schrieb Xan: Hi, I want to do \startitemize[a][left={Apartado\space}] \head \stopitemize but put left={Apartado\space} _only_ for \head. How can I do that? You could ask Hans Can you implement a 'headcommand' key in itemize, please. Wolfgang

Re: [NTG-context] Bib module in mkiv

2009-04-17 Thread Wolfgang Schuster
Am 17.04.2009 um 19:05 schrieb Hans Hagen: Wolfgang Schuster wrote: Am 17.04.2009 um 12:08 schrieb Hans Hagen: i'll look into it, but then need a zip with a minimal set of files that i can use for testing With the filecontents environment you need only one file:

Re: [NTG-context] Bib module in mkiv

2009-04-17 Thread Hans Hagen
Wolfgang Schuster wrote: Am 17.04.2009 um 19:05 schrieb Hans Hagen: Wolfgang Schuster wrote: Am 17.04.2009 um 12:08 schrieb Hans Hagen: i'll look into it, but then need a zip with a minimal set of files that i can use for testing With the filecontents environment you need only one file:

Re: [NTG-context] \setuparranging in mkiv

2009-04-17 Thread Hans Hagen
Otared Kavian wrote: Hi Hans, Your yesterday's beta impressed me once more with the speed at which you fix the reported bugs… Thanks so much! Today I noticed something wrong with \setuparranging in mkiv, which may be due to the fact that the pagenumbering mechanisms have changed and I

Re: [NTG-context] new beta

2009-04-17 Thread Taco Hoekwater
Eythan Weg wrote: Ok. I had this definition in cont-sys.tex \definefontfeature [default] [default] [protrusion=pure, expansion=quality, mode=node, script=latn, liga=yes] 0.38 works with it and 0.39 does not. Why the diff? Thanks, that solved it. It crashed because there

Re: [NTG-context] Bib module in mkiv

2009-04-17 Thread Hans Hagen
Thomas A. Schmitz wrote: On Apr 17, 2009, at 9:55 AM, Taco Hoekwater wrote: Hi, Hans sent me a patch for the bib module so that it now should work with the latest mkiv once again, but the code needs testing before being included in the context distribution, so please do so. You can get the

Re: [NTG-context] Bib module in mkiv

2009-04-17 Thread Wolfgang Schuster
Am 17.04.2009 um 19:30 schrieb Hans Hagen: Wolfgang Schuster wrote: Am 17.04.2009 um 19:05 schrieb Hans Hagen: Wolfgang Schuster wrote: Am 17.04.2009 um 12:08 schrieb Hans Hagen: i'll look into it, but then need a zip with a minimal set of files that i can use for testing With the

Re: [NTG-context] Bib module in mkiv

2009-04-17 Thread Hans Hagen
Wolfgang Schuster wrote: Am 17.04.2009 um 19:30 schrieb Hans Hagen: Wolfgang Schuster wrote: Am 17.04.2009 um 19:05 schrieb Hans Hagen: Wolfgang Schuster wrote: Am 17.04.2009 um 12:08 schrieb Hans Hagen: i'll look into it, but then need a zip with a minimal set of files that i can use for

Re: [NTG-context] Bib module in mkiv

2009-04-17 Thread Taco Hoekwater
Hans Hagen wrote: just to clarify things: on the download site in the garden, you write: This release has support for the new mkiv structure code, but it needs a very new beta (2009.04.16 23:52) The latest beta I could find was 2009.04.16 22:27, and with this, I still get the error !

Re: [NTG-context] Demostrations ala AMS

2009-04-17 Thread Xan
Thanks Wolfgang. ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage :

Re: [NTG-context] Customize \head in startitemize

2009-04-17 Thread Xan
Am 17.04.2009 um 16:33 schrieb Xan: / Hi, // // I want to do // // \startitemize[a][left={Apartado\space}] // \head // \stopitemize // // but put left={Apartado\space} _only_ for \head. How can I do that? / You could ask Hans Can you implement a 'headcommand' key in itemize, please.

Re: [NTG-context] Bib module in mkiv

2009-04-17 Thread Hans Hagen
Taco Hoekwater wrote: Hans Hagen wrote: just to clarify things: on the download site in the garden, you write: This release has support for the new mkiv structure code, but it needs a very new beta (2009.04.16 23:52) The latest beta I could find was 2009.04.16 22:27, and with this, I still

Re: [NTG-context] new beta

2009-04-17 Thread Eythan Weg
Hans Hagen pra...@wxs.nl Fri, 17 Apr 2009 18:48:11 +0200 Eythan Weg wrote: Taco Hoekwater t...@elvenkind.com Fri, 17 Apr 2009 17:53:17 +0200 Eythan Weg wrote: In an earlier message I have provided logs, which may contain hints, (but I could not find

Re: [NTG-context] Demostrations ala AMS

2009-04-17 Thread Aditya Mahajan
On Fri, 17 Apr 2009, Xan wrote: Thanks Wolfgang. You may also want to read an article that I wrote about Theorems in ConTeXt in MAPS 36, page 27-32, 2008. It is listed at http://www.ntg.nl/maps/36/index.html. You need to be an NTG member to access, or wait for a few months (I don't

Re: [NTG-context] \setuparranging in mkiv

2009-04-17 Thread Otared Kavian
On 17 avr. 09, at 19:31, Hans Hagen wrote: […] \let\abortutilitygeneration \relax Thanks Hans: this fixes the problem. Best regards: OK ___ If your question is of interest to others as well, please add an

Re: [NTG-context] new beta

2009-04-17 Thread Eythan Weg
Taco Hoekwater t...@elvenkind.com Fri, 17 Apr 2009 19:36:51 +0200 Eythan Weg wrote: Ok. I had this definition in cont-sys.tex \definefontfeature [default] [default] [protrusion=pure, expansion=quality, mode=node, script=latn, liga=yes] 0.38

Re: [NTG-context] Bib module in mkiv

2009-04-17 Thread Peter Münster
On Fri, 17 Apr 2009, Wolfgang Schuster wrote: With the filecontents environment you need only one file: http://wiki.contextgarden.net/Filecontents Hello Hans, It would be great, if this piece of code could find its way into the distribution! Cheers, Peter -- Contact information:

[NTG-context] Numerals in mkiv

2009-04-17 Thread Otared Kavian
Hi Hans, It seems that Arabic or Persian numerals (for instance in section numbers) in mkiv begin at 0, instead of 1… well it is true that in Mathematics natural integers begin with 0, but not in books in those languages :-) Here is a minimal example: \setupdirections[bidi=global]

[NTG-context] Natural tables with \placetable

2009-04-17 Thread Design Department
Can anyone tell me why this table example is placed on the left margin on the first page and the right margin on subsequent pages? My intention is to place against the right margin on all pages. \starttext \placetable[right, 4*line, split] {none} {\bTABLE[split=repeat,option=stretch,

Re: [NTG-context] Page background color. Does not cover the entire page.

2009-04-17 Thread Curiouslearn
Wow! Thanks for the reply. It is interesting the kind of things when using Context or for that matter any typesetting system. I thought I chose the letter size for my layout and I am printing it on a letter size paper. Also, the PDF shows green everywhere. Hence, getting the color on whole page

[NTG-context] Height of square root

2009-04-17 Thread Tomas Kisela
Hi everybody, There's my issue: If I switch a size of body font, the height of square root doesn't adapt well for letters exceeding a baseline (in my example y). Here is my code: \starttext \startformula \sqrt{x^2+y^2} \sqrt{x^2+a^2} \stopformula \switchtobodyfont[17pt] \startformula

Re: [NTG-context] new beta

2009-04-17 Thread Wei-Wei Guo
Hi Hans, Here is the minimal examples. 1. The figure list and table list do not show caption titles and dots. Only label number and page number appear there, such as: 1 Should have a caption title here Should have dots here 13 Example: \starttext

Re: [NTG-context] new beta

2009-04-17 Thread Yanrui Li
2009/4/18 Wei-Wei Guo wwgu...@gmail.com: Hi Hans, Here is the minimal examples. 1. The figure list and table list do not show caption titles and dots.   Only label number and page number appear there, such as:   1 Should have a caption title here   Should have dots here  13   Example:  

Re: [NTG-context] new beta

2009-04-17 Thread Yanrui Li
2009/4/18 Yanrui Li liyanrui...@gmail.com: Hi, Wei-Wei, I tested your examples. The first example can work here. With AdobeSongStd-Light font, the third one can also work. You can post your example with zhfonts.tex which use Adobe Song and Kai fonts. I think that Hans have these fonts.

Re: [NTG-context] new beta

2009-04-17 Thread Wei-Wei Guo
Hi Hans, Another bug, probably. 4. interlinespace of \setupbodyfontenvironment is not working. Example: \setupbodyfontenvironment[12pt] [interlinespace=2.3ex] \setupbodyfont[rm,12pt] \starttext \input knuth

Re: [NTG-context] new beta

2009-04-17 Thread Wei-Wei Guo
Hi, The reproduction of the footnote problem is tricky. And it seems it's not a Chinese related problem. Here is the example: %=== \starttext \chapter{First} Way to \ConTeXt\footnote{It's also the title of Yanrui Li's tutorial.} is

[NTG-context] How to set \definemakeup without affect other pages?

2009-04-17 Thread Wei-Wei Guo
Dear all, I use \setupbackgrounds to draw a line under header. It works fine. When I setup a cover makeup and use it, the lines under headers are gone. The headerstate=none causes the problem. But I don't want the lines under headers appear in cover. What should I do? Here is an example.

Re: [NTG-context] Calculator math

2009-04-17 Thread Aditya Mahajan
On Fri, 17 Apr 2009, Marcin Borkowski wrote: Hi, where could I read about calculator math? mk.pdf has a small section on calcmath. For the implementation details, look at x-caclmath.(lua|tex|mkiv). The lua tables in the beginning of the lua file show which functions work and which don't.