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

2011-11-27 Thread Henning Hraban Ramm
Am 2011-11-27 um 06:45 schrieb Brendan Jurd: On 25/11/11 19:17, Hans Hagen wrote: On 25-11-2011 06:12, Brendan Jurd wrote: 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

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

2011-11-27 Thread Robin.Kirkham
On 25 November 2011, Hans Hagen [pra...@wxs.nl] wrote: I uploaded a new beta. ... - Hz, dB (actually deci + bel so megabel also works), lx, permille, t, k, Da added Actually decibel is an odd one, a logarithmic unit, so prefixes other than deci are never used. However the implementation is

[NTG-context] error with \showlayout and export

2011-11-27 Thread Henning Hraban Ramm
Hi wizards, if I use \showlayout in a project where I setup export=yes, ConTeXt stops with a fatal error. Minimal failing example: \setupbackend[export=yes] \starttext \showlayout \stoptext Ixchel:konzept hraban$ context --purge context_test.tex mtx-context | run 1: luatex

Re: [NTG-context] error with \showlayout and export

2011-11-27 Thread Wolfgang Schuster
Am 27.11.2011 um 12:11 schrieb Henning Hraban Ramm: Hi wizards, if I use \showlayout in a project where I setup export=yes, ConTeXt stops with a fatal error. Minimal failing example: \setupbackend[export=yes] \starttext \showlayout \stoptext I think this change in back-exp.lua

[NTG-context] page number in margin

2011-11-27 Thread Henning Hraban Ramm
Hi again, I’d like to get my page numbers in the margin. This works: \setuppagenumbering[alternative=doublesided,location=margin] But that way it’s on the bottom of the footer margin; I'd like it on the top. Second variant: Even better, I’d like my page number at the bottom of the text

[NTG-context] Export to epub

2011-11-27 Thread Keith McKay
Hi I've been playing about with Export in Context with a view to producing ePubs. When I run the script: /mtxrun --script epub --make test.specification /the test.tree is prepared but no epub file. The output shown below has a couple or 'error' messages which are probably due to the way

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

2011-11-27 Thread Mojca Miklavec
2011/11/26 Alexandre Krispin wrote: Now that japanese display correctly, there is still another problem. Japanese sentences (long titles in bibliography) don't break at the end of line. I have tested the behavior of japanese with entire paragraphs, and I get the same problem as in the

Re: [NTG-context] Export to epub

2011-11-27 Thread Hans Hagen
On 27-11-2011 14:03, Keith McKay wrote: Hi I've been playing about with Export in Context with a view to producing ePubs. When I run the script: /mtxrun --script epub --make test.specification /the test.tree is prepared but no epub file. The output shown below has a couple or 'error'

[NTG-context] FLOW chart module broken

2011-11-27 Thread Willi Egger
Hi Hans, unfortunately the FLOWchart module is broken. The breaking over pages does not seem to work. If there are too many cells for a page the compilation stops with a fatal error. i installed the latest beta: ConTeXt ver: 2011.11.25 21:29 MKIV fmt: 2011.11.27

[NTG-context] strange behavior with apa and apa-fr bibliographic styles

2011-11-27 Thread Alexandre Krispin
Hello, I have noticed that, for a reason I don't understand, dots after dates in the bibliography are not placed in the same manner. For example, I get (copy-paste from pdf) : Morales, I. (1997) . The mexican crisis and the weakness of the NAFTA consensus. Annals of the American Academy of

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

2011-11-27 Thread Alexandre Krispin
Thank you ! But with the scripts for chinese characters, I got the expected result :) Cheers, Alexandre Krispin 2011/11/27 Mojca Miklavec mojca.miklavec.li...@gmail.com 2011/11/26 Alexandre Krispin wrote: Now that japanese display correctly, there is still another problem. Japanese

[NTG-context] Graphics in text-line

2011-11-27 Thread Robert Blackstone
Dear list, Would it be possible to insert a tiny graphic, not larger than a capital M, into a textline? I am presently making a bilingual version of a sixteenth century French musical treatise, and I would like to copy as much as possible the typographic features of the original in the modern

Re: [NTG-context] Graphics in text-line

2011-11-27 Thread Wolfgang Schuster
Am 27.11.2011 um 18:20 schrieb Robert Blackstone: Dear list, Would it be possible to insert a tiny graphic, not larger than a capital M, into a textline? I am presently making a bilingual version of a sixteenth century French musical treatise, and I would like to copy as much as

Re: [NTG-context] Graphics in text-line

2011-11-27 Thread Wolfgang Schuster
Am 27.11.2011 um 18:26 schrieb Wolfgang Schuster: Am 27.11.2011 um 18:20 schrieb Robert Blackstone: Dear list, Would it be possible to insert a tiny graphic, not larger than a capital M, into a textline? I am presently making a bilingual version of a sixteenth century French

Re: [NTG-context] Columnsets: bug in current beta?

2011-11-27 Thread Jaroslav Hajtmar
Hello Peter. I have a similar experience. If image width is greater than the width of one column and at the same time is a picture with the caption then text does not wrap around the image. If the picture is without caption (for example \placefigure[btrl,none]{}{...}) then everything works

Re: [NTG-context] FLOW chart module broken

2011-11-27 Thread Otared Kavian
Hi Willy, I compiled your tex file: if you add \starttext and \stoptext, your file is compiled correctly… (both in mkii and mkiv, ConTeXt ver: 2011.11.25 13:29 MKIV fmt: 2011.11.25 int: english/english). Best regards: OK On 27 nov. 2011, at 16:15, Willi Egger wrote: Hi Hans,

[NTG-context] Text in margin

2011-11-27 Thread Kip Warner
Hey list, I am trying to get text to appear in the margin, small, and italicized. The following doesn't appear to effect its size or italicization at all: \setupinmargin[ background=color, color=colour_text, backgroundcolor=colour_page, bodyfont=3pt,

Re: [NTG-context] Text in margin

2011-11-27 Thread Wolfgang Schuster
Am 27.11.2011 um 22:37 schrieb Kip Warner: Hey list, I am trying to get text to appear in the margin, small, and italicized. The following doesn't appear to effect its size or italicization at all: \setupinmargin[ background=color, color=colour_text,

Re: [NTG-context] Export to epub

2011-11-27 Thread Keith McKay
Hans Thanks for the hints. I downloaded inkscape but but still get the same error message. I'm not too concerned about that just now. Unfortunately I couldn't find zip so I played about with 7-Zip and managed to get the script to work. It's still work in progress since I'm not sure I have

[NTG-context] Resetting references or local references?

2011-11-27 Thread Otared Kavian
Dear all, Is it possible to have a sort of « local references for formulas » or else to clear previous references to formulas at a certain point? In a chapter where a certain number of exercices and formulas are to be numbered, assume I have the following minimal example % begin

Re: [NTG-context] Graphics in text-line

2011-11-27 Thread Robert Blackstone
Am 27.11.2011 um 18:26 schrieb Wolfgang Schuster: Am 27.11.2011 um 18:20 schrieb Robert Blackstone: Dear list, Would it be possible to insert a tiny graphic, not larger than a capital M, into a textline? \starttext This is a cow \figuresymbol[cow]. \stoptext Wolfgang

Re: [NTG-context] Resetting references or local references?

2011-11-27 Thread Wolfgang Schuster
Am 27.11.2011 um 23:27 schrieb Otared Kavian: Dear all, Is it possible to have a sort of « local references for formulas » or else to clear previous references to formulas at a certain point? In a chapter where a certain number of exercices and formulas are to be numbered, assume I have

Re: [NTG-context] Footnote Problem

2011-11-27 Thread Kip Warner
On Wed, 2011-11-16 at 00:09 +0100, Wolfgang Schuster wrote: Am 15.11.2011 um 20:41 schrieb Kip Warner: On Tue, 2011-11-15 at 09:42 +0100, Wolfgang Schuster wrote: Am 15.11.2011 um 06:57 schrieb Kip Warner: Hey folks, The second \footnote doesn't show in the generated PDF. The

Re: [NTG-context] TextBackground text area

2011-11-27 Thread Kip Warner
On Wed, 2011-11-23 at 21:52 -0500, Aditya Mahajan wrote: Why not just increase the value of leftoffset and rightoffset? This seems to work, but I find a problem is that if the text box spans multiple pages, bottomoffset / topoffset are ignored at the points where the page breaks. Suggestions?

Re: [NTG-context] Text in margin

2011-11-27 Thread Kip Warner
On Sun, 2011-11-27 at 22:43 +0100, Wolfgang Schuster wrote: Search for \setupmargindata and \setupmarginframed, you can see all keys for commands in my reference: https://bitbucket.org/wolfs/commands/downloads Wolfgang Hey Wolfgang. I took a look at the command reference you linked me to

[NTG-context] Sequentially number figures (even over chapters)

2011-11-27 Thread Mikael P. Sundqvist
Dear list, I want to number my figures sequentially, even over chapters. With the code below (late(st) minimals and mkiv) %%% Begin example \setuphead[chapter][ page=no, ] \setupcaptions[ way=bytext, prefixsegments=none, ] \starttext \chapter{This is a short chapter} It contains one figure.

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

2011-11-27 Thread S Barmeier
and the test.tex file is the |export-example.tex file renamed from the Minimals distribution|. Thanks Keith McKay -- next part -- An HTML attachment was scrubbed... URL: http://www.ntg.nl/pipermail/ntg-context/attachments/2027/f306eade/attachment-0001.html

Re: [NTG-context] Graphics in text-line

2011-11-27 Thread Wolfgang Schuster
Am 27.11.2011 um 18:26 schrieb Wolfgang Schuster: Am 27.11.2011 um 18:20 schrieb Robert Blackstone: Dear list, Would it be possible to insert a tiny graphic, not larger than a capital M, into a textline? I am presently making a bilingual version of a sixteenth century French