Re: [NTG-context] \smash broken (beta)

2013-05-22 Thread Peter Rolf
Am 22.05.2013 18:44, schrieb Wolfgang Schuster: > > Am 22.05.2013 um 18:00 schrieb Peter Rolf : > >> as the subject says... :-) >> >> >> \starttext >> \starttabulate[|l|l|] >> \NC w \NC \ruledhbox{\smash [w]{This is some great smashing, isn't

[NTG-context] \smash broken (beta)

2013-05-22 Thread Peter Rolf
as the subject says... :-) \starttext \starttabulate[|l|l|] \NC w \NC \ruledhbox{\smash [w]{This is some great smashing, isn't it?}} \NC \NR \NC h \NC \ruledhbox{\smash [h]{This is some great smashing, isn't it?}} \NC \NR \NC d \NC \ruledhbox{\smash [d]{This is some great smashing, isn't

[NTG-context] typo in meta-pdf.lua (beta)

2013-05-22 Thread Peter Rolf
Hi, I found a typo in the current beta (2013-05-21) meta-pdf.lua, line 169 168 function mps.translate(tx,ty) 169 mpscode(f_translate(tx,ty) 170 end Regards, Peter ___ If your question is of interest to othe

Re: [NTG-context] [***SPAM***] Wrong °C symbol with \unit and dejavu font

2013-05-16 Thread Peter Rolf
Am 16.05.2013 23:56, schrieb Hans Hagen: > On 5/16/2013 10:26 PM, Romain Diss wrote: >> Hi all, >> >> With this minimal example: >> %%% start >> \setupbodyfont[dejavu] >> \starttext >>Temperature : \unit{100 celsius}. >> \stoptext >> %%% end >> >> I get the °F symbol instead of °C. With lmodern

Re: [NTG-context] Volunteers for testing a native rsync binary on Windows

2013-02-15 Thread Peter Rolf
Am 15.02.2013 15:42, schrieb Mojca Miklavec: > Dear ConTeXters, > > I've found a rsync binary on MinGW project page: > > http://sourceforge.net/projects/mingw/files/MSYS/Extension/rsync/rsync-3.0.8-1/ > > If there are any volunteers to test how the binary behaves when > replacing the one fro

Re: [NTG-context] problem with Iwona (beta 2012-01-08)

2013-01-08 Thread Peter Rolf
Am 08.01.2013 17:03, schrieb Hans Hagen: > On 1/8/2013 3:53 PM, Peter Rolf wrote: >> Hi, >> >> first of all thanks to Wolfgang and Hans for fixing my TOC problem. :-) >> The new beta has a problem with the Iwona font. >> >> >> \setupbodyfont[iwona] >

[NTG-context] problem with Iwona (beta 2012-01-08)

2013-01-08 Thread Peter Rolf
Hi, first of all thanks to Wolfgang and Hans for fixing my TOC problem. :-) The new beta has a problem with the Iwona font. \setupbodyfont[iwona] \starttext foobar \stoptext gives... [..] (test.tex fonts > typescripts > unknown: library 'loc' (R:/tex/texmf-context/tex/context/ba

[NTG-context] empty TOC

2013-01-07 Thread Peter Rolf
Hi, I get an empty TOC again when compiling the documentation for the drops module. The entries for the TOC are set in the *.tuc file, but the TOC in the document stays empty. I tried the "[criterium=all]" option, same result. A TOC example from the wiki worked, so this time not a general problem.

Re: [NTG-context] drops module (draft)

2012-12-08 Thread Peter Rolf
ader > crashes and there is no way to open that file with it. However th eother > file, « rotate.pdf » opens without any problem… > > Best regards: OK > > On 6 déc. 2012, at 18:08, Peter Rolf wrote: > >> Hi all, >> >> a first version of the 'drops

Re: [NTG-context] drops module (draft)

2012-12-07 Thread Peter Rolf
Am 07.12.2012 13:49, schrieb Marco Patzer: > On 2012–12–07 Peter Rolf wrote: > >> Am 06.12.2012 19:35, schrieb Marco: >>> On 2012–12–06 Aditya Mahajan wrote: >>> >>>> I always thought that shadows were possible to do in PDF (after all >>&

Re: [NTG-context] drops module (draft)

2012-12-07 Thread Peter Rolf
Am 06.12.2012 19:35, schrieb Marco: > On 2012–12–06 Aditya Mahajan wrote: > >> I always thought that shadows were possible to do in PDF (after all >> TikZ does it using some type of PDF primitives). > > It is. I use MetaPost to draw the shadows using the shading > mechanism: > > withshading("c

Re: [NTG-context] drops module (draft)

2012-12-07 Thread Peter Rolf
Am 06.12.2012 19:18, schrieb Wolfgang Schuster: > > Am 06.12.2012 um 19:05 schrieb Aditya Mahajan : > >> On Thu, 6 Dec 2012, Peter Rolf wrote: >> >>> Hi all, >>> >>> a first version of the 'drops'-module (MkIV only) is available at >&

Re: [NTG-context] drops module (draft)

2012-12-07 Thread Peter Rolf
Am 06.12.2012 19:05, schrieb Aditya Mahajan: > On Thu, 6 Dec 2012, Peter Rolf wrote: > >> Hi all, >> >> a first version of the 'drops'-module (MkIV only) is available at >> >> https://www.wuala.com/indiego/public/ConTeXt/drops/?key=caiCGLasLFmJ

[NTG-context] drops module (draft)

2012-12-06 Thread Peter Rolf
Hi all, a first version of the 'drops'-module (MkIV only) is available at https://www.wuala.com/indiego/public/ConTeXt/drops/?key=caiCGLasLFmJ Taken from the included documentation.. [..] 'drops' is a small extension for ConTeXt, that allows you to add drop shadows to rectangular regions (so ca

Re: [NTG-context] pagecolormodel

2012-12-04 Thread Peter Rolf
Am 04.12.2012 17:52, schrieb Peter Rolf: > Hi, > > using '\setupcolor[pagecolormodel=auto]' (or any other setting) gives ^^^ s Mh, strange. Haven't seen that. ;-) > > [..] > colors > defining > unknown:

[NTG-context] pagecolormodel

2012-12-04 Thread Peter Rolf
Hi, using '\setupcolor[pagecolormodel=auto]' (or any other setting) gives [..] colors > defining > unknown: library 'pagecolormodel=auto' {R:/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map} fonts > preloading latin modern fonts (second stage) fonts > typescr

Re: [NTG-context] Images in MultiMarkdown -> context -> PDF

2012-11-21 Thread Peter Rolf
I suggest that you use 'identify' from ImageMagick to check your graphics. identify -verbose foo.jpg One graphic has a defined resolution (72ppi) and one has none. I also use ImageMagick to automatically add the resolution info to the graphics. No problems with graphic sizes since then. Here is

Re: [NTG-context] random seed

2012-11-14 Thread Peter Rolf
Am 14.11.2012 20:20, schrieb Hans Hagen: > On 11/14/2012 7:55 PM, Peter Rolf wrote: >> Hi, >> >> in one of my documents I use a specific random seed to create a fixed >> random based graphic (size, color, position). This works fine under >> Windows (where I &#x

[NTG-context] random seed

2012-11-14 Thread Peter Rolf
Hi, in one of my documents I use a specific random seed to create a fixed random based graphic (size, color, position). This works fine under Windows (where I 'found' the seed value), but I get a complete different result on my Debian system. Is there a way to get identical results on different O

Re: [NTG-context] emtpy TOC (beta)

2012-10-30 Thread Peter Rolf
Am 30.10.2012 16:00, schrieb Wolfgang Schuster: > > Am 30.10.2012 um 15:22 schrieb Peter Rolf : > >> Hi, >> >> I get an empty TOC for my document with the latest beta (works with >> 2012-10-19). I have deleted the *.tuc file (just to be sure), but still >&

[NTG-context] emtpy TOC (beta)

2012-10-30 Thread Peter Rolf
Hi, I get an empty TOC for my document with the latest beta (works with 2012-10-19). I have deleted the *.tuc file (just to be sure), but still no TOC after a fresh run. Sorry, no small example yet. The document is the draft documentation of a not yet published module (won't compile without the mo

Re: [NTG-context] mkiv: way to signal extra run(s)

2012-09-29 Thread Peter Rolf
Am 29.09.2012 16:24, schrieb Philipp Gesang: > · > >> Hi, >> >> just wondering. Is there a official way to signal ConTeXt from a module, >> that an extra run is needed? > > Hi Peter, some time ago I got this answer from Hans: > http://www.mail-archive.com/ntg-context@ntg.nl/msg45820.html

[NTG-context] mkiv: way to signal extra run(s)

2012-09-29 Thread Peter Rolf
Hi, just wondering. Is there a official way to signal ConTeXt from a module, that an extra run is needed? I started thinking about adding bookkeeping for the created run time graphics. Graphic related changes can then be detected and, if necessary, extra runs can be started to update the changed

Re: [NTG-context] ConTeXt color to text

2012-09-04 Thread Peter Rolf
Am 03.09.2012 20:36, schrieb Hans Hagen: > On 3-9-2012 18:59, Peter Rolf wrote: >> Hi, >> >> for a batch command (ImageMagick) I need to convert ConTeXt colors to a >> text representation (e.g. rgb 'red' -> 'rgb(255,0,0)'; same for color >&g

[NTG-context] ConTeXt color to text

2012-09-03 Thread Peter Rolf
Hi, for a batch command (ImageMagick) I need to convert ConTeXt colors to a text representation (e.g. rgb 'red' -> 'rgb(255,0,0)'; same for color models cmyk and gray). What is the best way to get (read only) access to the color channels of a defined color? Peter

[NTG-context] setuptex on Debian

2012-08-24 Thread Peter Rolf
Hi, just testing a module on a fresh Linux (Debian 6.0.5-i386) with the latest standalone. No messages when calling 'setuptex', but the PATH to the binaries is not set correctly here. I manually added the binary path to '.bashrc' and it worked. # add ConTeXt binaries to PATH PATH=~/context/tex/te

Re: [NTG-context] test for (negative) number

2012-08-21 Thread Peter Rolf
Thanks for all the answers so far. The 'doifelse' should do the trick. I was hoping for a system macro, but if there is none, I have to program it myself. :-) Peter Am 21.08.2012 08:56, schrieb Wolfgang Schuster: > > Am 21.08.2012 um 08:32 schrieb Procházka Lukáš : > >> >> On Mon, 20 Aug 2012 2

[NTG-context] test for (negative) number

2012-08-20 Thread Peter Rolf
Hi, I used '\doifnumberelse' to validate some macro parameters (angle). Sadly it does not work with negative numbers. Is there a similar macro, that also supports negative values? Example: \doifnumberelse {45}{yes}{no}% yes \doifnumberelse{-45}{yes}{no}% no Greetings, Peter ___

Re: [NTG-context] vertical distance in combinations

2012-08-13 Thread Peter Rolf
Am 13.08.2012 19:58, schrieb Wolfgang Schuster: > > Am 13.08.2012 um 19:51 schrieb Peter Rolf : > >> Hi, >> >> the following code does not work in mkiv (also tested with latest beta). >> >> >> \setuppagenumber[state=stop] >> >> \starttext

[NTG-context] vertical distance in combinations

2012-08-13 Thread Peter Rolf
Hi, the following code does not work in mkiv (also tested with latest beta). \setuppagenumber[state=stop] \starttext \setupcombinations[distance=10mm,inbetween=\vskip10mm] %\setupcombinations[distance=10mm,inbetween={\blank[10mm]}] \setupblackrules[width=40mm,height=40mm] \startcombination[2*2

Re: [NTG-context] Added licensing information to PDF

2012-08-01 Thread Peter Rolf
Am 01.08.2012 09:21, schrieb Philipp Gesang: > Hi Tobias, > > · > >> I am trying to switch from LaTeX to ConTeXt and I'd like to add >> licensing information to the generated PDF, just like what the >> "hyperxmp" package would do for LaTeX. > > you can include XMP files with one line: >

[NTG-context] mutual color definition

2012-05-14 Thread Peter Rolf
Hi, while playing around with colors, I accidentally used two mutual color definitions. Stupid thing to do, but shit happens. :-D This example ends in an infinite loop. %-- \definecolor[foo][red] \definecolor[bar][foo] \starttext \definecolor[foo][bar] \color[foo] foo \colo

[NTG-context] \doifolderversionelse

2012-05-10 Thread Peter Rolf
Hi, I tried to handle some version changes with \doifolderversionelse. Sadly it does not work here. Example: \starttext \doifolderversionelse\contextversion{1010.10.10} {OLDER} {OKAY}% => OLDER \doifolderversionelse\contextversion{2020.20.20} {OLDER} {OKAY}% => OKAY \doifolderversionelse\context

Re: [NTG-context] multitone color problem

2012-05-07 Thread Peter Rolf
Am 07.05.2012 10:05, schrieb Hans Hagen: > On 24-4-2012 18:03, Peter Rolf wrote: >> Hi, >> >> just playing around with spot colors and run into this problem. >> tested with 23.04.2012 and ??.11.2011, same result. the color definition >> leads to an inva

Re: [NTG-context] \systemparameter{n}

2012-05-07 Thread Peter Rolf
Am 06.05.2012 22:26, schrieb Hans Hagen: > On 3-5-2012 19:01, Peter Rolf wrote: >> Hi, >> >> the system parameter 'n' is not properly set on the third run. >> >> % test.tex >> \starttext >> >> \ifnum\systemparameter{n}=1\relax >>

[NTG-context] \systemparameter{n}

2012-05-03 Thread Peter Rolf
Hi, the system parameter 'n' is not properly set on the third run. % test.tex \starttext \ifnum\systemparameter{n}=1\relax \ctxlua{print("*** 1st run")}\fi \ifnum\systemparameter{n}=2\relax \ctxlua{print("*** 2nd run")}\fi \ifnum\systemparameter{n}=3\relax \ctxlua{print("*** 3rd run")}\fi

Re: [NTG-context] drawarrow and transparency

2012-05-03 Thread Peter Rolf
Hi Alan, Am 03.05.2012 12:32, schrieb Alan BRASLAU: > On Wed, 2 May 2012 21:42:24 +0200 > Marco wrote: > >> On 2012-05-02 Alan BRASLAU wrote: >> >>> For example, in the minimal example below, how can one obtain >>> a transparent arrow without getting an X-ray vision of the >>> arro

Re: [NTG-context] Metapost/Metafun Q: using variables and "building blocks"?

2012-05-01 Thread Peter Rolf
Hi Mari, Am 30.04.2012 23:40, schrieb Mari Voipio: > On Mon, Apr 23, 2012 at 20:34, Mari Voipio wrote: >> a) I need to be able to stack four of these on top of each other and >> then four mirrored ones next to them > > OK, I really was being stupid - I had already managed to do a "shift" > insid

Re: [NTG-context] Rendering differences between PDF viewers

2012-04-28 Thread Peter Rolf
Am 24.04.2012 14:42, schrieb Hans Hagen: > On 20-4-2012 09:50, Peter Rolf wrote: >> Am 19.04.2012 20:25, schrieb Hans Hagen: >>> On 18-4-2012 13:12, Peter Rolf wrote: >>> >>>> I understand that there is no easy or general solution for this. >>>>

Re: [NTG-context] Rendering differences between PDF viewers

2012-04-25 Thread Peter Rolf
Am 24.04.2012 15:37, schrieb Peter Rolf: > Am 24.04.2012 14:42, schrieb Hans Hagen: >> On 20-4-2012 09:50, Peter Rolf wrote: >>> Am 19.04.2012 20:25, schrieb Hans Hagen: >>>> On 18-4-2012 13:12, Peter Rolf wrote: >>>> >>>>> I understand that

[NTG-context] multitone color problem

2012-04-24 Thread Peter Rolf
Hi, just playing around with spot colors and run into this problem. tested with 23.04.2012 and ??.11.2011, same result. the color definition leads to an invalid pdf. % multitone.tex \nopdfcompression \setuppagenumber[state=stop] \definemultitonecolor[combicolor] [blue=.12,yellow=.28] [c=.1,m

Re: [NTG-context] Rendering differences between PDF viewers

2012-04-24 Thread Peter Rolf
Am 24.04.2012 14:42, schrieb Hans Hagen: > On 20-4-2012 09:50, Peter Rolf wrote: >> Am 19.04.2012 20:25, schrieb Hans Hagen: >>> On 18-4-2012 13:12, Peter Rolf wrote: >>> >>>> I understand that there is no easy or general solution for this. >>>>

Re: [NTG-context] Rendering differences between PDF viewers

2012-04-20 Thread Peter Rolf
Am 19.04.2012 20:25, schrieb Hans Hagen: > On 18-4-2012 13:12, Peter Rolf wrote: > >> I understand that there is no easy or general solution for this. >> But on the other hand is PNG currently the only way to use transparent >> bitmaps in TeX. The usage of transparent PNG

Re: [NTG-context] Rendering differences between PDF viewers

2012-04-18 Thread Peter Rolf
Am 18.04.2012 09:38, schrieb Hans Hagen: > On 18-4-2012 02:49, Kip Warner wrote: >> On Tue, 2012-04-17 at 12:48 +0200, Peter Rolf wrote: >>> Hi Kip, >>> >>> give it a try and add this to you document... >>> >>> >>> \startluaco

Re: [NTG-context] Rendering differences between PDF viewers

2012-04-17 Thread Peter Rolf
Am 17.04.2012 12:12, schrieb Hans Hagen: > On 17-4-2012 11:53, Peter Rolf wrote: >> Am 17.04.2012 08:57, schrieb Kip Warner: >>> On Tue, 2012-04-17 at 08:54 +0200, Hans Hagen wrote: >>>> (AR might have flaws but so do all other viewers I've seen.) >>&

Re: [NTG-context] Rendering differences between PDF viewers

2012-04-17 Thread Peter Rolf
Am 17.04.2012 08:57, schrieb Kip Warner: > On Tue, 2012-04-17 at 08:54 +0200, Hans Hagen wrote: >> (AR might have flaws but so do all other viewers I've seen.) > > I don't doubt it, but something that salient is pretty bad though. The > whole document looks just awful. > >> Is there a small examp

Re: [NTG-context] starting batch file after first of at least two runs

2012-04-10 Thread Peter Rolf
Am 10.04.2012 19:09, schrieb Hans Hagen: > On 10-4-2012 18:43, Peter Rolf wrote: >> Am 10.04.2012 16:53, schrieb Peter Rolf: >>> Hi, >>> >>> In the first run I collect several ImageMagick commands in a common >>> batch file, which should be executed a

Re: [NTG-context] starting batch file after first of at least two runs

2012-04-10 Thread Peter Rolf
Am 10.04.2012 16:53, schrieb Peter Rolf: > Hi, > > In the first run I collect several ImageMagick commands in a common > batch file, which should be executed afterwards. A second run is also > needed to include the created graphics. > > > I tried > > \append

[NTG-context] starting batch file after first of at least two runs

2012-04-10 Thread Peter Rolf
Hi, In the first run I collect several ImageMagick commands in a common batch file, which should be executed afterwards. A second run is also needed to include the created graphics. I tried \appendtoks\mycommand\to\everygoodbye but that does not work properly, if only one run is needed otherwi

Re: [NTG-context] random background picture in metafun

2012-03-13 Thread Peter Rolf
Am 13.03.2012 19:00, schrieb Aditya Mahajan: > On Tue, 13 Mar 2012, Peter Rolf wrote: > >> Am 13.03.2012 15:45, schrieb Thomas A. Schmitz: >>> Hi all, >>> >>> scenario: for a presentation, I want the background to be a random >>> picture, taken fro

Re: [NTG-context] random background picture in metafun

2012-03-13 Thread Peter Rolf
Am 13.03.2012 15:45, schrieb Thomas A. Schmitz: > Hi all, > > scenario: for a presentation, I want the background to be a random > picture, taken from a directory "backgroundpics." The pictures are > numbered consecutively as 1.jpg through 22.jpg. For some complex > reasons, it would be easier for

Re: [NTG-context] Preparing the print: ICC-Profiles, Fogra, (in german untranslatable)

2012-02-24 Thread Peter Rolf
Am 24.02.2012 12:51, schrieb Jan Heinen: > My book is ready and I want to print it next week. > > 1. The printer told me to set up my PDF with the following values: > PDF/X-1a:2003, > ISO Coated v2 (ECI) > > 2. And I did: > > \setupbackend > [format=PDF/X-1a:2003, > intent={ISO Coated v2 (ECI

Re: [NTG-context] Preparing the print: ICC-Profiles, Fogra, (in german untranslatable)

2012-02-24 Thread Peter Rolf
Am 24.02.2012 12:51, schrieb Jan Heinen: > My book is ready and I want to print it next week. > > 1. The printer told me to set up my PDF with the following values: > PDF/X-1a:2003, > ISO Coated v2 (ECI) > > 2. And I did: > > \setupbackend > [format=PDF/X-1a:2003, > intent={ISO Coated v2 (ECI

Re: [NTG-context] \externalfigure and file size

2012-01-19 Thread Peter Rolf
Am 19.01.2012 01:25, schrieb Kip Warner: > Hey list, > > I have a number of \externalfigure commands to typeset some svg images. > This is often handy to have them vectorized because it allows for the > user to zoom in on diagrams of great detail. > > In other situations, I find that for images

Re: [NTG-context] Overprinting

2012-01-06 Thread Peter Rolf
Am 06.01.2012 16:54, schrieb Jan Heinen: > The company who prints my books says that my text > is not overprinted over the framed boxes. > They do a preflight with Adobe. > > I think, I made no mistake - what do you think? hard to say without seeing your sources :-) > I hope it is not a missing

Re: [NTG-context] Newest ConTeXt in Windows7: kpathsea60.dll is missing ?

2011-12-28 Thread Peter Rolf
Am 28.12.2011 11:40, schrieb Hans Hagen: > On 28-12-2011 11:20, Mojca Miklavec wrote: > >> I'm just a tiny bit confused since I'm not sure if any other binary >> still needs the old kpathsea. I think that both should be present at >> the moment, but I didn't properly fix everything yet. > > As al

Re: [NTG-context] metapost question

2011-12-01 Thread Peter Rolf
Am 01.12.2011 23:25, schrieb Hans van der Meer: > In MetaPost: > After putting something in a picture, one can draw its boundaries with "draw > boundingbox thepicture". Is it possible to obtain at that point the > dimensions of this boudingbox in order to do some calculations with them? > urcorn

Re: [NTG-context] xml and lua again

2011-10-23 Thread Peter Rolf
Am 22.10.2011 18:46, schrieb Thomas A. Schmitz: > Hi all, > > again, I'm playing a bit with processing my xml in lua. I want a simple > interface for processing tables (I don't need all the power and > complexity of cals tables and want to learn something in the process). > And I thought that coll

Re: [NTG-context] xml and lua again

2011-10-23 Thread Peter Rolf
Am 23.10.2011 16:37, schrieb Thomas A. Schmitz: > Hi Peter, > > thanks for your reply, and I'll keep the bit about goat milk in mind :-). > > >> "frame=" .. tostring(framestate) > > It has the advantage of making the example compile. It has the drawback > of not doing anything :-) > (sadly) tru

Re: [NTG-context] MetaPost: Confusion with `function()` and `xyscaled`

2011-10-23 Thread Peter Rolf
Am 23.10.2011 16:12, schrieb Paul Menzel: > Am Freitag, den 21.10.2011, 18:08 +0200 schrieb Peter Rolf: >> Am 21.10.2011 17:26, schrieb Paul Menzel: > >>> Am Freitag, den 21.10.2011, 17:02 +0200 schrieb Peter Rolf: >>> >>>> I agree, this is confusing on

Re: [NTG-context] xml and lua again

2011-10-23 Thread Peter Rolf
Hi Thomas, Am 22.10.2011 18:46, schrieb Thomas A. Schmitz: > Hi all, > > again, I'm playing a bit with processing my xml in lua. I want a simple > interface for processing tables (I don't need all the power and > complexity of cals tables and want to learn something in the process). > And I thoug

Re: [NTG-context] MetaPost: Confusion with `function()` and `xyscaled`

2011-10-21 Thread Peter Rolf
Am 21.10.2011 17:26, schrieb Paul Menzel: > Dear Peter, > > > thank you for your answer. > > Am Freitag, den 21.10.2011, 17:02 +0200 schrieb Peter Rolf: > >> I agree, this is confusing on the first sight. But scaling is not meant >> as 'scaling to

Re: [NTG-context] metapost question

2011-10-21 Thread Peter Rolf
Am 21.10.2011 15:05, schrieb Hans van der Meer: > I cannot find the answer to the following question in Knuth's Metafont book. > The following definition with a trailing text argument: > > def mydef (expr a, b, c) text modifier = > if : Have you already tried if modifier = "" :

Re: [NTG-context] MetaFun: Confusion with `function()` and `xyscaled`

2011-10-21 Thread Peter Rolf
Hi Paul, I agree, this is confusing on the first sight. But scaling is not meant as 'scaling to' a dimension. In fact is is just a simple multiplication. The reason why it seems to work this way with 'fullsquare' and such predefined paths is, that they have a 'neutral' size/scale (bounding box siz

Re: [NTG-context] transparency in latest beta (mlib)

2011-10-19 Thread Peter Rolf
Am 19.10.2011 18:21, schrieb Hans Hagen: > On 19-10-2011 17:00, Peter Rolf wrote: >> Hi, >> >> I just tested the latest beta (2011.10.19 00:02) and get some curious >> results for transparent colors. For example >> >> >> \nopdfcompression >> \se

[NTG-context] transparency in latest beta (mlib)

2011-10-19 Thread Peter Rolf
Hi, I just tested the latest beta (2011.10.19 00:02) and get some curious results for transparent colors. For example \nopdfcompression \setupcolors[state=start] % mkii works \startMPpage fill unitsquare scaled 100 withcolor transparent(1,.5,red); \stopMPpage gives me an opaque(!) and ver

Re: [NTG-context] metapost not adding picture

2011-10-09 Thread Peter Rolf
Am 09.10.2011 22:01, schrieb Meer, H. van der: > I have this question on the implementation of metapost. > The following program ends in an error: > > \startMPpage > picture v; > draw origin--(1cm,1cm); > v = currentpicture; > clearit; > draw (1cm,0)--(0,1cm); > currentpicture := currentpicture +

Re: [NTG-context] transparent text in \framed

2011-10-08 Thread Peter Rolf
Am 08.10.2011 12:01, schrieb Hans Hagen: > On 7-10-2011 17:35, Peter Rolf wrote: >> Hi, >> >> I found a problem with transparency in \framed. If the foreground color >> is transparent, the attribute is active all the time. Same is true if >> you use a transparen

[NTG-context] transparent text in \framed

2011-10-07 Thread Peter Rolf
Hi, I found a problem with transparency in \framed. If the foreground color is transparent, the attribute is active all the time. Same is true if you use a transparent foreground color in the content. Small test file is attached. Tested with beta from 2011.10.05 23:53, LuaTeX, Version beta-0.70.1

[NTG-context] trackers problem (fonts.all)

2011-10-05 Thread Peter Rolf
Hi, I had problems loading an old ttf font in ConTeXt. When trying to figure out what goes wrong, I added "--trackers=fonts.all". Sadly this breaks with [..] -gds.lua><+ R:/tex/texmf-context/tex/context/base/font-def.lua> ! LuaTeX error R:/tex/texmf-context/tex/context/base/trac-set.lua:87: attem

Re: [NTG-context] Clip and framed not precise in MKIV

2011-09-21 Thread Peter Rolf
Am 21.09.2011 14:26, schrieb Otso Helenius: > Hi, > > I've used ConTeXt to chop up a big map svg on separate A4 papers like this: > > \setuplayout[width=190mm,backspace=10mm,height=297mm,topspace=10mm, > header=0mm] > \setupclipping[nx=3,ny=3] > > \starttext > \dorecurse{3}{\framed{\clip[x=\recu

Re: [NTG-context] metafun shared code

2011-09-19 Thread Peter Rolf
Am 19.09.2011 17:01, schrieb Marcin Borkowski: > Hi all, > > I'd like to have some MP code shared between unique graphics (in MkIV). > > One example: I'd like to have drawoptions for all graphics. > > Another one: I'd like to have two similar (but different) unique > graphics, and I'd like them

Re: [NTG-context] MetaPost visibly drawing at 0pt

2011-09-19 Thread Peter Rolf
Am 19.09.2011 14:31, schrieb Meer, H. van der: > I used to put an invisible frame around figures in MetaPost by setting a pen > scaled at 0pt. That left no trace, but defined the area. > However I (now) see a thin line drawn by code: > > pickup pencircle scaled 0pt; > draw origi

Re: [NTG-context] \startstaticMPfigure

2011-09-19 Thread Peter Rolf
Am 19.09.2011 11:17, schrieb Meer, H. van der: >>From the Wiki I learn about \startstaticMPfigure that it "creates a separate >>pdf file containing the graphic". But when I exercise the example given I do >>not see those staticMPfigure's in sepaarte pdf's. What am I missing? I >>thought to use t

Re: [NTG-context] MKIV strange results in Adobe Reader

2011-09-08 Thread Peter Rolf
Am 08.09.2011 11:31, schrieb Hans Hagen: > On 8-9-2011 11:19, Otso Helenius wrote: >> Hello, >> >> I recently made a SimpleSlides presentation with MKIV (2011.08.27 >> 13:24). It looks ok on numerous PDF readers including Okular, Google >> Docs, Sumatra PDF. Whenever I open it on Adobe Reader, the

Re: [NTG-context] Embedding of ICC profiles and preflight

2011-09-07 Thread Peter Rolf
There are several test cases for the different PDF/X variants in [?]/tex/texmf-context/tex/context/test Copy 'pdf-x1a-2001.mkiv', 'pdf-x-common.mkiv' and the icc profile to your test directory. Just add the parameter 'option=always' to the test file and run it ('context pdf-x1a-2001.mkiv'). The

[NTG-context] transparency problem (mkiv)

2011-09-05 Thread Peter Rolf
Hi, I noticed some problems with transparency colors lately. But every time I tried to make a minimal example out of it, the code worked. Now, by chance, I found a not working example. \setuppagenumber[state=stop] \definecolor[tcolor][r=1,a=1,t=.6] \definetextbackground[ghost] [background=col

Re: [NTG-context] no strut in \framed

2011-09-05 Thread Peter Rolf
Am 05.09.2011 00:39, schrieb Hans Hagen: > On 4-9-2011 20:23, Peter Rolf wrote: >> Am 04.09.2011 18:48, schrieb Hans Hagen: >>> On 4-9-2011 18:38, Peter Rolf wrote: >>>> Hi, >>>> >>>> I get no strut in \framed when using 'offset=overlay

Re: [NTG-context] no strut in \framed

2011-09-04 Thread Peter Rolf
Am 04.09.2011 18:48, schrieb Hans Hagen: > On 4-9-2011 18:38, Peter Rolf wrote: >> Hi, >> >> I get no strut in \framed when using 'offset=overlay' or 'offset=none'. >> >> >> \setupcolors[state=start] >> \starttext >> \showst

[NTG-context] no strut in \framed

2011-09-04 Thread Peter Rolf
Hi, I get no strut in \framed when using 'offset=overlay' or 'offset=none'. \setupcolors[state=start] \starttext \showstruts \framed[offset=1pt]{abc} % ok \framed[offset=overlay]{abc} \framed[offset=none]{abc} \stoptext Same for both marks. mtx-context | current version: 2011.08.27 13:24

Re: [NTG-context] Embedding of ICC profiles and preflight

2011-09-02 Thread Peter Rolf
Am 02.09.2011 09:12, schrieb Honza Hejzl: > So, it is interesting and more complicated. The exact part: > > \setupbackend >[format=PDF/X-1a:2001, > intent=Coated FOGRA39 (ISO 12647-2:2004), > option=always,% for a much bigger document :-) >] > > … seems to work on my Debian standa

Re: [NTG-context] Embedding of ICC profiles and preflight

2011-09-01 Thread Peter Rolf
Am 01.09.2011 20:42, schrieb Honza Hejzl: > Thanks, > > Just a notice – the style \startoverprint… should be probably in future > versions too, or how to overprint two elements and how to knockout the > next one? Is it possible? (In one file could be a lot of such cases needed.) > You never know

Re: [NTG-context] Embedding of ICC profiles and preflight

2011-09-01 Thread Peter Rolf
Am 01.09.2011 17:24, schrieb Wolfgang Schuster: > > Am 01.09.2011 um 17:08 schrieb Peter Rolf: > >> Use '\startoverprint ... \stopoverprint', […] > > You shouldn’t recommend deprecated commands, it’s only in the core for > backwards > compatibility a

Re: [NTG-context] Embedding of ICC profiles and preflight

2011-09-01 Thread Peter Rolf
Am 01.09.2011 15:30, schrieb Honza Hejzl: > Hello, > I am trying to embed a profile but it doesn't work. I am using: > > \setupbackend > [format=PDF/X-1a:2001, > intent=Coated FOGRA39 (ISO 12647-2:2004), > file=CoatedFOGRA39.icc, > option=always > ] > > Acrobat Preflight says

Re: [NTG-context] graphictext, mkii and texlive2011

2011-08-31 Thread Peter Rolf
Am 31.08.2011 14:48, schrieb richard rascher-friesenhausen: > Hello, > > Metafuns graphictext is broken. At least on my win 7 system. Trying to > compile > > \starttext > > \startMPpage > graphictext "FOO"; > \stopMPpage > > \stoptext > > using mkii (ConTeXt ver: 2011.05.18 18:04 MKII fmt:

[NTG-context] smash expansion (mkiv)

2011-08-29 Thread Peter Rolf
Hi, I use \smash[]{..} quite often and noticed some expansion problems with it. Can \smash be defined as [supp-box.mkiv] \unexpanded\def\smash {\futurelet\nexttoken\dosmash} ??? Regards, Peter ___ If your questio

Re: [NTG-context] fonts

2011-08-26 Thread Peter Rolf
Am 26.08.2011 15:43, schrieb Hans van der Meer: > > On 26 aug. 2011, at 15:14, Taco Hoekwater wrote: > >> >> On Aug 26, 2011, at 2:55 PM, Hans van der Meer wrote: >> >>> Still a mystery to me. In your logfile I see the line >>> used files > 16: filename=AntykwaTorunska-Regular | filetype=o

Re: [NTG-context] fonts

2011-08-26 Thread Peter Rolf
gular.otf > /Users/hans/TeX/context/tex/texmf-fonts/opentype/public/lm/lmmath-regular.otf > > The font seems to be there. > Hans van der Meer > > On 26 aug. 2011, at 12:54, Peter Rolf wrote: > >> Am 26.08.2011 12:36, schrieb Hans van der Meer: >>> I guess I am missi

Re: [NTG-context] fonts

2011-08-26 Thread Peter Rolf
Am 26.08.2011 12:36, schrieb Hans van der Meer: > I guess I am missing something in my font handling here, but do not know what. > > Hans van der Meer > > This is the minimal example: > \def\fontname{antykwa} > \setupbodyfont[\fontname] > \starttext > Requested font = \fontname.\crlf > \showbodyf

[NTG-context] \setupfields needs linefeed

2011-08-24 Thread Peter Rolf
Hi, I use '\setupfields[reset]%' in a tooltip macro and this single line breaks compilation. [..] Runaway argument? ]\stoptext ! File ended while scanning use of \scrn_field_setup_fields. \par <*> ./tooltip \stoptext ? ! Emergency stop. \par <*> ./t

Re: [NTG-context] icc stream handling broken?

2011-08-24 Thread Peter Rolf
Am 23.08.2011 14:36, schrieb Peter Rolf: > Hi Hans, > > can you check the attached example (the normal PDF/X-4p test file)? > lpdf.flushstreamfileobject() breaks here when calling the local table > 'dict()'. Is this normally handled by metatables? > Obviously a stup

Re: [NTG-context] Side-by-Side tables

2011-08-24 Thread Peter Rolf
Am 24.08.2011 14:16, schrieb Troy Henderson: > have you tried the 'inbetween' or 'distance' parameter from > \setupcombinations? > > > Well what I would like would be for the following to work > > \setupcombinations[before={\hfill},inbetween={\hfill},after={\hfill}] > I looked into the C

Re: [NTG-context] Side-by-Side tables

2011-08-24 Thread Peter Rolf
Am 24.08.2011 13:56, schrieb Troy Henderson: > I am trying to place two tables side-by-side one another with equal > spacing between the margin and each table and between tables. That is, > I would like the layout to be like > > --- A --- B --- > > where A and B are tables and --- represents an

[NTG-context] icc stream handling broken?

2011-08-23 Thread Peter Rolf
Hi Hans, can you check the attached example (the normal PDF/X-4p test file)? lpdf.flushstreamfileobject() breaks here when calling the local table 'dict()'. Is this normally handled by metatables? Greetings, Peter test.7z Description: Binary data ___

[NTG-context] typo in syst-aux.mkiv

2011-08-19 Thread Peter Rolf
Hi, undefined '\e!!es' breaks compilation here (beta 18.08.2011). \def\getfirstcharacter #1{\ctxcommand{getfirstcharacter(\!!bs#1\e!!es)}} \def\doiffirstcharelse#1#2{\ctxcommand{doiffirstcharelse(\!!bs#1\e!!es,\!!bs#2\e!!es)}} % chr str Peter ___

Re: [NTG-context] Centering 'clipping' text logo

2011-08-17 Thread Peter Rolf
Am 17.08.2011 13:50, schrieb Cecil Westerhof: > I like the last example on: > http://wiki.contextgarden.net/Graphical_text_manipulation > > This creates a left aligned 'logo'. I would like it to be centered. I > tried several things, but until now to no avail. How can I get it centered? > my f

Re: [NTG-context] Two rotates on the same line

2011-08-17 Thread Peter Rolf
Am 17.08.2011 13:30, schrieb Cecil Westerhof: > 2011/8/17 Peter Rolf mailto:indi...@gmx.net>> > > Am 17.08.2011 12:51, schrieb Peter Rolf: > > Am 17.08.2011 12:40, schrieb Cecil Westerhof: > >> I am still expanding my knowledge of ConTeXt. At

Re: [NTG-context] Two rotates on the same line

2011-08-17 Thread Peter Rolf
Am 17.08.2011 12:51, schrieb Peter Rolf: > Am 17.08.2011 12:40, schrieb Cecil Westerhof: >> I am still expanding my knowledge of ConTeXt. At the moment I am playing >> with \rotate. When using: >> \rotate[rotation=42]{Tekst kan ook worden geroteerd.} >> \r

Re: [NTG-context] Two rotates on the same line

2011-08-17 Thread Peter Rolf
Am 17.08.2011 12:40, schrieb Cecil Westerhof: > I am still expanding my knowledge of ConTeXt. At the moment I am playing > with \rotate. When using: > \rotate[rotation=42]{Tekst kan ook worden geroteerd.} > \rotate[rotation=-42]{In elke richting die je maar wilt.} > > This is displayed as:

[NTG-context] wrong mlib process calls

2011-08-16 Thread Peter Rolf
Hi, I have added the 'mtr' process in front of the normal 'tr' process. [mlib-pps.lua] ... appendaction(processoractions,"system",fg_process) appendaction(processoractions,"system",mtr_process) appendaction(processoractions,"system",tr_process) -- last, as color can be reset ... Strangely the 'm

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