Re: [NTG-context] Disable line-break when \typefile

2011-06-09 Thread Procházka Lukáš Ing . - Pontex s . r . o .
OK, thanks. I added some info into wiki. Lukas On Wed, 08 Jun 2011 22:44:41 +0200, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 08.06.2011 um 22:34 schrieb Marco: And what is “lines=no” for? What i get from the source for the “lines” key is: no (default) : no

[NTG-context] Again Cambria after updating to latest beta

2011-06-09 Thread Willi Egger
Hi all, Yesterday evening I was quite happy that after deleting and regenerating the cache and the formats I had Cambria up and running. This morning I updated Context to the latest beta. - Eventhough I generated the formats manually with context --make, I get the problem referred to

Re: [NTG-context] beta

2011-06-09 Thread Hans Hagen
On 9-6-2011 3:38, Li Yanrui (李延瑞) wrote: 2011/6/9 Hans Hagenpra...@wxs.nl: Hi, I uploaded a beta. The luatex-plain format has been broken. I use the following file to generate format. \input plain \directlua {tex.enableprimitives('', tex.extraprimitives())} \pdfoutput=1 \everyjob

Re: [NTG-context] Again Cambria after updating to latest beta

2011-06-09 Thread Hans Hagen
On 9-6-2011 8:31, Willi Egger wrote: Hi all, Yesterday evening I was quite happy that after deleting and regenerating the cache and the formats I had Cambria up and running. This morning I updated Context to the latest beta. - Eventhough I generated the formats manually with context --make,

Re: [NTG-context] Again Cambria after updating to latest beta

2011-06-09 Thread Otared Kavian
Hi Willi, I tested your file and now I observe that the math italic font in Cambria is not used correctly (with ConTeXt version 2011.06.09 00:59 MKIV). You can see my PDF output at http://dl.dropbox.com/u/4316076/cambria-font-test-willy-1.pdf Best regards: OK On 9 juin 2011, at

Re: [NTG-context] beta

2011-06-09 Thread Thomas A. Schmitz
Hi, here is another problem with the latest beta - this used to work, but maybe Hans has developed a different mechanism for it? \startbuffer[test] aHellothinspace;World/a \stopbuffer \startxmlsetups xml:testsetups \xmlsetsetup{\xmldocument}{a}{xml:*} \stopxmlsetups

Re: [NTG-context] Again Cambria after updating to latest beta

2011-06-09 Thread Willi Egger
Hi Otared, Thanks for testing. It is a bit wired indeed. The difference between your and my installation is, that I have the font in the texmf-fonts/data directory. But I do not expect that this should make a difference. Willi On 9 Jun 2011, at 10:18, Otared Kavian wrote: Hi Willi, I

[NTG-context] can't set simplified chinese font

2011-06-09 Thread m00nlight
After I reinstall my system fedora 15 and install the latest context mtx-context | main context file: /opt/context/tex/texmf-context/tex/context/base/context.mkiv mtx-context | current version: 2011.06.09 00:59 I want to use context to produce simplified chinese document as before, I

Re: [NTG-context] can't set simplified chinese font

2011-06-09 Thread Taco Hoekwater
On 06/09/11 10:58, m00nlight wrote: After I reinstall my system fedora 15 and install the latest context mtx-context | main context file: /opt/context/tex/texmf-context/tex/context/base/context.mkiv mtx-context | current version: 2011.06.09 00:59 I want to use context to produce

Re: [NTG-context] Again Cambria after updating to latest beta

2011-06-09 Thread Hans Hagen
On 9-6-2011 9:13, Willi Egger wrote: Okay, please refer to the attached test-file and the log after deleting the font-cache. I hope this might shed light on the matter. it looks like your document does not use cambriamath but just cambria

Re: [NTG-context] Again Cambria after updating to latest beta

2011-06-09 Thread Hans Hagen
On 9-6-2011 9:13, Willi Egger wrote: Okay, please refer to the attached test-file and the log after deleting the font-cache. I hope this might shed light on the matter. your log mentions cambria math so can you send me the pdf file?

Re: [NTG-context] Again Cambria after updating to latest beta

2011-06-09 Thread Herbert Voss
Am 09.06.2011 10:38, schrieb Willi Egger: Thanks for testing. It is a bit wired indeed. The difference between your and my installation is, that I have the font in the texmf-fonts/data directory. But I do not expect that this should make a difference. with the same location and latest

Re: [NTG-context] beta

2011-06-09 Thread Hans Hagen
On 9-6-2011 10:21, Thomas A. Schmitz wrote: Hi, here is another problem with the latest beta - this used to work, but maybe Hans has developed a different mechanism for it? \startbuffer[test] aHellothinspace;World/a \stopbuffer \startxmlsetups xml:testsetups

Re: [NTG-context] beta

2011-06-09 Thread 李延瑞
2011/6/9 Hans Hagen pra...@wxs.nl: On 9-6-2011 3:38, Li Yanrui (李延瑞) wrote: 2011/6/9 Hans Hagenpra...@wxs.nl: Hi, I uploaded a beta. The luatex-plain format has been broken. I use the following file to generate format. \input plain \directlua {tex.enableprimitives('',

Re: [NTG-context] beta

2011-06-09 Thread Hans Hagen
On 9-6-2011 1:15, Li Yanrui (李延瑞) wrote: It seems that luatex-plain.tex has been not exist in minimals for a long time. ah, i see; on my machine it's called luatex.tex; will be in the next beta \input plain \directlua {tex.enableprimitives('', tex.extraprimitives())} \pdfoutput=1

[NTG-context] Getting arguments by Lua

2011-06-09 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, when I run context by e.g.: context.exe Source.mkiv --result=Result.pdf --mode=Mode is it possible to access the command line arguments from Lua? I'm aware that modes are accessible by 'tex.modes' ('tex.modes.Mode' gives 'true' in this case); but I'd need to get also the source file

Re: [NTG-context] Again Cambria after updating to latest beta

2011-06-09 Thread Taco Hoekwater
On 06/09/11 08:31, Willi Egger wrote: Hi all, Yesterday evening I was quite happy that after deleting and regenerating the cache and the formats I had Cambria up and running. This morning I updated Context to the latest beta. - Eventhough I generated the formats manually with context

Re: [NTG-context] Getting arguments by Lua

2011-06-09 Thread Taco Hoekwater
On 06/09/11 13:41, Procházka Lukáš Ing. - Pontex s. r. o. wrote: Hello, when I run context by e.g.: context.exe Source.mkiv --result=Result.pdf --mode=Mode is it possible to access the command line arguments from Lua? the 'environment' table has information about this stuff. In

Re: [NTG-context] Getting arguments by Lua

2011-06-09 Thread Cedric Mauclair
Hello, I think the tables document.arguments and documents.files might also be of interest. Regards. -- Cédric 2011/6/9 Taco Hoekwater t...@elvenkind.com: On 06/09/11 13:41, Procházka Lukáš Ing. - Pontex s. r. o. wrote: Hello, when I run context by e.g.: context.exe Source.mkiv

[NTG-context] PDF X/1-a:2001

2011-06-09 Thread John Culleton
It has been suggested that Context can create this format, which is required by some printers for color work. Any info on X/1-a:2001? -- John Culleton Create Book Covers with Scribus www.lybrary.com/create-book-covers-with-scribus-p-74177.html

Re: [NTG-context] PDF X/1-a:2001

2011-06-09 Thread Hans Hagen
On 9-6-2011 2:30, John Culleton wrote: It has been suggested that Context can create this format, which is required by some printers for color work. Any info on X/1-a:2001? http://wiki.contextgarden.net/PDFX -

Re: [NTG-context] Getting arguments by Lua

2011-06-09 Thread Procházka Lukáš Ing . - Pontex s . r . o .
OK, thanks both for the answers. Lukas On Thu, 09 Jun 2011 13:57:27 +0200, Taco Hoekwater t...@elvenkind.com wrote: On 06/09/11 13:41, Procházka Lukáš Ing. - Pontex s. r. o. wrote: Hello, when I run context by e.g.: context.exe Source.mkiv --result=Result.pdf --mode=Mode is it possible

Re: [NTG-context] beta

2011-06-09 Thread Thomas A. Schmitz
On Jun 9, 2011, at 12:56 PM, Hans Hagen wrote: Its a chicken-egg problem when to expand some of them. I uploaded a beta that makes a destinction: \xmlsetentity{thinspace-a}{\,} \xmltexentity{thinspace-b}{\,} Great, xmltexentity does what I need - it's just that the interface has

Re: [NTG-context] Getting arguments by Lua

2011-06-09 Thread Peter Münster
On Thu, Jun 09 2011, Procházka Lukáš Ing. - Pontex s. r. o. wrote: but I'd need to get also the source file name (Source.mkiv) and the option (--result - Result.pdf). \starttext result (lua): \ctxlua{context(environment.outputfilename)}\par result (tex): \systemparameter{file} \stoptext --

Re: [NTG-context] Again Cambria after updating to latest beta

2011-06-09 Thread Willi Egger
Thank you so much Taco, it works with your tips! Willi On 9 Jun 2011, at 13:43, Taco Hoekwater wrote: On 06/09/11 08:31, Willi Egger wrote: Hi all, Yesterday evening I was quite happy that after deleting and regenerating the cache and the formats I had Cambria up and running. This

[NTG-context] Digits-Module in tabulate does not work

2011-06-09 Thread yoraxe
Hi, I'm using the digit-module and enjoy, that I get a nice output using the following: \starttext \digits{30e-3} \stoptext instead of \starttext $30 \cdot 10^{-3}$ or $30 ⋅ 10^{-3}$ \stoptext But now I'm wondering why this module does not work in the tabulate-environment with:

Re: [NTG-context] Digits-Module in tabulate does not work

2011-06-09 Thread Wolfgang Schuster
Am 09.06.2011 um 22:24 schrieb yoraxe: Hi, I'm using the digit-module and enjoy, that I get a nice output using the following: \starttext \digits{30e-3} \stoptext instead of \starttext $30 \cdot 10^{-3}$ or $30 ⋅ 10^{-3}$ \stoptext But now I'm wondering why this module does

Re: [NTG-context] Digits-Module in tabulate does not work

2011-06-09 Thread yoraxe
Am 09.06.2011 22:31, schrieb Wolfgang Schuster: Am 09.06.2011 um 22:24 schrieb yoraxe: Hi, I'm using the digit-module and enjoy, that I get a nice output using the following: \starttext \digits{30e-3} \stoptext instead of \starttext $30 \cdot 10^{-3}$ or $30 ⋅ 10^{-3}$

[NTG-context] \Context bug?

2011-06-09 Thread Vedran Miletić
Hi, is it intentional that \starttext \Context \stoptext makes context (mkiv, haven't tried mkii) hang indefinitely? I'm using latest beta. Vedran ___ If your question is of interest to others as well, please add

Re: [NTG-context] Digits-Module in tabulate does not work

2011-06-09 Thread Wolfgang Schuster
Am 09.06.2011 um 23:00 schrieb yoraxe: Thanks. That was very easy. But where do I have to put the \NN when I use something like (30 \pm 3)e-3 ? The \NN command is place of the \NC command and adding another one will only start a new column. I guess the \pm has to be in $$. If I type

[NTG-context] [metafun] MPenvironment / font switching

2011-06-09 Thread Philipp Gesang
Hi all, I’m struggling with the font used in metapost. The only way to actually change it appears to be enclosing the mp graphic in two statements of \setupbodyfont[…] -- which I need to avoid. In the following example, the background text should be typeset (drawn) as lm sans, whereas the main

Re: [NTG-context] \Context bug?

2011-06-09 Thread Wolfgang Schuster
Am 09.06.2011 um 23:13 schrieb Vedran Miletić: Hi, is it intentional that \starttext \Context \stoptext makes context (mkiv, haven't tried mkii) hang indefinitely? I'm using latest beta. Change this in font-ini.mkiv: %\unexpanded\def\getscaledglyph

Re: [NTG-context] [metafun] MPenvironment / font switching

2011-06-09 Thread Wolfgang Schuster
Am 09.06.2011 um 23:20 schrieb Philipp Gesang: Hi all, I’m struggling with the font used in metapost. The only way to actually change it appears to be enclosing the mp graphic in two statements of \setupbodyfont[…] -- which I need to avoid. In the following example, the background text

Re: [NTG-context] [metafun] MPenvironment / font switching

2011-06-09 Thread Philipp Gesang
On 2011-06-09 23:31:49, Wolfgang Schuster wrote: Am 09.06.2011 um 23:20 schrieb Philipp Gesang: snip/ · \startMPenvironment %[global] \switchtobodyfont[sans] %\setupbodyfont[sans] \stopMPenvironment

Re: [NTG-context] Unwanted change of paper size; extra opt for \externalfigure

2011-06-09 Thread Marco
On 2011-06-08 Procházka Lukáš Ing. - Pontex s. r. o. l...@pontex.cz wrote: Wouldn't be good to have an option rotation (among scale, factor, width...) to rotate the inserted figure, at least in multiples of 90 degrees? To allow something like: