* A change in textext Metafun maco? @ 2003-03-26 11:16 Michal Kvasnicka 2003-03-26 13:40 ` Hans Hagen 0 siblings, 1 reply; 7+ messages in thread From: Michal Kvasnicka @ 2003-03-26 11:16 UTC (permalink / raw) 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 ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: A change in textext Metafun maco? 2003-03-26 11:16 A change in textext Metafun maco? Michal Kvasnicka @ 2003-03-26 13:40 ` Hans Hagen 2003-03-27 11:16 ` Michal Kvasnicka 0 siblings, 1 reply; 7+ messages in thread From: Hans Hagen @ 2003-03-26 13:40 UTC (permalink / raw) 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 ------------------------------------------------------------------------- ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: A change in textext Metafun maco? 2003-03-26 13:40 ` Hans Hagen @ 2003-03-27 11:16 ` Michal Kvasnicka 2003-03-27 11:51 ` Patrick Gundlach 0 siblings, 1 reply; 7+ messages in thread From: Michal Kvasnicka @ 2003-03-27 11:16 UTC (permalink / raw) [-- Attachment #1: Type: text/plain, Size: 218 bytes --] 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 [-- Attachment #2: smalltest.tex --] [-- Type: text/x-tex, Size: 1708 bytes --] % interface=english, output=pdf \startMPinclusions verbatimtex \definefontsynonym [Serif] [cmr10] \definefontsynonym [SerifBold] [cmbx10] \definefontsynonym [SerifItalic] [cmti10] \definefontsynonym [SerifSlanted] [cmti10] \definefontsynonym [SerifBoldItalic] [cmbxti10] \definefontsynonym [SerifBoldSlanted] [cmbxti10] \definefontsynonym [SerifCaps] [cmr10] \definefontsynonym [SansItalic] [txsssl8z] \definebodyfont [14.4pt,12pt,11pt,10pt,9pt,8pt,7pt,6pt,5pt] [rm] [default] \setupbodyfont[10pt] \setupinterlinespace[line=13pt] etex \stopMPinclusions \startuseMPgraphic{FunnyFrame} picture pic; numeric w, h, o; pic:=textext.rt(\MPstring{FunnyFrame}); w:=\overlaywidth; h:=\overlayheight; o:=BodyFontSize; pic:=pic shifted (1.5o,h-ypart center pic); fill boundingbox pic withcolor white; draw pic; drawoptions (withpen pencircle scaled 1pt);% withcolor .625red); draw (1.5o,h)--(0,h)--(0,0)--(w,0)--(w,h)--(xpart urcorner pic,h); draw boundingbox pic; setbounds currentpicture to unitsquare xyscaled(w,h); \stopuseMPgraphic \defineoverlay[FunnyFrame][\useMPgraphic{FunnyFrame}] \defineframedtext[FunnyText] [width=broad,height=fit,before={\blank[line]},after={\blank[line]}, frame=off,background=FunnyFrame] \def\FrameTitle#1{% \setMPtext{FunnyFrame}{\hbox spread 1em{\hss\ss\bfx\strut#1\hss}}} \setMPtext{FunnyFrame}{} \def\startexample{% \FrameTitle{Example} \startFunnyText } \def\stopexample{% \stopFunnyText } \starttext \input tufte \input tufte \input tufte \startexample \input tufte \stopexample \input tufte \input tufte \input tufte \stoptext ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: A change in textext Metafun maco? 2003-03-27 11:16 ` Michal Kvasnicka @ 2003-03-27 11:51 ` Patrick Gundlach 2003-03-27 12:28 ` Jens-Uwe Morawski 2003-03-27 13:18 ` Michal Kvasnicka 0 siblings, 2 replies; 7+ messages in thread From: Patrick Gundlach @ 2003-03-27 11:51 UTC (permalink / raw) Michal Kvasnicka <quasar@econ.muni.cz> writes: Hello Michal, > 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) ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Re: A change in textext Metafun maco? 2003-03-27 11:51 ` Patrick Gundlach @ 2003-03-27 12:28 ` Jens-Uwe Morawski 2003-03-27 13:18 ` Michal Kvasnicka 1 sibling, 0 replies; 7+ messages in thread From: Jens-Uwe Morawski @ 2003-03-27 12:28 UTC (permalink / raw) On Thu, 27 Mar 2003 12:51:13 +0100 Patrick Gundlach <pg@levana.de> wrote: > Michal Kvasnicka <quasar@econ.muni.cz> 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 ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Re: A change in textext Metafun maco? 2003-03-27 11:51 ` Patrick Gundlach 2003-03-27 12:28 ` Jens-Uwe Morawski @ 2003-03-27 13:18 ` Michal Kvasnicka 2003-03-27 13:27 ` Patrick Gundlach 1 sibling, 1 reply; 7+ messages in thread From: Michal Kvasnicka @ 2003-03-27 13:18 UTC (permalink / raw) Good evening. > \protectbufferstrue Well, this is a solution. What's that? Was it set differently in the older ConTeXt, or I'm stupid and deleted some of my old configuration files? Hm. Many thanks anyway. M.K. ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: A change in textext Metafun maco? 2003-03-27 13:18 ` Michal Kvasnicka @ 2003-03-27 13:27 ` Patrick Gundlach 0 siblings, 0 replies; 7+ messages in thread From: Patrick Gundlach @ 2003-03-27 13:27 UTC (permalink / raw) Michal Kvasnicka <quasar@econ.muni.cz> writes: Hi, >> \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 ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2003-03-27 13:27 UTC | newest] Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2003-03-26 11:16 A change in textext Metafun maco? Michal Kvasnicka 2003-03-26 13:40 ` Hans Hagen 2003-03-27 11:16 ` Michal Kvasnicka 2003-03-27 11:51 ` Patrick Gundlach 2003-03-27 12:28 ` Jens-Uwe Morawski 2003-03-27 13:18 ` Michal Kvasnicka 2003-03-27 13:27 ` Patrick Gundlach
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).