Re: [NTG-context] Question about t-ancientgreek module

2006-05-26 Thread Thomas A. Schmitz
How do you generate the formats?

Thomas

On May 25, 2006, at 11:21 PM, Alan Bowen wrote:

 Thomas—

 I followed your instructions in step 2 and see that the Greek
 hyphenation patterns are not loaded in the format I currently use.
 How can I rectify this?


___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Index sorting for other languages that English

2006-05-26 Thread Hans Hagen
Richard Gabriel wrote:
 Thanks Hans, it works with my test file,
 unless I set up:

 \setupregister[index][expansion=xml]

 which i need for correct processing of the XML files.
 If I simply add this command into the testing TeX file (no XML), the 
 Czech sorting stops to work and all accented characters are placed 
 under A.
test file ...

 Regarding the sorting itself (sort-lan.tex):
 I found the definiton of the sorting quite strange, let's say, 
 incomplete.
 It makes no sense to separate ccaron while all other accented letters 
 are placed under the unaccented ones.
 I'll update the definitions, test it and send it to you.
ok 

Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] notes on columnset typesetting (not only about)

2006-05-26 Thread Vit Zyka
batela wrote:
 Many thanks for sharing your env file. I'm trying to use that making 
 some projects and components files. But every-time I run texexec  I 
 found a error message. For fixing that I will need to include the files 
 vz-cont.tex and vg05-general.

Hi she/he Batela,

you are right (vz-cont contains my local settings, abbreviations and 
some macro patches related to current instalation; vg05-general contains 
Czech hyphenation exceptions and balancing definitions like:
   \setupcolumnsetlines[Rok-2][4][1][45]
   \setupcolumnsetlines[Rok-2][4][2][45]
). In closer view you will find even more included files like member 
list generated from XML and used for full name expansion to index. But 
there are provided all files that define design and can illustrate 
solutions. Take them as an inspiration and an example how to use some 
construct. I personally do not try to compile it with todays ConTeXt.

 Did you can provide me some complete example of your work?

So, the answer is no.

Vit
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] [OT] Is Indesign CS 2 better than ConTeXt ?

2006-05-26 Thread Hans Hagen
Henning Hraban Ramm wrote:
 Am 2006-05-25 um 13:52 schrieb luigi scarso:

   
 OK, it is a big OFF TOPIC.
 Some notes
 * the Elements of Typographic Style was made with Indesign (true or
 false?) and the only
 words about TeX is an url (true or false ?)
 * indesign eat xml
 * there is an indesign server; maybe actually too much complex, but in
 the future?
 * I don't know if IDCS2 has some programming capabilities like ConTeXt
 Ofcourse :
 *IDCS2 come from Adobe, so it has the feature of latest pdf spec.;
 *IDCS2 is WYSIWYG
 * (...possibly many others...)

 But there is one important point:
 Can IDCS2 be view as candidate for automatic typesetting (xml- 
 
 IDCS2-pdf)  ?
   

 At my former employer, a regional daily newspaper, we used IDCS2 in  
 an automated workflow for simple ads, not even via XML, but  
 controlling ID on a WinXP machine via VB/COM, because we needed a  
 *completely* automated solution.
 I can't tell you much about our application, because my colleague did  
 most of that job (I only delivered the data from another process).

 At my actual employer I use ID's XML cpabilities to typeset an event  
 calendar in a city magazine from a database. With a set of well  
 designed style templates the whole thing needs nearly no manual  
 tweaking (only with some ID bugs).

 But at the moment I'm planning a simple automated CD cover maker for  
 our backup CDs - using ConTeXt behind a Python GUI...
   
i always tend to say ... the problem does not change, so, if figuring out 
some clever tricks to get something done, then using id or tex makes no 
difference: one has to figure out the best way

what you use depends on taste; we've had (potential) customers who prefered 3b2 
(argument: there's a big company behind it, but in the meantime they were sole 
twice, and the number of people who can program in (i think their special kind 
of javascript) interface is also limited; apart from pricing ... 

concerning id ... it's non free, never sure what happens in ten years (adobe 
dropped pagemaker, (i'm told) messed up frame, so ...) and in order to process 
older docs will run into compatibility problems some day; supporting pdf 
trickery is not a real argument, since my experience is that tex is always 
first in supporting new features; however, adobe is the typesetter company 
favorite, if only because they use more adobe things (and also because they can 
keep changing per page which is more proffitable than change for a simple 
stylesheet once); and ... publishers don't really care about costs anyway so 
...) 

(occassionally we hear stories of failed tryout with 3b2, id, quark, etc while 
tex base solutions did the job (end kept doing it) for years already; i think 
that one has to decide for each situation anew) 

tex will always be a niche product 

Hans  

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Index sorting for other languages that English

2006-05-26 Thread Richard Gabriel




Here is the test file. If you remove the \setupregister command, or simply set expansion=no, the sorting will work perfectly.With expansion=yes or expansion=xml, the accented letters are sorted under "A".Below are my updated sorting rules again...-Richard---\def\czsortdivisionch{ch}\def\czsortdivisionCh{Ch}\startmode[sortorder-cz] \exportsortexpansion{aacute}{a+1} \exportsortexpansion{Aacute}{A+1} \exportsortexpansion{ccaron}{c+1} \exportsortexpansion{Ccaron}{C+1} \exportsortdivision{c+1}{ccaron} \exportsortexpansion{dcaron}{d+1} \exportsortexpansion{Dcaron}{C+1} \exportsortdivision{d+1}{dcaron} \exportsortexpansion{eacute}{e+1} \exportsortexpansion{Eacute}{E+1} \exportsortexpansion{ecaron}{e+2} \exportsortexpansion{Ecaron}{E+2} \exportsortreduction{ch}{h+1} \exportsortexpansion{ch}{h+1} \exportsortreduction{Ch}{h+1} \exportsortexpansion{Ch}{h+1} \exportsortdivision{h+1}{czsortdivisionch} \exportsortexpansion{iacute}{i+1} \exportsortexpansion{Iacute}{I+1} \exportsortexpansion{ncaron}{n+1} \exportsortexpansion{Ncaron}{n+1} \exportsortdivision{n+1}{ncaron} \exportsortexpansion{oacute}{o+1} \exportsortexpansion{Oacute}{O+1} \exportsortexpansion{rcaron}{r+1} \exportsortexpansion{Rcaron}{R+1} \exportsortdivision{r+1}{rcaron} \exportsortexpansion{scaron}{s+1} \exportsortexpansion{Scaron}{S+1} \exportsortdivision{s+1}{scaron} \exportsortexpansion{tcaron}{t+1} \exportsortexpansion{Tcaron}{T+1} \exportsortdivision{t+1}{tcaron} \exportsortexpansion{uacute}{u+1} \exportsortexpansion{Uacute}{U+1} \exportsortexpansion{uring}{u+2} \exportsortexpansion{Uring}{U+2} \exportsortexpansion{yacute}{y+1} \exportsortexpansion{Yacute}{Y+1} \exportsortexpansion{zcaron}{z+1} \exportsortexpansion{Zcaron}{Z+1} \exportsortdivision{z+1}{zcaron}\stopmodeFrom: Hans Hagen [mailto:[EMAIL PROTECTED]To: mailing list for ConTeXt users [mailto:[EMAIL PROTECTED]Sent: Wed, 24 May 2006 17:55:02 +0200Subject: Re: [NTG-context] Index sorting for other languages that EnglishRichard Gabriel wrote:
 Thanks Hans, it works with my test file,
 unless I set up:

 \setupregister[index][expansion=xml]

 which i need for correct processing of the XML files.
 If I simply add this command into the testing TeX file (no XML), the 
 Czech sorting stops to work and all accented characters are placed 
 under "A".
test file ...

 Regarding the sorting itself (sort-lan.tex):
 I found the definiton of the sorting quite strange, let's say, 
 incomplete.
 It makes no sense to separate ccaron while all other accented letters 
 are placed under the unaccented ones.
 I'll update the definitions, test it and send it to you.
ok 

Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context



test.tex
Description: TeX document
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] XeTeX hangs

2006-05-26 Thread Hans Hagen
Otared Kavian wrote:

 On 24 mai 2006, at 10:07, Hans Hagen wrote:

 what do you get when you run that with \tracingall�


 \tracingall�


 Testing... �


 and what does�


 \show �


 return? and what�


 Testing... �aaa


 Hans�


 Hi Hans,

 This file:
 %% eth-hans-1.tex
 \starttext
 what do you get when you run that with \tracingall

 Testing... �

 \catcode`�=\active \def�{^^F0}
 \tracingall

 Testing... �

 and what does

 %\show �

 return? and what

 Testing... �aaa

 Hans

 \stoptext
 %% end eth-hans-1.tex

 typeset with XeConTeXt gives a PDF where again one has Testing...�� 
 in the first occurence, and then Testing... � 0, and the process 
 takes some 41 seconds...


 


 If the above file is typeset with ConTeXt alone it stops with the 
 error message:

 ! Missing number, treated as zero.
 to be read again
∞
 l.9 \catcode`√∞
=\active \def√∞{^^F0}
so, it looks like the `charchar is not seen as a combination 

how did the complete test file look?  what does  the following say: 

\bgroup
\let\unicodechar\unicodenumber
\catcode`�=\active \def�{^^F0}
\egroup 

Hans 

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] [OT] Is Indesign CS 2 better than ConTeXt ?

2006-05-26 Thread luigi scarso
 i always tend to say ... the problem does not change, so, if figuring out 
 some clever tricks to get something done, then using id or tex makes no 
 difference: one has to figure out the best way
There are a (big) difference: a (my) solution in context costs 100€, a
solutions with IDCS2 cost 10€ , because there are more IDCS2
programmers than TeX programmers.

 concerning id ...
Does IDCS2 offers a better ways to break a paragraph into lines ?
pdfetex has space between words, and hz; it does not consider space
between letters of a word
IDCS2 has 'buttons' (my employer ask me yesterday 'Can you put buttons
on context?''
maybe exa is a way to 'put buttons' on context)

 (occassionally we hear stories of failed tryout with 3b2, id, quark, etc 
 while tex base solutions did the job (end kept doing it) for years already; i 
 think that one has to decide for each situation anew)
Another story: I'm using context from 2002 in a production env. for
automatic pricelist and labels. Every job with 'from XML/TXT to PDF'
that I have uses context.
(also: dreams come true)
Why ? Because it's a quick way for us to make a pdf from xml/txt
ready for digital printing.


 tex will always be a niche product
Why ?

But none say a word about Elements of Typographic Style
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Installation Problem

2006-05-26 Thread gnwiii
On 5/25/06, Neal Lester [EMAIL PROTECTED] wrote:
 How I installed Context in /usr/local on Redhat EL WS v4 using BASH:

 Verify that the native RedHat version of tetex is not installed on
 your system; it is not compatible with Contex:

Actually, it is possible to have both without resorting to
virtualizaton, and tetex is required by other packages (to build
documentation).  TeX Live and the minimal ConTeXt you installed are
both structured so all the files are under a single top-level
directory (but, because some installs may put the files on a read-only
filesystem, some generated files may end up under the user's home
directory).  For TeX Live all you have to do is make sure the
bin/arch directory is before /usr/bin in the PATH, while the minimal
ConTeXt uses the variables set by setuptex.  I use the  environment
modules package to switch between distros (e.g., Red Hat's teTeX when
building packages from .src.rpm's, TeX Live for my documents, and one
or more test distributions).

 George, taco, thank you for the help.

You are very welcome.  Not everyone is as persistent or willing to
provide adequate detail so they can be helped.

I'm sure that there are dozens of people who have encountered the
unzip -a problem in mktexlsr and either got around it without
reporting the problem or just gave up on ConTeXt.

-- 
George N. White III [EMAIL PROTECTED]
Head of St. Margarets Bay, Nova Scotia
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] 'Dot' after Float label Howto?

2006-05-26 Thread Hans Hagen
Johannes Graumann wrote:
 nico wrote:

   
 I thought that stopper would do it, but either I misuse it, or there's a
 bug in there: the dot appears twice!
 

 Strange. If you have sub figures (like Figure 1.2.a) the stopper strategy
 works. Just with normal figures (Figure 1.2) there are two dots ...

 Looks like a bug to me.
   
ok, fixed, teh next release will properly do:

\starttext

\chapter{joke}

\setupcaption[figure][separator=!]

\def\floatcaptionsuffix{}
\placefigure{What}{\framed[width=5cm]{Hi}}
\def\floatcaptionsuffix{x}
\placefigure{What}{\framed[width=5cm]{Hi}}

\setupcaption[figure][stopper=.]

\def\floatcaptionsuffix{}
\placefigure{What}{\framed[width=5cm]{Hi}}
\def\floatcaptionsuffix{x}
\placefigure{What}{\framed[width=5cm]{Hi}}

\stoptext


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] [OT] Is Indesign CS 2 better than ConTeXt ?

2006-05-26 Thread Hans Hagen
luigi scarso wrote:


 But none say a word about Elements of Typographic Style
   
i don't have that one -) 

but 'digital typography' was done in word and looks ok as well 

(just as docs done with tex can look bad -) 

Hans 


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] [OT] Is Indesign CS 2 better than ConTeXt ?

2006-05-26 Thread Nikolai Weibull
On 5/26/06, Hans Hagen [EMAIL PROTECTED] wrote:

 concerning id ... it's non free, never sure what happens in ten years (adobe 
 dropped pagemaker, (i'm told) messed up frame, so ...) and in order to 
 process older docs will run into compatibility problems some day; supporting 
 pdf trickery is not a real argument, since my experience is that tex is 
 always first in supporting new features; however, adobe is the typesetter 
 company favorite, if only because they use more adobe things (and also 
 because they can keep changing per page which is more proffitable than change 
 for a simple stylesheet once); and ... publishers don't really care about 
 costs anyway so ...)

I'd just like to add that InDesign is often misused by its users, so
don't expect other people to use InDesign like you think you will.  I
work at a company that does translations, and, for us, dealing with
InDesign documents is about the most painful job there is.  Sure, the
documents may look good, but the means to getting the documents are
often not justifiable.  But I guess it's more of an issue of the users
not knowing how to use their software than there being a problem with
the software itself.

To that I'd like to add that I really don't like WYSIWYG because it's
rarely true.  And if you want to do professional work you really want
something as flexible as TeX.  Also, TeX scales really well, from
small pamphlet-like documents to large books.  The same can't be said
for InDesign.

  nikolai
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Footnote Formatting

2006-05-26 Thread [EMAIL PROTECTED]
I am new to ConTeXt and have two questions about footnote formatting.
I have noticed that there is always a space between the footnote number and the actual text of the footnote. My first question is: How can I eliminate this space or at the very least replace the space with a non-breaking space. On my system, the footnote numbers sometimes appear at the end of a line while the footnote text wraps around to the next line.
Also, I am formatting my footnotes with \setupfootnotes[n=0,...] so that they appear at the bottom of the page in paragraph form (i.e., not one footnote per line). Due to a section change in the document, I may restart footnote numbering at "1" in the middle of a page. When this happens, I would like to indent footnote #1 just like you would indent a paragraph. My second question is: Can this be done?
Any help offered will be greatly appreciated!
Jeff Dodson
_
Call Anyone, Anytime, Anywhere in the World - FREE!
Free Internet calling from NetZero Voice
Visit http://www.netzerovoice.com today!

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Dropped caps and line length

2006-05-26 Thread [EMAIL PROTECTED]
I am using dropped caps in my document, and I have noticed an occasional problem related to them. The problem is that in paragraphs that have dropped caps, an occasional line will run off into the right-hand margin instead of being hyphenated or wrapped around to the next line.
I have to confess that I modified the DroppedString in supp-fun.tex (where \DroppedCaps is defined) to add the digits 0 through 9 so that I could have numbers as dropped caps. I thought at first that this might have caused the problem. However, I switched back to an original installation of ConTeXt and found that the problem occurred there too.
This is especially pronounced with certain fonts.
I also tried using the lettrine module to perform the dropped caps, but saw the same effect there.
I will add also that I am using the t-ancientgreek module, and the text in question is polytonic Greek.
Thanks in advance for any help offered. I am new to ConTeXt so if my questions are trivial, please pardon!
Jeff Dodson
_
Call Anyone, Anytime, Anywhere in the World - FREE!
Free Internet calling from NetZero Voice
Visit http://www.netzerovoice.com today!

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] 'Dot' after Float label Howto?

2006-05-26 Thread Johannes Graumann
Hans Hagen wrote:

 ok, fixed, teh next release will properly do:

Thanks, Hans!

Joh

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Textext Question

2006-05-26 Thread Jean Magnan de Bornier
Hello,
I'm having some trouble with MPgraphics; here is a minimal example:
.
\setupoutput[pdftex]
\runMPgraphicstrue
\setuppapersize[S6][S6] 

\setupcolors[state=start]

\startMPinclusions
 numeric u; u=.8cm;
path AX; AX = drawdblarrow (10u,0) -- (0,0) -- (0,10u);
\stopMPinclusions

\starttext
\startuseMPgraphic{dummy}

pickup pencircle scaled 1mm;
draw AX withcolor blue; 
 label.rt(textext($3x^2+\pi$), (5u,6u));
\stopuseMPgraphic

\placefigure[left]{bla.bla}{\useMPgraphic{dummy}}
 
\input dawkins
\stoptext
.


After compilation with texexec I get unknown instead of the expected
label.

What is wrong with me?

TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005

   texexec : TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005
   texutil : TeXUtil 9.0.0 - ConTeXt / PRAGMA ADE 1992-2004
   tex : pdfeTeXk, 3.141592-1.30.4-2.2 (Web2C 7.5.5)
   context : ver: 2005.10.27
   cont-en : ver: 2005.10.27  fmt: 2006.4.28  mes: english

Thanks ia
-- 
Jean
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] What about Lua in pdftex ?

2006-05-26 Thread luigi scarso
What about Lua in pdftex ?
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Textext Question

2006-05-26 Thread Renaud AUBIN
draw + drawdblarrow = ?!

\setupoutput[pdftex]
\runMPgraphicstrue
\setuppapersize[S6][S6]

\setupcolors[state=start]

\startMPinclusions
 numeric u; u=.8cm;
path AX; AX =  (10u,0) -- (0,0) -- (0,10u);
\stopMPinclusions

\starttext
\startuseMPgraphic{dummy}

pickup pencircle scaled 1mm;
drawdblarrow AX withcolor blue;
 label.rt(textext($3x2+\pi$), (5u,6u));
\stopuseMPgraphic

\placefigure[left]{bla.bla}{\useMPgraphic{dummy}}
 
\input dawkins
\stoptext

works...

Cheers,

Renaud

Jean Magnan de Bornier a écrit :

Hello,
I'm having some trouble with MPgraphics; here is a minimal example:
.
\setupoutput[pdftex]
\runMPgraphicstrue
\setuppapersize[S6][S6] 

\setupcolors[state=start]

\startMPinclusions
 numeric u; u=.8cm;
path AX; AX = drawdblarrow (10u,0) -- (0,0) -- (0,10u);
\stopMPinclusions

\starttext
\startuseMPgraphic{dummy}

pickup pencircle scaled 1mm;
draw AX withcolor blue; 
 label.rt(textext($3x^2+\pi$), (5u,6u));
\stopuseMPgraphic

\placefigure[left]{bla.bla}{\useMPgraphic{dummy}}
 
\input dawkins
\stoptext
.


After compilation with texexec I get unknown instead of the expected
label.

What is wrong with me?

TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005

   texexec : TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005
   texutil : TeXUtil 9.0.0 - ConTeXt / PRAGMA ADE 1992-2004
   tex : pdfeTeXk, 3.141592-1.30.4-2.2 (Web2C 7.5.5)
   context : ver: 2005.10.27
   cont-en : ver: 2005.10.27  fmt: 2006.4.28  mes: english

Thanks ia
  


___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] What about Lua in pdftex ?

2006-05-26 Thread Hans Hagen
luigi scarso wrote:
 What about Lua in pdftex ?
   
you may expect around the end of the year; i'm currently playing with some 
alphaware in order to explore possibilities and interfacing needs -) 

Hans 

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Textext Question

2006-05-26 Thread Willi Egger
Hi Jean Magnan,

You should add  \useMPlibrary[txt] in order to get textext working.
Further define AX as a path only.
In the dummy-graphic say drawdblarrow AX.withcolor blue;

After these changes I got the label as well as the double arrow.

Kind regards
Willi



Jean Magnan de Bornier wrote:
 Hello,
 I'm having some trouble with MPgraphics; here is a minimal example:
 .
 \setupoutput[pdftex]
 \runMPgraphicstrue
 \setuppapersize[S6][S6] 

 \setupcolors[state=start]

 \startMPinclusions
  numeric u; u=.8cm;
 path AX; AX = drawdblarrow (10u,0) -- (0,0) -- (0,10u);
 \stopMPinclusions

 \starttext
 \startuseMPgraphic{dummy}

 pickup pencircle scaled 1mm;
 draw AX withcolor blue; 
  label.rt(textext($3x^2+\pi$), (5u,6u));
 \stopuseMPgraphic

 \placefigure[left]{bla.bla}{\useMPgraphic{dummy}}
  
 \input dawkins
 \stoptext
 .


 After compilation with texexec I get unknown instead of the expected
 label.

 What is wrong with me?

 TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005

texexec : TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005
texutil : TeXUtil 9.0.0 - ConTeXt / PRAGMA ADE 1992-2004
tex : pdfeTeXk, 3.141592-1.30.4-2.2 (Web2C 7.5.5)
context : ver: 2005.10.27
cont-en : ver: 2005.10.27  fmt: 2006.4.28  mes: english

 Thanks ia
   
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Stuck in texmfstart

2006-05-26 Thread Neal Lester
This morning, when I try to run texexec, texmfstart gets stuck in the 
loop at line 262.

It seems that in my thrashing around yesterday I made some transient 
change to the environment (I shut this system down at night).  Any 
idea what that is?  I also applied a kernel patch, so I suppose that 
could also be the problem.

Neal


___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Stuck in texmfstart

2006-05-26 Thread Neal Lester
At 09:17 AM 5/26/2006, you wrote:
This morning, when I try to run texexec, texmfstart gets stuck in the
loop at line 262.

Placing

puts f

below line 266 ( f.gsub(...) do

prints:

$TEXROOT/texmf/{-local,}/web2c/texmf.cnf

(over and over again)



___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] t-greek module and Latin Modern

2006-05-26 Thread Alan Bowen
Hans and all other font wizards—Thomas and I have been stumped by problem that arises when one re-installs Latin Modern (in order to get margin kerning) and uses the t-greek module. Thomas suspects that Latin Modern, being a "clone" of Computer Modern, comes in different design sizes and uses slightly different fonts for different sizes. This setup breaks when the t-greek module expects to have a completely scalable font. But this is only a guess, as he says.The problem may be described as follows:A.If I do not re-install Latin Modern (and thus forego margin kerning and so forth), there is no problem: I can vary the typesize of the footnotes and insert Greek at will. I use the following code for this:\setupencoding[default=ec] \setupbodyfontenvironment[default][em=italic]\definebodyfont[10.5pt][rm][default]\setupbodyfont[modern,10.5pt]\setupfootnotes[conversion=numbers,	way=bytext,location=page,rule=on,bodyfont=9.5pt,style=normal]\usemodule[t-greek]\setupfontsynonym[Alkaios][handling=grkpure]\setupfontsynonym[GreekOxoniensis][handling=grkpure]\setupgreek[font=Alkaios,altfont=GreekOxoniensis,scale=0.9]B.If I do reinstall the Latin Modern, I get “Arithmetic overflow errors” when there is Greek in the footnotes. My code for this is:\setupencoding[default=texnansi] \starttypescript[serif][default][size]  \definebodyfont[10.5pt][rm][default]	%  \definebodyfont[10.5pt][mm][default]\stoptypescript\setupfontsynonym[Serif][handling=normal]\usetypescript[modern][texnansi]\setupbodyfont[modern,10.5pt]\setupfootnotes[conversion=numbers,	way=bytext,location=page,rule=on,bodyfont=9.5pt,style=normal]\usemodule[t-greek]\setupfontsynonym[GreekOxoniensis][handling=greekpure]\setupfontsynonym[GreekDioxipe][handling=greekpure]\setupgreek[font=GreekOxoniensis,scale=1.15]\setupgreek[altfont=GreekDioxipe,scale=1.15]But remove the Greek from the notes and all is well.Note that inserting     \definebodyfont[10.5pt,9.5pt][rm][default]at the line			(above) fails with the same error message even when there is no Greek in the footnotes.If you have any suggestions on this, we would be grateful to receive them. All best, Alan___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Stuck in texmfstart

2006-05-26 Thread gnwiii
On 5/26/06, Neal Lester [EMAIL PROTECTED] wrote:
 This morning, when I try to run texexec, texmfstart gets stuck in the
 loop at line 262.

 It seems that in my thrashing around yesterday I made some transient
 change to the environment (I shut this system down at night).  Any
 idea what that is?  I also applied a kernel patch, so I suppose that
 could also be the problem.

If a kernel patch breaks TeX I'd expect lots of other stuff to break as well.

It is easy to manually set one of the variables from texsetup and
forget to record the change somewhere that will survive reboots.  Did
you source texsetup manually (in the tex directory?

What do you get for ruby `kpsewhich -format=texmfscripts texexec.rb`
..., which bypasses
texmfstart.rb, where you can try ...=--check, etc.?

-- 
George N. White III [EMAIL PROTECTED]
Head of St. Margarets Bay, Nova Scotia
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Stuck in texmfstart

2006-05-26 Thread Hans Hagen
Neal Lester wrote:
 This morning, when I try to run texexec, texmfstart gets stuck in the 
 loop at line 262.
   
you mean:

loop do
busy = false
filenames.collect! do |f|
f.gsub(/\$([a-zA-Z0-9\_\-]*)/o) do
busy = true
ENV[$1] || ($#{$1})
end
end
break unless busy
end

can you try: 

loop do
busy = false
filenames.collect! do |f|
f.gsub(/\$([a-zA-Z0-9\_\-]*)/o) do
busy = true
puts #{f} = #{ENV[$1]} 
ENV[$1] || ($#{$1})
end
end
break unless busy
end

and see what is reported


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Stuck in texmfstart

2006-05-26 Thread gnwiii
On 5/26/06, Neal Lester [EMAIL PROTECTED] wrote:
 At 09:17 AM 5/26/2006, you wrote:
 This morning, when I try to run texexec, texmfstart gets stuck in the
 loop at line 262.

 Placing

 puts f

 below line 266 ( f.gsub(...) do

 prints:

 $TEXROOT/texmf/{-local,}/web2c/texmf.cnf

 (over and over again)

Mine doesn't seem to enter this loop -- nothing is printed.   The
above line looks
like the entry from texsetup with an extra /:

set TEXMFCNF=%TEXPATH%texmf{-local,}/web2c


-- 
George N. White III [EMAIL PROTECTED]
Head of St. Margarets Bay, Nova Scotia
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] notes on columnset typesetting (not only about)

2006-05-26 Thread Hans Hagen
Vit Zyka wrote:
 Firstly, let us show some examples:
 - transparency frames
ftp://cmp.felk.cvut.cz/pub/cmp/users/zyka/vg-ex/vg05-ex-body1.pdf
 - two columnsets + marginals + figures + balancing
ftp://cmp.felk.cvut.cz/pub/cmp/users/zyka/vg-ex/vg05-ex-body2.pdf
 - two columnsets + page float
ftp://cmp.felk.cvut.cz/pub/cmp/users/zyka/vg-ex/vg05-ex-body3.pdf
 - three columnsets + floats
ftp://cmp.felk.cvut.cz/pub/cmp/users/zyka/vg-ex/vg05-ex-encyk.pdf
 - content
ftp://cmp.felk.cvut.cz/pub/cmp/users/zyka/vg-ex/vg05-ex-content.pdf
 - index
ftp://cmp.felk.cvut.cz/pub/cmp/users/zyka/vg-ex/vg05-ex-index.pdf
   
nice; how about an article on such a project for the maps/tugboat
 Comments:
   grid
? if we want to do avoiding orphans and widows automatically,
  we would probably need the glue with DISCRETE STEP of
  stretch/shrink.
  Then we can say e.g.
\let\bl=\baselineskip
\setuphead
  [section]
  [before=\vskip1\bl plus1\bl withstep1\bl]
  to get vertical space before section head exactly 1 OR 2
  \baselineskip height.
  Another solution with stepwise box:
\vbox to2\bl plus2\bl withstep1\bl{\vfil heading \vfil}
   
hm, worth investigating but maybe wait for what pdftex will bring some 
day soon
! the only problem was in the table of contents + columns;
  from the first line there was a small shift between columns;
  perhaps \splittopskip? but setting it to large enough value
  does not solve it.
   
could be; actually i wish i'd set topskip to strutheight by default 
which would make life way easier

  after Hans improvement seems that some floats soes not dissappered 
 now, but need to be carefull
   
i think that indeed some floats get lost bugs were solved but it's 
always a bit tricky with left-overs
+ floats insertion with specifying place
  ? for top float: automatically setting \placeongrid[{broad,high}]
for bottom float \placeongrid[{broad,low}]
to be vertically align with text on the rest of column(s)
   
there is some control possible, so remind me when you need it again 
(\OTRSETprepareforcolumnslot permits log/middle/high handling but it's 
not keyword driven (yet)
* balancing: only manually by setting:
 \setupcolumnsetlines[columnset_id][columnset_page][column][line]
  ! Not so painful if it not occures next: If there are many
 floats near balancing place they sometimes disappear or cause ignoring
 balancing - even if they can fit on the place.
  ? understand that automatical balancing with floats is extremly 
 difficult
   
indeed
* page floats: big improvements during the work.
  ! running marginal text continue through the page with only float
  = so you have to manually insert blank vertical margin on such place
* header  footers: Hans did a new column marking:
 \getmarking[marking_id][column][last/first].
  ! There are some problems [perhaps with expansion (different 
 counter number and text)] if marking goes between two columnsets (framed 
 chapters cross two cols in examples).
   
hm, some day ...
  = found acceptable hack but need more ivestigation on small 
 examples for cleaning.
   
ok
   metapost inclusion
+ the most powerful, smooth and stable part of ConTeXt in my opinion 
 (see random frames, circles with transparent graphics, lines with color 
 shading)
   
= if you have many (over 1024!) shadings (- MP specials) do
  \settrue \manyMPspecials
   
this is the default now (today i played with persistent mp runs and that 
will speed up runtime processing enourmously)
   
 index (register)
 
+ nice possibility to differentiate several groups (here 8 from which 
 4 have different visual marking of page number, see index example)
- sorting: until this spring there was no satisfied backround for
 Czech sorting in newtexutil.rb till this spring.
  = I did dirty reimplementation of old texutil.pl for doing so
  * I have to have a look for new sorting now.
- coupling: page numbers with group preserving (see example)
  = also in texutil.pl reimplementation

   regime
* my great discovery was that the regime IS
\enableregime{latin2} % correct
  and NOT
\enableregime{il2} % incorrect!
   
well, il2 is actually a kind of hack: an incomplete, usable for csr 
only, encoding
   pseudo-small caps
= http://wiki.contextgarden.net/Pseudo_Small_Caps

   ...

 I provide the environment files (design definition) in case of 
 somebody's interest. But suddenly they are very very very dirty. 
   
ha, look at some of my project files, patch upon patch (esp when 
designers start getting inconsistent )
 Partially due to my unsufficient ConTeXt knowledge, partially due to my 
 despair during trying many ways to solve some problem, partially due to 
 putting pathes to old ConTeXt (it was fresh of course when the work 
 begins), ...:

Re: [NTG-context] Stuck in texmfstart

2006-05-26 Thread Neal Lester
At 10:38 AM 5/26/2006, you wrote:
On 5/26/06, Neal Lester [EMAIL PROTECTED] wrote:
  At 09:17 AM 5/26/2006, you wrote:
  This morning, when I try to run texexec, texmfstart gets stuck in the
  loop at line 262.
 
  Placing
 
  puts f
 
  below line 266 ( f.gsub(...) do
 
  prints:
 
  $TEXROOT/texmf/{-local,}/web2c/texmf.cnf
 
  (over and over again)

Mine doesn't seem to enter this loop -- nothing is printed.   The
above line looks
like the entry from texsetup with an extra /:

set TEXMFCNF=%TEXPATH%texmf{-local,}/web2c

What I did is copy setuptex to /etc/profile.d/setuptex.sh and then 
hard coded the value of TEXROOT in setuptex.sh instead of having the 
script set it from the command line argument.

echo $TEXMFCNF prints
$TEXROOT/texmf{-local,}/web2c

Neal 


___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] XeTeX hangs

2006-05-26 Thread Otared Kavian

On 26 mai 2006, at 12:10, Hans Hagen wrote:

 Otared Kavian wrote:

 On 24 mai 2006, at 10:07, Hans Hagen wrote:

 what do you get when you run that with \tracingall�


 \tracingall�


 Testing... �


 and what does�


 \show �


 return? and what�


 Testing... �aaa


 Hans�


 Hi Hans,

 This file:
 %% eth-hans-1.tex
 \starttext
 what do you get when you run that with \tracingall

 Testing... �

 \catcode`�=\active \def�{^^F0}
 \tracingall

 Testing... �

 and what does

 %\show �

 return? and what

 Testing... �aaa

 Hans

 \stoptext
 %% end eth-hans-1.tex

 typeset with XeConTeXt gives a PDF where again one has  
 Testing...��
 in the first occurence, and then Testing... � 0, and the process
 takes some 41 seconds...


 - 
 ---


 If the above file is typeset with ConTeXt alone it stops with the
 error message:

 ! Missing number, treated as zero.
 to be read again
∞
 l.9 \catcode`√∞
=\active \def√∞{^^F0}
 so, it looks like the `charchar is not seen as a combination

 how did the complete test file look?  what does  the following say:

 \bgroup
 \let\unicodechar\unicodenumber
 \catcode`�=\active \def�{^^F0}
 \egroup

Hi Hans,

Typesetting the following with XeConTeXt:

%% eth-hans-2.tex
\starttext

Testing... ð

\bgroup
\let\unicodechar\unicodenumber
\catcode`ð=\active \defð{^^F0}
\egroup

Testing... ð
\stoptext

gives what is intended, that is a PDF with twice Testing... ð.
However the above cannot be typeset with ConTeXt alone, since an  
error is diagnosed saying

! Missing number, treated as zero.
to be read again
∞
l.11 \catcode`√∞
 =\active \def√∞{^^F0}
?

Best regards: OK




___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] XeTeX hangs

2006-05-26 Thread Hans Hagen
Otared Kavian wrote:
 On 26 mai 2006, at 12:10, Hans Hagen wrote:

   
 Otared Kavian wrote:
 
 On 24 mai 2006, at 10:07, Hans Hagen wrote:

   
 what do you get when you run that with \tracingall�


 \tracingall�


 Testing... �


 and what does�


 \show �


 return? and what�


 Testing... �aaa


 Hans�

 
 Hi Hans,

 This file:
 %% eth-hans-1.tex
 \starttext
 what do you get when you run that with \tracingall

 Testing... �

 \catcode`�=\active \def�{^^F0}
 \tracingall

 Testing... �

 and what does

 %\show �

 return? and what

 Testing... �aaa

 Hans

 \stoptext
 %% end eth-hans-1.tex

 typeset with XeConTeXt gives a PDF where again one has  
 Testing...��
 in the first occurence, and then Testing... � 0, and the process
 takes some 41 seconds...


 - 
 ---


 If the above file is typeset with ConTeXt alone it stops with the
 error message:

 ! Missing number, treated as zero.
 to be read again
∞
 l.9 \catcode`√∞
=\active \def√∞{^^F0}
   
 so, it looks like the `charchar is not seen as a combination

 how did the complete test file look?  what does  the following say:

 \bgroup
 \let\unicodechar\unicodenumber
 \catcode`�=\active \def�{^^F0}
 \egroup
 

 Hi Hans,

 Typesetting the following with XeConTeXt:

 %% eth-hans-2.tex
 \starttext

 Testing... ð

 \bgroup
 \let\unicodechar\unicodenumber
 \catcode`ð=\active \defð{^^F0}
 \egroup

 Testing... ð
 \stoptext

 gives what is intended, that is a PDF with twice Testing... ð.
 However the above cannot be typeset with ConTeXt alone, since an  
 error is diagnosed saying

 ! Missing number, treated as zero.
 to be read again
 ∞
 l.11 \catcode`√∞
  =\active \def√∞{^^F0}
 ?

   
i need a bit more info:

= the file eth-hans2.tex (zipped!)

= how you call it, yopu say that it works ok with xecontext, so what do 
you mean with 'context alone'

Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] format generation -- again!

2006-05-26 Thread Thomas A. Schmitz
All,

I just hit a snag in generating formats with --make --all. It works  
flawlessly on my computers running Mac OS X or linux, but ALan Bowen  
has a problem where .pat files with Unicode characters aren't  
recognized:

(/usr/local/teTeX/share/texmf.local/tex/context/patterns/lang-us.hyp)
language: patterns agr for agr loaded (n=24,e=agr,m=agr)
(/usr/local/teTeX/share/texmf.local/tex/context/patterns/lang-agr.pat
! Nonletter.
\rawcharacter ...r\or   \or
\or
 \or
\or \or
   \or \or \or \or  
\or \...
l.37 α2Ϊ
   1
?

I compared the cont-en.log of our computers; the only real difference  
is the beginning:

My log:
This is pdfTeX, Version 3.141592-1.40.0-beta-20060213 (Web2C 7.5.5)  
(INITEX)  26 MAY 2006 19:42
entering extended mode
\write18 enabled.
(/usr/local/teTeX/share/texmf.local/web2c/natural.tcx)
***cont-en
(/usr/local/teTeX/share/texmf.local/tex/context/base/cont-en.tex
(/usr/local/teTeX/share/texmf.local/tex/context/base/context.tex
(/usr/local/teTeX/share/texmf.local/tex/context/base/syst-pln.tex

Alan's log:
This is pdfeTeX, Version 3.141592-1.30.4-2.2 (Web2C 7.5.5) (INITEX)   
24 MAY 2006 06:40
entering extended mode
***cont-en.ini
(/usr/local/teTeX/share/texmf.local/tex/context/config/cont-en.ini
(/usr/local/teTeX/share/texmf.local/tex/context/base/cont-en.tex
(/usr/local/teTeX/share/texmf.local/tex/context/base/context.tex
(/usr/local/teTeX/share/texmf.local/tex/context/base/syst-pln.tex

Both have the latest release. So the only difference that really  
could matter:
1. older version of pdf(e)tex;
2. natural.tcx is not called.

Can anybody help? I'm unable to reproduce the problem here; I can  
generate formats both with texmfstart texexec --make --all and with  
fmtutil-sys --byfmt cont-en.

Best

Thomas
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Textext Question

2006-05-26 Thread Jean Magnan de Bornier
Le 26 mai à 18:10:43 Willi Egger [EMAIL PROTECTED] écrit notamment:

 Hi Jean Magnan,

 You should add  \useMPlibrary[txt] in order to get textext working.
 Further define AX as a path only.
 In the dummy-graphic say drawdblarrow AX.withcolor blue;

 After these changes I got the label as well as the double arrow.
Hi, 
thanks to you and Renaud; I changed my file to this:
...
\setupoutput[pdftex]
\runMPgraphicstrue
\useMPlibrary[txt]

\setuppapersize[S6][S6]
\setupcolors[state=start]

\startMPinclusions
numeric u; u=.8cm;
path AX; AX=(10u,0)--(0,0)--(0,10u);
\stopMPinclusions
\starttext
\startuseMPgraphic{dummy}
pickup pencircle scaled .8mm;
drawdblarrow AX withcolor green;
label.rt(textext($3x^2+\pi$), (5u,6u));
\stopuseMPgraphic

\placefigure[left]{bla.bla}{\useMPgraphic{dummy}}
\input dawkins
\stoptext
...

I get the same unknown in place of the label.
On computer one (my everyday machine) context is provided by TeX-Live, and
I made the same experiment with my computer two where context is installed
via TeTeX.
Same result on both!

I Think I have followed  normal installation procedures (enabling write18
etc.)
So I'm confused
Thanks for any more help!
--
Jean
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] format generation -- again!

2006-05-26 Thread Hans Hagen
Thomas A. Schmitz wrote:
 Alan's log:
 This is pdfeTeX, Version 3.141592-1.30.4-2.2 (Web2C 7.5.5) (INITEX)   
 24 MAY 2006 06:40
 entering extended mode
 ***cont-en.ini
 (/usr/local/teTeX/share/texmf.local/tex/context/config/cont-en.ini
 (/usr/local/teTeX/share/texmf.local/tex/context/base/cont-en.tex
 (/usr/local/teTeX/share/texmf.local/tex/context/base/context.tex
 (/usr/local/teTeX/share/texmf.local/tex/context/base/syst-pln.tex

 Both have the latest release. So the only difference that really  
 could matter:
 1. older version of pdf(e)tex;
   
no problem here
 2. natural.tcx is not called.
   
probably the problem
 Can anybody help? I'm unable to reproduce the problem here; I can  
 generate formats both with texmfstart texexec --make --all and with  
 fmtutil-sys --byfmt cont-en.
   
i dunno how fmtutil works, but maybe you can pass the -8bit switch to pdftex 
somehow (or translate-file=natural.tcx) 

an alternative is to regenerate the patterns 

  ctxtools --pat  

will generate them, given that in the meantime the original names/content of 
pattern sources hasn't changed) 

i know from discussion on the tex live list that tetex was ot that fond of 
being 8 bit clean (all this locale stuff and wanting to have ^^X kind dof 
output on the terminal) but because context (sometimes) need a round trip 8 
bit, i assume an 8 bit clean tex

(btw, fmtutil does not support the engine subpath either - which was reported 
to be too complex to implement) 

Hans 


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Textext Question

2006-05-26 Thread Otared Kavian

On 26 mai 2006, at 22:24, Jean Magnan de Bornier wrote:

 Le 26 mai à 18:10:43 Willi Egger [EMAIL PROTECTED] écrit notamment:

 Hi Jean Magnan,

 You should add  \useMPlibrary[txt] in order to get textext working.
 Further define AX as a path only.
 In the dummy-graphic say drawdblarrow AX.withcolor blue;

 After these changes I got the label as well as the double arrow.
 Hi,
 thanks to you and Renaud; I changed my file to this: []

Hi,

Actually I tried your file and got the same Undefined message in  
place of the graphics.
However the following works for me (latest ConTeXt installed with i- 
Installer on Mac OS X 10.4.6):

\setuppapersize[S6][S6]
\setupcolors[state=start]

\starttext
\startbuffer[essai]
numeric u; u = .4cm;
path p; p = (10u,0)--(0,0)--(0,10u);
pickup pencircle scaled .8mm;
drawdblarrow p withcolor red;
label.rt(textext($3x^2+\pi$), (5u,6u));
\stopbuffer

\placefigure[left]{bla.bla}{\processMPbuffer[essai]}
\input dawkins
\stoptext

If I add
\useMPlibrary[txt]
at the beginning everything works fine as well. But if I add
\runMPgraphicstrue
then I get the Undefined message in the PDF. So it seems that the  
problem comes from this latter command.

Best regards: OK
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Textext Question

2006-05-26 Thread Aditya Mahajan
On Fri, 26 May 2006, Jean Magnan de Bornier wrote:

 Le 26 mai à 18:10:43 Willi Egger [EMAIL PROTECTED] écrit notamment:

 Hi Jean Magnan,

 You should add  \useMPlibrary[txt] in order to get textext working.
 Further define AX as a path only.
 In the dummy-graphic say drawdblarrow AX.withcolor blue;

 After these changes I got the label as well as the double arrow.
 Hi,
 thanks to you and Renaud; I changed my file to this:
 ...
 \setupoutput[pdftex]
 \runMPgraphicstrue
 \useMPlibrary[txt]

 \setuppapersize[S6][S6]
 \setupcolors[state=start]

 \startMPinclusions
 numeric u; u=.8cm;
 path AX; AX=(10u,0)--(0,0)--(0,10u);
 \stopMPinclusions
 \starttext
 \startuseMPgraphic{dummy}
 pickup pencircle scaled .8mm;
 drawdblarrow AX withcolor green;
 label.rt(textext($3x^2+\pi$), (5u,6u));
 \stopuseMPgraphic

 \placefigure[left]{bla.bla}{\useMPgraphic{dummy}}
 \input dawkins
 \stoptext
 ...

 I get the same unknown in place of the label.
 On computer one (my everyday machine) context is provided by TeX-Live, and
 I made the same experiment with my computer two where context is installed
 via TeTeX.
 Same result on both!


This file compiles fine here (Windows XP + ConTeXt  ver: 
2006.05.17 10:08). I get proper text in the right location.


 I Think I have followed normal installation procedures (enabling 
 write18 etc.) So I'm confused Thanks for any more help!

Your first message said that you were running texexec.pl. Try 
switching to texexec.rb, i.e., invoke context with

texmfstart texexec filename

Aditya
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] A question for you

2006-05-26 Thread Idris Samawi Hamid
Dear fellow gangsters,

I have a question for you all, recalling an exchange with John Culleton  
last fall:

http://www.ntg.nl/pipermail/ntg-context/2005/013498.html

In your views, what are the strengths and weaknesses of ConTeXt? For  
example, under what circumstances do you prefer to use a word processor  
(Word/OOo), a layout processor (InDesign), or just Plain(e)TeX over  
ConTeXt? (Actually the link above deals with Plain TeX but just in case  
you have anything to add).

In Maps 33-2005 Taco did an article based on our answers to the question,  
What do you do with ConTeXt? I would like to see the answers to the  
_opposite_ question:

Which typesetting tasks do you NOT do in ConTeXt, and what do you prefer  
to use for those tasks?

A corallary question:

What typesetting tasks do you find difficult-to-onerous in ConTeXt (even  
in nothing else is available)?

Your insights will be very much appreciated. I for one look forward to the  
day ConTeXt takes over the world!

Take care and all the

Best
Idris

-- 
Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context