[NTG-context] **SPAM** ConTeXt breaks pdfcrop

2012-06-18 Thread S Barmeier
I guess this has to do with my path variables, but having context minimals installed prevents pdfcrop from running successfully: PDFCROP 1.33, 2012/02/01 - Copyright (c) 2002-2012 by Heiko Oberdiek. kpathsea: Running mktexfmt pdftex.fmt /usr/local/texlive/2010/bin/x86_64-linux/mktexfmt: 395:

[NTG-context] Strange page breaks

2012-06-18 Thread Andreas Schneider
Hello, the attached example causes very strange page breaks. 1. The subsubsubject is the last line on the first page. That doesn't look very nice. 2. The xtable is broken although the whole table fits on that page. Is there anything I (or you? :-)) can do about these two problems? #This is

Re: [NTG-context] Is it possible to generate eps files using metafun and context?

2012-06-18 Thread Hans Hagen
On 14-6-2012 19:07, Hongwen Qiu wrote: Hi, Is it possible to typeset the label with context and generate eps output files using the metafun format? If yes, then how? \startMPpage ... \stopMPpage or \startTEXpage ... \stopTEXpage and then use pstopdf to turn the pdf into an eps Hans

Re: [NTG-context] Deleting -temp files

2012-06-18 Thread Hans Hagen
On 17-6-2012 17:53, Aditya Mahajan wrote: Hi, context --purgeall deletes all temporary files (i.e., files containing -temp-). In fact, I had requested this feature so that the filter module does not clutter the current directory with temporary files. However, there is a bug. ConTeXt deletes

Re: [NTG-context] Exceptions to assignment syntax [was: Re: labeltext assignment]

2012-06-18 Thread Hans Hagen
On 16-6-2012 15:19, Philipp Gesang wrote: Hi Hans! ···date: 2012-06-12, Tuesday···from: Hans Hagen··· On 12-6-2012 16:41, Philipp Gesang wrote: I’ll be collecting candidates for the wiki page until saturday and then write up a draft, maybe submit it to the list for review first. I can draw

Re: [NTG-context] Strange page breaks

2012-06-18 Thread Hans Hagen
On 18-6-2012 09:43, Andreas Schneider wrote: Hello, the attached example causes very strange page breaks. 1. The subsubsubject is the last line on the first page. That doesn't look very nice. 2. The xtable is broken although the whole table fits on that page. Is there anything I (or you?

[NTG-context] Input path to include external files with vim module

2012-06-18 Thread Marco
Hi, does the vim module have a feature to specify the input path, similar to \usepath for context files or \setupexternalfigures [directory=…] for graphics? I'm looking for a solution not to hard-code paths into my files. Example: \usemodule [vim] \definevimtyping [XML] [syntax=xml]

Re: [NTG-context] Strange page breaks

2012-06-18 Thread Andreas Schneider
On Monday, June 18, 2012, at 11:54 Hans Hagen wrote: On 18-6-2012 09:43, Andreas Schneider wrote: Hello, the attached example causes very strange page breaks. 1. The subsubsubject is the last line on the first page. That doesn't look very nice. 2. The xtable is broken although the whole

Re: [NTG-context] **SPAM** ConTeXt breaks pdfcrop

2012-06-18 Thread Vladimir Lomov
Hello, ** S Barmeier [2012-06-18 15:38:20 +0900]: I guess this has to do with my path variables, but having context minimals installed prevents pdfcrop from running successfully: PDFCROP 1.33, 2012/02/01 - Copyright (c) 2002-2012 by Heiko Oberdiek. kpathsea: Running mktexfmt pdftex.fmt

Re: [NTG-context] Strange page breaks

2012-06-18 Thread Wolfgang Schuster
Am 18.06.2012 um 12:41 schrieb Andreas Schneider: On Monday, June 18, 2012, at 11:54 Hans Hagen wrote: On 18-6-2012 09:43, Andreas Schneider wrote: Hello, the attached example causes very strange page breaks. 1. The subsubsubject is the last line on the first page. That doesn't look

[NTG-context] Refreshing (synchronizing) values between Lua variables and TeX registers

2012-06-18 Thread Jaroslav Hajtmar
Hello ConTeXist and Lua experts Is there any way to refresh values ​​between the values ​​stored in Lua code and TeX registers? I need to evaluating the values of TeX registers (counters, dimensions, height of boxes, etc.) during the Lua cycle. I would like in the cycle ​​read values from the

Re: [NTG-context] Refreshing (synchronizing) values between Lua variables and TeX registers

2012-06-18 Thread Hans Hagen
On 18-6-2012 15:02, Jaroslav Hajtmar wrote: Hello ConTeXist and Lua experts Is there any way to refresh values ​​between the values ​​stored in Lua code and TeX registers? I need to evaluating the values of TeX registers (counters, dimensions, height of boxes, etc.) during the Lua cycle. I

[NTG-context] \box0 to Lua

2012-06-18 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, (my apologies if this message is duplicated - our mail server was out-of-order some time) how to call \box0 and \hbox to3cm{abc} by Lua? \startluacode context[[\box0]] % OK but a nicer way preferred, so keep on trying - context.box(0) % Error context.box{0} % Error

[NTG-context] \box0 to Lua

2012-06-18 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, how to call \box0 and \hbox to3cm{abc} by Lua? \startluacode context[[\box0]] % OK but a nicer way preferred, so keep on trying - context.box(0) % Error context.box{0} % Error context.box0 % Error context.hbox({to = cm}, abc) % Error \stopluacode TIA. Best regards,

Re: [NTG-context] \box0 to Lua

2012-06-18 Thread Jaroslav Hajtmar
Ahoj... To bych ti rekl ... :-) tex.box[0].height J. Dne 18.6.2012 16:53, Procházka Lukáš Ing. - Pontex s. r. o. napsal(a): Hello, (my apologies if this message is duplicated - our mail server was out-of-order some time) how to call \box0 and \hbox to3cm{abc} by Lua?

Re: [NTG-context] \box0 to Lua

2012-06-18 Thread Procházka Lukáš Ing . - Pontex s . r . o .
On Mon, 18 Jun 2012 16:56:56 +0200, Jaroslav Hajtmar hajt...@gyza.cz wrote: Ahoj... To bych ti rekl ... :-) tex.box[0].height ... To ale získáš jen výšku boxu, ne? Co když ten hbox chceš vysázet Luou na nějakou šířku? L. J. Dne 18.6.2012 16:53, Procházka Lukáš Ing. - Pontex s.

Re: [NTG-context] \box0 to Lua

2012-06-18 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, sorry for impoliteness - last two messages should't have been addressed to the forum, but only to me and Jaroslav - thus in Czech. The question still lasts... Best regards, Lukas how to call \box0 and \hbox to3cm{abc} by Lua? \startluacode context[[\box0]] % OK but a nicer

[NTG-context] horizontal spacing between only two rows

2012-06-18 Thread Helmut Schwertner
Hello, in the following example it is possible to split a table vertical (between the first and the second column with (\startxcell[distance=5pt] test \stopxcell). \starttext \startxtable[option={stretch,width}] \startxrow \startxcell[distance=5pt] test \stopxcell \startxcelltest \stopxcell

Re: [NTG-context] Is it possible to generate eps files using metafun and context?

2012-06-18 Thread Hongwen Qiu
On 06/18/2012 04:19 PM, Hans Hagen wrote: and then use pstopdf to turn the pdf into an eps You must mean pdftops, since pstopdf cannot convert pdf files into eps but pdftops can. I tried pdftops, the result quality is high, but since my desire is to provide eps figures to others that have to

Re: [NTG-context] Input path to include external files with vim module

2012-06-18 Thread Aditya Mahajan
On Mon, 18 Jun 2012, Marco wrote: does the vim module have a feature to specify the input path, similar to \usepath for context files or \setupexternalfigures [directory=…] for graphics? Currently, it does not. I'm looking for a solution not to hard-code paths into my files. Example:

[NTG-context] ConTeXt and SciTE

2012-06-18 Thread Bill Meahan
I'm trying to get the SciTE lexers that come with the ConTeXt distribution working but I'm not having much luck. SciTE certainly processes the ConTeXt start-up script but never does any highlighting. I always get the warning that lpeg is not loaded but I cannot find any separate

Re: [NTG-context] \box0 to Lua

2012-06-18 Thread Philipp Gesang
Ahoj! ···date: 2012-06-18, Monday···from: Procházka Lukáš Ing. - Pontex s. r. o.··· On Mon, 18 Jun 2012 16:56:56 +0200, Jaroslav Hajtmar hajt...@gyza.cz wrote: Ahoj... To bych ti rekl ... :-) tex.box[0].height ... To ale získáš jen výšku boxu, ne? Co když ten hbox chceš vysázet