Re: [NTG-context] Re: btex-etex

2005-04-05 Thread Jiri Polcar
On Mon, Apr 04, 2005 at 10:22:07AM +0200, Hans Hagen wrote:
> Jiri Polcar wrote:
> 
> > TeXExec 3.1 - ConTeXt / PRAGMA ADE 1997-2002
> 
> that's pretty old (we have 5+ now)
> 
> can you try a newer version?
> 

OK. Now I using tetex-2.0.2-21.3 that comes with Fedora Core 3. I download

http://www.pragma-ade.com/context/current/cont-tmf.zip
http://www.pragma-ade.com/context/current/cont-img.zip
http://www.pragma-ade.com/context/current/cont-exa.zip
http://www.pragma-ade.com/context/current/cont-ppc.zip
http://www.pragma-ade.com/context/current/cont-mpd.zip

unzip it and copy to /usr/share/texmf. Then I run 'texconfig init' with
this result:

This is a summary of all `failed' messages and warnings:
`mpost -ini  -jobname=metafun -progname=mpost metafun.mp' failed
`pdfetex -ini  -jobname=!cont-cz -progname=!cont-cz *cont-cz.ini' failed
`pdfetex -ini  -jobname=cont-en -progname=context *cont-en.ini' failed

My '/usr/bin/texexec' always runs 'TeXExec 3.1' version:

texexec --pdf main.tex

 TeXExec 3.1 - ConTeXt / PRAGMA ADE 1997-2002

executable : pdfetex
format : cont-en
 inputfile : main
output : pdftex
 interface : en
  current mode : none
   TeX run : 1

This is pdfeTeX, Version 3.14159-1.10b-2.1 (Web2C 7.4.5)
 \write18 enabled.
entering extended mode
(./main.tex{/usr/share/texmf/pdftex/config/pdftex.cfg}

ConTeXt  ver: 2003.1.31  fmt: 2005.4.1  int: english  mes: english

language   : language en is active

system : cont-new loaded
(/usr/share/texmf/tex/context/base/cont-new.tex
systems: beware: some patches loaded from cont-new.tex!
! Undefined control sequence.
\@@toks ->\everymathematics 

\dodoappendtoks ->\dodoglobal \@@toks 
  [EMAIL PROTECTED] [EMAIL PROTECTED] 
\the [EMAIL PROTECTED] \@@toks
\the ...
l.299 \to \everymathematics
   
? 


Is something what I must to do?

--
JP

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


[NTG-context] Re: btex-etex

2005-04-04 Thread Patrick Gundlach
Hello Jiri,

>  TeXExec 3.1 - ConTeXt / PRAGMA ADE 1997-2002


with that ancient version you can try your luck with
\protectbufferstrue in cont-sys.tex (copy it from cont-sys.rme if it
doesn't exist yet).

Patrick

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


Re: [NTG-context] Re: btex-etex

2005-04-04 Thread Hans Hagen
Jiri Polcar wrote:
 TeXExec 3.1 - ConTeXt / PRAGMA ADE 1997-2002
that's pretty old (we have 5+ now)
can you try a newer version?
This is MetaPost, Version 0.641 (Web2C 7.4.5)
(mpgraph.mp )
Transcript written on mpgraph.log.
i suppose that the log is ok?
Hans
-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: btex-etex

2005-04-04 Thread Jiri Polcar
On Sun, Apr 03, 2005 at 09:28:45PM +0200, h h extern wrote:
> 
> a more simple version:
> 
> \setupoutput[pdftex]
> 
> \starttext
> 
> \startMPpage
>   draw btex TEST etex;
> \stopMPpage
> 
> \stoptext
> 
> anyhow, what does
> 
> texexec --automp
> 
> produce
> 

Also with this simple version I have empty output. This is what

texexec --automp test.tex

shows:

--output--
 TeXExec 3.1 - ConTeXt / PRAGMA ADE 1997-2002

executable : pdfetex
format : cont-en
 inputfile : main
output : standard
 interface : en
  current mode : none
   TeX run : 1

This is pdfeTeX, Version 3.14159-1.10b-2.1 (Web2C 7.4.5)
 \write18 enabled.
entering extended mode
(./main.tex{/usr/share/texmf/pdftex/config/pdftex.cfg}

ConTeXt  ver: 2003.1.31  fmt: 2005.4.1  int: english  mes: english

language   : language en is active

system : cont-new loaded
(/usr/share/texmf/tex/context/base/cont-new.tex
systems: beware: some patches loaded from cont-new.tex!
system (E-TEX) : [line 726] \ifcsname 
)
system : cont-old loaded
(/usr/share/texmf/tex/context/base/cont-old.tex
loading: Context Old Macros
)
system : cont-fil loaded
(/usr/share/texmf/tex/context/base/cont-fil.tex
loading: Context File Synonyms
)
bodyfont   : 12pt rm is loaded
language   : patterns 2:2-en-2 3:2-uk-2 4:2-de-2 5:2-fr-2 6:2-es-2 7:2-it-2
 8:2-nl-2 loaded
specials   : tex,postscript,rokicki loaded
system : main.top loaded
(./main.top)
pdftex : needs map file: original-context-symbol.map
pdftex : needs map file: pl0-ams-cmr.map
pdftex : needs map file: original-vogel-symbol.map
specials   : loading definition file tpd
(/usr/share/texmf/tex/context/base/spec-tpd.tex
specials   : loading definition file fdf
(/usr/share/texmf/tex/context/base/spec-fdf.tex 
system (E-TEX) : [line 1815] \ifcsname 
  )
specials   : fdf loaded
)
specials   : fdf,tpd loaded
systems: begin file main at line 4
Randomizer initialized to 665223967. [MP mpgraph.1] [1.1]
systems: end file main at line 10
[flush and process mpgraph.mp afterwards] )
Output written on main.pdf (1 page, 840 bytes).
Transcript written on main.log.

  run time : 0 seconds
   generating graphics : metaposting mpgraph.mp

 TeXExec 3.1 - ConTeXt / PRAGMA ADE 1997-2002

   metapost to tex : mpgraph
executable : pdfetex
format : cont-en
 inputfile : tmpgraph
output : dvips
 interface : en
   options : once nomp
  current mode : none

This is pdfeTeX, Version 3.14159-1.10b-2.1 (Web2C 7.4.5)
 \write18 enabled.
entering extended mode
(./tmpgraph.tex{/usr/share/texmf/pdftex/config/pdftex.cfg}

ConTeXt  ver: 2003.1.31  fmt: 2005.4.1  int: english  mes: english

language   : language en is active

system : cont-new loaded
(/usr/share/texmf/tex/context/base/cont-new.tex
systems: beware: some patches loaded from cont-new.tex!
system (E-TEX) : [line 726] \ifcsname 
)
system : cont-old loaded
(/usr/share/texmf/tex/context/base/cont-old.tex
loading: Context Old Macros
)
system : cont-fil loaded
(/usr/share/texmf/tex/context/base/cont-fil.tex
loading: Context File Synonyms
)
bodyfont   : 12pt rm is loaded
language   : patterns 2:2-en-2 3:2-uk-2 4:2-de-2 5:2-fr-2 6:2-es-2 7:2-it-2
 8:2-nl-2 loaded
specials   : tex,postscript,rokicki loaded
system : tmpgraph.top loaded
(./tmpgraph.top
specials   : loading definition file dvi
(/usr/share/texmf/tex/context/base/spec-dvi.tex  )
specials   : tex loaded
specials   : loading definition file ps
(/usr/share/texmf/tex/context/base/spec-ps.tex)
specials   : tex,postscript loaded
specials   : loading definition file tr
(/usr/share/texmf/tex/context/base/spec-tr.tex)
specials   : tex,postscript,rokicki loaded
)
pdftex : needs map file: original-context-symbol.map
pdftex : needs map file: pl0-ams-cmr.map
pdftex : needs map file: original-vogel-symbol.map
[1.1]
systems: end file tmpgraph at line 4
 )
Output written on tmpgraph.dvi (1 page, 196 bytes).
Transcript written on tmpgraph.log.

  run time : 0 seconds
   dvi to metapost : mpgraph
  metapost : mpgraph
format : metafun
This is MetaPost, Version 0.641 (Web2C 7.4.5)
(mpgraph.mp )
Transcript written on mpgraph.log.

total run time : 0 seconds
  sorting and checking : running texutil

 TeXUtil 7.4 - ConTeXt / PRAGMA ADE 1992-2002
 
action : processing commands, lists and registers 
option : sorting IJ under Y 
option : converting high ASCII values 
input file : main.tui 
   output file : main.tuo 
   passed commands : 9 
 remapped keys : 0 
  register entries : 0 -> 0 entries 0

Re: [NTG-context] Re: btex-etex

2005-04-03 Thread h h extern
Jiri Polcar wrote:
On Sat, Apr 02, 2005 at 08:37:01AM +0200, Taco Hoekwater wrote:
It is quite possible that your resulting characters exceed
some size limit in DVI mode. Try \setupoutput[pdftex]
In this case your "scaled 5cm" expands into "scaled 141.7":
the word test, scaled to 141.7 times it original size.

My problem is that I have no output also without 'caled 5cm':
\setupoutput[pdftex]
\starttext
\startuseMPgraphic{test}
  picture p; p := btex TEST etex;
  draw p;
\stopuseMPgraphic
\useMPgraphic{test}
\stoptext
Sorry, I used "too" complicated example to describe my problem. I have
no ouptput of btex-etex in any case...
a more simple version:
\setupoutput[pdftex]
\starttext
\startMPpage
  draw btex TEST etex;
\stopMPpage
\stoptext
anyhow, what does
texexec --automp
produce
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] Re: btex-etex

2005-04-03 Thread Taco Hoekwater
Jiri Polcar wrote:
Sorry, I used "too" complicated example to describe my problem. I have
no ouptput of btex-etex in any case...
That ran perfectly on my system. Any chance you can capture your screen
output from the texexec run and post that?
Taco
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: btex-etex

2005-04-02 Thread Jiri Polcar
On Sat, Apr 02, 2005 at 08:37:01AM +0200, Taco Hoekwater wrote:
> 
> It is quite possible that your resulting characters exceed
> some size limit in DVI mode. Try \setupoutput[pdftex]
> 
> In this case your "scaled 5cm" expands into "scaled 141.7":
> the word test, scaled to 141.7 times it original size.
> 

My problem is that I have no output also without 'caled 5cm':

\setupoutput[pdftex]

\starttext

\startuseMPgraphic{test}
  picture p; p := btex TEST etex;
  draw p;
\stopuseMPgraphic

\useMPgraphic{test}

\stoptext


Sorry, I used "too" complicated example to describe my problem. I have
no ouptput of btex-etex in any case...

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


Re: [NTG-context] Re: btex-etex

2005-04-01 Thread Taco Hoekwater
Jiri Polcar wrote:
On Fri, Apr 01, 2005 at 11:24:37AM +0200, Patrick Gundlach wrote:
The file works fine here. Except that only some part of the T is
visible (large scale factor).
Same here (at least while generating pdf): I only see the left
side of the bottom serif of the T, because that is the only thing
that will fit on the page.
It is quite possible that your resulting characters exceed
some size limit in DVI mode. Try \setupoutput[pdftex]
In this case your "scaled 5cm" expands into "scaled 141.7":
the word test, scaled to 141.7 times it original size.
Taco
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: btex-etex

2005-04-01 Thread Jiri Polcar
On Fri, Apr 01, 2005 at 11:24:37AM +0200, Patrick Gundlach wrote:
> 
> The file works fine here. Except that only some part of the T is
> visible (large scale factor).
> 
> Do you have write18 enabled? ()

I set 

shell_escape = t

in

/usr/share/texmf/web2c/texmf.cnf

Now I see in output of pdfeTeX:

This is pdfeTeX, Version 3.14159-1.10b-2.1 (Web2C 7.4.5)
 \write18 enabled.

Bud I do not see any TEXT in output.

--
JP

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


[NTG-context] Re: btex-etex

2005-04-01 Thread Patrick Gundlach
Hello Jiri,

> \starttext
>
> \startuseMPgraphic{test}
>   picture p; p := btex TEST etex scaled 5cm;
>   draw p; 
> \stopuseMPgraphic
>
> \useMPgraphic{test}
>
> \stoptext

The file works fine here. Except that only some part of the T is
visible (large scale factor).

Do you have write18 enabled? ()

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


Re: [NTG-context] Re: btex ... etex in .mp

2004-08-27 Thread Taco Hoekwater
On Fri, 27 Aug 2004 12:32:31 +0200, Nikolai wrote:

> * Taco Hoekwater <[EMAIL PROTECTED]> [Aug 27, 2004 11:28]:
> 
> > If you need run-time TeX labels, you can use the textext() macro from
> > metafun, or John Hobby's TEX() macro (available after "input tex;")
> 
> Hm, I tried textext().  Can it be used in vardef's?  I get
> 
>   ! Isolated expression.
>   
>   ?
> 
> from some of my pictures.  I can't make sense of it.  Anyway, the
> affected pictures aren't coming out right.  Am I doing something
> terribly wronge here?

Don't know. Metapost seems to be complaining about something
that is part of extra_endfig, but neither trees.mp nor mp-text.mp
do anything with that, so it may be completely unrelated ?

If you can create a minimal file that shows the same problem and 
post/e-mail that, I may be able to help further.

-- 
groeten,

Taco
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Re: btex ... etex in .mp

2004-08-27 Thread Nikolai Weibull
* Taco Hoekwater <[EMAIL PROTECTED]> [Aug 27, 2004 11:28]:
> > I remember reading somewhere that you can't use btex ... etex in
> > "input" .mp files, as there is no possibility for them to be
> > processed at that time.

> That is somewhat incorrect information. You can not use btex ... etex
> in a normal way in places where expansion is prohibited (i.e.
> definitions), but whether or not this is inside an inputted file is
> irrelevant.

Ah, yes, that's what I read.  Sorry for misunderstanding. 

> If you need run-time TeX labels, you can use the textext() macro from
> metafun, or John Hobby's TEX() macro (available after "input tex;")

Hm, I tried textext().  Can it be used in vardef's?  I get

! Isolated expression.

;
endfig->scantokens.extra_endfig;
shipit;endgroup
l.217 endfig
;
?

from some of my pictures.  I can't make sense of it.  Anyway, the
affected pictures aren't coming out right.  Am I doing something
terribly wronge here?

I'm using trees.mp and have a couple of

def_nonterminal(CONS, textext("$\mathstrut\circ$"));

type lines I want to reuse placed in a file i "input".  trees.mp can be
found at

http://www.cis.upenn.edu/~dchiang/software/trees.mp

Thanks,
nikolai

--
::: name: Nikolai Weibull:: aliases: pcp / lone-star / aka :::
::: born: Chicago, IL USA:: loc atm: Gothenburg, Sweden:::
::: page: www.pcppopper.org  :: fun atm: gf,lps,ruby,lisp,war3 :::
main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);}
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context