[NTG-context] mod_php vs context: tight loop

2011-11-25 Thread Brendan Jurd
Hello list, I have a PHP application which generates documentation on the fly with context. This has been working really well, but I am now testing deployment on a new server with a more recent version of context, and it seems to be somehow getting itself into a tight loop. When I run

Re: [NTG-context] mod_php vs context: tight loop

2011-11-25 Thread Hans Hagen
On 25-11-2011 06:12, Brendan Jurd wrote: Hello list, I have a PHP application which generates documentation on the fly with context. This has been working really well, but I am now testing deployment on a new server with a more recent version of context, and it seems to be somehow getting

Re: [NTG-context] \unit and Hertz, lux, and degrees/minutes/seconds

2011-11-25 Thread Hans Hagen
On 24-11-2011 21:18, Pontus Lurcock wrote: On Thu 24 Nov 2011, Romain Diss wrote: - again in french, the liter symbol is lowercase l (althought the uppercase L is also temporarly accepted). Not only in French, but in most of Europe, I think: http://en.wikipedia.org/wiki/Litre#Symbol . Should

Re: [NTG-context] \unit and Hertz, lux, and degrees/minutes/seconds

2011-11-25 Thread Hans Hagen
On 24-11-2011 13:36, robin.kirk...@csiro.au wrote: On Monday, 21 November 2011 20:52, Hans Hagen wrote: Over the weekend I've discovered a couple more problems with \unit so I'll make up some test cases and desired output and post it in a few days. ok, I'll wait for that then Hans, all, I

Re: [NTG-context] \unit and Hertz, lux, and degrees/minutes/seconds

2011-11-25 Thread Ian Lawrence
Maybe it’s possible with MkIV to check if the text before the \unit command was a number but of the number is part of the unit them put in the command, such things are always tricky with TeX and it’s better to force users to use proper input. Within \type{phys-dim.lua} all the

Re: [NTG-context] \unit and Hertz, lux, and degrees/minutes/seconds

2011-11-25 Thread Hans Hagen
On 25-11-2011 10:29, Ian Lawrence wrote: Maybe it’s possible with MkIV to check if the text before the \unit command was a number but of the number is part of the unit them put in the command, such things are always tricky with TeX and it’s better to force users to use proper input.

Re: [NTG-context] [Regression] math: alignment parameters confused

2011-11-25 Thread Hans Hagen
On 25-11-2011 01:44, Aditya Mahajan wrote: On Fri, 25 Nov 2011, Paul Menzel wrote: Dear ConTeXt folks, Am Sonntag, den 20.11.2011, 20:09 +0100 schrieb Paul Menzel: there must be a regression between ConTeXt ver: 2011.05.18 18:04 MKIV fmt: 2011.7.24 int: english/english and ConTeXt ver:

Re: [NTG-context] Table cell colo(u)rs

2011-11-25 Thread Hans Hagen
On 17-11-2011 14:05, Andreas Harder wrote: On 16.11.2011, at 15:21, Pavneet Arora wrote: Hello, I am trying to do a simple cell background shading in a table using the example at the wiki: http://wiki.contextgarden.net/Table Unfortunately, I get an Undefined control sequence ... error: !

Re: [NTG-context] two column itemize page breaking

2011-11-25 Thread Hans Hagen
On 17-11-2011 15:32, Troy Henderson wrote: Occasionally when I use a two column itemize like \startitemize[n,a,columns,two] \item some text\column \item some more text \stopitemize near the bottom of a page, the second column item gets sent to the next page but the first column

Re: [NTG-context] \unit and Hertz, lux, and degrees/minutes/seconds

2011-11-25 Thread Wolfgang Schuster
Am 25.11.2011 um 09:18 schrieb Hans Hagen: On 24-11-2011 21:18, Pontus Lurcock wrote: On Thu 24 Nov 2011, Romain Diss wrote: - again in french, the liter symbol is lowercase l (althought the uppercase L is also temporarly accepted). Not only in French, but in most of Europe, I think:

Re: [NTG-context] float names and lists

2011-11-25 Thread Idris Samawi Hamid ادريس سماوي حامد
On Thu, 24 Nov 2011 22:17:43 -0700, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: It works when you give \definefloat a second argument with the plural name of your float. Ah! Thank you, Wolfgang, for pointing that out! Missed it completely ... Best wishes Idris -- Professor

Re: [NTG-context] float names and lists

2011-11-25 Thread Otared Kavian
On 25 nov. 2011, at 15:09, Idris Samawi Hamid ادريس سماوي حامد wrote: On Thu, 24 Nov 2011 22:17:43 -0700, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: It works when you give \definefloat a second argument with the plural name of your float. Ah! Thank you, Wolfgang, for

[NTG-context] interaction?

2011-11-25 Thread Hans van der Meer
I have troubles with interaction in a screen document. (1) I took the example from the wiki: \setuppapersize[A6][A6] \setupinteraction[state=start] \setupreferencing[interaction=all] \starttext Reference is here \reference[label:1]{Some text} \page[yes] % Insert page break Link to \goto{some text

Re: [NTG-context] interaction?

2011-11-25 Thread Wolfgang Schuster
Am 25.11.2011 um 17:26 schrieb Hans van der Meer: I have troubles with interaction in a screen document. (1) I took the example from the wiki: \setuppapersize[A6][A6] \setupinteraction[state=start] \setupreferencing[interaction=all] \starttext Reference is here \reference[label:1]{Some

Re: [NTG-context] interaction?

2011-11-25 Thread Meer, H. van der
On 25 nov. 2011, at 17:33, Wolfgang Schuster wrote: Am 25.11.2011 um 17:26 schrieb Hans van der Meer: I have troubles with interaction in a screen document. (1) I took the example from the wiki: \setuppapersize[A6][A6] \setupinteraction[state=start] \setupreferencing[interaction=all]

Re: [NTG-context] interaction?

2011-11-25 Thread Wolfgang Schuster
Am 25.11.2011 um 18:08 schrieb Meer, H. van der: On 25 nov. 2011, at 17:33, Wolfgang Schuster wrote: Am 25.11.2011 um 17:26 schrieb Hans van der Meer: I have troubles with interaction in a screen document. (1) I took the example from the wiki: \setuppapersize[A6][A6]

[NTG-context] \start- \stopalign (in formulas) is broken

2011-11-25 Thread Andreas Harder
Hi, with the latest beta the following do not work anymore (example from math-ali.mkiv). \starttext \placeformula \startformula \startalign \NC a \EQ b \NR[+] \NC c \EQ d \NR \NC\EQ f \NR[for:demo-a-1] \NC\EQ g \NR[for:demo-a-2][a] \NC\EQ h \NR[for:demo-a-3][b] \NC

[NTG-context] Change the gap between image and caption

2011-11-25 Thread Jaroslav Hajtmar
Hello ConTeXt folks. Is it possible to adjust the size of the gap between the lower edge of the picture and its caption in simple externalfigure command? By experimenting I found that this gap can be set in a floating environment (placefigure) using inbetween parameter. Is there possibilities

Re: [NTG-context] Change the gap between image and caption

2011-11-25 Thread Christian
Well, since you are in a startcombinations block and not a figure environement, try this: \setupcombinations[inbetween={\blank[1cm]}] -Ursprüngliche Nachricht- Von: ntg-context-boun...@ntg.nl [mailto:ntg-context-boun...@ntg.nl] Im Auftrag von Jaroslav Hajtmar Gesendet: Freitag, 25.

[NTG-context] Error while compiling : ! String contains an invalid utf-8 sequence.

2011-11-25 Thread Alexandre Krispin
Hello, I am trying to get japanese displayed in bibliography. But I get the error ! String contains an invalid utf-8 sequence. while compiling with the command context *tex. Here is the tex file : %%%beginning of file%% \usemodule[simplefonts] \setmainfont[hiraginokakugothicpro]

Re: [NTG-context] float names and lists

2011-11-25 Thread Idris Samawi Hamid ادريس سماوي حامد
Hi Otared, On Fri, 25 Nov 2011 09:11:05 -0700, Otared Kavian ota...@gmail.com wrote: By the way, you had a mistyping in your code: 2. \placelistoftablescws produces an undefined control sequence: What am I missing here? ………..^ … it should be \placelistoftablecws Then everything works

Re: [NTG-context] Error while compiling : ! String contains an invalid utf-8 sequence.

2011-11-25 Thread Christian
I am trying to get japanese displayed in bibliography. But I get the error ! String contains an invalid utf-8 sequence. while compiling with the command context *tex. Here is the tex file : %%%beginning of file%% \usemodule[simplefonts]

Re: [NTG-context] Change the gap between image and caption

2011-11-25 Thread Jaroslav Hajtmar
Hello Christian. Thank you. For the entire block of images it works well. It is sufficient at this time. I just wanted to know how to do it if I do not take pictures inside startcombinations - stopcombinations environment Jaroslav Dne 25.11.2011 19:45, Christian napsal(a): Well, since you

Re: [NTG-context] Change the gap between image and caption

2011-11-25 Thread Christian
you can also play around with included blanks. I don't know if this is a clean way, but it's working: \setupcaptions[number=no,style=\ssxx] \setupfloats[spacebefore=none, spaceafter=none] % \starttext \input tufte \startplacefigure \startcombination[3*1]

Re: [NTG-context] Error while compiling : ! String contains an invalid utf-8 sequence.

2011-11-25 Thread Hans Hagen
On 25-11-2011 20:03, Christian wrote: Same here. It messes up when converting .bib to .bbl. Maybe check your bbl file, too. Mine looks like this, for example: a={{Hirofumi Uzawa~宇沢弘文}} You could try to write the .bbl file directly yourself, although that is not a comfortable option,

Re: [NTG-context] float names and lists

2011-11-25 Thread Hans Hagen
On 25-11-2011 20:01, Idris Samawi Hamid ادريس سماوي حامد wrote: Hi Otared, On Fri, 25 Nov 2011 09:11:05 -0700, Otared Kavian ota...@gmail.com wrote: By the way, you had a mistyping in your code: 2. \placelistoftablescws produces an undefined control sequence: What am I missing here?

Re: [NTG-context] interaction?

2011-11-25 Thread Wolfgang Schuster
Am 25.11.2011 um 20:26 schrieb Meer, H. van der: On 25 nov. 2011, at 18:10, Wolfgang Schuster wrote: Reference is here \reference[label:1]{Some text}\blank and is: \getreference[tekst][label:1] tekst ≠ text Wolfgang, Thanks for that one. I completely misunderstood, thinking

Re: [NTG-context] interaction?

2011-11-25 Thread Hans Hagen
On 25-11-2011 21:15, Wolfgang Schuster wrote: It’s a bug (maybe wrong default settings) which was introduced with Idris request to have lists which are local to a component, when you refer to the label with the name of the component as prefix (\getreference[text][part1:label:1]) the text is

Re: [NTG-context] \start- \stopalign (in formulas) is broken

2011-11-25 Thread Hans Hagen
On 25-11-2011 18:38, Andreas Harder wrote: Hi, with the latest beta the following do not work anymore (example from math-ali.mkiv). \starttext \placeformula \startformula \startalign \NC a \EQ b \NR[+] \NC c \EQ d \NR \NC\EQ f \NR[for:demo-a-1] \NC\EQ g