Re: [NTG-context] MetaPost filesize

2010-03-06 Thread Peter Rolf
Am 06.03.2010 14:54, schrieb Troy Henderson: > I am writing because there appears to be a very large (i.e., > approximately a factor of 10) difference in filesizes of the same > MetaPost graphic generated in the following 2 ways > > (1) Including a common MetaPost source "common.mp" into a minimal

Re: [NTG-context] MetaPost bug? in MKIV

2010-03-02 Thread Peter Rolf
Am 02.03.2010 21:02, schrieb Troy Henderson: > When using > > \startMPinclusions >input graph; > \stopMPinclusions > > or not even including the MPinclusions at all (and thus not doing > `input graph;') seems to give the same result. The log of what > happens during the compile process is at

Re: [NTG-context] MetaPost bug? in MKIV

2010-03-02 Thread Peter Rolf
Am 02.03.2010 19:42, schrieb Peter Rolf: > Hi Troy, > > I don't have the graph.mp file, but I have seen similar errors here. I > guess if you change the lines into > > Gmargin.low:=-.07; > Gmargin.high:=1.07; > > things work again. Sorry, I can't reme

Re: [NTG-context] MetaPost bug? in MKIV

2010-03-02 Thread Peter Rolf
Hi Troy, I don't have the graph.mp file, but I have seen similar errors here. I guess if you change the lines into Gmargin.low:=-.07; Gmargin.high:=1.07; things work again. Sorry, I can't remember the reason why equations cause trouble in mplib. But I'm quite sure that this is only an incompatib

Re: [NTG-context] MkIV gray, no MkII black ?

2010-03-01 Thread Peter Rolf
Hi Steffen, Am 01.03.2010 13:41, schrieb Steffen Wolfrum: > Hi, > > in MkII I set \setupcolors[state=start] to activate defined colors (for text, > numbers etc.), > and \setupcolors[state=stop] to set these colors to black. > > Now, in MkIV \setupcolors[state=stop] does set these colors to gray.

Re: [NTG-context] Cut marks + alignment marks

2010-02-17 Thread Peter Rolf
Am 16.02.2010 11:04, schrieb Thomas A. Schmitz: > > On Feb 16, 2010, at 10:42 AM, Jean-Philippe Rey wrote: > >> Hello everybody, >> >> I am using the imposition feature of ConTeXt which is very nice. >> \setuplayout[marking=on] allows me to print cut marks, but this doesn't >> produce alignment

Re: [NTG-context] combiation trickery again now with attachement - sorry

2010-02-16 Thread Peter Rolf
Am 16.02.2010 19:40, schrieb Bernhard Rosensteiner: > Hi, > > in the attachment is an example file which describes best what i want do. The > method with \offset and \clip to place the figures where i want is really > brutal force i think. Especially fiddling around with dimension to get the >

Re: [NTG-context] interlineskip problem (mkiv)

2010-02-15 Thread Peter Rolf
Am 14.02.2010 13:13, schrieb Hans Hagen: > On 12-2-2010 16:47, Peter Rolf wrote: >> Hi, >> >> I get unwanted interline skips when using a MP based background. The >> attached example works fine in mkii. In mkiv I only get the desired >> result, if I don't us

[NTG-context] interlineskip problem (mkiv)

2010-02-12 Thread Peter Rolf
Hi, I get unwanted interline skips when using a MP based background. The attached example works fine in mkii. In mkiv I only get the desired result, if I don't use the MP background. Best wishes, Peter \startuniqueMPgraphic{foo} fill OverlayBox withcolor lightgray; \stopuniqueMPgraphic \de

Re: [NTG-context] spaces in file names

2010-01-13 Thread Peter Rolf
Am 13.01.2010 12:32, schrieb Wolfgang Schuster: > > Am 13.01.2010 um 12:26 schrieb Hans van der Meer: > >> \DataDirectory{/Users/hans/Movies/Inlays/Muziek/MadisonSquare Garden} % defs >> \DATADIRECTORY >> \setupexternalfigures[directory={"\DATADIRECTORY"}] > > Why don't you save the pictures in

Re: [NTG-context] XML - creating a list by hand (mkiv)

2010-01-12 Thread Peter Rolf
#x27;m quite unsure, if this is a ConTeXt problem or just my ignorance of lpath. Anyhow, no fun ;) Greetings, Peter MTXrun | current version: 2010.01.11 14:57 This is LuaTeX, Version beta-0.50.0-201008 Am 22.12.2009 14:33, schrieb Hans Hagen: > Peter Rolf wrote: >> Am 22.12.2009 14:04,

Re: [NTG-context] XML - creating a list by hand (mkiv)

2009-12-22 Thread Peter Rolf
Am 22.12.2009 14:04, schrieb Hans Hagen: > Peter Rolf wrote: >> Hi, >> >> can someone give me a helping hand with the following example. I still >> have no general survey over the XML related code in ConTeXt (donno >> what functions to use). The last time I played

[NTG-context] XML - creating a list by hand (mkiv)

2009-12-21 Thread Peter Rolf
Hi, can someone give me a helping hand with the following example. I still have no general survey over the XML related code in ConTeXt (donno what functions to use). The last time I played with it is one and a half year ago and many things have changed (meaning that the old examples no longer

Re: [NTG-context] Bug with overprinting in Mark II/IV?

2009-12-13 Thread Peter Rolf
Am 12.12.2009 16:41, schrieb Oliver Heins: Hi Peter, Peter Rolf writes: I get the same 'kind of knockedout' text as in the other example... but the black text is set as /DeviceGray and not /DeviceCMYK (k-component). You can make this visible by using 'Vorschau: Separiert&#

Re: [NTG-context] Bug with overprinting in Mark II/IV?

2009-12-11 Thread Peter Rolf
Oliver Heins schrieb: Peter Rolf writes: Oliver Heins schrieb: Yes, I noticed that, too. But to me it looks like it is first knocked out in the pdf, and then the overprint flag is set. Good point. In that case the text must be set twice, as knockout and overprint can&#

Re: [NTG-context] Bug with overprinting in Mark II/IV?

2009-12-11 Thread Peter Rolf
Oliver Heins schrieb: Hi Peter, Peter Rolf writes: Oliver Heins schrieb: Hello, with color black overprinting is not working. You can easily spot this when you use the »Ausgabevorschau« (sorry, my acrobat is in german locale, must be something with »preview« in english; located in

[NTG-context] overprinting and underbar (mkiv)

2009-12-11 Thread Peter Rolf
Hi, if \underbar is used inside of an overprinted test, the underbar line does not share the OVP attribute. Mkii works as expected, meaning the stroke is part of the text and should be handled equally. A minimal example is attached. MTXrun | current version: 2009.11.26 16:28 This is LuaTeX,

Re: [NTG-context] Bug with overprinting in Mark II/IV?

2009-12-11 Thread Peter Rolf
Taco Hoekwater schrieb: Peter Rolf wrote: you have to manually copy the hacker.jpg to your working directory (under linux e.g. with cp $(kpsewhich hacker.jpg) /path/to/your/working/directory) and change the path to make the minimal example work under mark iv. I noticed this too

Re: [NTG-context] Bug with overprinting in Mark II/IV?

2009-12-11 Thread Peter Rolf
Oliver Heins schrieb: Hello, with color black overprinting is not working. You can easily spot this when you use the »Ausgabevorschau« (sorry, my acrobat is in german locale, must be something with »preview« in english; located in the »tools« menu) in acrobat and remove magenta and black from t

Re: [NTG-context] overprinting backgrounds

2009-12-08 Thread Peter Rolf
Oliver Heins schrieb: I have another question. The print shop wants the background image to be overprinted. Is it sufficiant to set »overprint=yes« once in \setupcolors or does one need to explicitely tell the region with \startoverprint ... \stopoverprint? simply use \startoverprint ... \s

[NTG-context] grid snapping (mkiv)

2009-11-19 Thread Peter Rolf
Hi, is the 'grid={line,??pt}' functionality already implemented in mkiv? I use it in a multicolumn environment and all I get is snapping to the 'full' baseline. \setuphead[section] [%style={\SectionHeaderFont}, style={\switchtobodyfont[12.3pt]\ss\bf\setupinterlinespace}, % grid={high}, %

Re: [NTG-context] (beta) underbar in mkiv

2009-11-09 Thread Peter Rolf
bedankt :) Taco Hoekwater schrieb: Hans Hagen wrote: Peter Rolf wrote: Hi, underbar slides to the left, if the underbar area is restricted to only one char of a word. Example attached. I need this for showing the keyboard shortcuts in my graphics. :) ok, i need to discuss

[NTG-context] (beta) underbar in mkiv

2009-11-09 Thread Peter Rolf
Hi, underbar slides to the left, if the underbar area is restricted to only one char of a word. Example attached. I need this for showing the keyboard shortcuts in my graphics. :) MTXrun | current version: 2009.11.07 17:59 Best wishes, Peter \starttext underbar the b from under\underbar{b}a

[NTG-context] (beta) figurelibrary broken

2009-11-03 Thread Peter Rolf
Hi, test file is again test-001.tex from contexttest. Log attached. MTXrun | current version: 2009.11.02 21:31 This is LuaTeX, Version beta-0.44.0-2009110309 Best wishes, Peter (test-001.tex ConTeXt ver: 2009.11.02 21:31 MKIV fmt: 2009.11.3 int: english/english system : cont-new l

[NTG-context] figurelibrary broken (mkiv)

2009-10-28 Thread Peter Rolf
Hi, I just noticed that figurelib is broken again. MTXrun | current version: 2009.10.27 16:35 This is LuaTeX, Version beta-0.44.0-2009102808 Test file is contexttest/tex/context/base/x-res-00.tex/test-001.tex Best wishes, Peter _

Re: [NTG-context] Footnotes AFTER table ?

2009-10-26 Thread Peter Rolf
Peter Rolf schrieb: Steffen Wolfrum schrieb: Am 26.10.2009 um 15:39 schrieb Peter Rolf: Steffen Wolfrum schrieb: Hi, I have a long table (15pages) with about 150 long footnotes (NOT local notes!). The only chance to set this will be to set all footnotes after the table. My first

Re: [NTG-context] Footnotes AFTER table ?

2009-10-26 Thread Peter Rolf
Steffen Wolfrum schrieb: Am 26.10.2009 um 15:39 schrieb Peter Rolf: Steffen Wolfrum schrieb: Hi, I have a long table (15pages) with about 150 long footnotes (NOT local notes!). The only chance to set this will be to set all footnotes after the table. My first attempt (see minimal below

Re: [NTG-context] Footnotes AFTER table ?

2009-10-26 Thread Peter Rolf
Steffen Wolfrum schrieb: Hi, I have a long table (15pages) with about 150 long footnotes (NOT local notes!). The only chance to set this will be to set all footnotes after the table. My first attempt (see minimal below) failed ... Could someone help me please? Thanks Steffen --- \start

[NTG-context] Zapf Dingbats in mkiv

2009-10-26 Thread Peter Rolf
Hi all, can anyone help me out with a working setup for Zapf Dingbats (pzdr.pfb)? My mkii setup does not work in mkiv. What is missing? \usesymbols[uzd] %\usesymbols[zdb] \def\MailSymbol{\symbol[Unicode Dingbats][Envelope]} \def\PhoneSymbol{\symbol[Unicode Dingbats][TelephoneLocationSign]} Be

[NTG-context] \blank with dimen (mkiv)

2009-10-26 Thread Peter Rolf
Hi, donno if this is a bug or a feature. If I use \blank with a dimen register, I get [..] context/base/type-otf.tex (r:/tex/texmf-context/tex/context/base/type-otf.mkiv)) bodyfont: 12pt rm is loaded language: language en is active systems : begin file test at line 4

Re: [NTG-context] How do you position/move a MPgraphic?

2009-10-25 Thread Peter Rolf
Daniel Bundzik schrieb: Hi! How do you position/move a MPgraphic? Let us us say that you have the MPgraphics "somebackground" and "somecolorcircle" (See example below). These MPgraphics are both framed and used as a background, upon which "sometext" is written on. How can you freely move or

Re: [NTG-context] embed fonts

2009-10-19 Thread Peter Rolf
luigi scarso schrieb: On Sun, Oct 18, 2009 at 12:48 AM, Martin Schröder > wrote: 2009/10/17 Andreas Schneider mailto:ak...@gmx.de>>: > As far as I can tell, that seems to demand fully embedded fonts. As It doesn't. Subsets are allowed. See also http

Re: [NTG-context] embed fonts

2009-10-18 Thread Peter Rolf
R. Bastian schrieb: On Sun, 18 Oct 2009 14:15:08 +0200 "R. Bastian" scribit: On Sun, 18 Oct 2009 13:16:09 +0200 Hans Hagen scribit: R. Bastian wrote: - nothing is wrong - but the pdf is not readable ... a good test is pdftops (from the xpdf suite) as it will issue

Re: [NTG-context] embed fonts

2009-10-17 Thread Peter Rolf
R. Bastian schrieb: On Sat, 17 Oct 2009 10:32:41 +0200 Taco Hoekwater scribit: R. Bastian wrote: Hello, I send a little pdf made with Mk II and \setupbodyfont[sansserif, 10 pt] to a friend. He could not read it. Is there a way to control if the font has been embedded? That ca

Re: [NTG-context] interline spacing, me too

2009-10-15 Thread Peter Rolf
Andreas Harder schrieb: Hi, please look at the attachment. I want different interline spacing for big, normal and small font sizes. What is the best approach? I tried \setupinterlinespace[big] (works only after \starttext!) or \setupinterlinespace[line=3.5ex] (works also before \starttext) b

Re: [NTG-context] Problem with \setupinterlinespace

2009-10-15 Thread Peter Rolf
luigi scarso schrieb: In this example interlines spaces look a bit strange to me \starttext \input knuth \begingroup \tfx\setupinterlinespace[reset] \starttyping function newCounter() local i = 0 return function() i = i+1 return i end end c1 = newCounter() print(c1())

Re: [NTG-context] inserting pdf

2009-10-08 Thread Peter Rolf
Hi Mohamed! Mohamed Bana schrieb: hi folks, assuming x.pdf has more than 1 page, this only inserts the first. i'd like to insert all the pages. how would i do that? \filterpages[file.pdf][1:6][width=18cm] see http://wiki.contextgarden.net/Including_pages_from_PDF_document for more deta

Re: [NTG-context] activating font specific ligatures

2009-10-01 Thread Peter Rolf
Hans Hagen schrieb: Arthur Reutenauer wrote: for tlig (which is not a standard OpenType feature either). Send it to Hans when you're over, so that he can use it too because he's been traumatised by the st and ct ligatures :-) No easy way to do this anymore!? \installfeature[otf][xlig] \d

Re: [NTG-context] expansion problem with \getbuffer again (mkiv)

2009-10-01 Thread Peter Rolf
Hans Hagen schrieb: Peter Rolf wrote: Hi, the attached example works with mkii, but breaks with mkiv. Here is the error message I get (beta 28.09.2009): systems : begin file test at line 1 ! Missing \endgroup inserted. \endgroup \vskip

Re: [NTG-context] activating font specific ligatures

2009-10-01 Thread Peter Rolf
Thomas A. Schmitz schrieb: On Oct 1, 2009, at 2:22 PM, Peter Rolf wrote: I have found the 'dlig'-feature in the font, but activating this feature doesn't work here. Hmm, it does work here: Yep, your example works here too... *but* now I'm also traumatized by the ugly

Re: [NTG-context] activating font specific ligatures

2009-10-01 Thread Peter Rolf
Arthur Reutenauer schrieb: Most ligature work with this setting, but ch ck ct ij IJ sp ss st Those ligatures are usually not part of the liga feature that only activates the most common f-ligatures; try dlig (discretionary ligatures), or maybe hlig (historical ligatures), although it's

[NTG-context] activating font specific ligatures

2009-10-01 Thread Peter Rolf
Hi, I'm currently adding some otf-fonts (MinionPro,MyriadPro from Designer8.2) to ConTeXt. I use the following font feature for MinionPro: \definefontfeature[minion][script=latn,liga=yes,kern=yes,tlig=yes,trep=yes,onum=yes] Most ligature work with this setting, but ch ck ct ij IJ sp ss st do

Re: [NTG-context] Varying indentations

2009-09-30 Thread Peter Rolf
Piotr Kopszak schrieb: Seems I almost learnt how to do it, but notice the whitespace after the first paragraph. Piotr \setupindenting[yes,1pc] \defineindenting[qq][text=,separator=,width=0.5\textwidth] Just add the empty key 'after=' to your definition and the whitespace vanishes. Best wi

[NTG-context] expansion problem with \getbuffer again (mkiv)

2009-09-28 Thread Peter Rolf
Hi, the attached example works with mkii, but breaks with mkiv. Here is the error message I get (beta 28.09.2009): systems : begin file test at line 1 ! Missing \endgroup inserted. \endgroup \vskip \stopblankhandling ...ional \someblankdone \vskip

Re: [NTG-context] Metafun problem

2009-09-26 Thread Peter Rolf
David Arnold schrieb: All, I've got the context minimals installed and I'm compiling the following (from the new Metafun manual) using MKIV: \startuniqueMPgraphic{name} path p; p:=unitsquare xscaled OverlayWidth yscaled OverlayHeight; fill p withcolor .625yellow; draw p withco

[NTG-context] textcolor (mkii)

2009-09-24 Thread Peter Rolf
Hi, while struggling with my colortest for overprinting I run into this curious test case. Mkiv is running fine, but mkii gives no color (block 1 is black instead of blue) or the color is 'shifted' one line into the next textcolor block (block 3 and 4: 'Blue text.' is black and 'Black text.'

[NTG-context] themaintextcolor (mkii)

2009-09-24 Thread Peter Rolf
Hi Hans, can you also define 'themaintextcolor' for mkii? Otherwise my log file has dozends of identical warnings color: themaintextcolor is not defined Best wishes, Peter ___ If your question is of interest

[NTG-context] buffer problem (mkii)

2009-09-24 Thread Peter Rolf
Hi Hans, can you add an \unexpanded (as in mkiv) to the mkii definition of \getbuffer? [buff-ini.mkii] \unexpanded\def\getbuffer {\dodoubleempty\dogetbuffer} Without it compilation breaks here somehow (error with my nested buffers). No such problems with the \unexpanded definition. And befo

Re: [NTG-context] overprint bug (mkiv)

2009-09-17 Thread Peter Rolf
Hans Hagen schrieb: Peter Rolf wrote: Hans Hagen schrieb: Peter Rolf wrote: test graphic is the same as in http://archive.contextgarden.net/message/20090901.094156.1dc47c81.en.html no such message here So you should be able to produce the error with that example. The last time I

Re: [NTG-context] overprint bug (mkiv)

2009-09-17 Thread Peter Rolf
Hans Hagen schrieb: Peter Rolf wrote: test graphic is the same as in http://archive.contextgarden.net/message/20090901.094156.1dc47c81.en.html no such message here So you should be able to produce the error with that example. The last time I simply used the old (commented) definition

Re: [NTG-context] overprint bug (mkiv)

2009-09-16 Thread Peter Rolf
Hans Hagen schrieb: Peter Rolf wrote: test graphic is the same as in http://archive.contextgarden.net/message/20090901.094156.1dc47c81.en.html no such message here i'll try to make a minimal example tomorrow. my current failing example is a document with six graphics (windows) on

Re: [NTG-context] overprint bug (mkiv)

2009-09-16 Thread Peter Rolf
Hans Hagen schrieb: Peter Rolf wrote: overprinting is broken under very special conditions. You need to add framed content with a defined mp overlay as background and *deactivated frame* to a layer (last of the four pairs in the example). The text of the last pair is written in the same

[NTG-context] overprint bug (mkiv)

2009-09-16 Thread Peter Rolf
Hi Hans, overprinting is broken under very special conditions. You need to add framed content with a defined mp overlay as background and *deactivated frame* to a layer (last of the four pairs in the example). The text of the last pair is written in the same \GSoverprint group (in this case t

Re: [NTG-context] overprinting

2009-09-16 Thread Peter Rolf
this with more than two graphics (resulting in two multiple groups) and I get the same effect. No minimal yet. Any thoughts? Best wishes, Peter Hans Hagen schrieb: Peter Rolf wrote: Hans Hagen schrieb: Peter Rolf wrote: first tests show that there are still scope problems in mki

Re: [NTG-context] overprinting

2009-09-15 Thread Peter Rolf
Hans Hagen schrieb: Peter Rolf wrote: first tests show that there are still scope problems in mkiv (e.g. a complete button is set to overprint instead of the text only). no clue yet, but i'm working on it... sure, as overprint is not aware of any content so you need to use knockout

Re: [NTG-context] overprinting

2009-09-15 Thread Peter Rolf
Hans Hagen schrieb: Peter Rolf wrote: overprinting is broken here. I used \dostartoverprint in the past, but this no longer works. What is the recommended way for overprinted text nowadays? (in mkiv) i redid overprints many thanks! - it's now no longer a property but just a

Re: [NTG-context] overprinting

2009-09-13 Thread Peter Rolf
Hans Hagen schrieb: Peter Rolf wrote: Hans Hagen schrieb: Peter Rolf wrote: Hi, overprinting is broken here. I used \dostartoverprint in the past, but this no longer works. What is the recommended way for overprinted text nowadays? just \startoverprint Overprint \stopoverprint I see. A

Re: [NTG-context] overprinting

2009-09-13 Thread Peter Rolf
Hans Hagen schrieb: Peter Rolf wrote: Hi, overprinting is broken here. I used \dostartoverprint in the past, but this no longer works. What is the recommended way for overprinted text nowadays? just \startoverprint Overprint \stopoverprint I see. A quick test shows, that this macro is not

Re: [NTG-context] How can I start wiith 2 in itemize?

2009-09-13 Thread Peter Rolf
Hi Hans, this is not fixed yet... Peter Rolf schrieb: Xan schrieb: Hi, I want to start itemize with 2. I put \startitemize[n][start=2] but it does not work. third and hopefully last try :D [strc-itm.mkii] \def\setitemlevel#1% {\ifnum\currentitemlevel>\zerocount \sett

[NTG-context] overprinting

2009-09-13 Thread Peter Rolf
Hi, overprinting is broken here. I used \dostartoverprint in the past, but this no longer works. What is the recommended way for overprinted text nowadays? *EXAMPLE ATTACHED* MTXrun | current version: 2009.09.12 14:44 This is LuaTeX, Version beta-0.43.0-2009090309 pdfTeX 3.1415926-1.40.10-2.

Re: [NTG-context] \page[blank]

2009-09-10 Thread Peter Rolf
Xan schrieb: En/na Xan ha escrit: Wolfgang, \page[empty] puts number of page. \page[empty,blank] --> two pageS: empty and blank Depends. If you add some stuff to the first page you get what you want. I guess that otherwise the page builder is not called. \starttext \null \page[empty,blank]

Re: [NTG-context] \page[blank]

2009-09-10 Thread Peter Rolf
Xan schrieb: Wolfgang, \page[empty] puts number of page. try \page[empty,blank] ___ 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] Slovenian alphabetic itemize broken in MKIV

2009-09-05 Thread Peter Rolf
Mojca Miklavec schrieb: Hello, I guess again that the following example only breaks on my computer (this time it's probably true by definition). Any ideas about circumventing the problem are most welcome (PS: "Translate your text to English" is not considered a valid answer :). \mainlanguage[sl

Re: [NTG-context] How can I start wiith 2 in itemize?

2009-09-03 Thread Peter Rolf
Xan schrieb: Hi, I want to start itemize with 2. I put \startitemize[n][start=2] but it does not work. third and hopefully last try :D [strc-itm.mkii] \def\setitemlevel#1% {\ifnum\currentitemlevel>\zerocount \settrue\firstlistitem % % \expanded{\setitemparameter{\currentitemleve

Re: [NTG-context] How can I start wiith 2 in itemize?

2009-09-02 Thread Peter Rolf
Hi Xan, looks like you have to separate the setup in this case. \starttext \setupitemize[start=2] \startitemize[n] \item foo \stopitemize \stoptext Best wishes, Peter Xan schrieb: Hi, I want to start itemize with 2. I put \startitemize[n][start=2] but it does not work. Strange? Xan. ___

Re: [NTG-context] metapost-pdf problem

2009-09-01 Thread Peter Rolf
Jean Magnan de Bornier schrieb: Le 01 septembre à 18:12:29 Jean Magnan de Bornier écrit notamment: | Sorry me! I should obviously have done that. | Yes it works now with mkiv, but I don't see how to do the same thing in | mkii... Well, texexec does the job all right, but texexec --xtx doesn't

Re: [NTG-context] metapost-pdf problem

2009-09-01 Thread Peter Rolf
Jean Magnan de Bornier schrieb: Le 01 septembre à 11:41:56 Peter Rolf écrit notamment: | same trouble here. The problem is the current definition of | \forcecolorhack (colo-ini.mkiv). | But we are lucky, as Hans has kept the old version as comment. For the | moment just add a comment

Re: [NTG-context] metapost-pdf problem

2009-09-01 Thread Peter Rolf
Hi, same trouble here. The problem is the current definition of \forcecolorhack (colo-ini.mkiv). But we are lucky, as Hans has kept the old version as comment. For the moment just add a comment sign in front of the new definition and deactivate the old version. Nothing I can fix (no clue what

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

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] 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

[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] Struggling with \hskip

2009-08-18 Thread Peter Rolf
Hi Vyatcheslav, Vyatcheslav Yatskovsky schrieb: Hello, The following code worked once, but now \hskip does not make any effect. Could you please tell me how to position "bpm=" not strictly on the right, but with some margin? \define[2]\author{{\itx (#1)}\hfill{\tx bpm=#2}{\hskip1cm} \autho

Re: [NTG-context] Round-corner textbox with shadow

2009-08-15 Thread Peter Rolf
Hi Tom, you simply get what you draw (the OverlayBox is always a square). See page 50 in the MetaFun manual for a solution... Best wishes, Peter Tom schrieb: Shadows on round-corner textboxes are producing square-corner shaded boxes with square-corner shadows. The

Re: [NTG-context] forced JavaScript injection (mkiv)

2009-08-13 Thread Peter Rolf
Hans Hagen schrieb: Peter Rolf wrote: Hi Hans, is there a switch to disable the default /JavaScript injection? For a good reason PDF/X doesn't allow JS in the document. And the preflight only checks the existence of the /JavaScript key, but not if there is any JS code in it. hm, i ca

[NTG-context] forced JavaScript injection (mkiv)

2009-08-13 Thread Peter Rolf
Hi Hans, is there a switch to disable the default /JavaScript injection? For a good reason PDF/X doesn't allow JS in the document. And the preflight only checks the existence of the /JavaScript key, but not if there is any JS code in it. Best wishes, Peter __

[NTG-context] addtransparencygroup()

2009-08-11 Thread Peter Rolf
Hi, in the function codeinjections.addtransparencygroup() there is a tostring() around the dictionary. This results in '/Group (<< dictionary >>)'. Removing the tostring function gives the desired result. BTW: thanks for keeping this part open. I'm currently trying to adapt my 'codeinjection

Re: [NTG-context] beta: \dopresetsymbol

2009-08-11 Thread Peter Rolf
Hans Hagen schrieb: Peter Rolf wrote: Hi, the macro \dopresetsymbol is used in \dohandlefitfield (scrn-fld.mkiv), but no longer defined. can you make a small example yep! seems to be used with tooltips, as the attached example breaks with the same error

[NTG-context] beta: \dopresetsymbol

2009-08-11 Thread Peter Rolf
Hi, the macro \dopresetsymbol is used in \dohandlefitfield (scrn-fld.mkiv), but no longer defined. Peter ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-con

Re: [NTG-context] alpha: mplib broken?

2009-07-17 Thread Peter Rolf
Peter Rolf schrieb: Hi, I just finished a first draft version of my adapted mp specials. Sadly no test run is possible, as mplib is broken here. I also tested with the untouched distribution, but every MP graphic (example attached) produces this error message: [..] I have installed the

Re: [NTG-context] alpha: mplib broken?

2009-07-17 Thread Peter Rolf
Taco Hoekwater schrieb: Peter Rolf wrote: Hans Hagen schrieb: Peter Rolf wrote: Hi, I just finished a first draft version of my adapted mp specials. Sadly no test run is possible, as mplib is broken here. I also tested with the untouched distribution, but every MP graphic

Re: [NTG-context] alpha: mplib broken?

2009-07-17 Thread Peter Rolf
Hans Hagen schrieb: Peter Rolf wrote: Hi, I just finished a first draft version of my adapted mp specials. Sadly no test run is possible, as mplib is broken here. I also tested with the untouched distribution, but every MP graphic (example attached) produces this error message: works ok

[NTG-context] alpha: mplib broken?

2009-07-16 Thread Peter Rolf
Hi, I just finished a first draft version of my adapted mp specials. Sadly no test run is possible, as mplib is broken here. I also tested with the untouched distribution, but every MP graphic (example attached) produces this error message: - This is LuaTeX, Version beta-0.42.0-200907160

Re: [NTG-context] alpha release

2009-07-15 Thread Peter Rolf
Hans Hagen schrieb: Peter Rolf wrote: elseif model == 4 then return pdfarray { cv[6],cv[7],cv[8],cv[9] } elseif model == 4 then -- *here* return pdfarray { cv[13] } did you test it with model == 5 no, i simply added a final 'else&

Re: [NTG-context] alpha release

2009-07-15 Thread Peter Rolf
Hans Hagen schrieb: i'll make a new alpha later today i'll take my chance and hijack this thread then... :) there is a c&p error in lpdf-grp.lua. [..] function lpdf.colorspec(model,ca,default) if ca and ca > 0 then local cv = colors.value(ca) if cv then if model =

[NTG-context] alpha: mkii format problems

2009-07-15 Thread Peter Rolf
Hi, there are some minor problems with mkii. syst-gen syst-ext syst-new are loaded in 'context.mkii' (using \loadcorefile), but only the *.mkii versions are present. Also supp-eps is loaded in 'supp-tpi.mkii', but only the *.mkii version is present. No further (format) problems after chang

Re: [NTG-context] colo-hex

2009-07-09 Thread Peter Rolf
sorry, wrong version of test file. the right one is attached now. Peter Rolf schrieb: Hi, there is a small bug in colo-hex, which leads to slightly wrong colors (at max. -0.390625%). In line 41 of both mark related files there is \newdimen\hexcolorfraction \hexcolorfraction=\dimexpr(1pt/256

Re: [NTG-context] Hyphenation list and umlauts

2009-07-09 Thread Peter Rolf
Lutz Haseloff schrieb: I use the binaries from http://www.fsci.fuk.kindai.ac.jp/kakuto/win32-ptex/web2c75-e.html. same here (size matters) :) (This is LuaTeX, Version beta-0.41.0-2009070721 (Web2C 2009)) 2009/7/9 Taco Hoekwater mailto:t...@elvenkind.com>> Lutz Haseloff wrote: H

[NTG-context] colo-hex

2009-07-09 Thread Peter Rolf
Hi, there is a small bug in colo-hex, which leads to slightly wrong colors (at max. -0.390625%). In line 41 of both mark related files there is \newdimen\hexcolorfraction \hexcolorfraction=\dimexpr(1pt/256) . This should be 255 (#fractions) instead of 256 (#values); I made the same error a qu

Re: [NTG-context] Hyphenation list and umlauts

2009-07-08 Thread Peter Rolf
Thomas Floeren schrieb: Taco Hoekwater scribbled on Wednesday, June 24, 2009 3:34 PM: Thomas Floeren wrote: Hi, I stumbled upon a problem with my hyphenation list: In MKIV, all the words in the list that contain umlauts are completely ignored. MKII is fin

Re: [NTG-context] missing metafun graphics in mkii

2009-06-08 Thread Peter Rolf
Mojca Miklavec schrieb: Hello, Does anyone else experience problems using metafun graphics in mkii? Did I miss some runwhatevertrue switch somewhere? Are the stubs in minimals incompatible in some way? At least live.contextgarden.net seems to suffer as well. Minimal example: \startMPcode draw

Re: [NTG-context] Where to store typescripts ?

2009-06-04 Thread Peter Rolf
Nicolas Girard schrieb: 2009/6/4 luigi scarso : hmm try context --generate Tried that, and it didn't work. you can try mtxrun --script fonts --reload Best wishes, Peter Nicolas ___ If your question

[NTG-context] beta (2009-06-01): footnote marker not moved

2009-06-02 Thread Peter Rolf
Hi, this is still not fixed. In mkiv the marker (asterisk) is not moved with it's corresponding footnote text. Best wishes, Peter \def\NoteNumber#1{\hbox to 15pt{\hfill\black #1}} \setupfootnotes [bodyfont=6pt, textcolor=black, before=,after=, rule=off, numberconversion={set 2},

Re: [NTG-context] updates without rsync

2009-05-29 Thread Peter Rolf
richard.steph...@converteam.com schrieb: Lutz Haseloff wrote on 29/05/2009 11:04:55: Hi Richard, 1. Install Ruby right 2. Install Perl I think, Perl is not needed anymore. Download http://www.pragma-ade.com/context/install/minimals-snapshot-mswin.zip I unzip it in

Re: [NTG-context] define an incremental personal bullet of item

2009-05-27 Thread Peter Rolf
dalyoung schrieb: Dear Hans, Thank you for your code. I tested it using ConTeXt and LuaTeX, but I got following error. (/Users/graph/ConTeXtBeta/tex/texmf-context/tex/context/base/pdfr-def.tex) (./test-lua.tuo) systems : begin file test-lua at line 2 ! Argument of \MyCircled

Re: [NTG-context] Applying effects to figures

2009-05-25 Thread Peter Rolf
Vyatcheslav Yatskovsky schrieb: > Hello, > > I just thinkig... Is there a way to apply an effect to inserted images? sure, but... > Say, I need to make a shadow around all of screenshots included, and it > is too laborous to apply the shadow to them in an editor just in order > to have screensho

[NTG-context] beta (22.05.2009,9:27): textext broken in mkii?

2009-05-22 Thread Peter Rolf
Hi, I get a ruby script error (and no graphic), if I use the attached example with pdftex. [..] (./textext.tuo)TeXExec | processing graphic 'textext-mpgraph' r:/tex/texmf-context/scripts/context/ruby/base/tex.rb:2108:in `doruntexmp'TeXExec | option 'batchmode' is set to 'true' TeXExec | opti

Re: [NTG-context] beta (22.05.2009, late night edition): spurious space when clipping

2009-05-22 Thread Peter Rolf
Hans Hagen schrieb: Peter Rolf wrote: Hi, the attached example shows some horizontal shift of the clipped object. Mkii works as expected. meta-ini.mkiv, add percent sign ... \else \xdef\MPclippath{#5}% \fi that was fast! thank you Hans

[NTG-context] beta (22.05.2009, late night edition): spurious space when clipping

2009-05-22 Thread Peter Rolf
Hi, the attached example shows some horizontal shift of the clipped object. Mkii works as expected. Best wishes, Peter \setupcolors[state=start] \setuppagenumber[state=stop] \starttext \framed[offset=overlay,width=5cm,height=1cm] {\clip[width=5cm,height=1cm,voffset=0pt,hoffset=0pt] {\bl

[NTG-context] beta (14.05.2009,16:44): PDF layer

2009-05-15 Thread Peter Rolf
Hi, as already mentioned there is a problem with PDF layer... or with the way I use them. This is an old example, so it's maybe outdated. Both marks produce non valid PDF here. \setupcolors[state=start] \setupinteraction[state=start] \pdfcompresslevel0 \defineproperty[layerA][layer][title={la

<    1   2   3   4   5   6   7   8   9   10   >