Re: [NTG-context] mlib plugin question

2011-08-15 Thread Peter Rolf
Just for the records (or for the masses of mlib plugin programmers/lovers out there)... ;-) Am 10.08.2011 20:00, schrieb Peter Rolf: > Hi, > > I use a mlib plugin to manually start/stop transparency. All graphics > in between will be drawn with the defined state. Not very useful

Re: [NTG-context] mlib plugin question

2011-08-15 Thread Peter Rolf
Am 14.08.2011 19:47, schrieb Hans Hagen: > On 10-8-2011 8:00, Peter Rolf wrote: > >> Usage: >> >> btransp(normaltransparency,.5); >> >> etransp; > > Officially > > draw image ( whatever ) withtransparency (normaltransparency,.5) > >

[NTG-context] mlib plugin question

2011-08-10 Thread Peter Rolf
Hi, I use a mlib plugin to manually start/stop transparency. All graphics in between will be drawn with the defined state. Not very useful in general, but I need it for some graphics in Aero. This is the simple code.. MP side: def btransp(expr a, t) = draw origin withprescript "mtr_transp=s

Re: [NTG-context] lpeg splitter

2011-08-05 Thread Peter Rolf
Am 05.08.2011 19:47, schrieb Philipp Gesang: > On 2011-08-05 <16:44:59>, Hans Hagen wrote: >> On 5-8-2011 4:37, Peter Rolf wrote: >>> Hi, >>> >>> I'm currently trying to adapt my MP specials to the 'new' plugin >>> handler. My a

[NTG-context] lpeg splitter

2011-08-05 Thread Peter Rolf
Hi, I'm currently trying to adapt my MP specials to the 'new' plugin handler. My actual problem is the splitting of the 'ssh_colors' string with lpeg. Sadly my knowledge about lpeg is nearly zero and it would take me a few days to understand this (my mind is already contaminated with 'regular expr

Re: [NTG-context] Sharing color between MP and TeX

2011-08-05 Thread Peter Rolf
Am 05.08.2011 09:07, schrieb Procházka Lukáš Ing. - Pontex s. r. o.: > Hello, > > I'd need to use the same color for text and drawing inside a MP code. > > The typical situation looks the following way: > > > \definecolor[COL][.7red] > \starttext > \startMPcode > label(btex \color[CO

Re: [NTG-context] METAFUN's randomized operator's seed

2011-08-03 Thread Peter Rolf
Am 03.08.2011 16:07, schrieb Procházka Lukáš Ing. - Pontex s. r. o.: > Hello, > >> \setuprandomize[\normaltime] >> >> I guess a call after \starttext will do. >> >> Peter > > I tried it as I was just about to solve the same problem; it seems to > work in condition that *at least one minute elapse

Re: [NTG-context] METAFUN's randomized operator's seed

2011-08-03 Thread Peter Rolf
Am 03.08.2011 15:19, schrieb Marcin Borkowski: > Hi, > > I noticed that each time I recompile a document using randomized the > result is the same, so presumably the random seed is also the same. I > guess this is intentional. My questions are: > * Does the random seed value depend on a checksum

Re: [NTG-context] metapost question (bug?)

2011-07-22 Thread Peter Rolf
Am 21.07.2011 23:21, schrieb Alan Braslau: > On Thu, Jul 21, 2011 at 05:39:48PM +0200, Peter Rolf wrote: >> use >> >> p2 := p0 & p1; >> >> the reason for the 'unexpected' output is, that point 1 and 2 of the >> path p2 are equal. keep in mind

Re: [NTG-context] metapost question (bug?)

2011-07-21 Thread Peter Rolf
Am 21.07.2011 16:53, schrieb luigi scarso: > On Thu, Jul 21, 2011 at 4:39 PM, Alan Braslau wrote: >> Hello, >> >> I have a question for metapost specialists: >> >> I am looking for some sort of effect, built upon a zig-zag line. >> The first graphic in the minimal example below is as I would expec

Re: [NTG-context] compresslevel and png graphics (mkiv)

2011-05-27 Thread Peter Rolf
Am 27.05.2011 17:19, schrieb luigi scarso: > On Fri, May 27, 2011 at 5:11 PM, Peter Rolf wrote: >> Am 27.05.2011 15:09, schrieb Hartmut Henkel: >>>>> @luigi: an ICC profile definitely breaks the rules >>>>> >>>>> The only chunks left are

Re: [NTG-context] compresslevel and png graphics (mkiv)

2011-05-27 Thread Peter Rolf
Am 27.05.2011 15:09, schrieb Hartmut Henkel: >>> @luigi: an ICC profile definitely breaks the rules >>> >>> The only chunks left are >>> >>> IHDRPNG image header: 5900x4094, 8bits/sample, truecolor, >> noninterlaced >>> IDATPNG image data >>> .. >>> IDATPNG image data >>> IENDend-o

Re: [NTG-context] compresslevel and png graphics (mkiv)

2011-05-27 Thread Peter Rolf
Am 26.05.2011 18:17, schrieb Peter Rolf: > Am 26.05.2011 12:52, schrieb Peter Rolf: >> Am 25.05.2011 21:54, schrieb Hartmut Henkel: > [..] >>> >>> no. There is a "PNG Copy" function for literal embedding of the PNG >>> file, but that triggers only,

Re: [NTG-context] compresslevel and png graphics (mkiv)

2011-05-26 Thread Peter Rolf
Am 26.05.2011 12:52, schrieb Peter Rolf: > Am 25.05.2011 21:54, schrieb Hartmut Henkel: [..] >> >> no. There is a "PNG Copy" function for literal embedding of the PNG >> file, but that triggers only, if the file simultaneously satisfies quite >> a few condit

Re: [NTG-context] compresslevel and png graphics (mkiv)

2011-05-26 Thread Peter Rolf
Am 25.05.2011 21:54, schrieb Hartmut Henkel: > On Wed, 25 May 2011, Hans Hagen wrote: >> On 25-5-2011 2:43, Peter Rolf wrote: >>> >>> I just made a one pager (TEXpage) out of a big png graphic >>> (5900x4094). The compressed size of the graphics is normally

Re: [NTG-context] compresslevel and png graphics (mkiv)

2011-05-25 Thread Peter Rolf
Am 25.05.2011 16:48, schrieb Taco Hoekwater: > > > On 05/25/11 16:39, Hans Hagen wrote: >> On 25-5-2011 2:43, Peter Rolf wrote: >>> Hi, >>> >>> I just made a one pager (TEXpage) out of a big png graphic (5900x4094). >>> The compressed si

[NTG-context] compresslevel and png graphics (mkiv)

2011-05-25 Thread Peter Rolf
Hi, I just made a one pager (TEXpage) out of a big png graphic (5900x4094). The compressed size of the graphics is normally around 1.37MB on the highest png compress level (9) and 1.32MB after using optipng (only around 3% reduction this time). To my surprise the size of the final PDF was about 2.

Re: [NTG-context] OCProperties (mkiv)

2011-05-01 Thread Peter Rolf
Am 01.05.2011 13:43, schrieb Peter Rolf: > Am 01.05.2011 13:14, schrieb Peter Rolf: >> Hi Hans, >> >> using the 'Report PDF syntax issues'-preflight in Acrobat9 gives a >> warning about an 'Unexpected value for this key'. >> I used 'pdf-x4

Re: [NTG-context] OCProperties (mkiv)

2011-05-01 Thread Peter Rolf
Am 01.05.2011 13:14, schrieb Peter Rolf: > Hi Hans, > > using the 'Report PDF syntax issues'-preflight in Acrobat9 gives a > warning about an 'Unexpected value for this key'. > I used 'pdf-x4p.mkiv' from /texmf-context/tex/context/test/ as test file.

[NTG-context] OCProperties (mkiv)

2011-05-01 Thread Peter Rolf
Hi Hans, using the 'Report PDF syntax issues'-preflight in Acrobat9 gives a warning about an 'Unexpected value for this key'. I used 'pdf-x4p.mkiv' from /texmf-context/tex/context/test/ as test file. Probably just a warning about a redundancy (see 'PDF Reference, version 1.7.pdf', p376), setting '

Re: [NTG-context] Using forms and saving values

2011-04-05 Thread Peter Rolf
Am 05.04.2011 15:42, schrieb Cecil Westerhof: > 2011/4/5 Peter Rolf mailto:indi...@gmx.net>> > > Am 05.04.2011 15:10, schrieb Hans Hagen: > > On 5-4-2011 2:41, Peter Rolf wrote: > > > >> mtxrun.exe --locate scrn-fld.mkiv > > >

Re: [NTG-context] Using forms and saving values

2011-04-05 Thread Peter Rolf
Am 05.04.2011 15:10, schrieb Hans Hagen: > On 5-4-2011 2:41, Peter Rolf wrote: > >> mtxrun.exe --locate scrn-fld.mkiv > > it's a mkvi module (subtle difference) > sorry, wrong command line how about luatools

Re: [NTG-context] Using forms and saving values

2011-04-05 Thread Peter Rolf
Am 05.04.2011 14:06, schrieb Cecil Westerhof: > 2011/4/5 Peter Rolf mailto:indi...@gmx.net>> > > strange. the error here is caused by the undefined '\DVI' macro > (outdated context from 26.01.2011). loading the right module (preferred) > or using a s

Re: [NTG-context] Sectionmark

2011-04-05 Thread Peter Rolf
Am 05.04.2011 13:22, schrieb Procházka Lukáš Ing. - Pontex s. r. o.: > Hello, > > what is the name of the command to typeset the symbol "SectionMark", > "Paragraph", "SectionSign" or how is is called correctly? The symbol > which looks like: > > _ > / \ > \__ > / \ > || > \__/ > \

Re: [NTG-context] Using forms and saving values

2011-04-05 Thread Peter Rolf
Am 05.04.2011 12:31, schrieb Cecil Westerhof: > 2011/4/5 Peter Rolf mailto:indi...@gmx.net>> > > > \starttext > > > > A few years back, \TEX\ could only produce > > \fillinfield [dvi]{\DVI} output, > > but nowadays, thanks to

Re: [NTG-context] Using forms and saving values

2011-04-05 Thread Peter Rolf
Am 05.04.2011 03:19, schrieb Cecil Westerhof: > 2011/4/4 Wolfgang Schuster > > > http://www.pragma-ade.com/show-man-22.htm > > > I tried the first example from fill-in fields: > \starttext > > A few years back, \TEX\ could only produce > \fillinfiel

Re: [NTG-context] Position of MetaPost graphics

2011-04-03 Thread Peter Rolf
Am 01.04.2011 11:39, schrieb Tim Steenvoorden: > Dear list, > > I'm trying to make some fancy chapter headers. With MetaPost I drew a > wave, which I'd like to place in the margin. I've read details.pdf and > metafun.pdf, but I don't manage to get the positioning right. The wave > should begin whe

[NTG-context] \definepalet ignores transparency (mkiv)

2011-03-30 Thread Peter Rolf
Hi, the subject says it all. The question left is if this is a bug or a feature :-) Example: \starttext \definecolor[foo] [s=0,a=1,t=.5] \definepalet[bar] [foobar=foo] \blackrule[width=3cm,height=3cm,color=foo] % transparent black \blackrule[width=3cm,height=3cm,color=foobar] % pure black

Re: [NTG-context] setupinteraction

2011-03-22 Thread Peter Rolf
Hi Cecil, Am 21.03.2011 19:44, schrieb Cecil Westerhof: > I use setupinteraction to set certain properties. But it looks like that > subject can not be set. Is this true? > 'subtitle=' is probably the keyword you want. mh, i asked the same some time ago :-) > Also keywords is a box (in acroread).

[NTG-context] pdfboxes (mkiv)

2011-03-20 Thread Peter Rolf
Hi Hans, there is a typo in lpdf-mis.lua local function pagespecification() local pageheight = tex.pdfpageheight local box = pdfarray { -- can be cached boxvalue(leftoffset), boxvalue(pageheight-topoffset-height), ^^ should

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

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

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

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

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

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

[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

[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

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

Re: [NTG-context] Access figure data?

2010-10-14 Thread Peter Rolf
Am 14.10.2010 22:22, schrieb Hans Hagen: > On 14-10-2010 10:10, Peter Rolf wrote: > >> Nice to have. Is this also possible from the lua side? I ask, because I >> need the pixel size of a graphic for some border checking ('clip' a >> frame out of a bitmap). Cu

Re: [NTG-context] Access figure data?

2010-10-14 Thread Peter Rolf
Am 14.10.2010 21:33, schrieb Hans Hagen: > On 14-10-2010 8:10, Brian Wedde wrote: >> Is there any way to get access to the data about external figures? I >> would like >> to know the pixel height/width of the actual image. >> >> [I am trying to typeset a mass of html-based documents with images >>

Re: [NTG-context] Two layer in a document

2010-10-01 Thread Peter Rolf
Am 01.10.2010 12:08, schrieb Steffen Wolfrum: > > Am 01.10.2010 um 11:00 schrieb Peter Rolf: > >> Am 01.10.2010 09:51, schrieb R. Bastian: >>> On Thu, 30 Sep 2010 19:42:34 +0200 >>> Wolfgang Schuster scribit: >>> >>>> >>>>

Re: [NTG-context] Two layer in a document

2010-10-01 Thread Peter Rolf
Am 01.10.2010 09:51, schrieb R. Bastian: > On Thu, 30 Sep 2010 19:42:34 +0200 > Wolfgang Schuster scribit: > >> >> Am 30.09.2010 um 11:49 schrieb Daniel Grycman: >> >>> Hi list, >>> >>> I am typesetting a template for internal documentation. In the header of >>> the document I want to put two dif

Re: [NTG-context] A rose by any other name ....

2010-09-17 Thread Peter Rolf
Am 16.09.2010 22:13, schrieb Aditya Mahajan: > On Thu, 16 Sep 2010, Peter Rolf wrote: > >> Am 16.09.2010 13:12, schrieb Patrick Gundlach: >>> >>> >>>> Is it possible to change the name of the font as it appears in the >>>> pdf file? >>&

Re: [NTG-context] A rose by any other name ....

2010-09-16 Thread Peter Rolf
Am 16.09.2010 13:12, schrieb Patrick Gundlach: > > >> Is it possible to change the name of the font as it appears in the pdf file? >> >> More specifically, I am using Termes font, but I want that the document >> properties to show the name of the font as Times. Is that possible? Is doing >> so

Re: [NTG-context] A rose by any other name ....

2010-09-16 Thread Peter Rolf
Am 16.09.2010 00:34, schrieb Aditya Mahajan: > Hi, > > Is it possible to change the name of the font as it appears in the pdf > file? > > More specifically, I am using Termes font, but I want that the document > properties to show the name of the font as Times. Is that possible? Is > doing so a v

Re: [NTG-context] tikz fading graphic

2010-09-08 Thread Peter Rolf
Am 07.09.2010 20:09, schrieb Yury G. Kudryashov: > Peter Rolf wrote: > >> Hi, >> >> this is the first time I use tikz and maybe something is missing in my >> example. I tried the second graphic from page 206 of the tikz manual. >> Sadly I only get a opaq

[NTG-context] tikz fading graphic

2010-09-07 Thread Peter Rolf
Hi, this is the first time I use tikz and maybe something is missing in my example. I tried the second graphic from page 206 of the tikz manual. Sadly I only get a opaque blue square. Example and log file attached. I get the same error for both marks: [..] (./tikz206.tuo) systems : begin

Re: [NTG-context] Minimals & Windows PowerShell

2010-08-19 Thread Peter Rolf
Am 19.08.2010 15:17, schrieb luigi scarso: > With cmd.exe > call C:\luatex\minimals-beta\context\tex\setuptex.bat > C:\luatex\minimals-beta\context\tex > does it's job correctly. > > I would like to know the same for Windows PowerShell: > . C:\luatex\minimals-beta\context\tex\setuptex.bat > C:\lu

Re: [NTG-context] beta: \setuplocalframed (mkiv)

2010-08-16 Thread Peter Rolf
Am 16.08.2010 15:01, schrieb Wolfgang Schuster: > Am 16.08.10 14:52, schrieb Peter Rolf: >> Hi, >> >> \setuplocalframed is no longer defined in mkiv (but \localframed is >> still used in several mkiv files). Is this a mistake or is there a new >> mkiv int

[NTG-context] beta: \setuplocalframed (mkiv)

2010-08-16 Thread Peter Rolf
Hi, \setuplocalframed is no longer defined in mkiv (but \localframed is still used in several mkiv files). Is this a mistake or is there a new mkiv interface for this? MTXrun | current version: 2010.08.10 17:14 Peter ___

Re: [NTG-context] ConTeXt meeting programme

2010-08-12 Thread Peter Rolf
Am 12.08.2010 15:51, schrieb Henning Hraban Ramm: > > Am 2010-08-12 um 15:02 schrieb Jano Kula: > >> Hello, >> >> the preliminary programme was updated with the TeXperience 2010 talks >> on Saturday and Sunday: >> http://meeting.contextgarden.net/2010/programme.shtml > > a printable version woul

[NTG-context] beta: PDF/X interface

2010-08-10 Thread Peter Rolf
Hi, a quick description of the PDF/X interface for all testers. More documentation in the (hopefully near) future. Peter \setupbackend [format=valid pdf/x name, profile=name.icc, intent=name.icc, level=compresslevel, % defau

Re: [NTG-context] beta

2010-08-10 Thread Peter Rolf
Am 10.08.2010 19:09, schrieb Martin Schröder: > 2010/8/10 Hans Hagen : >> \setupbackend >> [format=valid pdf/x name, >> profile=name.icc, >> intent=name.icc, >> level=compresslevel, % default 3 > > Does it correctly handle x-4? That's a lot harder then x-3. > See for yourself... /texmf-co

Re: [NTG-context] color shading/conversion (mkiv)

2010-08-06 Thread Peter Rolf
Am 06.08.2010 18:28, schrieb Hans Hagen: > On 3-8-2010 11:12, Peter Rolf wrote: >> Hi, >> >> there is a problem with color shading in combination with color >> conversion. Short example is attached. >> >> MTXrun | current version: 2010.07.30 11:35 >> T

Re: [NTG-context] new beta

2010-08-05 Thread Peter Rolf
Am 05.08.2010 23:00, schrieb Henning Hraban Ramm: > > Am 2010-08-05 um 22:19 schrieb Hans Hagen: > >> Hi, >> >> I uploaded a beta. Peter Rolf and I have spent quite some time on pdfx >> related issues (mostly trying to figure out the right specs and how to >

Re: [NTG-context] Troubles with backgrounds in bTABLE

2010-08-04 Thread Peter Rolf
Hi Willi, Am 04.08.2010 08:57, schrieb Willi Egger: > Hi all, > > I need to use the background mechanism to draw a thicker line in a > bTABLE...eTABLE setup together with MKII. > It looks like that there is a bug somewhere in this. I am unable to draw the > line at the top of the cell. However

[NTG-context] color shading/conversion (mkiv)

2010-08-03 Thread Peter Rolf
Hi, there is a problem with color shading in combination with color conversion. Short example is attached. MTXrun | current version: 2010.07.30 11:35 This is LuaTeX, Version beta-0.62.0-2010080307 (rev 3794) Best wishes, Peter \setupcolors[state=stop] \startMPpage linear_shade(unitsquare xy

Re: [NTG-context] Minimals on windows 32 bit fails ?

2010-08-03 Thread Peter Rolf
Am 03.08.2010 08:36, schrieb luigi scarso: > It seems that there is an error with > patterns while building formats -- can someone check it ? > yep, same error here. /context/tex/texmf-context/tex/context /patterns/lang-agr.pat ! Duplicate pattern. l.137 ΐ1 Peter __

Re: [NTG-context] imbalanced columns

2010-07-15 Thread Peter Rolf
Am 15.07.2010 19:28, schrieb Peter Rolf: > Am 15.07.2010 19:16, schrieb Idris Samawi Hamid ادريس سماوي حامد: >> On Thu, 15 Jul 2010 11:12:16 -0600, Peter Rolf wrote: >> >>> see attached pdf (the box looks centered). >> >> Thanks... Could you post the code

Re: [NTG-context] imbalanced columns

2010-07-15 Thread Peter Rolf
Am 15.07.2010 19:16, schrieb Idris Samawi Hamid ادريس سماوي حامد: > On Thu, 15 Jul 2010 11:12:16 -0600, Peter Rolf wrote: > >> see attached pdf (the box looks centered). > > Thanks... Could you post the code ;-) > sure, but don't expect too much :) > (unless t

Re: [NTG-context] imbalanced columns

2010-07-15 Thread Peter Rolf
Am 15.07.2010 19:12, schrieb Peter Rolf: > see attached pdf (the box looks centered). the \ruledhbox breaks the > width calculation of the second column somehow, but you can see that > there is some additional space in front of the first character. use a > negative kern in fro

Re: [NTG-context] imbalanced columns

2010-07-15 Thread Peter Rolf
Am 15.07.2010 16:53, schrieb Idris Samawi Hamid ادريس سماوي حامد: > On Thu, 15 Jul 2010 02:33:03 -0600, Peter Rolf wrote: > >> has to do with the way the column width is calculated. the combined >> entries (2+3,4+5) in row one can only influence (increase) the total >&g

Re: [NTG-context] imbalanced columns

2010-07-15 Thread Peter Rolf
Am 15.07.2010 02:35, schrieb Idris Samawi Hamid ادريس سماوي حامد: > Hi Peter, > > On Wed, 14 Jul 2010 14:26:10 -0600, Peter Rolf wrote: > >> Am 14.07.2010 20:42, schrieb Idris Samawi Hamid ادريس سماوي حامد: >>> Dear fellow gangsters, >>> >>> MkI

Re: [NTG-context] imbalanced columns

2010-07-14 Thread Peter Rolf
Am 14.07.2010 20:42, schrieb Idris Samawi Hamid ادريس سماوي حامد: > Dear fellow gangsters, > > MkIV: > > \starttext > \starttables[|c|c|c|c|c|] > \HL > \VL Sevens \VL \Use{2}[c]{Al-Yaʿqūbī} (d.~283{\sc ah})\VL > \Use{2}[c]{Al-Munādī} (d.~334{\sc ah}) \VL\AR > \HL > \VL\VL ʿAlī \VL Zayd

Re: [NTG-context] producing a pdf/X-1a:2001 file

2010-06-27 Thread Peter Rolf
aside from what can be handled in context). be sure to fulfil them all. and you have to ask your printing house, what output intent is used (probably stated on their side). updated test files (now one for each version) are attached. > thank you > ciro > > > > > > On S

Re: [NTG-context] producing a pdf/X-1a:2001 file

2010-06-26 Thread Peter Rolf
Am 26.06.2010 04:36, schrieb luigi scarso: > On Sat, Jun 26, 2010 at 2:34 AM, Ciro wrote: >> The company that is printing my book requires format >> PDF/X-1a:2001. The file produced by LuaTex is PDF 1.5. >> >> I wonder if there will be a problem, and if so, how can I do the >> conversion to X-1a:

Re: [NTG-context] fonts don´t get correct assigned in layers

2010-05-26 Thread Peter Rolf
Am 26.05.2010 13:26, schrieb Bernhard Rosensteiner: > Hello, > please have a look at the following minimal example: > > > \setuppagenumbering[state=stop] > \defineornament[Bildbeschriftung][alternative=b,preset=lefttop][style=sstf] > %font assignement in style key don´t bleed through in layers >

[NTG-context] float problem

2010-05-11 Thread Peter Rolf
Hi, I have problems with a figure in a multicolumn layout (3 columns). The graphic is around two columns wide and the caption text should be displayed beside the graphic (one column wide). Sadly the figure is shifted to the right and the width of the caption is not considered (overwritten by norma

[NTG-context] mp clippath broken (mkiv)

2010-05-07 Thread Peter Rolf
Hi, the latest version (06-05-2010) has problems with mp clippath. Example is attached. Best wishes, Peter ps: Believe it or not, but all leftovers of cuts are recycled/reused here for other graphics. I hate squandering ;) \startMPclip{mpcliptest} clip currentpicture to unitcircle scaled 5

Re: [NTG-context] float at fixed position

2010-04-24 Thread Peter Rolf
Am 23.04.2010 19:44, schrieb Hans Hagen: > On 22-4-2010 8:15, Peter Rolf wrote: >> Hi, >> >> in a multi column layout I want to place a figure at a fixed position. >> Inserting a floating object at a fixed position doesn't make any sense, >> but I need the co

[NTG-context] float at fixed position

2010-04-22 Thread Peter Rolf
Hi, in a multi column layout I want to place a figure at a fixed position. Inserting a floating object at a fixed position doesn't make any sense, but I need the correct caption (number) for the graphic. Sadly \placefigure fails with [..] todo: flush notes todo: enable not

Re: [NTG-context] a0 split into a4?

2010-04-21 Thread Peter Rolf
Hi Xan, Am 20.04.2010 20:30, schrieb Xan: >> Am 19.04.10 20:29, schrieb Xan: >> >/ Hi, >> />/ >> />/ Is it possible to "split" a0 paper into a4? I want to write >> context />/ document in a0 size but printing into 16 a4. Is it >> possible. If it's, />/ surely it's with ConTeXt! ;-) >> /\starttext

Re: [NTG-context] Grid typesetting, colums and vertical spacing

2010-04-20 Thread Peter Rolf
Hello Jan, Am 20.04.2010 14:11, schrieb Jan Pohanka: > > Hello, > > I'm trying to typeset on the grid, but I also need to reduce vertical > spacing around headings. Unfortunately when i specify the 'before/after' > setting for head, grid typesetting fails. > Is there any option to make \blank mo

[NTG-context] beta: pdfboxes missing

2010-04-07 Thread Peter Rolf
Hi, no more trimbox and cropbox here. example is \nopdfcompression \starttext\null\stoptext MTXrun | current version: 2010.04.07 14:19 This is LuaTeX, Version beta-0.60.0-2010040410 (rev 3591) This is LuaTeX, Version beta-0.60.0-2010040521 (rev 3596) [minimals] best wishes, Peter ___

Re: [NTG-context] beta: math problem (mkiv)

2010-03-30 Thread Peter Rolf
fixed in latest beta. Thanks Hans! MTXrun | current version: 2010.03.30 18:56 This is LuaTeX, Version beta-0.53.0-2010032921 (rev 3561) Am 30.03.2010 14:07, schrieb Peter Rolf: > Hi, > > I just tried the latest beta and run into this error... > > [..] > (C:/tmp/context/tex

Re: [NTG-context] beta: math problem (mkiv)

2010-03-30 Thread Peter Rolf
Am 30.03.2010 17:15, schrieb Otared Kavian: > > On 30 mars 2010, at 14:07, Peter Rolf wrote: > >> […] >> ! Math error: parameter \Umathquad\displaystyle is not set. >> l.3 $\downarrow$ >> […] >> test is simply >> >> \starttext >> $\dow

[NTG-context] beta: math problem (mkiv)

2010-03-30 Thread Peter Rolf
Hi, I just tried the latest beta and run into this error... [..] (C:/tmp/context/tex/texmf-context/tex/context/user/cont-sys.rme (C:/tmp/context/ tex/texmf-context/tex/context/base/type-def.mkiv) (C:/tmp/context/tex/texmf-cont ext/tex/context/base/type-lua.tex) (C:/tmp/context/tex/texmf-context/t

Re: [NTG-context] beta: \underbar is broken (mkiv)

2010-03-23 Thread Peter Rolf
Am 23.03.2010 11:02, schrieb Taco Hoekwater: > > > Hans Hagen wrote: >> On 22-3-2010 21:06, Peter Rolf wrote: >>> Hi, >>> >>> the underbar line is drawn vertically here. >>> >>> \starttext >>> sonder\underbar{bar} >>

[NTG-context] beta: \underbar is broken (mkiv)

2010-03-22 Thread Peter Rolf
Hi, the underbar line is drawn vertically here. \starttext sonder\underbar{bar} \stoptext MTXrun | current version: 2010.03.20 22:59 This is LuaTeX, Version beta-0.53.0-2010032213 (rev 3535) Peter ___ If your questi

Re: [NTG-context] \hyphenation problems

2010-03-22 Thread Peter Rolf
Am 22.03.2010 15:16, schrieb Tom: > Boy, am I thick. Here is an example that demonstrates the problem. You > should be able to see that cfbdatawarehouse.com did not hyphenate. To get > the malhyphenation error, it is necessary to uncomment the \hyphenation > command. Changing the width of the figur

Re: [NTG-context] interlinespace confusion (MkIV)

2010-03-12 Thread Peter Rolf
Hi Steffen, i have tried my best, but i'm no grid expert. see attached example. @Hans: 1.) \startgridcorrection[top] does not work ! Undefined control sequence. \nextoptionalcommandyes ...menttrue \domoveongrid 2.) without an additional \setupinterlineskip (after the bodyfont change in the head

Re: [NTG-context] how to set \lineskiplimit-\maxdimen

2010-03-11 Thread Peter Rolf
Am 11.03.2010 15:16, schrieb Wolfgang Schuster: > Am 11.03.10 15:08, schrieb Peter Rolf: >> \definedelimitedtext >>[quotetest] >>[leftmargin=standard, >> >> before={\startgridcorrection\blank[medium]\switchtobodyfont[8pt]\setupinterlinespa

Re: [NTG-context] how to set \lineskiplimit-\maxdimen

2010-03-11 Thread Peter Rolf
Am 11.03.2010 13:05, schrieb Steffen Wolfrum: > > Am 11.03.2010 um 12:50 schrieb Peter Rolf: > >> Am 11.03.2010 12:09, schrieb Steffen Wolfrum: >>> Hi, >>> >>> controlling the lineskip in the old-fashoined way >>> "\lineskiplimit-\maxd

Re: [NTG-context] how to set \lineskiplimit-\maxdimen

2010-03-11 Thread Peter Rolf
Am 11.03.2010 12:09, schrieb Steffen Wolfrum: > Hi, > > controlling the lineskip in the old-fashoined way "\lineskiplimit-\maxdimen" > doesn' work in mkiv anymore! > > Please have a look at the example below. Attached you may find the resulting > PDFs, set with mkii resp. mkiv. > > Steffen >

[NTG-context] beta: framecolor bug (mkiv)

2010-03-08 Thread Peter Rolf
Hi, strange little bug. packed example is attached. MTXrun | current version: 2010.03.02 12:34 This is LuaTeX, Version beta-0.51.0-2010030811 (rev 3445) Best wishes, Peter \setupcolors[state=start] \setuppagenumber[state=stop] % 'frame=off' : next frame is set to red, if its framecolor is gra

Re: [NTG-context] MetaPost filesize

2010-03-06 Thread Peter Rolf
Am 06.03.2010 19:42, schrieb Troy Henderson: > Ok then. Now for a newbie question. What is the best way to update > LuaTeX? I assumed the first-setup.sh script in my ConTeX-minimals > installation would do it for me. > i always update by hand, so better ask Mojca about it. but as the context and

Re: [NTG-context] MetaPost filesize

2010-03-06 Thread Peter Rolf
Am 06.03.2010 18:49, schrieb Troy Henderson: > What version of LuaTeX do you have? I have the following: > >> This is LuaTeX, Version beta-0.50.0-2009122519 > This is LuaTeX, Version beta-0.51.0-2010030215 (rev 3445)

Re: [NTG-context] MetaPost filesize

2010-03-06 Thread Peter Rolf
Am 06.03.2010 18:19, schrieb Troy Henderson: > I updated my ConTeXt distro, and I'm still getting a similar filesize. > I've attached the new LOG file. > no big differences, but see for yourself. i guess you also have to update luatex then. Peter (surface.tex ConTeXt ver: 2010.03.02 12:34 MKIV

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