Re: [NTG-context] MKIV and externaligure inside metafun

2009-08-28 Thread Mojca Miklavec
On Fri, Aug 28, 2009 at 18:51, Hans Hagen wrote: > Peter Rolf wrote: > >> My only explanation: Hans has direct access to your harddisk and changes >> things silently in the background :D > > ok, this was supposed to be a secret, but indeed taco and i can log into her > time capsule device and m

Re: [NTG-context] MKIV and externaligure inside metafun

2009-08-28 Thread Hans Hagen
Peter Rolf wrote: My only explanation: Hans has direct access to your harddisk and changes things silently in the background :D ok, this was supposed to be a secret, but indeed taco and i can log into her time capsule device and move her back- and forward in time depending on how much we

Re: [NTG-context] MKIV and externaligure inside metafun

2009-08-28 Thread Peter Rolf
Mojca Miklavec schrieb: On Fri, Aug 28, 2009 at 17:57, Mojca Miklavec wrote: On Fri, Aug 28, 2009 at 17:36, Peter Rolf wrote: Hi Mojca, wrong colors (or what is the problem here)? On my machine \startMPcode externalfigure("filename.png"); \stopMPcode doesn't work in MKIV at a

Re: [NTG-context] MKIV and externaligure inside metafun

2009-08-28 Thread Taco Hoekwater
Hans Hagen wrote: if i were you, i'd start worying about my disk or the display ... ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http:/

Re: [NTG-context] MKIV and externaligure inside metafun

2009-08-28 Thread Hans Hagen
Mojca Miklavec wrote: I guess that I give up. whow, you giving up? It started working now for no particular reason (no change in files, no change in my installation). well, you'r laptop is somewhat randomly working anyway so ... And the colors are fine as well. My only explanation is th

Re: [NTG-context] MKIV and externaligure inside metafun

2009-08-28 Thread Mojca Miklavec
On Fri, Aug 28, 2009 at 17:57, Mojca Miklavec wrote: > On Fri, Aug 28, 2009 at 17:36, Peter Rolf wrote: >> >> Hi Mojca, >> >> wrong colors (or what is the problem here)? > > On my machine > > \startMPcode > externalfigure("filename.png"); > \stopMPcode > > doesn't work in MKIV at all. On Hans' mach

Re: [NTG-context] MKIV and externaligure inside metafun

2009-08-28 Thread Hans Hagen
Mojca Miklavec wrote: On Fri, Aug 28, 2009 at 17:36, Peter Rolf wrote: Hi Mojca, wrong colors (or what is the problem here)? On my machine \startMPcode externalfigure("filename.png"); \stopMPcode doesn't work in MKIV at all. On Hans' machine it generates weird colors (though not that much w

Re: [NTG-context] MKIV and externaligure inside metafun

2009-08-28 Thread Mojca Miklavec
On Fri, Aug 28, 2009 at 17:36, Peter Rolf wrote: > > Hi Mojca, > > wrong colors (or what is the problem here)? On my machine \startMPcode externalfigure("filename.png"); \stopMPcode doesn't work in MKIV at all. On Hans' machine it generates weird colors (though not that much wrong). I can send y

Re: [NTG-context] MKIV and externaligure inside metafun

2009-08-28 Thread Peter Rolf
Mojca Miklavec schrieb: On Fri, Aug 28, 2009 at 16:22, Hans Hagen wrote: pdftex and luatex process your file ok OK, so it's again "my computer only" problem :) :) :) Well, never mind then. If it works for you then it probably works on at least a few more machines, or will start workin

Re: [NTG-context] MKIV and externaligure inside metafun

2009-08-28 Thread Hans Hagen
Mojca Miklavec wrote: I remember similar problem a while ago due to some transparency being used on the same page (but at that time you said it was a bug in adobe reader). i suspect that they use a different color renderer when extgstates are set -

Re: [NTG-context] MKIV and externaligure inside metafun

2009-08-28 Thread Mojca Miklavec
On Fri, Aug 28, 2009 at 16:22, Hans Hagen wrote: > > pdftex and luatex process your file ok OK, so it's again "my computer only" problem :) :) :) Well, never mind then. If it works for you then it probably works on at least a few more machines, or will start working with the next major release at

Re: [NTG-context] Using \startalign outside of math mode?

2009-08-28 Thread Aditya Mahajan
On Fri, 28 Aug 2009, Matthijs Kooijman wrote: Hi, I'm using a custom pretty printer to apply some formatting to a buffer. However, I'm not using a monospaced font, but some sans serif font to display the result. In the original text, I have some lines that are nicely aligned using leading space

Re: [NTG-context] Document info an pdfboxes (mkiv)

2009-08-28 Thread Peter Rolf
Hans Hagen schrieb: Peter Rolf wrote: Hi, currently the accuracy of the trimbox and cropbox breaks preflighting. While the mediabox is rounded to four numbers after the point, the other boxes have 11 numbers. Without the same rounding these boxes can be greater than the mediabox, which is no

Re: [NTG-context] Using \startalign outside of math mode?

2009-08-28 Thread Matthijs Kooijman
Hi all, >foo = bar >| baz it seems I found some sort of a solution. Using the \setwidthof I found at [1], I wrote the following: \def\setwidthof#1\to#2% {\bgroup \setbox\scratchbox\hbox{#1}% \expanded{\egroup\def\noexpand#2{\the\wd\scratchbox}}} foo = bar \setwidthof{fo

Re: [NTG-context] Document info an pdfboxes (mkiv)

2009-08-28 Thread luigi scarso
On Fri, Aug 28, 2009 at 1:04 PM, Hans Hagen wrote: > luigi scarso wrote: >>> >>> (btw, does it really break preflighting in full acrobat (as that is the >>> standard, i don't care that much about other preflighters)) >> >> PitStop of Enfocus > > well, why use them when acrobat has it built in? beca

[NTG-context] Using \startalign outside of math mode?

2009-08-28 Thread Matthijs Kooijman
Hi, I'm using a custom pretty printer to apply some formatting to a buffer. However, I'm not using a monospaced font, but some sans serif font to display the result. In the original text, I have some lines that are nicely aligned using leading spaces. For example: foo = bar | baz Obvious

Re: [NTG-context] MKIV and externaligure inside metafun

2009-08-28 Thread Hans Hagen
Mojca Miklavec wrote: Hello Hans, nothing urgent (I'm still on MKII), but it seems that MKIV (maybe only on my machine?) has problems with externalfigure("filename.png") maybe a library problem? Hans -

[NTG-context] MKIV and externaligure inside metafun

2009-08-28 Thread Mojca Miklavec
Hello Hans, nothing urgent (I'm still on MKII), but it seems that MKIV (maybe only on my machine?) has problems with externalfigure("filename.png") Mojca ___ If your question is of interest to others as well, plea

Re: [NTG-context] Command version of \em

2009-08-28 Thread Hans Hagen
Taco Hoekwater wrote: Matthijs Kooijman wrote: Hi all, is there any "command version" of \em, like there is for \bold and friends? I couldn't find such a command, but \definealternativestyle [emphasis] [\em] [] will define \emphasis{foo} analogous to \bold{foo}. i can add it but only

Re: [NTG-context] Document info an pdfboxes (mkiv)

2009-08-28 Thread Hans Hagen
luigi scarso wrote: (btw, does it really break preflighting in full acrobat (as that is the standard, i don't care that much about other preflighters)) PitStop of Enfocus and since i have neither of them on my machine i cannot test what they expect anyway -) Hans --

Re: [NTG-context] Document info an pdfboxes (mkiv)

2009-08-28 Thread Hans Hagen
luigi scarso wrote: (btw, does it really break preflighting in full acrobat (as that is the standard, i don't care that much about other preflighters)) PitStop of Enfocus well, why use them when acrobat has it built in? -

Re: [NTG-context] texexec with 2 processors?

2009-08-28 Thread Hans Hagen
Mojca Miklavec wrote: As Taco confirmed, it seem to run xetex and xdipdfmx in separate processes. another example is running luatex in a virtual machine using one cpu in which case some file/disk io is done by an other (due the layered disk handling) Hans -

Re: [NTG-context] texexec with 2 processors?

2009-08-28 Thread Xan
En/na Mojca Miklavec ha escrit: Well, yes. But you need to delegate a time consuming task A to processor 1 and another time consuming task B to processor 2 where both tasks need to be independent from each other and then you may join the results at the end, else you spend more resources for commu

Re: [NTG-context] Command version of \em

2009-08-28 Thread Taco Hoekwater
Matthijs Kooijman wrote: > Hi all, > > is there any "command version" of \em, like there is for \bold and friends? I couldn't find such a command, but \definealternativestyle [emphasis] [\em] [] will define \emphasis{foo} analogous to \bold{foo}. Best wishes, Taco _

Re: [NTG-context] Command version of \em

2009-08-28 Thread Wolfgang Schuster
Am 28.08.2009 um 11:49 schrieb Matthijs Kooijman: Hi all, is there any "command version" of \em, like there is for \bold and friends? I can write either \bold{foo} of {\bold foo}, but only {\em foo} and not \em{foo}. Is there any way to do this already, or should I just define \emph myse

Re: [NTG-context] texexec with 2 processors?

2009-08-28 Thread Mojca Miklavec
On Fri, Aug 28, 2009 at 10:26, Xan wrote: > En/na Mojca Miklavec ha escrit: >> >> >> You cannot start processing page 500 before you know where page 499 >> wil end. TeX is not really a kind of application where you would gain >> a lot by parallelization. And honestly, I don't remember seing many >>

[NTG-context] Command version of \em

2009-08-28 Thread Matthijs Kooijman
Hi all, is there any "command version" of \em, like there is for \bold and friends? I can write either \bold{foo} of {\bold foo}, but only {\em foo} and not \em{foo}. Is there any way to do this already, or should I just define \emph myself or something like that? Gr. Matthijs signature.asc De

Re: [NTG-context] Document info an pdfboxes (mkiv)

2009-08-28 Thread luigi scarso
> (btw, does it really break preflighting in full acrobat (as that is the > standard, i don't care that much about other preflighters)) PitStop of Enfocus -- luigi ___ If your question is of interest to others as well

Re: [NTG-context] Document info an pdfboxes (mkiv)

2009-08-28 Thread Hans Hagen
Peter Rolf wrote: Hi, currently the accuracy of the trimbox and cropbox breaks preflighting. While the mediabox is rounded to four numbers after the point, the other boxes have 11 numbers. Without the same rounding these boxes can be greater than the mediabox, which is not valid. /MediaBox

Re: [NTG-context] Errors on making lua documentation

2009-08-28 Thread Hans Hagen
luigi scarso wrote: The #1 argument of find(find,"%S") is find , which is a function, while should be a string, ie maybe something like function string:is_empty() return not find(self,"%S") end indeed; fixed -

[NTG-context] Document info an pdfboxes (mkiv)

2009-08-28 Thread Peter Rolf
Hi, currently the accuracy of the trimbox and cropbox breaks preflighting. While the mediabox is rounded to four numbers after the point, the other boxes have 11 numbers. Without the same rounding these boxes can be greater than the mediabox, which is not valid. /MediaBox [0 0 612.2835 858.8

Re: [NTG-context] texexec with 2 processors?

2009-08-28 Thread Xan
En/na Mojca Miklavec ha escrit: You cannot start processing page 500 before you know where page 499 wil end. TeX is not really a kind of application where you would gain a lot by parallelization. And honestly, I don't remember seing many applications using both cores. (Plus: I'm happy if othe

Re: [NTG-context] texexec with 2 processors?

2009-08-28 Thread luigi scarso
On Fri, Aug 28, 2009 at 9:15 AM, Taco Hoekwater wrote: > luigi scarso wrote: >>> >>> You cannot start processing page 500 before you know where page 499 >>> wil end.  [] > >> Hm, not so sure. Think for example to a book with 3 chapters, and you >> know at priori that there are not relations > > The

Re: [NTG-context] texexec with 2 processors?

2009-08-28 Thread Taco Hoekwater
luigi scarso wrote: You cannot start processing page 500 before you know where page 499 wil end. [] Hm, not so sure. Think for example to a book with 3 chapters, and you know at priori that there are not relations The root of the problem is that because TeX is a programming language as well