Re: [NTG-context] Interactive slides---hidden field on every page

2007-09-17 Thread Peter Rolf
Michal Kvasnička schrieb: Good morning or whatever you have now in Europe. It seems that my mail have come to the list, so I dare to repost it: sometimes the only way to get an answer :) I'm preparing my slides. Every slide is divided to three parts (backgrounds): text, header, and

Re: [NTG-context] Completelistoffigures, help needed!

2007-09-28 Thread Peter Rolf
G.C.H.M. Verhaag schrieb: Dear ConTeXt Users, Thanks to those that contributed to this thread! The code \setupcaption[figure][distance=\zeropoint] \defineconversion[gobble][\gobbleoneargument] \setupnumber[figure][conversion=gobble] \setuplabeltext[figure=] just did the trick, but I

Re: [NTG-context] standardmakeup, frontmatter, bodymatter page numbering

2007-10-03 Thread Peter Rolf
Mojca Miklavec schrieb: Hello, I have a document consisting of title page, some introduction which should have pages numbered with roman numerals, and finally the real content \setuphead[subject][page=odd,style=\ss\bfb] \setuppagenumbering[location=] \starttext \startstandardmakeup

Re: [NTG-context] standardmakeup, frontmatter, bodymatter page numbering

2007-10-03 Thread Peter Rolf
Mojca Miklavec schrieb: On 10/3/07, Peter Rolf [EMAIL PROTECTED] wrote: Mojca Miklavec schrieb: Hello, I have a document consisting of title page, some introduction which should have pages numbered with roman numerals, and finally the real content \setuphead[subject][page=odd,style=\ss

Re: [NTG-context] Hiding PDF-Layer

2007-10-09 Thread Peter Rolf
Hi Wolfgang, Wolfgang Schuster schrieb: Hi, I want to include PDF layers in document and the should be hidden by default, the current behaviour is to show all layers I defined in my document and this should be later by the user and not when I open the file. The following shortened

Re: [NTG-context] need help with creating a grid with context

2007-10-10 Thread Peter Rolf
Hi Peter, MASON Peter J schrieb: I'm trying to layout a grid of bullets. The results isn't the expected one. Perhaps someone could offer help here? Thanks. Here's the sort of thing I'm doing \setuplayout[leftmargin=0pt, leftmargindistance=0pt, backspace=0pt, rightmargin=0pt,

Re: [NTG-context] Hiding PDF-Layer

2007-10-10 Thread Peter Rolf
Wolfgang Schuster schrieb: 2007/10/9, Peter Rolf [EMAIL PROTECTED]: Hi Wolfgang, Wolfgang Schuster schrieb: Hi, I want to include PDF layers in document and the should be hidden by default, the current behaviour is to show all layers I defined in my document and this should be later

Re: [NTG-context] Compatiblity option in pdf

2007-10-22 Thread Peter Rolf
Hi John, John Culleton schrieb: I created a short document http://wexfordpress.com/tex/shortlist.pdf using Context and with a clickable TOC and one thumbnail. The thumbnail was created with the Han The Thanh pdftex macro code I mentioned recently. Some thumbnail or bookmark ? users view

Re: [NTG-context] natural table splitting bug

2007-10-26 Thread Peter Rolf
Hi Michael, Santy, Michael schrieb: In our XML-ConTeXt-PDF workflow, we've encountered a few intermittent problems when using split natural tables. I'm not able to post the original documents in which the problems are manifesting, but below is a document that reproduces one of the problems.

Re: [NTG-context] Getting the default pdf fonts working on texlive 2007

2007-10-26 Thread Peter Rolf
Hi Berend, Berend de Boer schrieb: [..] Very weirdly it uses some lm fonts. It actually makes no difference if I use ADOBEkw or URWkb in updmap.cfg. So I'm concluding that context doesn't use updmap.cfg anymore, is that right? it's no longer in the minimal distribution, so you must be right

Re: [NTG-context] Semi-transparent banners for a cover.

2007-10-28 Thread Peter Rolf
Hi John, John Culleton schrieb: A project specifies that for the cover of a brochure there be a photograph as the background (doable in Context), and semi-transparent rectangles across the page highlighting the various strings of text. The rectangles darken but do not completely block out

Re: [NTG-context] The easiest way to get jpeg output?

2007-10-29 Thread Peter Rolf
[EMAIL PROTECTED] schrieb: Hello, I need transform some presentation into series of jpeg files. Is it possible directly from ConTeXt or I have to use some external tools for conversion? What is the easiest way in any case? use ghostview/ghostscript to convert your pdf presentation

Re: [NTG-context] natural table splitting problems

2007-10-29 Thread Peter Rolf
Santy, Michael schrieb: In our XML-ConTeXt-PDF workflow, we've encountered a few intermittent problems when using split natural tables. I'm not able to post the original documents in which the problems are manifesting, but below is a document that reproduces one of the problems. The first

Re: [NTG-context] natural table splitting problems

2007-10-30 Thread Peter Rolf
Santy, Michael schrieb: Thanks Peter for the pointer to the multipage table in the wiki. I don't know how I overlooked that example. However, I was still able to duplicate the problem with this sample table by including a page full of text before the table (see below). If the dorecurse

Re: [NTG-context] natural table splitting problems

2007-10-31 Thread Peter Rolf
Santy, Michael schrieb: The same as in my first reply. Look at the first page with the text only. There isn't a space behind the sentence(s) and TeX can't break the paragraph (text expands it's lower border). This also breaks the splitting of the table, as it is (partly) on the same page.

Re: [NTG-context] natural table splitting problems

2007-10-31 Thread Peter Rolf
...just some further tests. i was wrong, as there is no table breaking without the \placetable[split] option. seems my command reference is outdated :( if you don't use \placetable at all, things work again. so there must be some vspace mess with the splitting option of placetable and the one of

Re: [NTG-context] natural table splitting problems

2007-10-31 Thread Peter Rolf
Santy, Michael schrieb: Peter, There definitely seems to be something wrong with the splitting behavior, but I'm able to illustrate the same problem regardless of whether its wrapped in a \placetable (see example below). From my experiments, wrapping a table in placetable didn't seem to

Re: [NTG-context] natural table splitting problems

2007-10-31 Thread Peter Rolf
Hans Hagen schrieb: Santy, Michael wrote: have you tried this with your 'real world' documents? Peter, Although adding the \blank didn't fix the table splitting on this contrived document, it actually seems to fix the problem on the few real world documents that have shown this behavior.

Re: [NTG-context] table layout

2007-11-06 Thread Peter Rolf
Hi Wolfgang, what a nice 'minimal' example :) I'm no table expert, not even an experienced table user. Anyhow, I think that table is the best choice here. Aside from the bad placing of the horizontal rules, all is working. This is much more than you can say from the other candidates. How about

Re: [NTG-context] table layout

2007-11-07 Thread Peter Rolf
Wolfgang Schuster schrieb: Hi Peter, your solution would be really a option but I hope the real bugs will be fixed, I see :) So things could be worse. You have - a workaround (?) - a complete minimal description/example of the problem (as starting point for Hans) - some good

[NTG-context] rotate bug?

2007-11-09 Thread Peter Rolf
Hi, This morning I used \rotate to correct some slightly sloped graphics and noticed a weird behavior. In case of the rotation angle interval (-1,0) the negative sign is simply ignored, so the rotation goes to the opposite direction. Donno if negative values for the rotation angle are allowed

Re: [NTG-context] table layout

2007-11-09 Thread Peter Rolf
, Peter Rolf [EMAIL PROTECTED]: Wolfgang Schuster schrieb: Hi Peter, your solution would be really a option but I hope the real bugs will be fixed, I see :) So things could be worse. You have - a workaround (?) - a complete minimal description/example of the problem (as starting point

Re: [NTG-context] page backgrounds

2007-11-13 Thread Peter Rolf
Hi Olivier, olivier Turlier schrieb: Hi everybody, I try to draw several metapost page backgrounds (code found at http://melusine.eu.org/syracuse/poulecl/divers/papiers/ ) for manual sketchs on A4 paper. Obviously, it does'nt work, and I don't know why. TIA for any answers. Not so short

Re: [NTG-context] rotate bug?

2007-11-14 Thread Peter Rolf
Hans Hagen schrieb: Peter Rolf wrote: Hi, This morning I used \rotate to correct some slightly sloped graphics and noticed a weird behavior. In case of the rotation angle interval (-1,0) the negative sign is simply ignored, so the rotation goes to the opposite direction. Donno if negative

Re: [NTG-context] rotate bug?

2007-11-14 Thread Peter Rolf
Taco Hoekwater schrieb: Hans Hagen wrote: Peter Rolf wrote: Hi, This morning I used \rotate to correct some slightly sloped graphics and noticed a weird behavior. In case of the rotation angle interval (-1,0) the negative sign is simply ignored, so the rotation goes to the opposite

[NTG-context] gettimeofday under XP

2007-12-06 Thread Peter Rolf
Hi, I run into the following error with the new version: 'luatools --generate' results in Error in lua file loading: r:\tex\texmf-mswin\bin\luatools.lua:1402: attempt to call field 'gettimeofday' (a nil value) There seems to be no 'os.gettimeofday' under Windows XP. This patch of luatools.lua

Re: [NTG-context] gettimeofday under XP

2007-12-06 Thread Peter Rolf
Arthur Reutenauer schrieb: Error in lua file loading: r:\tex\texmf-mswin\bin\luatools.lua:1402: attempt to call field 'gettimeofday' (a nil value) Your LuaTeX is too old. Take yesterday's beta (0.20). mhh, I already use this version in my minimal installation. There is no doubt about it.

Re: [NTG-context] gettimeofday under XP

2007-12-06 Thread Peter Rolf
Taco Hoekwater schrieb: Peter Rolf wrote: Arthur Reutenauer schrieb: Error in lua file loading: r:\tex\texmf-mswin\bin\luatools.lua:1402: attempt to call field 'gettimeofday' (a nil value) Your LuaTeX is too old. Take yesterday's beta (0.20). mhh, I already use this version in my

Re: [NTG-context] gettimeofday under XP

2007-12-06 Thread Peter Rolf
Taco Hoekwater schrieb: Peter Rolf wrote: Taco Hoekwater schrieb: Peter Rolf wrote: Arthur Reutenauer schrieb: Error in lua file loading: r:\tex\texmf-mswin\bin\luatools.lua:1402: attempt to call field 'gettimeofday' (a nil value) Your LuaTeX is too old. Take yesterday's beta (0.20

Re: [NTG-context] Unwanted information in PDF files

2007-12-12 Thread Peter Rolf
Maurí­cio schrieb: Hi, After generating a PDF from a .tex file, I changed the name of the resulting PDF to something else. But when I open that file in 'evince', it still shows the old file name. I opened that file in emacs in saw that I lot of info is stored in the PDF file: original

Re: [NTG-context] LaTeX float pages in ConTeXt

2007-12-12 Thread Peter Rolf
Hi Michael, maybe this is a help http://archive.contextgarden.net/message/20070221.092820.718b7eb5.en.html untested, as I have no time.. Best wishes, Peter Santy, Michael schrieb: Thanks, Aditya. However, I'm don't think that \setupfloat[figure][default=here,top,bottom,page] addresses my

[NTG-context] color expansion at runtime

2007-12-14 Thread Peter Rolf
Hi, I desperately need runtime defined colors (state dependent) for my macros. The macros are used with different graphic styles, which is the reason why I want to avoid any style dependent part inside them. To give you an example. I need something like this

Re: [NTG-context] color expansion at runtime

2007-12-14 Thread Peter Rolf
Thomas A. Schmitz schrieb: On Dec 14, 2007, at 5:57 PM, Peter Rolf wrote: Hi, I desperately need runtime defined colors (state dependent) for my macros. The macros are used with different graphic styles, which is the reason why I want to avoid any style dependent part inside them

Re: [NTG-context] color expansion at runtime

2007-12-15 Thread Peter Rolf
Wolfgang Schuster schrieb: 2007/12/14, Peter Rolf [EMAIL PROTECTED]: Hi, I desperately need runtime defined colors (state dependent) for my macros. The macros are used with different graphic styles, which is the reason why I want to avoid any style dependent part inside them. To give you

Re: [NTG-context] color expansion at runtime

2007-12-17 Thread Peter Rolf
Taco Hoekwater schrieb: Peter Rolf wrote: I have written such a macro, but sadly it crashes when used inside \color or \definecolor. Tried to debug it, but this is my first experience with the trace commands (probably not the best example to start with). Sigh, still so much to learn

[NTG-context] lost colors (mkiv)

2007-12-25 Thread Peter Rolf
Hi, can anyone with an actual *luatex* test, if this fails (live ConTeXt is broken). My binaries are from the minimals at contextgarden (pragma tree), ConTeXt is the latest beta. \setupcolors[state=start] \starttext \newbox\TESTbox \setbox\TESTbox\hbox{Silence is sexy.}

Re: [NTG-context] conditionals and font switches

2007-12-25 Thread Peter Rolf
Idris Samawi Hamid schrieb: Dear gang, Consider a control sequence \MyCS. It has three possible definitions: \def\MyCS{def1}, \def\MyCS{def2}, \def\MyCS{def3} What I would like is to define \MyCS once such that def1 takes effect when \tf is invoked def2 takes effect when \it is

Re: [NTG-context] lost colors (mkiv)

2007-12-27 Thread Peter Rolf
Hans Hagen schrieb: Peter Rolf wrote: Hi, can anyone with an actual *luatex* test, if this fails (live ConTeXt is broken). My binaries are from the minimals at contextgarden (pragma tree), ConTeXt is the latest beta. if you consider how color is implemented, this is actually not a bug i

[NTG-context] bug in \doattributed[box|copy]

2007-12-30 Thread Peter Rolf
Hi, compilation still breaks in case of a vbox. Minimal example attached. Best wishes and a happy new year, Peter - Among the maxims on Lord Naoshige's wall there was this one: Matters of great concern should be treated lightly.

Re: [NTG-context] Bug: Messy results when using table in head and multi-page tables in text

2008-01-21 Thread Peter Rolf
Hi Carsten, I'm not quite sure if this is a help (was just playing around with it while watching snooker). I had to clear|redefine the table head|tail in the page head (or is this intended?). There are still some unwanted vertical offsets above|below the page head. If you use a hbox instead

Re: [NTG-context] Bug: Messy results when using table in head and multi-page tables in text

2008-01-21 Thread Peter Rolf
Peter Rolf schrieb: Hi Carsten, I'm not quite sure if this is a help (was just playing around with it while watching snooker). I had to clear|redefine the table head|tail in the page head (or is this intended?). There are still some unwanted vertical offsets above|below the page head

Re: [NTG-context] Numbers in Tables

2008-01-30 Thread Peter Rolf
Bart Wise schrieb: The code below defines a number and then on each row, displays then increments the number. The number is defined and reset to 0 before the table is declared. However, when the number is displayed in the table, it's not zero as expected, but some other number (usually

[NTG-context] missing MP shading

2008-01-30 Thread Peter Rolf
hi list, i have some problems with reusing a picture in mp. the shading is missing, if the picture is shifted to another position (see minimal example). any help welcome. [program versions: the latest, the greatest..] greetings, peter \setuppagenumber[state=stop] \setupcolors[state=start]

Re: [NTG-context] missing MP shading

2008-01-30 Thread Peter Rolf
Mojca Miklavec schrieb: On Jan 30, 2008 1:55 PM, Peter Rolf wrote: hi list, i have some problems with reusing a picture in mp. the shading is missing, if the picture is shifted to another position (see minimal example). any help welcome. Hans mentions this problem in the MP manual, I

Re: [NTG-context] halfline broken

2008-02-05 Thread Peter Rolf
Hi Steffen, Steffen Wolfrum schrieb: Since context version: 2008.01.28 up to now there is an error when running the file attached below: ! Undefined control sequence. \dodosetupwhitespace ...g \witruimteflexibelfalse \ctxparskip 1

Re: [NTG-context] ConTeXt logo with cows

2008-02-05 Thread Peter Rolf
Hi Mojca, Mojca Miklavec schrieb: Hello Taco (or other cow fans), What's the easiest way to get the ConTeXt logo with the cow font (possibly in mkiv, but not neccessary)? Do I need to use low-level (Lua) or is there already some kind of \getglyph{C_o_n_T_e_X_t} already available? I

[NTG-context] beta: image inclusion from xml database broken in mkiv

2008-02-08 Thread Peter Rolf
Hi Hans, can you have a look at the image inclusion from xml databases in mkiv? Compilation breaks, saying that it couldn't find the corrosponding libname.xml file. No problems with mkii. If you can't reproduce this with one of your figure databases, I can make a minimal example. Best wishes,

Re: [NTG-context] new mkiv beta

2008-03-02 Thread Peter Rolf
Hans Hagen schrieb: Hi, I uploaded a beta release. The biggest change is that image inclusion in mkiv has changed. Currently it's still some mix of tex and lua code, and the backend code is somewhat messy (and not complete yet) but it's a first step towards lua doing things. This will

[NTG-context] multiple pattern with xmltools.rb

2008-03-03 Thread Peter Rolf
Hi, I tried several variants to use multiple pattern with xmltool. None of them worked and looking in the script didn't help either (me_no_ruby). A (not working) example: xmltools.rb --dir --pattern={*.png,*.jpg} --output=filelist.xml I need the filelist as base for the creation of a resource

Re: [NTG-context] multiple pattern with xmltools.rb

2008-03-03 Thread Peter Rolf
Hans Hagen schrieb: Peter Rolf wrote: Hi, I tried several variants to use multiple pattern with xmltool. None of them worked and looking in the script didn't help either (me_no_ruby). A (not working) example: xmltools.rb --dir --pattern={*.png,*.jpg} --output=filelist.xml I need

[NTG-context] internal data structure of xml files in mkiv

2008-03-05 Thread Peter Rolf
Hi, just wondering. What is the meaning of the separating strings (\13\ ...) between elements? First I thought they were introduced by table.serialize. But trying to index elements showed that they are part of the format. t={ [at]={}, [dt]={ {

Re: [NTG-context] internal data structure of xml files in mkiv

2008-03-05 Thread Peter Rolf
Taco Hoekwater schrieb: Peter Rolf wrote: Hi, just wondering. What is the meaning of the separating strings (\13\ ...) between elements? First I thought they were introduced by table.serialize. But trying to index elements showed that they are part of the format. At a guess, I would

Re: [NTG-context] unable to make format after upgrade

2008-03-10 Thread Peter Rolf
zs schrieb: Hi all, I tried to update my installation using svn version of luatex and context from: http://mirror.contextgarden.net/context/beta/cont-tmf.zip this looks like the beta from 04.03.2008. you need the latest luatex binaries (0.22.1) for it to run. look at

Re: [NTG-context] New context release

2008-03-11 Thread Peter Rolf
Taco Hoekwater schrieb: luigi scarso wrote: New official release http://www.pragma-ade.com/download-1.htm (yes, I'm not sleeping...:) ) Mkiv fans should wait for the new luatex beta. your hint comes too late ;) also (as a reminder): figure library support in mkiv is still in the 'pre

[NTG-context] figure libraries (mkiv)

2008-03-18 Thread Peter Rolf
Hi Hans, Looks like I'm the only one using resource libs. I have tried to solve the problem with figure inclusion, but my lua is still too bad (coroutines). At least I have found the place where things go wrong. function figures.bases.find(basename,askedlabel) [..] if base[2] and

Re: [NTG-context] figure libraries (mkiv)

2008-03-20 Thread Peter Rolf
Hans Hagen schrieb: Peter Rolf wrote: Hi Hans, Looks like I'm the only one using resource libs. I have tried to solve the problem with figure inclusion, but my lua is still too bad (coroutines). At least I have found the place where things go wrong. function figures.bases.find(basename

Re: [NTG-context] old cont-tmf.zip

2008-03-25 Thread Peter Rolf
Hans van der Meer schrieb: I am looking for a few cont-tmf.zip versions dating before july 7, 2007. I tried to find the archive on the contextgarden and the pragma site but was unable to spot their location. Can someone give me the address? Thanks in advance. looks like it has been moved

Re: [NTG-context] more xml in mkiv

2008-03-25 Thread Peter Rolf
Thomas A. Schmitz schrieb: On Mar 25, 2008, at 1:42 PM, Wolfgang Schuster wrote: On Tue, Mar 25, 2008 at 1:17 PM, Thomas A. Schmitz [EMAIL PROTECTED] wrote: On Mar 24, 2008, at 11:34 PM, Hans Hagen wrote: works here, just to be sure i uploaded a new current Hans Thanks Hans! You're right;

Re: [NTG-context] more xml in mkiv

2008-03-25 Thread Peter Rolf
Thomas A. Schmitz schrieb: On Mar 25, 2008, at 3:38 PM, Peter Rolf wrote: your original example works here too. today's context and latest luatex. hth, peter Wait wait wait ... you mean you get correct output with the example I posted in this thread? In that case, I'm completely baffled

Re: [NTG-context] more xml in mkiv

2008-03-25 Thread Peter Rolf
Thomas A. Schmitz schrieb: On Mar 25, 2008, at 4:36 PM, Peter Rolf wrote: Wait wait wait ... you mean you get correct output with the example I posted in this thread? In that case, I'm completely baffled, because I get something like this see yourself and beleave ;) i belIEve my

Re: [NTG-context] (no subject)

2008-03-25 Thread Peter Rolf
Hi Horacio, Horacio Suarez schrieb: Hello all, I have a stupid cuestion: I´m making a long 12 pages table. I´m using \setupfootertexts for the pagenumber. I don´t want page numbers in the header at all. header=hight or header=empty in the \title setup is not enough, I still have a

Re: [NTG-context] how to supress headers

2008-03-25 Thread Peter Rolf
Horacio Suarez schrieb: Thankyou Peter. Sorry, I forgot the subject. I have already looked at http://wiki.contextgarden.net/Headers_and_Footers Now in \setuplayout I use header=0cm and the header is not visible. Not so elegant. There should be a better solution. \setupheadertexts[]

Re: [NTG-context] how to supress headers

2008-03-26 Thread Peter Rolf
Horacio Suarez schrieb: hello: Peter: I was triying and the problem are because the titles are inside a table. The same text outside and inside a table gives different results: I see. Better use the special TABLE title macros for that (there is a reason why they are there). Working(at

Re: [NTG-context] new version luatex / mkiv

2008-04-10 Thread Peter Rolf
Hans Hagen schrieb: Hi, There is a new version of luatex and mkiv. You need to update them together. The best place to get them is the contextgarden (which will probably have the new versions pretty soon). This release of is rather substantial: no longer is metaposts called, but

Re: [NTG-context] bug in mplib?

2008-04-14 Thread Peter Rolf
Hi Thomas, Thomas A. Schmitz schrieb: Hi all, I just noticed that with the new incarnation of metapost, arrows behave somewhat erratically. Take this minmal example: \starttext \startuseMPgraphic{arrowtest} z1=(0,0) ; z2=(3cm,0) ; ahlength := 15pt ; pickup pencircle scaled 5pt ;

Re: [NTG-context] graphictext broken

2008-04-19 Thread Peter Rolf
Hans Hagen schrieb: Peter Rolf wrote: Hi, this doesn't work any more (mkii and mkiv). Same error on live.contextgarden. I use pstoedit3.45 (updated today from 3.44) and the latest context/luatex. i uploaded a beta; from now on mpenvironments are only passed to graphictexts because

Re: [NTG-context] graphictext broken

2008-04-19 Thread Peter Rolf
Hans Hagen schrieb: Peter Rolf wrote: just tested. mkii still stops with the following error ah, there is some code commented (left over from test) report error: ! Extra tokens will be flushed. to be read again withdrawcolor * ...:=5; graphictext \ONEfont 1

[NTG-context] some more graphictext

2008-04-22 Thread Peter Rolf
Hi, graphictext still doesn't work as expected. I get a correct pdf with mkiv; with mkii the '1' is totally missing. Live ConTeXt currently fails in both cases (luatex 0.25.2 there). I have even some more problems with the desired font (Arial, T1), as mkiv creates a broken pdf here (mtxrun is

Re: [NTG-context] some more graphictext

2008-04-26 Thread Peter Rolf
wishes, Peter Peter Rolf schrieb: Hi, graphictext still doesn't work as expected. I get a correct pdf with mkiv; with mkii the '1' is totally missing. Live ConTeXt currently fails in both cases (luatex 0.25.2 there). I have even some more problems with the desired font (Arial, T1), as mkiv

Re: [NTG-context] Standalone chart

2008-04-26 Thread Peter Rolf
David Arnold schrieb: All, I am trying to make a standalone chart, a single graphic to be included in a Latex file by a student. I have: %%% \startMPinclusions \usemodule[chart] \setupFLOWcharts [option=test, nx=4, ny=3, dx=2\bodyfontsize, dy=2\bodyfontsize,

Re: [NTG-context] some more graphictext

2008-04-27 Thread Peter Rolf
Hans Hagen schrieb: Peter Rolf wrote: **push** this problem is not solved in todays beta. pdftex still fails (only works if you run luatex first, so it can use the temp pdf). btw: can you make nofshades (local in mlib-pps.lua) accessible? i finished my first mlib special and need

[NTG-context] withshade (mlib)

2008-04-28 Thread Peter Rolf
Hi, there are some problems in combination with the 'withshade' operator in mlib. this must be patched in mp-mlib.mp (':=' instead of '='; too much lua ;) vardef define_circular_shade (expr a, b, ra, rb, ca, cb) = _defined_cs_ := _defined_cs_ + 1 ; _defined_cs_pre_ [_defined_cs_] :=

Re: [NTG-context] withshade (mlib)

2008-04-28 Thread Peter Rolf
Hans Hagen schrieb: Peter Rolf wrote: Hi, there are some problems in combination with the 'withshade' operator in mlib. this must be patched in mp-mlib.mp (':=' instead of '='; too much lua ;) indeed i still get an error after this patch, because '_defined_cs_' is not increased

Re: [NTG-context] withshade (mlib)

2008-05-06 Thread Peter Rolf
Peter Rolf schrieb: Hans Hagen schrieb: Peter Rolf wrote: Hi, there are some problems in combination with the 'withshade' operator in mlib. this must be patched in mp-mlib.mp (':=' instead of '='; too much lua ;) indeed i still get an error after this patch, because '_defined_cs_

Re: [NTG-context] withshade (mlib)

2008-05-08 Thread Peter Rolf
Hans Hagen schrieb: Peter Rolf wrote: vardef define_linear_shade (expr a, b, ca, cb) = hide (_defined_cs_ := _defined_cs_ + 1 ; _defined_cs_pre_ [_defined_cs_] := ls ; _defined_cs_post_[_defined_cs_] := 0 1 decimal shadefactor colordecimals ca

[NTG-context] mlib broken

2008-05-13 Thread Peter Rolf
Hi, just tested the newest context release. Sadly mlib seems to be broken (no output). Same result on 'context live' with % engine=luatex \setupcolors[state=start] \starttext \null \startMPcode fill unitsquare xyscaled(10cm,1cm) withcolor red; \stopMPcode \stoptext Peter

Re: [NTG-context] mlib broken

2008-05-13 Thread Peter Rolf
Thomas A. Schmitz schrieb: On May 13, 2008, at 2:47 PM, Hans Hagen wrote: i fixed it i also added support for \SS - SS but i only added an entry for this one character; new keys in char-def are: uccodes and lccodes; this is only supported in luatex i wonder what is broken now -) Hans

[NTG-context] figure not found box (mkiv)

2008-05-13 Thread Peter Rolf
Hi, one problem fixed, the next one is knocking on the door. This must be the definition of a lucky man ;) Can anybody try the following code? Mhh, no problems on 'context live' (luatex 0.25.2). % engine=luatex \starttext \externalfigure[notfound.png] \stoptext results here in [..] !

Re: [NTG-context] figure not found box (mkiv)

2008-05-13 Thread Peter Rolf
Thomas A. Schmitz schrieb: On May 13, 2008, at 4:56 PM, Peter Rolf wrote: Hi, one problem fixed, the next one is knocking on the door. This must be the definition of a lucky man ;) Can anybody try the following code? Mhh, no problems on 'context live' (luatex 0.25.2). Nope, no problem

Re: [NTG-context] figure not found box (mkiv)

2008-05-13 Thread Peter Rolf
Peter Rolf schrieb: Thomas A. Schmitz schrieb: On May 13, 2008, at 4:56 PM, Peter Rolf wrote: Hi, one problem fixed, the next one is knocking on the door. This must be the definition of a lucky man ;) Can anybody try the following code? Mhh, no problems on 'context live' (luatex 0.25.2

Re: [NTG-context] luatex trunk broken (Re: figure not found box (mkiv))

2008-05-15 Thread Peter Rolf
Taco Hoekwater schrieb: Hi guys, Hans Hagen wrote: now the news - no problems with the 0.25.3 release stick to that release, there is a serious bug someplace in later versions Thanks for the nice small test file :-) you're welcome Just in case there are any people who have not

Re: [NTG-context] figure not found box (mkiv)

2008-05-16 Thread Peter Rolf
Taco Hoekwater schrieb: Peter Rolf wrote: Hi, one problem fixed, the next one is knocking on the door. This must be the definition of a lucky man ;) Can anybody try the following code? Mhh, no problems on 'context live' (luatex 0.25.2). This bug (and the stability problem with TRUNK

[NTG-context] some minor problems (mkiv)

2008-05-16 Thread Peter Rolf
hi, i'm still trying to make my code run with mkiv. here are two minor problems. the first one is easy to deal with, but the second one currently breaks my testbed. % engine=luatex \setupcolors[state=start] \starttext \startMPcode label(no color,origin) withcolor red; % always black

Re: [NTG-context] some minor problems (mkiv)

2008-05-16 Thread Peter Rolf
Taco Hoekwater schrieb: Peter Rolf wrote: hi, i'm still trying to make my code run with mkiv. here are two minor problems. the first one is easy to deal with, but the second one currently breaks my testbed. % engine=luatex \setupcolors[state=start] \starttext \startMPcode label

Re: [NTG-context] some minor problems (mkiv)

2008-05-16 Thread Peter Rolf
Wolfgang Schuster schrieb: On Fri, May 16, 2008 at 1:12 PM, Peter Rolf [EMAIL PROTECTED] wrote: hi, i'm still trying to make my code run with mkiv. here are two minor problems. the first one is easy to deal with, but the second one currently breaks my testbed. % engine=luatex

[NTG-context] inclusion from image database broken (mkii+mkiv)

2008-05-20 Thread Peter Rolf
hi, when i try to include an image from one of my databases i get the following error messages: mkii: !pdfTeX error: pdftex.exe (file ./lib/test-db.pdf): xpdf: reading PDF image failed (0) == Fatal error occurred, no output PDF file produced! mkiv: !luaTeX error: xpdf: reading PDF image

Re: [NTG-context] inclusion from image database broken (mkii+mkiv)

2008-05-20 Thread Peter Rolf
Wolfgang Schuster schrieb: On Tue, May 20, 2008 at 11:10 AM, Peter Rolf [EMAIL PROTECTED] wrote: hi, when i try to include an image from one of my databases i get the following error messages: mkii: !pdfTeX error: pdftex.exe (file ./lib/test-db.pdf): xpdf: reading PDF image failed (0

Re: [NTG-context] inclusion from image database broken (mkii+mkiv)

2008-05-20 Thread Peter Rolf
Hans Hagen schrieb: Peter Rolf wrote: hi, when i try to include an image from one of my databases i get the following error messages: mkii: !pdfTeX error: pdftex.exe (file ./lib/test-db.pdf): xpdf: reading PDF image failed (0) == Fatal error occurred, no output PDF file produced

Re: [NTG-context] inclusion from image database broken (mkii+mkiv)

2008-05-20 Thread Peter Rolf
luigi scarso schrieb: i can make a minimal example(100kb), so you can look into it when you have time. there are still problems with clipping in mkiv, but my first try to create a breaking minimal failed. so far db problems and clipping in mkiv are the only issues left (rest looks pretty

Re: [NTG-context] inclusion from image database broken (mkii+mkiv)

2008-05-20 Thread Peter Rolf
Peter Rolf schrieb: luigi scarso schrieb: i can make a minimal example(100kb), so you can look into it when you have time. there are still problems with clipping in mkiv, but my first try to create a breaking minimal failed. so far db problems and clipping in mkiv are the only issues left

[NTG-context] The cat was too long (mkiv)

2008-05-21 Thread Peter Rolf
hi, 'minimal' example for clipping bug in mkiv: % engine=luatex \starttext \setbox\scratchbox\hbox{The cat was too long to fit in this small sentence.} \framed[offset=overlay]{\clip[width=110pt,height=20pt]{\box\scratchbox}} \stoptext final text should be The cat was too long. mkii does it

Re: [NTG-context] The cat was too long (mkiv)

2008-05-21 Thread Peter Rolf
Hans Hagen schrieb: Peter Rolf wrote: hi, 'minimal' example for clipping bug in mkiv: % engine=luatex \starttext \setbox\scratchbox\hbox{The cat was too long to fit in this small sentence.} \framed[offset=overlay]{\clip[width=110pt,height=20pt]{\box\scratchbox}} \stoptext final text

[NTG-context] clipping bug [or the return of the long cat]

2008-05-22 Thread Peter Rolf
hi, this time fully 'context live' approved, only with natural ingredients and even more tasty. yummy yum :D % engine=luatex \starttext \definelayer[stack] \setlayer[stack][x=0pt,y=0pt]{% \clip[hoffset=0pt,voffset=0pt,width=20cm,height=1cm]% {Clipping some layer text}} %\flushlayer[stack]

Re: [NTG-context] clipping bug [or the return of the long cat]

2008-06-09 Thread Peter Rolf
* PUSH * still not fixed. Peter Rolf schrieb: hi, this time fully 'context live' approved, only with natural ingredients and even more tasty. yummy yum :D % engine=luatex \starttext \definelayer[stack] \setlayer[stack][x=0pt,y=0pt]{% \clip[hoffset=0pt,voffset=0pt,width=20cm

Re: [NTG-context] clipping bug [or the return of the long cat]

2008-06-10 Thread Peter Rolf
Hans Hagen schrieb: meta-ini.mkiv \def\grabMPclippath#1#2#3#4#5% {\blabelgroup \edef\width {#3\space}\let\overlaywidth \width \edef\height{#4\space}\let\overlayheight\height \doifdefinedelse{MPC:#1} {\xdef\MPclippath{\getvalue{MPC:#1}}%

Re: [NTG-context] clipping bug [or the return of the long cat]

2008-06-10 Thread Peter Rolf
Hans Hagen schrieb: Peter Rolf wrote: Hans Hagen schrieb: meta-ini.mkiv \def\grabMPclippath#1#2#3#4#5% {\blabelgroup \edef\width {#3\space}\let\overlaywidth \width \edef\height{#4\space}\let\overlayheight\height \doifdefinedelse{MPC:#1} {\xdef\MPclippath{\getvalue

Re: [NTG-context] staticMPfigure

2008-06-10 Thread Peter Rolf
[EMAIL PROTECTED] schrieb: Hi, I get a different result. Using a fresh install (context-setup-mswin) on windows XP: !pdfTeX error: pdftex.exe (file ./test-center.pdf): xpdf: reading PDF image fai led (0) == Fatal error occurred, no output PDF file produced! See the added logfile.

Re: [NTG-context] staticMPfigure

2008-06-11 Thread Peter Rolf
[EMAIL PROTECTED] schrieb: On Tuesday 10 June 2008 16:18, Peter Rolf wrote: [EMAIL PROTECTED] schrieb: Hi, I get a different result. Using a fresh install (context-setup-mswin) on windows XP: !pdfTeX error: pdftex.exe (file ./test-center.pdf): xpdf: reading PDF image fai led (0

Re: [NTG-context] staticMPfigure

2008-06-11 Thread Peter Rolf
[EMAIL PROTECTED] schrieb: On Wednesday 11 June 2008 12:07, Peter Rolf wrote: [EMAIL PROTECTED] schrieb: On Tuesday 10 June 2008 16:18, Peter Rolf wrote: [EMAIL PROTECTED] schrieb: Hi, I get a different result. Using a fresh install (context-setup-mswin) on windows XP: !pdfTeX error

Re: [NTG-context] clipping bug [or the return of the long cat]

2008-06-11 Thread Peter Rolf
Hans Hagen schrieb: Peter Rolf wrote: Hans Hagen schrieb: Peter Rolf wrote: Hans Hagen schrieb: meta-ini.mkiv \def\grabMPclippath#1#2#3#4#5% {\blabelgroup \edef\width {#3\space}\let\overlaywidth \width \edef\height{#4\space}\let\overlayheight\height \doifdefinedelse{MPC

  1   2   3   4   5   6   7   8   9   >