Re: [NTG-context] MetaPost sarith (graph) package

2010-03-08 Thread Wolfgang Schuster
Am 08.03.10 08:58, schrieb Taco Hoekwater: Troy Henderson wrote: Is the sarith package usable in MKIV? For example, I would like to get the numerical (not string) values of auto.x and auto.y from the graph package. I expect the following example to work, but it does not (even if I input

Re: [NTG-context] simplefont and arbic script

2010-03-08 Thread Hans Hagen
On 8-3-2010 8:26, Wolfgang Schuster wrote: Am 08.03.10 07:41, schrieb Mehdi Omidali: I want to use simplefont to define an arabic script font. I couldn't find any thing in the manual and on the web. \usemodule[simplefonts] \setmainfont[name of your font][features=arabic] \starttext

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

2010-03-08 Thread Hans Hagen
On 3-3-2010 21:26, Wolfgang Schuster wrote: Am 03.03.10 21:21, schrieb Troy Henderson: I hate to beat a dead horse, but I want to understand this for certain. Is the consensus that graph.mp is incompatible with MKIV? If so, are there any plans to make it compatible? After all, graph.mp is part

Re: [NTG-context] Margin terminology -- badly documented, undocumented, or misdocumented

2010-03-08 Thread Hans Hagen
On 2-3-2010 22:33, James Fisher wrote: A minor other thing confusing me is the terminology; mainly 'cut' and 'back'. Are these ConTeXt-specific terms or are they found elsewhere? 'Back' would make more sense to me as 'binding' or 'spine', and the edge referred to as 'cut' is referred to in

Re: [NTG-context] Working with Arabic

2010-03-08 Thread Taco Hoekwater
Graham Douglas wrote: And so to my question. I would very much like to explore using (or writing (eventually...)???) commands that let me format Arabic words etc as part of my notes. I have not explored this yet, so I apologise if this is already possible 'out of the box'. I just wanted to

Re: [NTG-context] problems with \enabletrackers[resolvers.locating]

2010-03-08 Thread Hans Hagen
On 4-3-2010 23:35, luigi scarso wrote: \enabletrackers[resolvers.*] \starttext\input knuth \stoptext If uncomment %%% \enabletrackers[resolvers.locating] %%% PROBLEM then ! LuaTeX error ...ypes/tex/texmf-context/tex/context/base/data-res.lua:2024: ok, fixed Hans --

Re: [NTG-context] Working with Arabic

2010-03-08 Thread Hans Hagen
On 8-3-2010 10:38, Taco Hoekwater wrote: Graham Douglas wrote: And so to my question. I would very much like to explore using (or writing (eventually...)???) commands that let me format Arabic words etc as part of my notes. I have not explored this yet, so I apologise if this is already

Re: [NTG-context] including xml files

2010-03-08 Thread Hans Hagen
On 7-3-2010 18:29, Philipp Gesang wrote: So in this case, you would have \xmlinclude{test}{afile}{file}. Yes, that did it. I thoroughly confused the notion of “lpath” in xml-mkiv.pdf. it's not xpath but shares quite some properties with it To actually make use of inc.xml in the current

Re: [NTG-context] Working with Arabic

2010-03-08 Thread Wolfgang Schuster
Am 08.03.10 10:53, schrieb Hans Hagen: we have been working on an experimental mechanism 'font goodies' which provides means to enhance fonts and one application is coloring arabic Will it then be also possible to assign a single color to a complete font, e.g.

[NTG-context] no output

2010-03-08 Thread Michael Saunders
I finally got Context to install (correctly, I think), and I'm trying to set up a profile for it in TeXnicCenter. When I run it, I get the promising message: TeXExec | processing document 'test.tex' TeXExec | no ctx file found TeXExec | tex processing method: context TeXExec | TeX run 1

Re: [NTG-context] no output

2010-03-08 Thread Taco Hoekwater
Michael Saunders wrote: I finally got Context to install (correctly, I think), and I'm trying to set up a profile for it in TeXnicCenter. When I run it, I get the promising message: TeXExec | processing document 'test.tex' TeXExec | no ctx file found TeXExec | tex processing method: context

Re: [NTG-context] Working with Arabic

2010-03-08 Thread Wolfgang Schuster
Am 08.03.10 11:39, schrieb Hans Hagen: Will it then be also possible to assign a single color to a complete font, e.g. [...] No, at least not now as i see color as completely unrelated to fonts. In the case of arabic it's part of the tradition to color certain glyphs. Of course it's possible

Re: [NTG-context] Working with Arabic

2010-03-08 Thread Thomas A. Schmitz
OK, you’re the boss. Wolfgang Lieber Gott, du bist der Boss. Amen. Dein Rhinozeros. (Sorry, couldn't resist.) Thomas ___ If your question is of interest to others as well, please add an entry to the Wiki!

Re: [NTG-context] Working with Arabic

2010-03-08 Thread Hans Hagen
On 8-3-2010 13:08, Wolfgang Schuster wrote: Am 08.03.10 11:39, schrieb Hans Hagen: Will it then be also possible to assign a single color to a complete font, e.g. [...] No, at least not now as i see color as completely unrelated to fonts. In the case of arabic it's part of the tradition to

Re: [NTG-context] suggestions for context documentation

2010-03-08 Thread Hans Hagen
\usemodule [abr-01] \setuplayout [width=middle, height=middle, footer=0cm, topspace=1.5cm] \setupbodyfont [palatino] \setupheader [state=high] \setupwhitespace [big] \starttext Hi all, As I was on the Dante 2010 meeting and as I could not access my mail last week, today

Re: [NTG-context] including xml files

2010-03-08 Thread Philipp Gesang
On 2010-03-08 10:57:00, Hans Hagen wrote: On 7-3-2010 18:29, Philipp Gesang wrote: So in this case, you would have \xmlinclude{test}{afile}{file}. Yes, that did it. I thoroughly confused the notion of “lpath” in xml-mkiv.pdf. it's not xpath but shares quite some properties with it Well,

Re: [NTG-context] Working with Arabic

2010-03-08 Thread Wolfgang Schuster
Am 08.03.10 13:30, schrieb Hans Hagen: OK, you’re the boss. well, that's a weak argument for not pressing me -) I have other things (not yet) which should go into the core, so such minor things like this it's not worth the effort. Wolfgang

Re: [NTG-context] including xml files

2010-03-08 Thread Hans Hagen
On 8-3-2010 13:30, Philipp Gesang wrote: Will there be documentation on the lua internals? It is tedious tracing things down all the way through ConTeXt - lxml-ini - lxml-tex - lxml-aux to find out (or not) what they're supposed to do. once i know what will be exposed, yes, Hans

[NTG-context] no output

2010-03-08 Thread Michael Saunders
Thank you. I had never heard of luatex/mkiv format before---I have just been trying to follow the four or five conflicting pages about installation that I found at Context Garden. I did a Google search there for luatex format, which does not occur, and for mkiv format, which occurs once, under a

[NTG-context] not understanding ConTeXt-XML

2010-03-08 Thread Hans van der Meer
I guess I am a bit stupid, but I do not understand how to process xml in ConTeXt. I started working through the contextXML-example.pdf from the Pragma site. I tried to follow the example on page 8 which reads: % here go style definitions % and XML to TEX mappings \starttext

Re: [NTG-context] not understanding ConTeXt-XML

2010-03-08 Thread Wolfgang Schuster
Am 08.03.10 15:05, schrieb Hans van der Meer: I guess I am a bit stupid, but I do not understand how to process xml in ConTeXt. I started working through the contextXML-example.pdf from the Pragma site. I tried to follow the example on page 8 which reads: For MKII you need the

Re: [NTG-context] MPinclusions/MetaPost sarith (graph) package

2010-03-08 Thread Alan BRASLAU
On Monday 08 March 2010 09:18:38 Wolfgang Schuster wrote: \startMPinclusions[+] input sarith; \stopMPinclusions This probably explains other problems that I had experienced concerning \startMPinclusions\stopMPinclusions... Indeed, as metapost is processed in one run under mkIV, I had

Re: [NTG-context] MPinclusions/MetaPost sarith (graph) package

2010-03-08 Thread luigi scarso
On Mon, Mar 8, 2010 at 3:28 PM, Alan BRASLAU alan.bras...@cea.fr wrote: (Currently I externally use awk via \immediate\write18 to manipulate data.) In mkiv you should be able to manipulate your data with lua lpeg. You gain in portability -- no need of an external awk -- luigi

Re: [NTG-context] suggestions for context documentation

2010-03-08 Thread Alan BRASLAU
On Monday 08 March 2010 13:31:28 Hans Hagen wrote: As I was on the Dante 2010 meeting and as I could not access my mail last week, today I ran into the long thread about documentation. I will not reply to each mail but stick to this summary. Now, I understand that there is a lack of

Re: [NTG-context] data manipulation (was sarith)

2010-03-08 Thread Alan BRASLAU
On Monday 08 March 2010 15:35:14 luigi scarso wrote: On Mon, Mar 8, 2010 at 3:28 PM, Alan BRASLAU alan.bras...@cea.fr wrote: (Currently I externally use awk via \immediate\write18 to manipulate data.) In mkiv you should be able to manipulate your data with lua lpeg. You gain in

Re: [NTG-context] no output

2010-03-08 Thread Taco Hoekwater
Michael Saunders wrote: Thank you. I had never heard of luatex/mkiv format before---I have just been trying to follow the four or five conflicting pages about installation that I found at Context Garden. I did a Google search there for luatex format, which does not occur, and for mkiv format,

Re: [NTG-context] including xml files

2010-03-08 Thread Thomas A. Schmitz
On Mar 8, 2010, at 10:57 AM, Hans Hagen wrote: xml in mkiv is still somewhat experimental although the commands and interfaces will stay; the current implementation is the second one and has the advanage that it stays closer to xpath and also is more roundtrip safe (tables of contents and

Re: [NTG-context] including xml files

2010-03-08 Thread Hans Hagen
On 8-3-2010 20:33, Thomas A. Schmitz wrote: On Mar 8, 2010, at 10:57 AM, Hans Hagen wrote: xml in mkiv is still somewhat experimental although the commands and interfaces will stay; the current implementation is the second one and has the advanage that it stays closer to xpath and also is

[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

[NTG-context] XML processing not understood

2010-03-08 Thread Hans van der Meer
Starting the typesetting in mkiv of xml data I cannot get a simple example working. I studied both the recent MyWay document and Hans Hagens xml-mkiv reference manual (especially page 11). From these I concocted the following simple test: file typeset from TeXShop is dvd-setup.tex

Re: [NTG-context] XML processing not understood

2010-03-08 Thread Hans Hagen
On 8-3-2010 21:53, Hans van der Meer wrote: Starting the typesetting in mkiv of xml data I cannot get a simple example working. I studied both the recent MyWay document and Hans Hagens xml-mkiv reference manual (especially page 11). From these I concocted the following simple test: file

Re: [NTG-context] including xml files

2010-03-08 Thread Hans Hagen
On 8-3-2010 21:55, Thomas A. Schmitz wrote: context --environment=ourenvironment maps1.html ah, context can recognize a couple of suffixes but ignores html so just use --forcexml which will add the wrapper (future versions will not use the wrapper but that's sort of hidden anyway) we

Re: [NTG-context] Working with Arabic

2010-03-08 Thread Graham Douglas
Just a short note to thank everyone for their various comments. I will read some more and see how far I can get... and come back when I can formulate some more precise (better) questions. Am reading through the reference manual --- LuaTeX's versatility is quite incredible. Warm regards to

Re: [NTG-context] including xml files

2010-03-08 Thread Thomas A. Schmitz
On Mar 8, 2010, at 10:04 PM, Hans Hagen wrote: ah, context can recognize a couple of suffixes but ignores html so just use --forcexml which will add the wrapper (future versions will not use the wrapper but that's sort of hidden anyway) Excellent, I will add this somewhere to the

Re: [NTG-context] columns and whitespace

2010-03-08 Thread Hans Hagen
On 4-3-2010 23:56, James Fisher wrote: There was a thread about columns and whitespace ~ 2 weeks ago, but I wasn't a subscriber then. I've just come across it independently myself. I'm not sure what conclusion was come to. From a few tests, I'd characterize the problem code in \startcolumns