Re: [NTG-context] sorting, again

2006-04-09 Thread Taco Hoekwater
Johan Sandblom wrote:
> 
>>btw, we need to collect such sorting examples in the new context test 
> suite, maybe someone wants to volunteer for that aspect
> 
> I have no idea what that task might entail but wouldn't mind
> contributing if I can

We now have a project that strives to create a regression test
for context distributions. I am writing a homepage right now (wiki),
but the short version is: we need small test files so that we can
check if a future releases still produces the same output.

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


[NTG-context] metapost background

2006-04-09 Thread Johan Sandblom
If the following is run with newtexexec, the text background on the
first page is black. On live.contextgarden.net it works ok. Another
candidate for the test suite?

\setupcolors[state=start]
\definecolor[red][r=1]
\definecolor[trwhite][s=1, t=.5, a=1]
\setupbackgrounds[state=repeat]
\defineoverlay[pagebg][\useMPgraphic{pagebg}]
\setupbackgrounds[page][background=pagebg]
\startuseMPgraphic{pagebg}
StartPage ;
fill Page withcolor \MPcolor{red} ;
fill Field[Text][Text] withcolor \MPcolor{trwhite} ;
StopPage ;
\stopuseMPgraphic

\starttext

\dorecurse{10}{\input tufte}

\stoptext

--
Johan Sandblom  N8, MRC, Karolinska sjh
t +46851776108  17176 Stockholm
m +46735521477  Sweden
"What is wanted is not the will to believe, but the
will to find out, which is the exact opposite"
- Bertrand Russell
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] metapost background

2006-04-09 Thread Taco Hoekwater
Johan Sandblom wrote:
> If the following is run with newtexexec, the text background on the
> first page is black.

I _do_ get a nice pinkish background on both pages when I don't use
runtime graphics. Diagnosis: It looks like the specials get lost
somehow in the runtime version.

This file is certainly a good test case.

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


Re: [NTG-context] sorting, again

2006-04-09 Thread Johan Sandblom
I'd be happy to help with this endeavour.

Regards, Johan

2006/4/9, Taco Hoekwater <[EMAIL PROTECTED]>:
> Johan Sandblom wrote:
> >
> >>btw, we need to collect such sorting examples in the new context test
> > suite, maybe someone wants to volunteer for that aspect
> >
> > I have no idea what that task might entail but wouldn't mind
> > contributing if I can
>
> We now have a project that strives to create a regression test
> for context distributions. I am writing a homepage right now (wiki),
> but the short version is: we need small test files so that we can
> check if a future releases still produces the same output.
>
> Greetings, Taco
> ___
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
>


--
Johan Sandblom  N8, MRC, Karolinska sjh
t +46851776108  17176 Stockholm
m +46735521477  Sweden
"What is wanted is not the will to believe, but the
will to find out, which is the exact opposite"
- Bertrand Russell
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Changing page orientation - Landscape/Portrait

2006-04-09 Thread Miguel Queiros
Hello,

This might be a simple question but I didn't read
anything about it on the wiki or on the mailing list
archives.

I would like to change the orientation of a page in
a document, from landscape to portrait... Is there
any command that will change the orientation of
a single page ?

Thank you,
Miguel Queirós



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


Re: [NTG-context] Changing page orientation - Landscape/Portrait

2006-04-09 Thread Peter Rolf
Miguel Queiros wrote:
> Hello,
> 
> This might be a simple question but I didn't read
> anything about it on the wiki or on the mailing list
> archives.
> 
> I would like to change the orientation of a page in
> a document, from landscape to portrait... Is there
> any command that will change the orientation of
> a single page ?
> 

\starttext

PAGE ONE
\page

% start of local layout
\start\startlocal
\setuppapersize [A4, landscape] [A4, landscape]
\stoplocal

PAGE TWO
\page
\stop
% end of local layout

PAGE THREE

\stoptext


You can add this to the wiki, if you like ;)

Greets, Peter


> Thank you,
> Miguel Queirós
> 
> 
> 
> ___
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context

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


[NTG-context] [Fwd: [metapost] New version of Metapost]

2006-04-09 Thread Taco Hoekwater
Hi guys,

Just in case someone here knows ...


 Original Message 
Subject: [metapost] New version of Metapost
Date: Sun, 9 Apr 2006 18:27:57 +0300
From: Michael Maschler <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]

Hello,

I asked this question some time ago and got no answer.

I would like to know how to install the new metapost package on Windows 
WinEdt.

Thanks,

Michael Maschler

--
Note my additional mailing address.
___
metapost mailing list
http://tug.org/mailman/listinfo/metapost
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] [Fwd: [metapost] New version of Metapost]

2006-04-09 Thread Aditya Mahajan
> I asked this question some time ago and got no answer.
>
> I would like to know how to install the new metapost package on Windows
> WinEdt.

Assuming that you are also using miktex, just do a miktex update. The 
new version of metapost will get installed. I have

$mp --version
MiKTeX-MetaPost 2.4.1955 (0.901) (MiKTeX 2.4)
Copyright 1990 - 1995 by AT&T Bell Laboratories
TeX is a trademark of the American Mathematical Society. METAFONT is a 
trademark of Addison-Wesley Publishing Company. PostScript is a trademark of 
Adobe Systems Incorporated.

Aditya

-- 
Aditya Mahajan, EECS Systems, University of Michigan
http://www.eecs.umich.edu/~adityam || Ph: 7342624008
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] metapost background

2006-04-09 Thread Johan Sandblom
How does one use the old texexec in the standalone windows version? I tried with

texmfstart texexec.pl

and that looks like the old texexec output but the resulting pdf is
equally defective.

Regards, Johan

2006/4/9, Taco Hoekwater <[EMAIL PROTECTED]>:
> Johan Sandblom wrote:
> > Is there a workaround I can use? I need it for a presentation this
> > week. I can't use live since I have my own fonts.
>
> Either start your document with  \runMPgraphicsfalse,
> or use old texexec. Both solutions work  OK here.
>
> Taco
>


--
Johan Sandblom  N8, MRC, Karolinska sjh
t +46851776108  17176 Stockholm
m +46735521477  Sweden
"What is wanted is not the will to believe, but the
will to find out, which is the exact opposite"
- Bertrand Russell
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] metapost background

2006-04-09 Thread Hans Hagen
Johan Sandblom wrote:
> If the following is run with newtexexec, the text background on the
> first page is black. On live.contextgarden.net it works ok. Another
> candidate for the test suite?
>   
sure
> \setupcolors[state=start]
> \definecolor[red][r=1]
> \definecolor[trwhite][s=1, t=.5, a=1]
> \setupbackgrounds[state=repeat]
> \defineoverlay[pagebg][\useMPgraphic{pagebg}]
> \setupbackgrounds[page][background=pagebg]
> \startuseMPgraphic{pagebg}
> StartPage ;
> fill Page withcolor \MPcolor{red} ;
> fill Field[Text][Text] withcolor \MPcolor{trwhite} ;
> StopPage ;
> \stopuseMPgraphic
>
> \starttext
>
> \dorecurse{10}{\input tufte}
>
> \stoptext
>   
works ok here both 

newtexexec test
newtexexec --automp test 

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

2006-04-09 Thread Johannes Graumann
Taco Hoekwater wrote:
> I have just approved two files with rather large attachments by
> mistake. My apologies to everyone who is on a slow link.
> 
> To the original posters: in the future, please make large
> examples available on the internet somewhere. Some of the people
> on this list are on rather slow connections.

I apologize for this. Being on a fast university T1 (or what ever it may be
classified as) connection I forget what other people have to work with.
Future examples will go to my home page.

Joh

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


Re: [NTG-context] Units and XML

2006-04-09 Thread Johannes Graumann
Hans Hagen wrote:
> newmmu is now newpml and works with newmml (the old and new methods
> cannot be used mixed because they use completely different internals
> [direct xml handling using stacks versus xml->tex expansion]
system  : module newpml not found
system  : module newmml not found
system  : module newcml not found

Is the answer to '\usemodule[newpml,newmml,newcml]'. What am I doing wrong?

Joh

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


Re: [NTG-context] finding project files in parent dirs automatically

2006-04-09 Thread Hans Hagen
Sanjoy Mahajan wrote:
> From:Taco Hoekwater <[EMAIL PROTECTED]>
>   
>>> Is there a hardcoded limit on how far up context searches?
>>>   
>> Like you just discovered, it searches three levels (current, parent,
>> grandparent). The max level is defined in this macro:
>>
>>\def\maxreadlevel{3}
>>
>> You can simply redefine the macro if needed (you have to do that in
>> cont-sys, otherwise you have a bootstrapping problem).
>>
>> The file reading macros are in supp-fil.tex, if interested.
>> 
>
> Tested and works great, thanks.  I had looked around for such an
> object but didn't find it.
>
> Can the default be 4? (If it doesn't break other assumptions.)
>
>   
best put this directive in your local cont-sys.tex 

you may formulate it as a feature request (i have to think about it) 

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

2006-04-09 Thread Hans Hagen
Mojca Miklavec wrote:
>> cyrillic is indeed a bit messy
>>
>> can you check the alpha zips that i just uploaded?
>>
>> (I wonder is we still need to preload regimes, maybe the ones mostly
>> used ... which ones)
>> 
>
> I'll check iso-8858-1 and iso-8859-7 (I think that I remember some
> differences from the auto-generated files), but I don't have any more
> time today.
>
> cp1251 is now duplicated in regi-cyr (although I didn't check for
> differences today - see
> http://article.gmane.org/gmane.comp.tex.context/24677/ about
> cyrillic).
>
>   
>> % todo: regi-cyp has more in it
>> % \defineregimesynonym [iso88595] [iso-8859-5]
>> 
>
> Why is this commented out? You don't need to rename or to reorganize
> the files - you may only rename the regime vector and then put the
> synonym for backward compatibility (otherwise everything else but
> iso-8859-5 with hyphens will work: just because of consistency).
>   
sure, but i was unsure about this vector (esp since regi-cyp has 
variants in it); anyhow, uncommented now
>   
>> \defineregimesynonym [windows-1250] [cp1250]
>> 
>
> duplicated
>
>   
>> \defineregimesynonym [1250] [cp1250]
>> 
>
> I guess that we don't need 1250 for historical reasons: Either we put
> all ten of them or none.
>   
ok
> In what way does \startregime[cp1250pl] (in regi-cpl) differ from
> cp1250 except that it's incomplete? Could cp1250pl be a synonym for
> cp1250 (for compatibility reasons) as well? (I remember some
> --translate=cp1250cs switches as well, but I guess that this operated
>   
this translate stuff is not needed
> on another level)
>   
ah, that one mistakenly ended up in the zip because of a regi-cp* copy
> Thanks a lot for adding all that,
>   
well, it's you who maintain them now -)

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] Table Esthetics (and XML)

2006-04-09 Thread Johannes Graumann
nico wrote:
> \starttext
...
> \stoptext
And so the aggressive newbie gets to eat his words .. ;0) Thank you. There
is, however on feature missing in your example: 

[EMAIL PROTECTED]@{}}
^^^   ^^^

Will yield the horizontal lines aligned with the start/end of the table
lines - no column spacing at the beginning and end of each row. Any
pointers on how to emulate this with TABLE?

Thanks again, Joh

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


Re: [NTG-context] xml table reading problem

2006-04-09 Thread Hans Hagen
Johannes Graumann wrote:
> Hans,
>
> Thank you once more, but I'm just to green for this ...
>
> \defineXMLnested
>   [table]
>   {
> \bgroup
> \defineXMLsave[caption]
> \defineXMLsave[content]
>   }
>   {
> \placetable
>   [\XMLpar{table}{location}{here}]
>   [\XMLpar{table}{label}{unknown}]
>   {\XMLflush{caption}}
>   
{
>   \ix
>   \expanded{\bTABLE\XMLflush{content}}\eTABLE
>   
}
> \egroup
>   }
>   

-
  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] xml table reading problem

2006-04-09 Thread Johannes Graumann
Hans Hagen wrote:

> {
> }
Thanks ... blush ...

Joh

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


Re: [NTG-context] sorting, again

2006-04-09 Thread Mojca Miklavec
On 4/8/06, Hans Hagen wrote:
> btw, we need to collect such sorting examples in the new context test suite, 
> maybe someone wants to volunteer for that aspect

What are the guidelines for naming the test files?

I saw the tests which are specific for testing single tex files, but
where should "sorting tests" go? I would create some king of "logical"
structure as well in this case (Language -> Sorting, Language ->
Encodings, Language -> Labels, ... Math -> MathML -> UTF, ... Fonts ->
Typescripts, Fonts -> Public Fonts -> LM, ...) since most test files,
but I would like to hear Taco's opinion first before starting to mess
up everything (or perhaps there should be some little brainstorming
for creating such a structure).

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


Re: [NTG-context] xml table reading problem

2006-04-09 Thread Johannes Graumann
Hans,

Thank you once more, but I'm just to green for this ...

\defineXMLnested
  [table]
  {
\bgroup
\defineXMLsave[caption]
\defineXMLsave[content]
  }
  {
\placetable
  [\XMLpar{table}{location}{here}]
  [\XMLpar{table}{label}{unknown}]
  {\XMLflush{caption}}
  \ix
  \expanded{\bTABLE\XMLflush{content}}\eTABLE
  \x
\egroup
  }

Still gives me trouble:

! Missing { inserted.

   \edef
\doifsomething #1->\edef
 \!!stringa {#1}\ifx \!!stringa \empty
\expandafter ...

\switchtobodyfont [#1]->\doifsomething {#1}
{\doifdefinedelse {\??ft
\normal...

\dogetgrouped ...nown}] {\XMLflush {caption}} \ix
  \expanded {\bTABLE
\XMLflu...
l.417   

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


Re: [NTG-context] Units and XML

2006-04-09 Thread Hans Hagen
Johannes Graumann wrote:
> Hans Hagen wrote:
>   
>> newmmu is now newpml and works with newmml (the old and new methods
>> cannot be used mixed because they use completely different internals
>> [direct xml handling using stacks versus xml->tex expansion]
>> 
> system  : module newpml not found
> system  : module newmml not found
> system  : module newcml not found
>
> Is the answer to '\usemodule[newpml,newmml,newcml]'. What am I doing wrong?
>   
newcml is in the making (not that hard, will do that asap) 

the other x-new* modules will be in the new current i'll upload (i saw that i'd 
forgotten to included them) 

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] Column cell number in natural tables

2006-04-09 Thread Hans Hagen
nico wrote:
> Hello,
>
> Is it possible to explicitely set the column of the cell defined by a \bTD  
> ... \eTD? I mean that, within a row, it is the number of previous defined  
> cells that determine the current column cell position. What I would like  
> is to be able to omit intermediate empty cells by explicitely setting the  
> column of the defined cell.
>
> I thought that maybe the option "n" could do that, but it does not work as  
> I expected. Here is an example of a table I'd like to be able to write (of  
> course the "n" option can be replaced by anything else):
>
> \bTABLE
> \bTR\bTD[n=3] a3 \eTD\bTD[n=6] a6 \eTD\eTR
> \bTR\bTD b1 \eTD\bTD b2 \eTD\bTD b3 \eTD\bTD b4 \eTD\eTR
> \bTR\bTD c1 \eTD\bTD c2 \eTD\bTD c3 \eTD\bTD c4 \eTD\eTR
> \bTR\bTD d1 \eTD\bTD[n=5] d5 \eTD\bTD[n=7] d7 \eTD\eTR
> \bTR\bTD e1 \eTD\bTD[n=3] e3 \eTD\eTR
> \eTABLE
>
> On benefit of this feature is that it would make the CALS table model  
> (http://www.oasis-open.org/specs/a502.htm) mapping to context quite  
> easier, especially when the table contains row or column spanning.
>   
ah, this should work indeed, but i never tested more than one column skipped, 
i'll send you a small patch to test 

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] Units and XML

2006-04-09 Thread Johannes Graumann
Hans, 

Since you seem to be working on this: when using inline physml I noticed
that 
1
when used in a figure caption formated like this:
\setupcaptions[style=small,width=\textwidth]

does not scale properly - it remains at 12pt, since
\setupbodyfont[12pt,modern].

Joh

Hans Hagen wrote:

> Johannes Graumann wrote:
>> Hans Hagen wrote:
>>   
>>> newmmu is now newpml and works with newmml (the old and new methods
>>> cannot be used mixed because they use completely different internals
>>> [direct xml handling using stacks versus xml->tex expansion]
>>> 
>> system  : module newpml not found
>> system  : module newmml not found
>> system  : module newcml not found
>>
>> Is the answer to '\usemodule[newpml,newmml,newcml]'. What am I doing
>> wrong?
>>   
> newcml is in the making (not that hard, will do that asap)
> 
> the other x-new* modules will be in the new current i'll upload (i saw
> that i'd forgotten to included them)
> 
> 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] How to manipulate interlinespace in doubly spaced document?

2006-04-09 Thread Johannes Graumann
Hi,

My university requires doubly spaced Theses (b ... but hey - it get's a
lot thicker ;0), so the preamble has:
\setupinterlinespace[line=2\bodyfontsize]

I'd like to typeset tables, figure/table captions and footnotes with normal
spacing and have experimented with things like

\setupcaptions[style=small,width=\textwidth,setuplinespace[small]]

and

\defineXMLnested
  [table]
  {
\bgroup
\defineXMLsave[caption]
\defineXMLsave[content]
  }
  {
\placetable
  [\XMLpar{table}{location}{here}]
  [\XMLpar{table}{label}{unknown}]
  {\XMLflush{caption}}
  {\ix\setupinterlinespace[reset,small]
  \expanded{\bTABLE\XMLflush{content}}\eTABLE
  \x}
\egroup
  }

But can get neither to work. Any insight into the right syntax is highly
appreciated.

Thanks, Joh

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


Re: [NTG-context] sorting, again

2006-04-09 Thread Johan Sandblom
Is the site for the test suite open? Where is it?

Johan

2006/4/9, Mojca Miklavec <[EMAIL PROTECTED]>:
> On 4/8/06, Hans Hagen wrote:
> > btw, we need to collect such sorting examples in the new context test 
> > suite, maybe someone wants to volunteer for that aspect
>
> What are the guidelines for naming the test files?
>
> I saw the tests which are specific for testing single tex files, but
> where should "sorting tests" go? I would create some king of "logical"
> structure as well in this case (Language -> Sorting, Language ->
> Encodings, Language -> Labels, ... Math -> MathML -> UTF, ... Fonts ->
> Typescripts, Fonts -> Public Fonts -> LM, ...) since most test files,
> but I would like to hear Taco's opinion first before starting to mess
> up everything (or perhaps there should be some little brainstorming
> for creating such a structure).
>
> Mojca
> ___
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
>


--
Johan Sandblom  N8, MRC, Karolinska sjh
t +46851776108  17176 Stockholm
m +46735521477  Sweden
"What is wanted is not the will to believe, but the
will to find out, which is the exact opposite"
- Bertrand Russell
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Curious blank page

2006-04-09 Thread Aditya Mahajan

On Sun, 19 Mar 2006, David Arnold wrote:


Why is it that the rest of the page after Answers on page 4 of the
compiled pdf is blank?


I have a similar problem. Attached is the (not so) minimal example 
that I could prepare. (This is part of my way on mathalignment). See 
the page break on page 2, while all the page is empty. Adding
\kern\zeropoint prevents the page break. But I find such an page break 
very confusing.



This is context version.
 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.3-2.2 (Web2c 7.5.5)
   context : ver: 2006.04.07 11:24
   cont-en : ver: 2006.04.07 11:24  fmt: 2006.4.7  mes: 
english
   cont-nl : ver: 2006.04.07 11:24  fmt: 2006.4.7  mes: 
dutch


total run time : 5 seconds


By the way, texmfstart newtexexec --version just gives
TeXExec | version 6.1.2 - 1997-2006 - PRAGMA ADE/POD

No version information of context is given!! What is the correct way 
to get complete version information from newtexexec.


Thanks,
Aditya

--
Aditya Mahajan, EECS Systems, University of Michigan
http://www.eecs.umich.edu/~adityam || Ph: 7342624008

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


Re: [NTG-context] sorting, again

2006-04-09 Thread Mojca Miklavec
On 4/9/06, Johan Sandblom wrote:
> Is the site for the test suite open? Where is it?

http://wiki.contextgarden.net/Testsuite
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Curious blank page

2006-04-09 Thread Hans Hagen
Aditya Mahajan wrote:
> On Sun, 19 Mar 2006, David Arnold wrote:
>
>> Why is it that the rest of the page after Answers on page 4 of the
>> compiled pdf is blank?
>
> I have a similar problem. Attached is the (not so) minimal example 
> that I could prepare. (This is part of my way on mathalignment). See 
> the page break on page 2, while all the page is empty. Adding
> \kern\zeropoint prevents the page break. But I find such an page break 
> very confusing.
>
>
> This is context version.
>  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.3-2.2 (Web2c 7.5.5)
>context : ver: 2006.04.07 11:24
>cont-en : ver: 2006.04.07 11:24  fmt: 2006.4.7  mes: 
> english
>cont-nl : ver: 2006.04.07 11:24  fmt: 2006.4.7  mes: dutch
>
> total run time : 5 seconds
>
>
> By the way, texmfstart newtexexec --version just gives
> TeXExec | version 6.1.2 - 1997-2006 - PRAGMA ADE/POD
>
> No version information of context is given!! What is the correct way 
> to get complete version information from newtexexec.
better use (for th emoment): 

\defineframedtext
  [example]
  [width=\textwidth,
   background=screen,
   backgroundscreen=.85,
   frame=off,
   after={\blank[small]},
   before={\blank[small]}]

\def\ShowExample
  {\blank[small]
   \startexample
 \typebuffer
   \stopexample
   \getbuffer
   \blank[small]}


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

2006-04-09 Thread Mojca Miklavec
On 4/8/06, Hans Hagen wrote:
> (I wonder is we still need to preload regimes, maybe the ones mostly
> used ... which ones)

If I knew how to do that, I would implement it in the following way:

Somewhere it would be defined where a specific regime is located
\defineregimefile[cp1250][regi-cp1250]
...
\defineregimefile[isoir111][regi-cyp]
...

Then you don't need to read all those files / preload all those
regimes (except for the really common ones). So if someone says
\enableregime[windows-1250]
then ConTeXt knows that it is a synonym for cp1250, that cp1250 is
located in regi-cp1250.tex and finally loads the appropriate file and
enables the regime.

I don't know what exactly "preloading" means (are the definitions
already included in format or are the files read in at runtime?) I
doubt that it would save any resources that way, but in case it would,
the regimes might be preloaded depending on mainlanguage. (If someone
typesets Slovenian texts, it would preloa utf, cp1250 and latin2, if
someone typesets russian, you would preload cyrilic regimes, ...)

Otherwise I would say: if the regimes eat a lot of memory, don't
preload the new ones yet (except cp1250) until someone requests them.

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


[NTG-context] enco-ffr.tex => interferences with metapost

2006-04-09 Thread Renaud AUBIN





Hi all,

This post is for Hans

I've just upgraded ConTeXt and the new enco-ffr interfere with ';'  in
MPgraphics, xxx-mpgraph.log returns
! Extra tokens will be flushed.
 
   directdiscretionary
l.54 } enddef \directdiscretionary
   {;
I've just read as much of that statement as I could fathom,
so a semicolon should have been next. It's very puzzling...
but I'll try to get myself back together, by ignoring
everything up to the next `;'. Please insert a semicolon
now in front of anything that you don't want me to delete.
(See Chapter 27 of The METAFONTbook for an example.)

Cheers,

Renaud



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


Re: [NTG-context] Curious blank page

2006-04-09 Thread Hans Hagen
Aditya Mahajan wrote:
> On Sun, 19 Mar 2006, David Arnold wrote:
>
>> Why is it that the rest of the page after Answers on page 4 of the
>> compiled pdf is blank?
>
> I have a similar problem. Attached is the (not so) minimal example 
> that I could prepare. (This is part of my way on mathalignment). See 
> the page break on page 2, while all the page is empty. Adding
> \kern\zeropoint prevents the page break. But I find such an page break 
> very confusing.
>
>
> This is context version.
>  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.3-2.2 (Web2c 7.5.5)
>context : ver: 2006.04.07 11:24
>cont-en : ver: 2006.04.07 11:24  fmt: 2006.4.7  mes: 
> english
>cont-nl : ver: 2006.04.07 11:24  fmt: 2006.4.7  mes: dutch
>
> total run time : 5 seconds
>
>
> By the way, texmfstart newtexexec --version just gives
> TeXExec | version 6.1.2 - 1997-2006 - PRAGMA ADE/POD
>
> No version information of context is given!! What is the correct way 
> to get complete version information from newtexexec.
btw, you need to patch core-mat.tex :

\doif => \doifsomething

   \doifsomething{\formulaparameter\c!margin}% so we test first
 {\dosetleftskipadaption{\formulaparameter\c!margin}%
  \edef\leftdisplaymargin{\the\leftskipadaption}}% overloaded

it seems that this was never encountered

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] enco-ffr.tex => interferences with metapost

2006-04-09 Thread Renaud AUBIN




I must add

\enableregime[il9]
\useencoding[ffr]
\mainlanguage[fr]

=> doesn't work

\enableregime[il9]
\useencoding[ffr]
%\mainlanguage[fr]

=> does work 



Renaud AUBIN a écrit :

  Hi all,

This post is for Hans

I've just upgraded ConTeXt and the new enco-ffr interfere with ';'  in
MPgraphics, xxx-mpgraph.log returns
! Extra tokens will be flushed.

   directdiscretionary
l.54 } enddef \directdiscretionary
   {;
I've just read as much of that statement as I could fathom,
so a semicolon should have been next. It's very puzzling...
but I'll try to get myself back together, by ignoring
everything up to the next `;'. Please insert a semicolon
now in front of anything that you don't want me to delete.
(See Chapter 27 of The METAFONTbook for an example.)

Cheers,

Renaud

  
  

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




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


[NTG-context] itemize (bis)

2006-04-09 Thread Renaud AUBIN




Hi all,

(see [NTG-context] itemize)

Now I use

\setupitemize[each][2,packed,joinedup,intext][indentnext=yes] % thanks
Hans for intext !

but I don't obtain indentation of the first line of each item...

i.e. I got

    Un petit paragraphe
qui continue à la ligne.
- le premier élément de
la liste,
- le second élément de
la liste.

instead of

    Un petit
paragraphe
qui continue à la ligne.
    - le premier élément de
la liste,
    - le second élément de
la liste.

I have tried several options in setuptiemize but failed to get what I
want...

Cheers,

Renaud


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


Re: [NTG-context] Table Esthetics (and XML)

2006-04-09 Thread nico
On Sun, 09 Apr 2006 11:17:01 -0700, Johannes Graumann  
<[EMAIL PROTECTED]> wrote:

> nico wrote:
>> \starttext
> ...
>> \stoptext
> And so the aggressive newbie gets to eat his words .. ;0) Thank you.

I've also played with latex tables, and really the context ones are much  
more powerfull and consistent.

> There
> is, however on feature missing in your example:
>
> [EMAIL PROTECTED]@{}}
> ^^^   ^^^
>
> Will yield the horizontal lines aligned with the start/end of the table
> lines - no column spacing at the beginning and end of each row. Any
> pointers on how to emulate this with TABLE?

I'm not sure how it should be achieved. Maybe one of these settings fit  
your need:

% with overlay the frame rules are within the table;
% it's ok, but the table lines start a bit before the top/bottom rule
\framed[frame=off,topframe=on,bottomframe=on,offset=overlay,rulethickness=2pt]\bgroup%
\setupTABLE[frame=on]%
\setupTABLE[row][1,2][rulethickness=0.5pt,bottomframe=on]%
\bTABLE[columndistance=10pt]%

% seems ok but should we play with border margins like this?
\framed[frame=off,topframe=on,bottomframe=on,offset=none,rulethickness=2pt]\bgroup%
\setupTABLE[frame=on]%
\setupTABLE[row][1,2][rulethickness=0.5pt,bottomframe=on]%
\bTABLE[columndistance=10pt,leftmargindistance=-2pt,rightmargindistance=-2pt]%

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


Re: [NTG-context] beta

2006-04-09 Thread Hans Hagen
Mojca Miklavec wrote:
> On 4/8/06, Hans Hagen wrote:
>   
>> (I wonder is we still need to preload regimes, maybe the ones mostly
>> used ... which ones)
>> 
>
> If I knew how to do that, I would implement it in the following way:
>
> Somewhere it would be defined where a specific regime is located
> \defineregimefile[cp1250][regi-cp1250]
> ...
> \defineregimefile[isoir111][regi-cyp]
> ...
>
> Then you don't need to read all those files / preload all those
> regimes (except for the really common ones). So if someone says
> \enableregime[windows-1250]
> then ConTeXt knows that it is a synonym for cp1250, that cp1250 is
> located in regi-cp1250.tex and finally loads the appropriate file and
> enables the regime.
>   
actually, this is what happens when a regime is not preloaded (i.e. see 
end of regi-ini)

currently:

\useregime[def,uni,iso-8858-1,iso-8858-2,cp1252,mac]

maybe:

\useregime[def,uni] % rest runtime

> I don't know what exactly "preloading" means (are the definitions
> already included in format or are the files read in at runtime?) I
>   
a few are in the format, eating up hash entries and memory; but since 
regimes are global anyway ...
> doubt that it would save any resources that way, but in case it would,
> the regimes might be preloaded depending on mainlanguage. (If someone
> typesets Slovenian texts, it would preloa utf, cp1250 and latin2, if
> someone typesets russian, you would preload cyrilic regimes, ...)
>
> Otherwise I would say: if the regimes eat a lot of memory, don't
> preload the new ones yet (except cp1250) until someone requests them.
>   
or preload none since loading is fast enough 

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] XML and table interpretation

2006-04-09 Thread Johannes Graumann
Why do these two things work:

1)\defineXMLnested
  [td]
  [rows=1,cols=1]
  {\bTD[nr=\XMLop{rows},nc=\XMLop{cols}]}
  {\eTD}
(in conjunction with 'Gene productHPM
tagTAP tagmod. TAP tagFrequ. in ref. set')


2) \bTR[bottomframe=on,rulethickness=0.3pt]\bTD a \eTD\bTD b \eTD\bTD b
\eTD\bTD c \eTD\eTR%

But this doesn't?

\defineXMLnested 
  [tr]
  [bottomframe=off,rulethickness=0.3pt]
 {\bTR[bottomframe=\XMLop{bottomframe},rulethickness=\XMLop{rulethickness}]}
  {\eTR}

together with 'Gene productHPM tagTAP tagmod. TAP
tagFrequ. in ref. set'

Thanks, Joh

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


Re: [NTG-context] XML and table interpretation

2006-04-09 Thread Hans Hagen
Johannes Graumann wrote:
> Why do these two things work:
>
> 1)\defineXMLnested
>   [td]
>   [rows=1,cols=1]
>   {\bTD[nr=\XMLop{rows},nc=\XMLop{cols}]}
>   {\eTD}
> (in conjunction with 'Gene productHPM
> tagTAP tagmod. TAP tag rows="2">Frequ. in ref. set')
>
>
> 2) \bTR[bottomframe=on,rulethickness=0.3pt]\bTD a \eTD\bTD b \eTD\bTD b
> \eTD\bTD c \eTD\eTR%
>
> But this doesn't?
>
> \defineXMLnested 
>   [tr]
>   [bottomframe=off,rulethickness=0.3pt]
>  {\bTR[bottomframe=\XMLop{bottomframe},rulethickness=\XMLop{rulethickness}]}
>   {\eTR}
>   
\expanded{\bTR[]}

has to do with the fact that TABLE collects its info and therefore you 
need to freeze the settings
> together with 'Gene product cols="3">HPM tagTAP tagmod. TAP
> tagFrequ. in ref. set'
>
> Thanks, Joh
>
> ___
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
>   


-- 

-
  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] XML and table interpretation

2006-04-09 Thread Johannes Graumann
Thanks Hans, that did it. Do you ever sleep?

Joh

Hans Hagen wrote:

> Johannes Graumann wrote:
>> Why do these two things work:
>>
>> 1)\defineXMLnested
>>   [td]
>>   [rows=1,cols=1]
>>   {\bTD[nr=\XMLop{rows},nc=\XMLop{cols}]}
>>   {\eTD}
>> (in conjunction with 'Gene productHPM
>> tagTAP tagmod. TAP tag> rows="2">Frequ. in ref. set')
>>
>>
>> 2) \bTR[bottomframe=on,rulethickness=0.3pt]\bTD a \eTD\bTD b \eTD\bTD b
>> \eTD\bTD c \eTD\eTR%
>>
>> But this doesn't?
>>
>> \defineXMLnested
>>   [tr]
>>   [bottomframe=off,rulethickness=0.3pt]
>> 
{\bTR[bottomframe=\XMLop{bottomframe},rulethickness=\XMLop{rulethickness}]}
>>   {\eTR}
>>   
> \expanded{\bTR[]}
> 
> has to do with the fact that TABLE collects its info and therefore you
> need to freeze the settings
>> together with 'Gene product> cols="3">HPM tagTAP tagmod. TAP
>> tagFrequ. in ref. set'
>>
>> Thanks, Joh
>>
>> ___
>> ntg-context mailing list
>> ntg-context@ntg.nl
>> http://www.ntg.nl/mailman/listinfo/ntg-context
>>   
> 
> 


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


Re: [NTG-context] Strange t-bib behavior

2006-04-09 Thread Johannes Graumann
Taco Hoekwater wrote:

> It runs fine here, so probably you have to update your context
> distribution. There were some changes so you need a fairly recent
> context. But first, try re-running bibtex.
Taco,

I tried again. See
http://www.idyll.org:8081/JohSite/copy_of_profession/bibprob - same problem
(and it persists in my xml master document). This was a complete restart
and I have wiped the directory multiple times of all things not source
(*.ctx,*.bib). I don't believe this is attributable to me not running an
up-to-date ConTeXt, since I upgraded yesterday and 'texexec --version'
says: 
TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005

   texexec : TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005
   texutil : TeXUtil 9.0.1 - ConTeXt / PRAGMA ADE 1992-2006
   tex : pdfeTeX, 3.141592-1.30.6-2.2 (Web2C 7.5.5)
   context : ver: 2006.04.06 23:00
   cont-en : ver: 2005.01.31  fmt: 2006.4.7  mes: english
'bibtex --version' gives me:
BibTeX 0.99c (Web2C 7.5.4)
kpathsea version 3.5.4
Copyright (C) 1997-2004 Oren Patashnik.
Kpathsea is copyright (C) 1997-2004 Free Software Foundation, Inc.
There is NO warranty.  Redistribution of this software is
covered by the terms of both the BibTeX copyright and
the GNU General Public License.
For more information about these matters, see the files
named COPYING and the BibTeX source.
Primary author of BibTeX: Oren Patashnik.
Kpathsea written by Karl Berry and others.

Is that possibly the problem?

Joh

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


Re: [NTG-context] Curious blank page

2006-04-09 Thread Aditya Mahajan
On Sun, 9 Apr 2006, Hans Hagen wrote:

> Aditya Mahajan wrote:
>> On Sun, 19 Mar 2006, David Arnold wrote:
>>
>>> Why is it that the rest of the page after Answers on page 4 of the
>>> compiled pdf is blank?
>>
>> I have a similar problem. Attached is the (not so) minimal example
>> that I could prepare. (This is part of my way on mathalignment). See
>> the page break on page 2, while all the page is empty. Adding
>> \kern\zeropoint prevents the page break. But I find such an page break
>> very confusing.
>>
> btw, you need to patch core-mat.tex :
>
> \doif => \doifsomething
>
>   \doifsomething{\formulaparameter\c!margin}% so we test first
> {\dosetleftskipadaption{\formulaparameter\c!margin}%
>  \edef\leftdisplaymargin{\the\leftskipadaption}}% overloaded
>
> it seems that this was never encountered

This doesn't seem to work. Changing line 303 of core-mat.tex \doif => 
\doifsomething and regenerating formats, does not change the output of 
the test file. I still get the incorrect page breaking.

If I use the framedtext, then everything works fine. Something seems 
to be going wrong with \startbackground \stopbackground.

Aditya

-- 
Aditya Mahajan, EECS Systems, University of Michigan
http://www.eecs.umich.edu/~adityam || Ph: 7342624008
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] [Fwd: [metapost] New version of Metapost]

2006-04-09 Thread Michael Maschler
Aditya,

Thanks for your reply. Unfortunately, I am talking about Metapost
version 9.1 ---
a version that originally was developed by Taco for mainframe
computers --- not for PC's. Later in was adapted for PC's but I do not
know how to install it. I am using WinEdt
equipped with Miktex.

Michael

On 4/9/06, Aditya Mahajan <[EMAIL PROTECTED]> wrote:
> > I asked this question some time ago and got no answer.
> >
> > I would like to know how to install the new metapost package on Windows
> > WinEdt.
>
> Assuming that you are also using miktex, just do a miktex update. The
> new version of metapost will get installed. I have
>
> $mp --version
> MiKTeX-MetaPost 2.4.1955 (0.901) (MiKTeX 2.4)
> Copyright 1990 - 1995 by AT&T Bell Laboratories
> TeX is a trademark of the American Mathematical Society. METAFONT is a
> trademark of Addison-Wesley Publishing Company. PostScript is a trademark of
> Adobe Systems Incorporated.
>
> Aditya
>
> --
> Aditya Mahajan, EECS Systems, University of Michigan
> http://www.eecs.umich.edu/~adityam || Ph: 7342624008
>


--
Note my additional mailing address.
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] metapost background

2006-04-09 Thread Taco Hoekwater
Hans Hagen wrote:
> 
> works ok here both 
> 

Hi Johan,

Have you changed any of the memory values in texmf.cnf recently?
(I suddenly remember I have)

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


Re: [NTG-context] metapost background (fix)

2006-04-09 Thread Taco Hoekwater
Taco Hoekwater wrote:
> Hans Hagen wrote:
> 
>>works ok here both 
>>
> 
> Have you changed any of the memory values in texmf.cnf recently?
> (I suddenly remember I have)

I regenerated the formats with

   texmfstart newtexexec --make --all

and after that, the problem was gone. Probably because texexec and
newtexexec read different variables from texmf.cnf.

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