Re: [NTG-context] texexec slow

2009-04-23 Thread Taco Hoekwater

Mojca Miklavec wrote:

On Thu, Apr 23, 2009 at 17:10, R. Bastian wrote:

On Thu, 23 Apr 2009 16:55:56 +0200
"R. Bastian" scribit:


"ruby $TEXMFCONTEXT/scripts/context/ruby/texexec.rb "

Haha ! with this tip I get an error message from 'pdftex' :
libstdc++.so.5 ... No such file ...


Taco, what's the state with this particular library dependency?


Not 100% sure but I think it should be better now (or at least
soon), as Thanh wrote he has updated the build script for pdftex.

One thing to remember is that to make pdftex use a static
libstdc++, the machine you are compiling pdftex on has to have
the static version of libstdc++ installed.

Best wishes,
Taco

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] PSTricks

2009-04-23 Thread Wolfgang Schuster


Am 24.04.2009 um 08:16 schrieb David Arnold:


All,

Can someone give me some example code that includes a PSTricks object?


-> m-pstric.tex

Wolfgang

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] PSTricks

2009-04-23 Thread David Arnold

All,

Can someone give me some example code that includes a PSTricks object?

Thanks.

D.
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] overprint color setting not working

2009-04-23 Thread Fengnan
Hi, dear all,

This small test file will go wrong under the newest beta, which I updated a 
hour ago.  Here is the file.

\setupcolors[state=start,overprint=yes]

\starttext
test file test file.
\stoptext


Is overprint function abondoned?


Fengnan
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] bug in sort-lan.tex?

2009-04-23 Thread Yue Wang
Hi, Hans:

I compiled a simple document (\starttext \input zapf \stoptext), and
get the warning message below:

This is XeTeX, Version 3.1415926-2.2-0.999.8 (Web2C 7.5.7)
(format=cont-en 2009.4.22)  24 APR 2009 11:00
entering extended mode
 \write18 enabled.
**test.tex \emergencyend
(./test.tex

ConTeXt  ver: 2009.04.21 16:11 MKII  fmt: 2009.4.22  int: english/english

system  : cont-new loaded
(c:/context/tex/texmf-context/tex/context/base/cont-new.tex
systems : beware: some patches loaded from cont-new.tex
(c:/context/tex/texmf-context/tex/context/base/cont-new.mkii)
(c:/context/tex/texmf-context/tex/context/base/cont-mtx.tex))
system  : cont-fil loaded
(c:/context/tex/texmf-context/tex/context/base/cont-fil.tex
loading : ConTeXt File Synonyms
)
system  : cont-sys.rme loaded
(c:/context/tex/texmf-context/tex/context/user/cont-sys.rme
(c:/context/tex/texmf-context/tex/context/base/type-tmf.tex)
(c:/context/tex/texmf-context/tex/context/base/type-siz.tex
(c:/context/tex/texmf-context/tex/context/base/type-siz.mkii))
(c:/context/tex/texmf-context/tex/context/base/type-otf.tex
(c:/context/tex/texmf-context/tex/context/base/type-otf.mkii))
(c:/context/tex/texmf-context/tex/context/base/type-xtx.tex))
system  : test.top loaded
(./test.top)
bodyfont: 12pt rm is loaded
language: patterns nl->default:default->1->2:2 us->default:default->2->
2:3 de->default:default->3->3:3 da->default:default->4->2:2 sv->default:default
->5->2:2 gb->default:default->6->2:2 fr->default:default->7->2:2 es->default:de
fault->8->2:2 ca->default:default->9->2:2 it->default:default->10->2:2 la->defa
ult:default->11->2:2 pt->default:default->12->2:2 ro->default:default->13->2:2
pl->default:default->14->2:2 cs->default:default->15->2:2 sk->default:default->
16->2:2 hr->default:default->17->2:2 sl->default:default->18->2:2 tr->default:d
efault->19->2:2 agr->default:default->21->2:2 fi->default:default->22->2:2 hu->
default:default->23->2:2 ru->default:default->26->2:2 uk->default:default->27->
3:3 loaded
specials: dvips loaded
\openout3 = `test.tui'.

\openout0 = `test-mpgraph.mp'.

\openout0 = `mpgraph.mp'.

language: language en is active
specials: loading definition file dpx
(c:/context/tex/texmf-context/tex/context/base/spec-dpx.tex
specials: loading definition file fdf
(c:/context/tex/texmf-context/tex/context/base/spec-fdf.tex))
specials: loading definition file xet
(c:/context/tex/texmf-context/tex/context/base/spec-xet.tex) (./test.tuo)
(./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo)
(./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo)
systems : begin file test at line 1
(c:/context/tex/texmf-context/tex/context/sample/zapf.tex)
fonts   : resetting map file list
fonts   : using map file: original-base
fonts   : using map file: lm-math
fonts   : using map file: lm-rm
fonts   : using map file: texnansi-base
fonts   : using map file: ec-base
fonts   : using map file: qx-base
fonts   : using map file: t5-base
fonts   : using map file: 8r-base
fonts   : using map file: original-ams-base
fonts   : using map file: original-ams-euler
fonts   : using map file: original-public-lm
(c:/context/tex/texmf-context/tex/context/base/sort-def.tex)
(c:/context/tex/texmf-context/tex/context/base/sort-lan.tex
Invalid UTF-8 byte or sequence at line 102 replaced by U+FFFD.
Invalid UTF-8 byte or sequence at line 102 replaced by U+FFFD.
Invalid UTF-8 byte or sequence at line 103 replaced by U+FFFD.
Invalid UTF-8 byte or sequence at line 103 replaced by U+FFFD.
Invalid UTF-8 byte or sequence at line 104 replaced by U+FFFD.
Invalid UTF-8 byte or sequence at line 104 replaced by U+FFFD.
Invalid UTF-8 byte or sequence at line 105 replaced by U+FFFD.
Invalid UTF-8 byte or sequence at line 105 replaced by U+FFFD.
Invalid UTF-8 byte or sequence at line 106 replaced by U+FFFD.
Invalid UTF-8 byte or sequence at line 106 replaced by U+FFFD.
Invalid UTF-8 byte or sequence at line 107 replaced by U+FFFD.
Invalid UTF-8 byte or sequence at line 107 replaced by U+FFFD.
Invalid UTF-8 byte or sequence at line 108 replaced by U+FFFD.
Invalid UTF-8 byte or sequence at line 108 replaced by U+FFFD.
Invalid UTF-8 byte or sequence at line 109 replaced by U+FFFD.
Invalid UTF-8 byte or sequence at line 109 replaced by U+FFFD.
Invalid UTF-8 byte or sequence at line 110 replaced by U+FFFD.
Invalid UTF-8 byte or sequence at line 110 replaced by U+FFFD.
Invalid UTF-8 byte or sequence at line 115 replaced by U+FFFD.
Invalid UTF-8 byte or sequence at line 115 replaced by U+FFFD.
Invalid UTF-8 byte or sequence at line 116 replaced by U+FFFD.
Invalid UTF-8 byte or sequence at line 116 replaced by U+FFFD.
Invalid UTF-8 byte or sequence at line 117 replaced by U+FFFD.
Invalid UTF-8 byte or sequence at line 117 replaced by U+FFFD.
Invalid UTF-8 b

Re: [NTG-context] texexec slow

2009-04-23 Thread Mojca Miklavec
On Thu, Apr 23, 2009 at 17:10, R. Bastian wrote:
> On Thu, 23 Apr 2009 16:55:56 +0200
> "R. Bastian" scribit:
>
>> "ruby $TEXMFCONTEXT/scripts/context/ruby/texexec.rb "
>>
>> Haha ! with this tip I get an error message from 'pdftex' :
>> libstdc++.so.5 ... No such file ...

Taco, what's the state with this particular library dependency?

There are two problems:
- texexec might not always check if pdftex fails and it eats some
messages inbetween
- library dependency should be fixed

>> The libstdc++6 is installed. What can I do ?
>>
> I installed libstdc++5 - now pdftex complains "cant find ... 'cont-en.fmt' "

What about
texexec --make --all
?

When I started using ConTeXt (2004) the average running time for
"hello world" documents was definitely somewhere between 30 seconds
and a minute. But it has improved dramaticaly over time (3 seconds in
the second run as I mentioned) whereas LaTeX runtime has increased.

But TeXLive 2007 is not so old after all, so it's still a bit strange.

> i dont know if it is of interest for you:
> - I switched back to TL2007 (now pdftex finds 'cont-en')
> - texexec source.tex compiles 3 min 14 sec for 1 page of pdf
> - pdftex -fmt cont-en compiles  1 sec and produces a dvi file

Weird. Maybe texexec does some crazy stuff, but it's a bit hard to
tell what exactly.

Mojca
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] converting Word to Context

2009-04-23 Thread J.A.J. Pater
I send this message already but I don't know if it is still awaiting 
moderation, because I added a large file, but here it is again.

If it's posted already sorry for the noise.

 > There was  thread a while ago about converting Word docs to Context.
 > Did anyone make progress in setting up a workflow?

It is pretty easy when you use the word-to-latex program
(http://kebrt.webz.cz/programs/word-to-latex/)
See: http://wiki.contextgarden.net/Word-to-LaTeX (Which could be
renamed Word-to-ConTeXt?)
Though I had some problems using the XML example from the above page.
But you can make your own XML file for the program.
I made one for use with the XeTeX engine (texexec --xtx).

Lots of success!

Adriaan

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] texexec slow

2009-04-23 Thread Hans Hagen

Aditya Mahajan wrote:

On Thu, 23 Apr 2009, R. Bastian wrote:


Hi,

I am new on this list. I use pftex and would use ConTeXt installed 
with texlive/2007.


'ruby' and 'pdftex' work fine, but 'texexec' (texexec.rb "$@") is very 
slow.


Where con I get the doc or what shall I do ?


I do not know if this is related or not...but

Occasionally I also find that texexec is extremely slow. (Takes about a 
minute to initiate and then runs fine). This happens, when my internet 


hm, there is some code in there for a distributed kpse server but as it 
is not enabled by default i wonder ... anyhow, i'll remove that code


also, one can use mtxrun as dropin (but the specific aspect has a 
buglet) so in upcoming distributions we will use that



-
  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
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] texexec slow

2009-04-23 Thread R. Bastian
On Thu, 23 Apr 2009 17:10:29 +0200
"R. Bastian"  scribit:

> On Thu, 23 Apr 2009 16:55:56 +0200
> "R. Bastian"  scribit:
> 
> > On Thu, 23 Apr 2009 10:26:40 -0400 (EDT)
> > Aditya Mahajan  scribit:
> > 
> > > On Thu, 23 Apr 2009, R. Bastian wrote:
> > > 
> > > > Hi,
> > > >
> > > > I am new on this list. I use pftex and would use ConTeXt installed with 
> > > > texlive/2007.
> > > >
> > > > 'ruby' and 'pdftex' work fine, but 'texexec' (texexec.rb "$@") is very 
> > > > slow.
> > > >
> > > > Where con I get the doc or what shall I do ?
> > > 
> > > I do not know if this is related or not...but
> > > 
> > > Occasionally I also find that texexec is extremely slow. (Takes about a 
> > > minute to initiate and then runs fine). This happens, when my internet 
> > > connection is in a bad state (which means that ping to a server also time 
> > > out). In that situation texmfstart takes ages to get a response from drb. 
> > > Whenever I kill the process by ^C, the interupt is in  the call to drb. I 
> > > do not remember the exact interupt message, but I will try to get more 
> > > information when this happens the next time. If I avoid texmfstart, ie, 
> > > run ruby $TEXMFCONTEXT/scripts/context/ruby/texexec.rb directly, it runs 
> > > fine.
> > > 
> > > Aditya
> > 
> > 
> > "ruby $TEXMFCONTEXT/scripts/context/ruby/texexec.rb "
> > 
> > Haha ! with this tip I get an error message from 'pdftex' :
> > libstdc++.so.5 ... No such file ...
> > 
> > The libstdc++6 is installed. What can I do ?
> > 
> I installed libstdc++5 - now pdftex complains "cant find ... 'cont-en.fmt' "
> 
i dont know if it is of interest for you:
- I switched back to TL2007 (now pdftex finds 'cont-en')
- texexec source.tex compiles 3 min 14 sec for 1 page of pdf
- pdftex -fmt cont-en compiles  1 sec and produces a dvi file

Thanks for your help.

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] converting Word to Context

2009-04-23 Thread Wolfgang Schuster


Am 23.04.2009 um 13:46 schrieb Roger Mason:


Hello,

There was  thread a while ago about converting Word docs to Context.
Did anyone make progress in setting up a workflow?


You could try to ask Steffen Wolfrum, he's a professional typesetter [1]
and should have knowledge about word2context conversion, that's what I  
got

from a few older mails from him.

[1] http://werksatz.com/

Wolfgang

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] converting Word to Context

2009-04-23 Thread Roger Mason
Hello Idris,

"Idris Samawi Hamid"  writes:

> Buggy but usable:
>
> OOo: doc -> odt
>
> odt2txt: odt -> markdown
>
> pandoc: markdown -> context
>
> the buggeist part of the workflow is odt2txt: sometimes it skips
> footnotes  or entire paragraphs.

Thank you.  I take it you mean odt2txt.py?  There is snother utility
(odt2txt) written in C but it seems from the web-site that it writes
plain text rather than markdown.

Cheers,
Roger
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] texexec slow

2009-04-23 Thread R. Bastian
On Thu, 23 Apr 2009 16:55:56 +0200
"R. Bastian"  scribit:

> On Thu, 23 Apr 2009 10:26:40 -0400 (EDT)
> Aditya Mahajan  scribit:
> 
> > On Thu, 23 Apr 2009, R. Bastian wrote:
> > 
> > > Hi,
> > >
> > > I am new on this list. I use pftex and would use ConTeXt installed with 
> > > texlive/2007.
> > >
> > > 'ruby' and 'pdftex' work fine, but 'texexec' (texexec.rb "$@") is very 
> > > slow.
> > >
> > > Where con I get the doc or what shall I do ?
> > 
> > I do not know if this is related or not...but
> > 
> > Occasionally I also find that texexec is extremely slow. (Takes about a 
> > minute to initiate and then runs fine). This happens, when my internet 
> > connection is in a bad state (which means that ping to a server also time 
> > out). In that situation texmfstart takes ages to get a response from drb. 
> > Whenever I kill the process by ^C, the interupt is in  the call to drb. I 
> > do not remember the exact interupt message, but I will try to get more 
> > information when this happens the next time. If I avoid texmfstart, ie, 
> > run ruby $TEXMFCONTEXT/scripts/context/ruby/texexec.rb directly, it runs 
> > fine.
> > 
> > Aditya
> 
> 
> "ruby $TEXMFCONTEXT/scripts/context/ruby/texexec.rb "
> 
> Haha ! with this tip I get an error message from 'pdftex' :
> libstdc++.so.5 ... No such file ...
> 
> The libstdc++6 is installed. What can I do ?
> 
I installed libstdc++5 - now pdftex complains "cant find ... 'cont-en.fmt' "


___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] converting Word to Context

2009-04-23 Thread Roger Mason
Hello Vyatcheslav,

Vyatcheslav Yatskovsky  writes:

> I did only some basic steps. )) Nothing to mention yet.
>
> What kind of documents you need to convert? Only simple ones, or
> containing formulaes, etc.?

It is just a problem that comes up from time to time, rather than an
extensive collection of documents arriving on my desktop in one go.
Most people in my department use Word, and, although I have OpenOffice,
I don't use it other than as a means of opening and converting the Word
and Excel files that come my way.

The current document is short, simple and I dealt with it by converting to
text and doing the formatting from scratch.  However, others will
probably want to edit it and I'm sure it will arrive back on my desk in
Word again, so a less manual method of conversion would be convenient.

Cheers,
Roger
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] converting Word to Context

2009-04-23 Thread Idris Samawi Hamid



On Thu, 23 Apr 2009 05:46:20 -0600, Roger Mason  wrote:


There was  thread a while ago about converting Word docs to Context.
Did anyone make progress in setting up a workflow?


Buggy but usable:

OOo: doc -> odt

odt2txt: odt -> markdown

pandoc: markdown -> context

the buggeist part of the workflow is odt2txt: sometimes it skips footnotes  
or entire paragraphs.


Another option is to use context to read docx or odt xml directly, this is  
an area where I must refer you to the xml gurus on this list.


Best wishes
Idris

--
Professor Idris Samawi Hamid, Editor-in-Chief
International Journal of Shi`i Studies
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] problems setting the evironmental variable Win

2009-04-23 Thread Andrea Valle

Ops, was for Mattia...
sorry for the noise

Best

-a-

PS: I sent it from a not-subscribed address, unluckily it hasn't  
bounced...


On 23 Apr 2009, at 16:46, Andrea Valle wrote:

Mattia, i tempi dei verbi non sono accessorii per comprendere il  
messaggio...:)

Non sono acora riuscito a mettere su la version def del papero
-a-

On 23 Apr 2009, at 16:42, mattia schirosa wrote:


Right now i find setup.bat

I install again the Gui you provided, and if you check
Get lastest setup file
Get latest distribuition files
setup.bat is provided in contextminimal directory.

The problem was that I haven't check these box and I have no  
setuptex.bat anywhere.




Thanks


---
Mattia Schirosa
---
Cinema and Multimedia Engineer
+39 3386837222

--- Gio 23/4/09, Vyatcheslav Yatskovsky  ha  
scritto:

Da: Vyatcheslav Yatskovsky 
Oggetto: Re: [NTG-context] problems setting the evironmental  
variable Win

A: ntg-context@ntg.nl
Data: Giovedì 23 Aprile 2009, 16:26

Indeed, http://wiki.contextgarden.net/ConTeXt_Minimals says that | 
setuptex.bat|

is provided in |installation-dir\tex\, but in reality, it sits in
i||nstallation-dir\|||. Shoud I correct the wiki or have I overlooked
something?

Vyatcheslav
_ 
__
If your question is of interest to others as well, please add an  
entry to the

Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ 
ntg-context

webpage  :
 http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
_ 
__


_ 
__
If your question is of interest to others as well, please add an  
entry to the Wiki!


maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ 
ntg-context

webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
_ 
__


--
Andrea Valle
--
CIRMA - DAMS
Università degli Studi di Torino
--> http://www.cirma.unito.it/andrea/
--> http://www.myspace.com/andreavalle
--> http://www.flickr.com/photos/vanderaalle/
-->  http://www.youtube.com/user/vanderaalle
--> andrea.va...@unito.it
--

- La Repubblica promuove lo sviluppo della cultura e la ricerca  
scientifica e tecnica.
- La Repubblica detta le norme generali sull'istruzione ed  
istituisce scuole statali per tutti gli ordini e gradi.

(Costituzione della Repubblica Italiana, art. 9 e 33)



__ 
_
If your question is of interest to others as well, please add an  
entry to the Wiki!


maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ 
ntg-context

webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
__ 
_


--
Andrea Valle
--
CIRMA - DAMS
Università degli Studi di Torino
--> http://www.cirma.unito.it/andrea/
--> http://www.myspace.com/andreavalle
--> http://www.flickr.com/photos/vanderaalle/
-->  http://www.youtube.com/user/vanderaalle
--> andrea.va...@unito.it
--
" This is a very complicated case, Maude. You know, a lotta ins, a  
lotta outs, a lotta what-have-yous."

(Jeffrey 'The Dude' Lebowski)

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] texexec slow

2009-04-23 Thread R. Bastian
On Thu, 23 Apr 2009 10:26:40 -0400 (EDT)
Aditya Mahajan  scribit:

> On Thu, 23 Apr 2009, R. Bastian wrote:
> 
> > Hi,
> >
> > I am new on this list. I use pftex and would use ConTeXt installed with 
> > texlive/2007.
> >
> > 'ruby' and 'pdftex' work fine, but 'texexec' (texexec.rb "$@") is very slow.
> >
> > Where con I get the doc or what shall I do ?
> 
> I do not know if this is related or not...but
> 
> Occasionally I also find that texexec is extremely slow. (Takes about a 
> minute to initiate and then runs fine). This happens, when my internet 
> connection is in a bad state (which means that ping to a server also time 
> out). In that situation texmfstart takes ages to get a response from drb. 
> Whenever I kill the process by ^C, the interupt is in  the call to drb. I 
> do not remember the exact interupt message, but I will try to get more 
> information when this happens the next time. If I avoid texmfstart, ie, 
> run ruby $TEXMFCONTEXT/scripts/context/ruby/texexec.rb directly, it runs 
> fine.
> 
> Aditya


"ruby $TEXMFCONTEXT/scripts/context/ruby/texexec.rb "

Haha ! with this tip I get an error message from 'pdftex' :
libstdc++.so.5 ... No such file ...

The libstdc++6 is installed. What can I do ?

> ___

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] problems setting the evironmental variable Win

2009-04-23 Thread Andrea Valle
Mattia, i tempi dei verbi non sono accessorii per comprendere il  
messaggio...:)

Non sono acora riuscito a mettere su la version def del papero
-a-

On 23 Apr 2009, at 16:42, mattia schirosa wrote:


Right now i find setup.bat

I install again the Gui you provided, and if you check
Get lastest setup file
Get latest distribuition files
setup.bat is provided in contextminimal directory.

The problem was that I haven't check these box and I have no  
setuptex.bat anywhere.




Thanks


---
Mattia Schirosa
---
Cinema and Multimedia Engineer
+39 3386837222

--- Gio 23/4/09, Vyatcheslav Yatskovsky  ha  
scritto:

Da: Vyatcheslav Yatskovsky 
Oggetto: Re: [NTG-context] problems setting the evironmental  
variable Win

A: ntg-context@ntg.nl
Data: Giovedì 23 Aprile 2009, 16:26

Indeed, http://wiki.contextgarden.net/ConTeXt_Minimals says that | 
setuptex.bat|

is provided in |installation-dir\tex\, but in reality, it sits in
i||nstallation-dir\|||. Shoud I correct the wiki or have I overlooked
something?

Vyatcheslav
__ 
_
If your question is of interest to others as well, please add an  
entry to the

Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ 
ntg-context

webpage  :
 http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
__ 
_


__ 
_
If your question is of interest to others as well, please add an  
entry to the Wiki!


maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ 
ntg-context

webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
__ 
_


--
Andrea Valle
--
CIRMA - DAMS
Università degli Studi di Torino
--> http://www.cirma.unito.it/andrea/
--> http://www.myspace.com/andreavalle
--> http://www.flickr.com/photos/vanderaalle/
-->  http://www.youtube.com/user/vanderaalle
--> andrea.va...@unito.it
--

- La Repubblica promuove lo sviluppo della cultura e la ricerca  
scientifica e tecnica.
- La Repubblica detta le norme generali sull'istruzione ed istituisce  
scuole statali per tutti gli ordini e gradi.

(Costituzione della Repubblica Italiana, art. 9 e 33)



___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] problems setting the evironmental variable Win

2009-04-23 Thread mattia schirosa
Right now i find setup.bat

I install again the Gui you provided, and if you check 
Get lastest setup file 
Get latest distribuition files
setup.bat is provided in contextminimal directory.

The problem was that I haven't check these box and I have no setuptex.bat 
anywhere.



Thanks 


---

Mattia Schirosa

---

Cinema and Multimedia Engineer

+39 3386837222

--- Gio 23/4/09, Vyatcheslav Yatskovsky  ha scritto:
Da: Vyatcheslav Yatskovsky 
Oggetto: Re: [NTG-context] problems setting the evironmental variable Win
A: ntg-context@ntg.nl
Data: Giovedì 23 Aprile 2009, 16:26

Indeed, http://wiki.contextgarden.net/ConTeXt_Minimals says that |setuptex.bat|
is provided in |installation-dir\tex\, but in reality, it sits in
i||nstallation-dir\|||. Shoud I correct the wiki or have I overlooked
something?

Vyatcheslav
___
If your question is of interest to others as well, please add an entry to the
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___



  ___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] converting Word to Context

2009-04-23 Thread Vyatcheslav Yatskovsky

Hello,

I did only some basic steps. )) Nothing to mention yet.

What kind of documents you need to convert? Only simple ones, or 
containing formulaes, etc.?


Vyatcheslav
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] texexec slow

2009-04-23 Thread Aditya Mahajan

On Thu, 23 Apr 2009, R. Bastian wrote:


Hi,

I am new on this list. I use pftex and would use ConTeXt installed with 
texlive/2007.

'ruby' and 'pdftex' work fine, but 'texexec' (texexec.rb "$@") is very slow.

Where con I get the doc or what shall I do ?


I do not know if this is related or not...but

Occasionally I also find that texexec is extremely slow. (Takes about a 
minute to initiate and then runs fine). This happens, when my internet 
connection is in a bad state (which means that ping to a server also time 
out). In that situation texmfstart takes ages to get a response from drb. 
Whenever I kill the process by ^C, the interupt is in  the call to drb. I 
do not remember the exact interupt message, but I will try to get more 
information when this happens the next time. If I avoid texmfstart, ie, 
run ruby $TEXMFCONTEXT/scripts/context/ruby/texexec.rb directly, it runs 
fine.


Aditya
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] problems setting the evironmental variable Win

2009-04-23 Thread Vyatcheslav Yatskovsky
Indeed, http://wiki.contextgarden.net/ConTeXt_Minimals says that 
|setuptex.bat| is provided in |installation-dir\tex\, but in reality, it 
sits in i||nstallation-dir\|||. Shoud I correct the wiki or have I 
overlooked something?


Vyatcheslav
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] bug in mkii

2009-04-23 Thread Aditya Mahajan

On Thu, 23 Apr 2009, Yue Wang wrote:


hi, hans,

this bug was introduced this year (last year's beta compiles fine).
mkiv can produce the right result. mkii can't.

\definemathcommand[Prob][nolop]{\mfunction{Prob}}
\def\Pt{P_{\rm T}}
\def\Timp{\tau_{\rm imp}}
\def\Tp{\tau_{\rm p}}
\def\Wt{w_{\rm T}}
\def\Vp{V_{\rm p}^\prime}

\starttext
\placeformula
\startformula
\eqalign{
\Pt &= \Prob \left( {\Timp\over\Tp}>1 \right)\cr
&=\Prob \bigg({\Wt\over\Vp} > \Tp  \bigg)\cr}
\stopformula
\stoptext


Minimal example: In MkII 2009.04.17

\starttext
$\bigg($
\stoptext

gives

! Missing number, treated as zero.

   $
\@@dobig ...o #1\bodyfontsize {}\right @space $
  }}
l.2 $\bigg(
   $


Aditya
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] texexec slow

2009-04-23 Thread R. Bastian
On Thu, 23 Apr 2009 12:32:23 +0200
Mojca Miklavec  scribit:

> On Thu, Apr 23, 2009 at 12:29, Mojca Miklavec
>  wrote:
> >> Th script installed 158 Mb with a new 'texexec' (controlled with 'which 
> >> texexec').
> >> But it is not a bit faster. After 3 min, I break (Ctrl-C) ...
> >>
> >> ruby --version => ruby 1.8.7 ... instantaneous
> >
> > ruby --version is definitely faster, but texexec --version takes about
> > a second here.
> >
> > Running a two-page document for the second time takes 3 seconds here.
> > (The first run is a bit slower.)
> >
> > Can you post the document and some logfile to the mailing list? It may
> > happen that you run into some infinite loop with one of your macros.
> 
> Please also describe what platform you work on. With luatex memory
> might also be an issue, but that's probably not the case with pdftex.

I tested 'texexec' on another computer (Kubuntu 7.10, TL2007, ruby 1.8.6) and 
it works,
but I need it on [Debian 5.0, Gnome, ruby 1.8.7] where it fails.

> 
> What's the time needed to run pdflatex on similar document size?

I dont know; 'first-setup.sh' erased the path to the format files ;-)
but 'pdflatex' was very clever. (I must reinstall 'texlive'.)

> 
> Mojca
> 

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] converting Word to Context

2009-04-23 Thread Roger Mason
Hello,

There was  thread a while ago about converting Word docs to Context.
Did anyone make progress in setting up a workflow?

Cheers,
Roger
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] beta

2009-04-23 Thread Lutz Haseloff
Hi Wolfgang,

Thank You very much, Lucida Math works now with your original
type-lucida.tex.

Greetings Lutz

2009/4/23 Wolfgang Schuster 

> Hi Lutz,
>
> the tfm's and map file I used in my typescript are part of the lucida
> package from TUG.
>
> Wolfgang
>
> Am 23.04.2009 um 11:51 schrieb Lutz Haseloff:
>
>
>  Thanks Wolfgang,
>>
>> but I got following error:
>> define font | font with name hlcrim is not found
>> math virtual | loading font lucidamath subfont 2 with name hlcrim at
>> 458752 is skipped, not found
>> define font | font with name hlcry is not found
>> math virtual | loading font lucidamath subfont 3 with name hlcry at 458752
>> is skipped, not found
>> define font | font with name hlcrv is not found
>> math virtual | loading font lucidamath subfont 4 with name hlcrv at 458752
>> is skipped, not found
>> ! LuaTeX error ...tminimal/texmf-context/tex/context/base/math-vfu.lua:85:
>> attempt to index field '?' (a nil value)
>> stack traceback:
>>...tminimal/texmf-context/tex/context/base/math-vfu.lua:85: in function
>> 'arrow'
>>...tminimal/texmf-context/tex/context/base/math-vfu.lua:222: in
>> function 'alas'
>>...tminimal/texmf-context/tex/context/base/math-vfu.lua:498: in
>> function <...tminimal/texmf-context/tex/context/base/math-vfu.lua:243>
>>(tail call): ?
>>(tail call): ?
>>...tminimal/texmf-context/tex/context/base/font-def.lua:506: in
>> function 'read'
>>...tminimal/texmf-context/tex/context/base/font-ctx.lua:288: in
>> function 'command_2'
>>:1: in main chunk.
>> \lowleveldefinefont ...dimexpr \textface \relax )}
>>  \edef \somefontspec {at
>> \s...
>> \xxdododefinefont ...efont {#4}\newfontidentifier
>>  \let
>> \localrelativefontsiz...
>> \dodosetmathfamily ...family \fontsize \endcsname
>>  \else \ifcsname
>> \fontclass...
>> \dosetmathfamily ...athfamily \scriptscriptfont #1
>>  \let \currentmathsize
>> \plu...
>> \synchronizemath ...athfonts \the \mathstrategies
>>  \fi
>>  ...chronizefonts \synchronizemath
>>  \synchronizefont \fi
>> \spac...
>> ...
>> l.3 \setupbodyfont[lucida]
>>
>>
>> Installing the tfm and vf fontfiles from CTAN did not help.
>>
>> after adapting your script to:
>>
>> \startluacode
>> mathematics.make_font ( "lucida-math", {
>>   { name = "lbr.afm", features = "virtualmath", main = true },
>>   { name = "lbmi.afm", vector = "traditional-mi", skewchar=0x7F },
>>   { name = "lbms.afm", vector = "traditional-sy", skewchar=0x30,
>> parameters = true },
>>   { name = "lbme.afm", vector = "traditional-ex", extension = true },
>>   { name = "msam10", vector = "traditional-ma" },
>>   { name = "msbm10", vector = "traditional-mb" },
>> } )
>> \stopluacode
>>
>> ConTeXt found the fonts but gaves:
>>
>> ! LuaTeX error
>> ...tminimal/texmf-context/tex/context/base/math-vfu.lua:464: attempt to
>> index local 'fci' (a nil value)
>> stack traceback:
>>...tminimal/texmf-context/tex/context/base/math-vfu.lua:464: in
>> function <...tminimal/texmf-context/tex/context/base/math-vfu.lua:243>
>>(tail call): ?
>>(tail call): ?
>>...tminimal/texmf-context/tex/context/base/font-def.lua:506: in
>> function 'read'
>>...tminimal/texmf-context/tex/context/base/font-ctx.lua:288: in
>> function 'command_2'
>>:1: in main chunk.
>> \lowleveldefinefont ...dimexpr \textface \relax )}
>>  \edef \somefontspec {at
>> \s...
>> \xxdododefinefont ...efont {#4}\newfontidentifier
>>  \let
>> \localrelativefontsiz...
>> \dodosetmathfamily ...family \fontsize \endcsname
>>  \else \ifcsname
>> \fontclass...
>> \dosetmathfamily ...athfamily \scriptscriptfont #1
>>  \let \currentmathsize
>> \plu...
>> \synchronizemath ...athfonts \the \mathstrategies
>>  \fi
>>  ...chronizefonts \synchronizemath
>>  \synchronizefont \fi
>> \spac...
>> ...
>> l.3 \setupbodyfont[lucida]
>>
>> No success so far...
>>
>>
>> Greetings Lutz
>>
>
>
> ___
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context@ntg.nl /
> http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : https://foundry.supelec.fr/projects/contextrev/
> wiki : http://contextgarden.net
>
> ___
>

Re: [NTG-context] beta

2009-04-23 Thread Wolfgang Schuster

Hi Lutz,

the tfm's and map file I used in my typescript are part of the lucida  
package from TUG.


Wolfgang

Am 23.04.2009 um 11:51 schrieb Lutz Haseloff:


Thanks Wolfgang,

but I got following error:
define font | font with name hlcrim is not found
math virtual | loading font lucidamath subfont 2 with name hlcrim at  
458752 is skipped, not found

define font | font with name hlcry is not found
math virtual | loading font lucidamath subfont 3 with name hlcry at  
458752 is skipped, not found

define font | font with name hlcrv is not found
math virtual | loading font lucidamath subfont 4 with name hlcrv at  
458752 is skipped, not found
! LuaTeX error ...tminimal/texmf-context/tex/context/base/math- 
vfu.lua:85: attempt to index field '?' (a nil value)

stack traceback:
...tminimal/texmf-context/tex/context/base/math-vfu.lua:85: in  
function 'arrow'
...tminimal/texmf-context/tex/context/base/math-vfu.lua:222: in  
function 'alas'
...tminimal/texmf-context/tex/context/base/math-vfu.lua:498: in  
function <...tminimal/texmf-context/tex/context/base/math-vfu.lua:243>

(tail call): ?
(tail call): ?
...tminimal/texmf-context/tex/context/base/font-def.lua:506: in  
function 'read'
...tminimal/texmf-context/tex/context/base/font-ctx.lua:288: in  
function 'command_2'

:1: in main chunk.
\lowleveldefinefont ...dimexpr \textface \relax )}
  \edef  
\somefontspec {at \s...

\xxdododefinefont ...efont {#4}\newfontidentifier
  \let  
\localrelativefontsiz...

\dodosetmathfamily ...family \fontsize \endcsname
  \else \ifcsname  
\fontclass...

\dosetmathfamily ...athfamily \scriptscriptfont #1
  \let  
\currentmathsize \plu...

\synchronizemath ...athfonts \the \mathstrategies
  \fi
 ...chronizefonts \synchronizemath
  \synchronizefont  
\fi \spac...

...
l.3 \setupbodyfont[lucida]


Installing the tfm and vf fontfiles from CTAN did not help.

after adapting your script to:

\startluacode
mathematics.make_font ( "lucida-math", {
   { name = "lbr.afm", features = "virtualmath", main = true },
   { name = "lbmi.afm", vector = "traditional-mi", skewchar=0x7F },
   { name = "lbms.afm", vector = "traditional-sy", skewchar=0x30,  
parameters = true },

   { name = "lbme.afm", vector = "traditional-ex", extension = true },
   { name = "msam10", vector = "traditional-ma" },
   { name = "msbm10", vector = "traditional-mb" },
} )
\stopluacode

ConTeXt found the fonts but gaves:

! LuaTeX error ...tminimal/texmf-context/tex/context/base/math- 
vfu.lua:464: attempt to index local 'fci' (a nil value)

stack traceback:
...tminimal/texmf-context/tex/context/base/math-vfu.lua:464: in  
function <...tminimal/texmf-context/tex/context/base/math-vfu.lua:243>

(tail call): ?
(tail call): ?
...tminimal/texmf-context/tex/context/base/font-def.lua:506: in  
function 'read'
...tminimal/texmf-context/tex/context/base/font-ctx.lua:288: in  
function 'command_2'

:1: in main chunk.
\lowleveldefinefont ...dimexpr \textface \relax )}
  \edef  
\somefontspec {at \s...

\xxdododefinefont ...efont {#4}\newfontidentifier
  \let  
\localrelativefontsiz...

\dodosetmathfamily ...family \fontsize \endcsname
  \else \ifcsname  
\fontclass...

\dosetmathfamily ...athfamily \scriptscriptfont #1
  \let  
\currentmathsize \plu...

\synchronizemath ...athfonts \the \mathstrategies
  \fi
 ...chronizefonts \synchronizemath
  \synchronizefont  
\fi \spac...

...
l.3 \setupbodyfont[lucida]

No success so far...


Greetings Lutz


___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] beta

2009-04-23 Thread Lutz Haseloff
Thanks Wolfgang,

but I got following error:
define font | font with name hlcrim is not found
math virtual | loading font lucidamath subfont 2 with name hlcrim at 458752
is skipped, not found
define font | font with name hlcry is not found
math virtual | loading font lucidamath subfont 3 with name hlcry at 458752
is skipped, not found
define font | font with name hlcrv is not found
math virtual | loading font lucidamath subfont 4 with name hlcrv at 458752
is skipped, not found
! LuaTeX error ...tminimal/texmf-context/tex/context/base/math-vfu.lua:85:
attempt to index field '?' (a nil value)
stack traceback:
...tminimal/texmf-context/tex/context/base/math-vfu.lua:85: in function
'arrow'
...tminimal/texmf-context/tex/context/base/math-vfu.lua:222: in function
'alas'
...tminimal/texmf-context/tex/context/base/math-vfu.lua:498: in function
<...tminimal/texmf-context/tex/context/base/math-vfu.lua:243>
(tail call): ?
(tail call): ?
...tminimal/texmf-context/tex/context/base/font-def.lua:506: in function
'read'
...tminimal/texmf-context/tex/context/base/font-ctx.lua:288: in function
'command_2'
:1: in main chunk.
\lowleveldefinefont ...dimexpr \textface \relax )}
  \edef \somefontspec {at
\s...
\xxdododefinefont ...efont {#4}\newfontidentifier
  \let
\localrelativefontsiz...
\dodosetmathfamily ...family \fontsize \endcsname
  \else \ifcsname
\fontclass...
\dosetmathfamily ...athfamily \scriptscriptfont #1
  \let \currentmathsize
\plu...
\synchronizemath ...athfonts \the \mathstrategies
  \fi
 ...chronizefonts \synchronizemath
  \synchronizefont \fi
\spac...
...
l.3 \setupbodyfont[lucida]


Installing the tfm and vf fontfiles from CTAN did not help.

after adapting your script to:

\startluacode
mathematics.make_font ( "lucida-math", {
   { name = "lbr.afm", features = "virtualmath", main = true },
   { name = "lbmi.afm", vector = "traditional-mi", skewchar=0x7F },
   { name = "lbms.afm", vector = "traditional-sy", skewchar=0x30, parameters
= true },
   { name = "lbme.afm", vector = "traditional-ex", extension = true },
   { name = "msam10", vector = "traditional-ma" },
   { name = "msbm10", vector = "traditional-mb" },
} )
\stopluacode

ConTeXt found the fonts but gaves:

! LuaTeX error ...tminimal/texmf-context/tex/context/base/math-vfu.lua:464:
attempt to index local 'fci' (a nil value)
stack traceback:
...tminimal/texmf-context/tex/context/base/math-vfu.lua:464: in function
<...tminimal/texmf-context/tex/context/base/math-vfu.lua:243>
(tail call): ?
(tail call): ?
...tminimal/texmf-context/tex/context/base/font-def.lua:506: in function
'read'
...tminimal/texmf-context/tex/context/base/font-ctx.lua:288: in function
'command_2'
:1: in main chunk.
\lowleveldefinefont ...dimexpr \textface \relax )}
  \edef \somefontspec {at
\s...
\xxdododefinefont ...efont {#4}\newfontidentifier
  \let
\localrelativefontsiz...
\dodosetmathfamily ...family \fontsize \endcsname
  \else \ifcsname
\fontclass...
\dosetmathfamily ...athfamily \scriptscriptfont #1
  \let \currentmathsize
\plu...
\synchronizemath ...athfonts \the \mathstrategies
  \fi
 ...chronizefonts \synchronizemath
  \synchronizefont \fi
\spac...
...
l.3 \setupbodyfont[lucida]

No success so far...


Greetings Lutz



2009/4/23 Wolfgang Schuster 

>
> Am 23.04.2009 um 07:18 schrieb Lutz Haseloff:
>
>  Hi Hans, hi all,
>>
>> with LuaTeX 0.40 the names database is written again and with Wolfgang's
>> type-lucida.tex
>> i can use LucidaBright. Is there any chance to get the Lucida Math fonts
>> working in
>> mkiv?
>>
>
>
> Add the following at the end of my typescript I send in my last mail, I
> tested it with
> a few simple equations but it would help if we have a real test document
> like the one
> from AMS.
>
> \startluacode
> mathematics.make_font ( "lucida-math", {
>{ name = "lbr.afm", features = "virtualmath", main = true },
>{ name = "hlcrim", vector = "traditional-mi", skewchar=0x7F },
>{ name = "hlcry", vector = "traditional-sy", skewchar=0x30, parameters =
> true },
>{ name = "hlcrv", vector = "traditional-ex", extension = true },
>{ name = "msam10", vector = "traditional-ma" },
>{ name = "msbm10", vector = "traditional-mb" },
> } )
> \stopluacode
>
> \starttypescript [math] [lucida] [all]
>\definefontsynonym[mathroman][lucidam...@lucida-math]
>\loadmapfile[lucida.map]
> \stoptypescript
>
> \starttypescript [l

Re: [NTG-context] problems setting the evironmental variable Win

2009-04-23 Thread Mojca Miklavec
On Thu, Apr 23, 2009 at 01:28, mattia schirosa  wrote:
> Dear all,
> I have Miktex 2.7 and Contextminimal installed.
> I have problems setting the evironmental variables globally.
> I can't find setuptex.bat
> In the contextminimal installation folder there isn't.
> I have run a search in all my Pc and i didn't find it.
>
>
> In the wiki I found:
> /
> If you used the GUI installer and said yes to setting the evironmental
> variables globally, then you can run ConTeXt from anywhere. Otherwise,
> before running ConTeXt, you need to run setuptex.bat which is provided in
> installation-dir\tex\. This can be done by typing
>
>  installation-dir\tex\setuptex.bat
> 
>
> I have no tex folder.
> And I look in all the C:/contextminimal folder and there is no .bat file
> Where I wrong?
>
> How can I set the context environment without disinstalling Miktex?

You need to ask Vyatcheslav who created the GUI installer. You can
donwload setuptex.bat from here:
http://minimals.contextgarden.net/current/misc/setuptex/
Put it next to texmf-* trees and execute it in shell every time before
you want to start using ConTeXt.

Mojca
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] problems setting the evironmental variable Win

2009-04-23 Thread mattia schirosa
Dear all,
I have Miktex 2.7 and Contextminimal installed.
I have problems setting the evironmental variables globally. 
I can't find setuptex.bat
In the contextminimal installation folder there isn't. 
I have run a search in all my Pc and i didn't find it.


In the wiki I found:
/
If
you used the GUI installer and said yes to setting the evironmental
variables globally, then you can run ConTeXt from anywhere. Otherwise,
before running ConTeXt, you need to run setuptex.bat which is provided
in installation-dir\tex\. This can be done by typing

 installation-dir\tex\setuptex.bat


I have no tex folder.
And I look in all the C:/contextminimal folder and there is no .bat file  
Where I wrong?

How can I set the context environment without disinstalling
 Miktex?

Thank very much.
Good night


---

Mattia Schirosa

---

Cinema and Multimedia Engineer







  ___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] texexec slow

2009-04-23 Thread R. Bastian
On Thu, 23 Apr 2009 10:48:35 +0200
Hans Hagen  scribit:

> R. Bastian wrote:
> > Hi,
> > 
> > I am new on this list. I use pftex and would use ConTeXt installed with 
> > texlive/2007.
> > 
> > 'ruby' and 'pdftex' work fine, but 'texexec' (texexec.rb "$@") is very slow.
> 
> what do you do with texexec then?

texexec --help

or 

texexec  --version

> 
> 
> -
>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
> -
> ___
> If your question is of interest to others as well, please add an entry to the 
> Wiki!
> 
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : https://foundry.supelec.fr/projects/contextrev/
> wiki : http://contextgarden.net
> ___
> 

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] texexec slow

2009-04-23 Thread Hans Hagen

R. Bastian wrote:

Hi,

I am new on this list. I use pftex and would use ConTeXt installed with 
texlive/2007.

'ruby' and 'pdftex' work fine, but 'texexec' (texexec.rb "$@") is very slow.


what do you do with texexec then?


-
  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
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] beta

2009-04-23 Thread Wolfgang Schuster


Am 23.04.2009 um 07:18 schrieb Lutz Haseloff:


Hi Hans, hi all,

with LuaTeX 0.40 the names database is written again and with  
Wolfgang's type-lucida.tex
i can use LucidaBright. Is there any chance to get the Lucida Math  
fonts working in

mkiv?



Add the following at the end of my typescript I send in my last mail,  
I tested it with
a few simple equations but it would help if we have a real test  
document like the one

from AMS.

\startluacode
mathematics.make_font ( "lucida-math", {
{ name = "lbr.afm", features = "virtualmath", main = true },
{ name = "hlcrim", vector = "traditional-mi", skewchar=0x7F },
{ name = "hlcry", vector = "traditional-sy", skewchar=0x30,  
parameters = true },

{ name = "hlcrv", vector = "traditional-ex", extension = true },
{ name = "msam10", vector = "traditional-ma" },
{ name = "msbm10", vector = "traditional-mb" },
} )
\stopluacode

\starttypescript [math] [lucida] [all]
\definefontsynonym[mathroman][lucidam...@lucida-math]
\loadmapfile[lucida.map]
\stoptypescript

\starttypescript [lucida]
  \definetypeface [lucida] [rm] [serif]   [lucida] [default]
  \definetypeface [lucida] [ss] [sans][lucida] [default]
  \definetypeface [lucida] [tt] [mono][lucida] [default]
  \definetypeface [lucida] [mm] [math][lucida] [default]
  \definetypeface [lucida] [hw] [handwriting] [lucida] [default]
  \definetypeface [lucida] [cg] [calligraphy] [lucida] [default]
\stoptypescript

Wolfgang

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] texexec slow

2009-04-23 Thread R. Bastian
Hi,

I am new on this list. I use pftex and would use ConTeXt installed with 
texlive/2007.

'ruby' and 'pdftex' work fine, but 'texexec' (texexec.rb "$@") is very slow.

Where con I get the doc or what shall I do ?

Thanks,

--
René Bastian
1 rue du Presbytère
F-67160 Wissembourg

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] bug in mkii

2009-04-23 Thread Yue Wang
hi, hans,

this bug was introduced this year (last year's beta compiles fine).
mkiv can produce the right result. mkii can't.

\definemathcommand[Prob][nolop]{\mfunction{Prob}}
\def\Pt{P_{\rm T}}
\def\Timp{\tau_{\rm imp}}
\def\Tp{\tau_{\rm p}}
\def\Wt{w_{\rm T}}
\def\Vp{V_{\rm p}^\prime}

\starttext
\placeformula
\startformula
\eqalign{
\Pt &= \Prob \left( {\Timp\over\Tp}>1 \right)\cr
&=\Prob \bigg({\Wt\over\Vp} > \Tp  \bigg)\cr}
\stopformula
\stoptext


Yue Wang
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] beta

2009-04-23 Thread Yue Wang
\setupinteractionscreen[option=max] will make the document failed to compile.

On Tue, Apr 21, 2009 at 3:22 PM, Hans Hagen  wrote:
> Hi
>
> i uploaded a beta with a few structure fixes; upcoming mkiv betas will also
> have an experimental new vertical spacing mechanism (which also demands some
> adaptions to structure related code)
>
> 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
> -
> ___
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context@ntg.nl /
> http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : https://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___
>
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Make everything centered on page?

2009-04-23 Thread Yue Wang
I know what it is now (by reading page-mak), thank you Wolfgang!

On Thu, Apr 23, 2009 at 3:22 PM, Yue Wang  wrote:
> Hi,  Wolfgang:
>
> \centerbox works, Thanks a lot, Wolfgang (but I still need to type
> centerbox on every page )
> what does standard/textmakeup means? can you provide me with an example?
>
> Yue Wang
>
> On Thu, Apr 23, 2009 at 2:20 PM, Wolfgang Schuster
>  wrote:
>>
>> Am 23.04.2009 um 02:39 schrieb Yue Wang:
>>
>>> Hi,
>>>
>>> I am making a presentation using ConTeXt. I want to locate whatever I
>>> typeset in the center of the page. In order to do this, I have to use
>>> many vfills on each page.
>>> Are there some clever ways to do this (perhaps through setuplayout?
>>> but the keys like location, height, width do not mean to solve this).
>>
>> standard/textmakeup or \centerbox
>>
>> Wolfgang
>>
>> ___
>> If your question is of interest to others as well, please add an entry to
>> the Wiki!
>>
>> maillist : ntg-context@ntg.nl /
>> http://www.ntg.nl/mailman/listinfo/ntg-context
>> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
>> archive  : https://foundry.supelec.fr/projects/contextrev/
>> wiki     : http://contextgarden.net
>> ___
>>
>
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Make everything centered on page?

2009-04-23 Thread Yue Wang
Hi,  Wolfgang:

\centerbox works, Thanks a lot, Wolfgang (but I still need to type
centerbox on every page )
what does standard/textmakeup means? can you provide me with an example?

Yue Wang

On Thu, Apr 23, 2009 at 2:20 PM, Wolfgang Schuster
 wrote:
>
> Am 23.04.2009 um 02:39 schrieb Yue Wang:
>
>> Hi,
>>
>> I am making a presentation using ConTeXt. I want to locate whatever I
>> typeset in the center of the page. In order to do this, I have to use
>> many vfills on each page.
>> Are there some clever ways to do this (perhaps through setuplayout?
>> but the keys like location, height, width do not mean to solve this).
>
> standard/textmakeup or \centerbox
>
> Wolfgang
>
> ___
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context@ntg.nl /
> http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : https://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___
>
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] beta

2009-04-23 Thread Thomas A. Schmitz


On Apr 23, 2009, at 7:18 AM, Lutz Haseloff wrote:


Hi Hans, hi all,

with LuaTeX 0.40 the names database is written again and with  
Wolfgang's type-lucida.tex
i can use LucidaBright. Is there any chance to get the Lucida Math  
fonts working in

mkiv?


Not here, unfortunately. I just compiled 0.40 from trunk and get the  
same errors and the same behavior as with 0.39.


Thomas
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___