Re: [NTG-context] Access figure data?

2010-10-15 Thread Peter Rolf
Am 15.10.2010 07:16, schrieb Peter Münster: > On Thu, Oct 14 2010, Peter Rolf wrote: > >> Nice to have. Is this also possible from the lua side? > > Hello, > > Perhaps with the img library of luatex (see luatex manual). > Thanks Peter! Stupid me haven't thought a

[NTG-context] locate figure (mkiv)

2010-10-25 Thread Peter Rolf
Hi, I have some general graphics, which I would like to access from the lua side. The graphics are added to the graphic search path via \setupexternalfigures[locations={local,global,default}, directory={}] What I now need is a way in lua to locate the graphics (no inclusion) and to get the full

[NTG-context] improper sizes with pixel unit in MPinitialisation

2010-10-28 Thread Peter Rolf
Hi, I started using 'MPinitialisation' to store some global variables. Much easier than passing them over and over again to MP macros. Sadly this way is inaccurate with the unit 'px' (no such problems with 'pt'). See attached example. The frame gives the exact size, showing that the MP graphic is

Re: [NTG-context] asciimode

2010-10-29 Thread Peter Rolf
Am 29.10.2010 12:52, schrieb Steffen Wolfrum: > Hi, > > if I only want to benefit of asciimode in controlled situations (inline?) ... > how do I completely switch it off again (see below)?? > > Steffen > > --- > > \starttext > > test: {\asciimode > http://europa.eu/rapid/pressReleasesAct

Re: [NTG-context] Scaling with \filterpages not working?

2010-11-18 Thread Peter Rolf
Am 18.11.2010 10:53, schrieb Procházka Lukáš Ing. - Pontex s. r. o.: > Hello, > > I'm trying similar code as described on > http://wiki.contextgarden.net/Including_pages_from_PDF_document: > > --- > \starttext > \filterpages[1.pdf][2][width=15cm] > \page > \filterpages[1.pdf][2][width=5cm]

[NTG-context] special problem (mplib)

2010-11-22 Thread Peter Rolf
Hi, I noticed some problems with the order of mplib output. Example is attached ("1 j" stands before special code). Peter MTXrun | current version: 2010.11.20 12:51 This is LuaTeX, Version beta-0.64.0-2010111322 (rev 3961) \setuppagenumber[state=stop] \nopdfcompression \startuniqueMPgraphic{fo

Re: [NTG-context] special problem (mplib)

2010-11-22 Thread Peter Rolf
Am 22.11.2010 17:00, schrieb Hans Hagen: > On 22-11-2010 11:25, Peter Rolf wrote: >> 1 j > > fixed in upcoming beta > That was fast. Thank you :-) > Hans > > - >

[NTG-context] beta: overprint (mkiv)

2010-12-28 Thread Peter Rolf
Hi Hans, I stumbled upon a typo in the latest beta (22.12.2010). Small test case is \starttext\startoverprint OVP\stopoverprint\stoptext [attr-col.lua] 511: commands.enablecolorintent*s* = colorintents.enable Peter __

[NTG-context] beta: graphictext (mkiv)

2011-01-03 Thread Peter Rolf
Hi, Using the following code \useMPlibrary[txt] \startMPpage graphictext "FOO"; \stopMPpage results in ! Undefined control sequence. \douseMPlibrary ...stprefix #1}\makeshortfilename [\truefilename {\f!metapos... \next1 #1,->\douseMPlibrary {#

[NTG-context] kerning info (mkiv)

2011-01-07 Thread Peter Rolf
Hi, for a text background graphic I need the character box sizes of a given string. I managed to collect the needed info (width, height, depth, kerns), but there is still some flaw in the kerning part. For example: "VATo" is printed out (in the shell) as V 12 11 0 *kerning

Re: [NTG-context] kerning info (mkiv)

2011-01-07 Thread Peter Rolf
Am 07.01.2011 15:13, schrieb Taco Hoekwater: > On 01/07/2011 02:48 PM, Peter Rolf wrote: >> The character stands in the first column, followed by width, height and >> depth (in pixel). The "*kerning" line shows the kerning value (in sp) of >> the neighbouring

[NTG-context] catcode problems (mkiv)

2011-01-14 Thread Peter Rolf
Hi, I have some problems with catcode handling in lua and tex. Source of the problem is (aside from my limited knowledge) a XML based line of text that can contain any printable character. From this source line I create one modified text line for the tex side (named 'textext') and one unmodified t

Re: [NTG-context] catcode problems (mkiv)

2011-01-16 Thread Peter Rolf
Thank you Taco and Hans! \startluacode works fine :-) Am 16.01.2011 08:41, schrieb Taco Hoekwater: > On 01/14/2011 05:52 PM, Peter Rolf wrote: >> >> What is the best way to >> >> 1. deal with the "%" character in ctxlua? > > Use \startluacode ..

Re: [NTG-context] How to run Typesetting in MetaPost example (MetaFun)?

2011-01-19 Thread Peter Rolf
Am 19.01.2011 14:35, schrieb Verhaag, G.C.H.M.: > Verhaag, G.C.H.M. wrote: > >> Hi, >> >> I wanted to try (using ConTeXt minimals MkIV) the example on page 228 >> of the MetaFun manual, dealing with typesetting in MetaPost. >> >> The code is given as: >> >> \resetMPdrawing >> \startMPdrawing >> pi

Re: [NTG-context] metafun- how to pass array as an argument

2011-01-24 Thread Peter Rolf
Am 24.01.2011 13:18, schrieb dalyoung: > \startbuffer[a] > path p; > numeric bwidth, u, lastpoint; > u :=1cm; > p := fullcircle scaled .3u; > lastpoint := 0; > > def draw_balls = %(expr s) def draw_balls(text s) = > draw (0,0) -- (0, u); > for i=3,5,0,2,1,7: for i=s: > for j = 1

Re: [NTG-context] metafun- how to pass array as an argument

2011-01-24 Thread Peter Rolf
Am 24.01.2011 13:50, schrieb Peter Rolf: > Am 24.01.2011 13:18, schrieb dalyoung: >> \startbuffer[a] >> path p; >> numeric bwidth, u, lastpoint; >> u :=1cm; >> p := fullcircle scaled .3u; >> lastpoint := 0; >> >> def draw_balls = %(expr s) >

[NTG-context] tooltips broken (beta)

2011-01-27 Thread Peter Rolf
Hi Hans, with the beta 2011.01.26 11:02 and the attached example (tooltip.tex) compilation break with [..] javascript : loading script set fld ! LuaTeX error r:/tex/texmf-context/tex/context/base/supp-fil.lua:322: attempt to call local 'failure' (a nil value) stack traceback: r:/tex/

Re: [NTG-context] tooltips broken (beta)

2011-01-27 Thread Peter Rolf
Am 27.01.2011 18:44, schrieb Hans Hagen: > On 27-1-2011 12:51, Peter Rolf wrote: >> Hi Hans, >> >> with the beta 2011.01.26 11:02 and the attached example (tooltip.tex) >> compilation break with > > will be fixed (you can patch the error by "if failure and

[NTG-context] tooltip in a buffer (beta)

2011-01-28 Thread Peter Rolf
Hi Hans, I have overseen an unwanted horizontal skip in my menu test graphic. Mh, donno what this is... it's no skip nor a simple spurious space (as I use \removeunwantedspaces in front of that macro). A minimal example is attached. No urgent case... Best wishes, Peter \setupinteraction[state=st

Re: [NTG-context] tooltip in a buffer (beta)

2011-01-28 Thread Peter Rolf
Am 28.01.2011 20:02, schrieb Wolfgang Schuster: > > Am 28.01.2011 um 18:58 schrieb Hans Hagen: > >> On 28-1-2011 4:20, Peter Rolf wrote: >>> Hi Hans, >>> >>> I have overseen an unwanted horizontal skip in my menu test graphic. Mh, >>> donno

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

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&

[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: 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

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

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

[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 __

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

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

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

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

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

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

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

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

[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

[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] 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.'

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

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

[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

[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

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

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

[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 _

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

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

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

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

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-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&#

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

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

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

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 >

<    4   5   6   7   8   9   10   >