Re: [NTG-context] For Windows users: ConTeXt + SciTe installation instructions updated

2011-10-21 Thread Mari Voipio
Lähetetty kännystäni / Sent from my iPhone On 20.10.2011, at 13.06, Hans Hagen pra...@wxs.nl wrote: On 20-10-2011 10:50, Lutz Haseloff wrote: if i install SciTe and the the ConTeXt files for SciTe on my Win 7 64 bit, i can no longer scroll the text in the editor. Windows quits SciTe

Re: [NTG-context] For Windows users: ConTeXt + SciTe installation instructions updated

2011-10-21 Thread Lutz Haseloff
2011/10/20 Mari Voipio mvoi...@gmail.com: Lähetetty kännystäni / Sent from my iPhone On 20.10.2011, at 13.06, Hans Hagen pra...@wxs.nl wrote: On 20-10-2011 10:50, Lutz Haseloff wrote: if i install SciTe and the the ConTeXt files for SciTe on my Win 7 64 bit, i can no longer scroll the

Re: [NTG-context] For Windows users: ConTeXt + SciTe installation instructions updated

2011-10-21 Thread Hans Hagen
On 21-10-2011 08:42, Lutz Haseloff wrote: The problem remains. Scrolling in my 4000+ lines file crashes SciTe. Any file or just that one? If only that one, can you send it? (the problem is that there are no error messages in the windows version - that is, i have no clue how to intercept the

[NTG-context] Links in exported XHTML file

2011-10-21 Thread Andreas Harder
Hi all, how do I manage to get proper links in the exported XHTML document. It works well with intern references. \setupinteraction[state=start] \setupbackend[export=yes,xhtml=yes,css=export-example.css] \starttext \useURL[google][http://www.google.com/][][Google] \from[google]

Re: [NTG-context] For Windows users: ConTeXt + SciTe installation instructions updated

2011-10-21 Thread Lutz Haseloff
2011/10/21 Hans Hagen pra...@wxs.nl: On 21-10-2011 08:42, Lutz Haseloff wrote: The problem remains. Scrolling in my 4000+ lines file crashes SciTe. Any file or just that one? If only that one, can you send it? Any fairly large tex file (about 3000 lines). If I rename the files to *.text,

Re: [NTG-context] For Windows users: ConTeXt + SciTe installation instructions updated

2011-10-21 Thread Hans Hagen
On 21-10-2011 11:35, Lutz Haseloff wrote: 2011/10/21 Hans Hagenpra...@wxs.nl: On 21-10-2011 08:42, Lutz Haseloff wrote: The problem remains. Scrolling in my 4000+ lines file crashes SciTe. Any file or just that one? If only that one, can you send it? Any fairly large tex file (about 3000

[NTG-context] Error with anglebetween(…)

2011-10-21 Thread Andreas Harder
Hello Hans, has something changed with the anglebetween definition in MetaPost? I’m sure this worked a couple of betas ago. \startMPpage path p,q ; p := origin -- (50,0) ; q := origin -- (50,50); drawarrow anglebetween(p,q,somelabel) ; \stopMPpage ! Missing `)' has been inserted.

[NTG-context] Image compression/resizing in PDFs

2011-10-21 Thread John Devereux
Hi all, Is there a way to have context automatically compress or resample included images to a given output resolution? I have not been following recent developments... I can obviously pre-reduce all images to the desired dpi. But: 1) This is a bit of work (and hard to get non-technical people

[NTG-context] accessibility of PDF (inter word space

2011-10-21 Thread Stefan Goßrau
Hello, I am very new in Context and have my first Problems. I read a lot, but can't find the solution. I try to produce accessible PDF. One Point is, that they have to be reflowed in a PDF-Viewer. But if I reflow my documents, there are no interwordspaces. I know that there is no

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

2011-10-21 Thread Paul Menzel
Am Freitag, den 21.10.2011, 01:14 +0200 schrieb Paul Menzel: Dear ConTeXt/MetaFun folks, looking at the example for grid and functions in the MetaFun manual [1] section 9.3 drawoptions(withpen pencircle scaled .25pt withcolor .5white) ; draw hlingrid(0, 20, .2, 20cm,

[NTG-context] metapost question

2011-10-21 Thread 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 modifier = empty: else: fi enddef; How can I do the switch on an empty or nonempty modifier

Re: [NTG-context] Image compression/resizing in PDFs

2011-10-21 Thread Peter Münster
On Fri, Oct 21 2011, John Devereux wrote: Is there a way to have context automatically compress or resample included images to a given output resolution? Hello, See also http://archive.contextgarden.net/thread/20110629.173015.6dcd7b3e.en.html t-degrade.tex is broken with latest context. If

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

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 modifier = empty: Have you already tried if

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

2011-10-21 Thread 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' a dimension. In fact is is just a simple multiplication. The reason why it seems to work this way with

Re: [NTG-context] metapost question

2011-10-21 Thread Meer, H. van der
On 21 okt. 2011, at 17:13, Peter Rolf wrote: 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 modifier =

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' a dimension. In fact is is just a simple multiplication.

Re: [NTG-context] metapost question

2011-10-21 Thread Nicola
In article 0e2e620e-1148-41ad-9966-54a594fcc...@xs4all.nl, Hans van der Meer havdm...@xs4all.nl wrote: 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

Re: [NTG-context] metapost question

2011-10-21 Thread Meer, H. van der
Peter, Thanks for trying to help. Because I solved the problem in another way you might be interested or even benefit from it. The underlying problem was drawing a border around a picture of given dimensions. The border being either colored or left uncolored. The border color should come from

Re: [NTG-context] Standardmakeup

2011-10-21 Thread Willi Egger
Thank you Wolfgang. I do not remember but there was a time where \godown would not work without the strut. So I have mistaken this. And indeed the result is ok whithout the start- stoplines. Thanks! Willi On 20 Oct 2011, at 15:42, Wolfgang Schuster wrote: Am 19.10.2011 um 22:03 schrieb

[NTG-context] processing style inside verbatim in XML

2011-10-21 Thread Mojca Miklavec
Hello, Is there any simple way to typeset the following example properly in ConTeXt? I have an example of text that has to obey lines and spaces, but I would like to apply some color to make it more readable. The attachment contains an example of HTML which displays fine in my browser, and it

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

2011-10-21 Thread Aditya Mahajan
Could someone please explain to me how `xyscaled` works in this case please. I though `xyscaled (αcm, ζcm)` would set the object/path to a width of α cm and a height of ζ cm. IIRC, xysized does that. (I am usually confused between ..sized and ..scaled, but one of them scales to the given