A change in textext Metafun maco?
Good noon. I have updated to the new ConTeXt and some of my documents failed to work. I use the FunnyFrame example from the Metafun manual. With the old ConTeXt all worked well. Now I can see in the title of a frame just "unknown". I played a little with the mpgraph.mp and I suspect the macro textext not to work well. Or in the same way as before. Where can be a bug? (Well, I updated only TeX, Metapost, and Perl part of ConTeXt and generated formats -- I didn't updated the ConTeXt stuff for plain or for LaTeX). Can you help me? Many thanks. Michal Kvasnicka
At 12:16 PM 3/26/2003 +0100, you wrote:
Good noon.
I have updated to the new ConTeXt and some of my documents failed to work. I use the FunnyFrame example from the Metafun manual. With the old ConTeXt all worked well. Now I can see in the title of a frame just "unknown". I played a little with the mpgraph.mp and I suspect the macro textext not to work well. Or in the same way as before. Where can be a bug? (Well, I updated only TeX, Metapost, and Perl part of ConTeXt and generated formats -- I didn't updated the ConTeXt stuff for plain or for LaTeX).
the metapost code moved one level down the metapost tree, are you sure that you use the right mp code (deleted th eold code): see: /metapost/context/... otherwise, a small failing example may help to nail down the problem Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------
Good evening. I can't find the reason of the bug. So I send a minimal test file. The problem is, that the frame has title "unkonwn", not "Example" as I expected. Many thanks for your help. Michal Kvasnicka
Michal Kvasnicka
I can't find the reason of the bug. So I send a minimal test file. The problem is, that the frame has title "unkonwn", not "Example" as I expected. Many thanks for your help.
Sorry that this won't help you but: it works fine here. teTeX 2.0.2, newest ConTeXt beta. I remember having problems with textext too, but running texexec a second time did work for me. And, of course, make sure you have \protectbufferstrue set in a) your cont-sys.tex or b) in your testfile. I bet that this is the reason for the bug. Any suspicious lines in the logfile? This is what mine looks like. [...] (/opt/context/2003.3.17/texmf/tex/context/sample/tufte.tex) systems : randomizer starts with 889229655 TeXExec 3.2 - ConTeXt / PRAGMA ADE 1997-2003 metapost : test-mpgraph format : metafun This is MetaPost, Version 0.641 (Web2C 7.4.5) second MP run needed : 1 tex labels found metapost to tex : test-mpgraph executable : pdfetex format : cont-en inputfile : tmpgraph output : dvips interface : en options : once batch nomp current mode : none This is pdfeTeX, Version 3.14159-1.10b-2.1 (Web2C 7.4.5) \write18 enabled. entering extended mode run time : 1 seconds dvi to metapost : test-mpgraph metapost : test-mpgraph format : metafun This is MetaPost, Version 0.641 (Web2C 7.4.5) total run time : 3 seconds [MP to PDF] (./test-mpgraph.1)
On Thu, 27 Mar 2003 12:51:13 +0100
Patrick Gundlach
Michal Kvasnicka
writes:
I can't find the reason of the bug. So I send a minimal test file. The problem is, that the frame has title "unkonwn", not "Example" as I expected. Many thanks for your help.
I remember having problems with textext too, but running texexec a second time did work for me.
running texexec twice cannot be the solution, since one run of texexec needs already much time. In the last weeks i had also often problems with text in MP graphics. Now, after an update to the current beta yesterday, these problems are gone. Jens
Michal Kvasnicka
\protectbufferstrue
Well, this is a solution. What's that?
I don't know. It names some of the files differently. It was one of my first prolems with ConTeXt (with the same graph as yours :)
Was it set differently in the older ConTeXt, or I'm stupid and deleted some of my old configuration files?
Well, I would not dare to say you are stupid :) Usually this is set in cont-sys.tex which is distributed as cont-sys.ori. Perhaps you have deleted this file? I don't know if this is documented anywhere. I could not find it in the metafun manual. Patrick
participants (4)
-
Hans Hagen
-
Jens-Uwe Morawski
-
Michal Kvasnicka
-
Patrick Gundlach