Re: [NTG-context] page breaks in cells?

2010-10-14 Thread Wolfgang Schuster
Am 13.10.2010 um 23:41 schrieb Steffen Wolfrum: Which kind table supports page breaks in cells? tabulate but there we (still) don't have vertical lines, right? yes, tabulate has no vertical lines but anch-pgr.mkix shows a few ways to make framed cells, e.g. here is a slightly modified

Re: [NTG-context] page breaks in cells?

2010-10-14 Thread Steffen Wolfrum
Am 13.10.2010 um 23:44 schrieb Arthur Reutenauer: ... look at the date/time: This was almost instant reply! It's still more than one minute... It was 80 seconds (see log below). Who wants to beat this record?! (13. Oktober 2010 23:34:14 MESZ 13. Oktober 2010 23:35:34 MESZ) Steffen

Re: [NTG-context] page breaks in cells?

2010-10-14 Thread luigi scarso
On Thu, Oct 14, 2010 at 8:06 AM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 13.10.2010 um 23:41 schrieb Steffen Wolfrum: Which kind table supports page breaks in cells? tabulate but there we (still) don't have vertical lines, right? yes, tabulate has no vertical lines

[NTG-context] How to center a MP graphics generated by Lua?

2010-10-14 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, I'm trying to center a MP graphics generated by Lua. Although the inline Ctx code is (or seems to be) the same as generated by Lua, I cannot understand why the red line is drawn on the left and not centered. So how to make the Lua-MP graphics centered? My code: --- \showframe

Re: [NTG-context] How to center a MP graphics generated by Lua?

2010-10-14 Thread Wolfgang Schuster
Am 14.10.2010 um 09:49 schrieb Procházka Lukáš Ing. - Pontex s. r. o.: Hello, I'm trying to center a MP graphics generated by Lua. Although the inline Ctx code is (or seems to be) the same as generated by Lua, I cannot understand why the red line is drawn on the left and not centered.

Re: [NTG-context] How to center a MP graphics generated by Lua?

2010-10-14 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Great, thanks. Lukas On Thu, 14 Oct 2010 10:00:29 +0200, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: \dontleavehmode ___ If your question is of interest to others as well, please add an entry to

Re: [NTG-context] page breaks in cells?

2010-10-14 Thread Henning Hraban Ramm
Am 2010-10-14 um 09:09 schrieb luigi scarso: On Thu, Oct 14, 2010 at 8:06 AM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 13.10.2010 um 23:41 schrieb Steffen Wolfrum: Which kind table supports page breaks in cells? tabulate but there we (still) don't have vertical

Re: [NTG-context] \setupnote (was subfootnote)

2010-10-14 Thread luigi scarso
On Tue, Oct 12, 2010 at 1:09 PM, Yury G. Kudryashov ur...@ya.ru wrote: luigi scarso wrote: On Tue, Oct 12, 2010 at 12:27 PM, Alan BRASLAU alan.bras...@cea.fr wrote: On Tuesday 12 October 2010 11:54:28 Steffen Wolfrum wrote: Hans recommended: \stopfootnote{} Thank you. This will work,

[NTG-context] background over two page

2010-10-14 Thread Emanuele Sacco
Hi all, I'm using context MkII. My code is \setupcolors[state=start] \setupbackground [bottomframe=on, rulethickness=1pt, rightframe=on, leftframe=on] \starttext Good: \startbackground \input knuth \stopbackground Not good: \startbackground \input knuth \input knuth \input knuth

[NTG-context] Custom enumeration

2010-10-14 Thread Bela Mulder
Dear ConTeXters, A newbie question: I am trying to set up a custom enumeration for exercises in a syllabus. The numbering of these exercises should reflect both part and chapter information, but \defineenumeration does not allow me to write my own custom command for this (unlike \setuphead).

Re: [NTG-context] page breaks in cells?

2010-10-14 Thread Wolfgang Schuster
Am 14.10.2010 um 09:09 schrieb luigi scarso: On Thu, Oct 14, 2010 at 8:06 AM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 13.10.2010 um 23:41 schrieb Steffen Wolfrum: Which kind table supports page breaks in cells? tabulate but there we (still) don't have vertical

Re: [NTG-context] Custom enumeration

2010-10-14 Thread Wolfgang Schuster
Am 14.10.2010 um 11:22 schrieb Bela Mulder: Dear ConTeXters, A newbie question: I am trying to set up a custom enumeration for exercises in a syllabus. The numbering of these exercises should reflect both part and chapter information, but \defineenumeration does not allow me to write my

Re: [NTG-context] background over two page

2010-10-14 Thread luigi scarso
On Thu, Oct 14, 2010 at 11:05 AM, Emanuele Sacco emanuelesa...@gmail.com wrote: Hi all, I'm using context MkII. My code is \setupcolors[state=start] \setupbackground [bottomframe=on, rulethickness=1pt, rightframe=on, leftframe=on] \starttext Good: \startbackground \input knuth

Re: [NTG-context] page breaks in cells?

2010-10-14 Thread luigi scarso
On Thu, Oct 14, 2010 at 11:23 AM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: I’m sorry to disappoint you but the „x“ is only a placeholder for either „i“ or „v“ because the example is in both files. what a pity ... -- luigi

[NTG-context] section kills break ?

2010-10-14 Thread Steffen Wolfrum
Hi, Is this a known issue? Without chapter the linebreak \\ works. With a section header before it fails. Steffen --- \starttext %\chapter{test} % - un-/comment \starttabulate[|p|p|] \NC test\\test \NC text \NC\NR \stoptabulate \stoptext

Re: [NTG-context] section kills break ?

2010-10-14 Thread luigi scarso
On Thu, Oct 14, 2010 at 12:21 PM, Steffen Wolfrum cont...@st.estfiles.de wrote: Hi, Is this a known issue? I don't know, while it's known that video killed the radio stars -- luigi ___ If your question is of

Re: [NTG-context] section kills break ?

2010-10-14 Thread Wolfgang Schuster
Am 14.10.2010 um 12:21 schrieb Steffen Wolfrum: Hi, Is this a known issue? Without chapter the linebreak \\ works. With a section header before it fails. Headers redefined \\ to \space but it’s a bad idea to assume \\ make always a linebreak, following all the other command like \% \#

Re: [NTG-context] Custom enumeration

2010-10-14 Thread Bela Mulder
Sorry, for my initial vagueness: I want the exercises in part 5, chapter 3 of the syllabus to come out as: Exercise 5.3.1 etc. Right now, on a per chapter basis I get: Exercise 1 etc. Hope this helps. -- Bela Mulder Group Leader Theory of Biomolecular matter FOM Institute AMOLF Science

Re: [NTG-context] Custom enumeration

2010-10-14 Thread Aditya Mahajan
On Oct 14, 2010, at 8:31 AM, Bela Mulder mul...@amolf.nl wrote: Sorry, for my initial vagueness: I want the exercises in part 5, chapter 3 of the syllabus to come out as: Exercise 5.3.1 etc. Does way=bychapter work? (untested) Aditya

[NTG-context] modes

2010-10-14 Thread Hans Hagen
Hi, (for module writers) The latest beta gives access to modes at the lua end \starttext \enablemode[test] \enablemode[] \doifallmodes{test,xxx}{NO} \doifallmodes{test,}{YES} \doifmode{test}{YES} \doifnotmode{xxx}{YES} \startluacode tex.sprint(tex.modes['x']and YES or NOP)

Re: [NTG-context] structure sanity checks

2010-10-14 Thread Hans Hagen
On 13-10-2010 2:29, Alan BRASLAU wrote: Indeed, under ConTeXt, unknown or incorrect arguments are simply ignored. maybe some day ... - Hans Hagen | PRAGMA ADE Ridderstraat

Re: [NTG-context] structuresectionstarterset ?

2010-10-14 Thread Hans Hagen
On 13-10-2010 1:49, Steffen Wolfrum wrote: Hi, as definestructureconversionset is such a convenient command, could we also have the accompanying structuresectionstarterset and structuresectionstopperset? \definestructureconversionset [default] [

[NTG-context] mnmls under windows

2010-10-14 Thread Philipp Gesang
Hi all, I just discovered that the windows pcs in the library have certain adobe stuff installed that comes with a neat collection of adobe fonts. So I thought I’d want to use them in context and prepared a minimals for windows on a usb stick using wine. I haven’t used windows in ages so I’d

Re: [NTG-context] structuresectionstarterset ?

2010-10-14 Thread Steffen Wolfrum
Am 14.10.2010 um 15:58 schrieb Hans Hagen: On 13-10-2010 1:49, Steffen Wolfrum wrote: Hi, as definestructureconversionset is such a convenient command, could we also have the accompanying structuresectionstarterset and structuresectionstopperset? \definestructureconversionset

Re: [NTG-context] mnmls under windows

2010-10-14 Thread Hans Hagen
On 14-10-2010 4:07, Philipp Gesang wrote: Hi all, I just discovered that the windows pcs in the library have certain adobe stuff installed that comes with a neat collection of adobe fonts. So I thought I’d want to use them in context and prepared a minimals for windows on a usb stick using

[NTG-context] How to call a ctx command with parameters from Lua

2010-10-14 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, this thing was probably shown during last Ctx meeting, but I can't remember the answer. Let's ave the Ctx code: \typefile[default]{Myfile.txt} and I'd need to call this command by Lua, like: \startluacode context.typefile(MyFile.txt) \stoluacode But how to pass the [default]

[NTG-context] Multiple bibliographies (reminder)

2010-10-14 Thread Florian Wobbe
Hi Taco, hi Philipp, I need to place two different publication lists in different locations inside the same document. This has been asked before in April and there was the following suggestion: \chapter{one} \placepublications[database=first] \chapter{two} \placepublications[database=second]

Re: [NTG-context] mnmls under windows

2010-10-14 Thread Hans Hagen
On 14-10-2010 4:07, Philipp Gesang wrote: 2. How large will texmf-cache grow when all the fonts from an indesign installation are indexed (it’s a small stick and context resides next to a linux on it)? in a next beta you can configure it using directives:

[NTG-context] Titles that spill out

2010-10-14 Thread Brian Wedde
Here is a simple section header. It runs way out of the margin. Any idea why? I do not want hyphenation. Words that run over the boundary should be skipped to the next line down. Why does it not do that here? Also note that if i change flushleft to middle, it works fine (except that i don't

[NTG-context] Access figure data?

2010-10-14 Thread Brian Wedde
Is there any way to get access to the data about external figures? I would like to know the pixel height/width of the actual image. [I am trying to typeset a mass of html-based documents with images using a series of scripts. The images need to be positioned somewhat like they would be on the

Re: [NTG-context] Titles that spill out

2010-10-14 Thread Hans Hagen
On 14-10-2010 7:59, Brian Wedde wrote: Here is a simple section header. It runs way out of the margin. Any idea why? I do not want hyphenation. Words that run over the boundary should be skipped to the next line down. Why does it not do that here? Also note that if i change flushleft to

Re: [NTG-context] Titles that spill out

2010-10-14 Thread Peter Münster
On Thu, Oct 14 2010, Brian Wedde wrote: \setuphead[section][align={flushleft,nothyphenated}] \setuphead[section][align={flushleft,nothyphenated,tolerant}] Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/

Re: [NTG-context] Access figure data?

2010-10-14 Thread Hans Hagen
On 14-10-2010 8:10, Brian Wedde wrote: Is there any way to get access to the data about external figures? I would like to know the pixel height/width of the actual image. [I am trying to typeset a mass of html-based documents with images using a series of scripts. The images need to be

Re: [NTG-context] Access figure data?

2010-10-14 Thread Aditya Mahajan
On Thu, 14 Oct 2010, Brian Wedde wrote: Is there any way to get access to the data about external figures? I would like to know the pixel height/width of the actual image. From one of my private modules: \useexternalfigure[cnp:name][\cut!n!paste!parameter\c!name]% Is this really

Re: [NTG-context] Access figure data?

2010-10-14 Thread Hans Hagen
On 14-10-2010 8:10, Brian Wedde wrote: Is there any way to get access to the data about external figures? I would like to know the pixel height/width of the actual image. [I am trying to typeset a mass of html-based documents with images using a series of scripts. The images need to be

Re: [NTG-context] Access figure data?

2010-10-14 Thread Peter Rolf
Am 14.10.2010 21:33, schrieb Hans Hagen: On 14-10-2010 8:10, Brian Wedde wrote: Is there any way to get access to the data about external figures? I would like to know the pixel height/width of the actual image. [I am trying to typeset a mass of html-based documents with images using a

Re: [NTG-context] Access figure data?

2010-10-14 Thread Hans Hagen
On 14-10-2010 10:10, Peter Rolf wrote: Nice to have. Is this also possible from the lua side? I ask, because I need the pixel size of a graphic for some border checking ('clip' a frame out of a bitmap). Currently I use \getfiguredimensions from the tex side, as I haven't found a way in lua yet.

Re: [NTG-context] Custom enumeration

2010-10-14 Thread Wolfgang Schuster
Am 14.10.2010 um 15:24 schrieb Aditya Mahajan: On Oct 14, 2010, at 8:31 AM, Bela Mulder mul...@amolf.nl wrote: Sorry, for my initial vagueness: I want the exercises in part 5, chapter 3 of the syllabus to come out as: Exercise 5.3.1 etc. Does way=bychapter work? (untested) You need

Re: [NTG-context] How to call a ctx command with parameters from Lua

2010-10-14 Thread Wolfgang Schuster
Am 14.10.2010 um 17:31 schrieb Procházka Lukáš Ing. - Pontex s. r. o.: Hello, this thing was probably shown during last Ctx meeting, but I can't remember the answer. Let's ave the Ctx code: \typefile[default]{Myfile.txt} and I'd need to call this command by Lua, like:

Re: [NTG-context] Access figure data?

2010-10-14 Thread Peter Rolf
Am 14.10.2010 22:22, schrieb Hans Hagen: On 14-10-2010 10:10, Peter Rolf wrote: Nice to have. Is this also possible from the lua side? I ask, because I need the pixel size of a graphic for some border checking ('clip' a frame out of a bitmap). Currently I use \getfiguredimensions from the

[NTG-context] Is it possible to pass unmarked paragraphs into Lua for processing

2010-10-14 Thread Kevin D. Robbins
Hi all, I am wondering if and how it might be possible to catch all unmarked paragraphs in a TeX file and pass them into Lua. So, in the following example, each of the first three unmarked paragraphs would be passed to the Lua function process_paragraph for optional processing, but the fourth

Re: [NTG-context] Is it possible to pass unmarked paragraphs into Lua for processing

2010-10-14 Thread Aditya Mahajan
On Thu, 14 Oct 2010, Kevin D. Robbins wrote: Hi all, I am wondering if and how it might be possible to catch all unmarked paragraphs in a TeX file and pass them into Lua. So, in the following example, each of the first three unmarked paragraphs would be passed to the Lua function

Re: [NTG-context] Access figure data?

2010-10-14 Thread Peter Münster
On Thu, Oct 14 2010, Peter Rolf wrote: Nice to have. Is this also possible from the lua side? Hello, Perhaps with the img library of luatex (see luatex manual). Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/