From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/3108 Path: main.gmane.org!not-for-mail From: "Denis B. Roegel" Newsgroups: gmane.comp.tex.context Subject: textext problem Date: Fri, 27 Oct 2000 21:20:32 +0200 (MET DST) Sender: owner-ntg-context@let.uu.nl Message-ID: <200010271920.VAA08459@bar.loria.fr> References: <3.0.6.32.20001027175543.01535420@pop.wxs.nl> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1035393866 14330 80.91.224.250 (23 Oct 2002 17:24:26 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 17:24:26 +0000 (UTC) Cc: Denis.Roegel@loria.fr (Denis B. Roegel), roegel@lorraine.loria.fr (Denis B. Roegel), ntg-context@ntg.nl Original-To: pragma@wxs.nl (Hans Hagen) In-Reply-To: <3.0.6.32.20001027175543.01535420@pop.wxs.nl> from "Hans Hagen" at Oct 27, 2000 05:55:43 PM Xref: main.gmane.org gmane.comp.tex.context:3108 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:3108 `Hans Hagen' wrote > > Ah, a bug! Indeed "textext" only takes one argument, so the metafun manual > is wrong! > Ok, but there is still the problem with "unknown": vardef textext@#(expr txt) = interim labeloffset := textextoffset ; noftexpictures := noftexpictures + 1 ; if string txt : write "% figure " & decimal charcode & " : " & "texpictures[" & decimal noftexpictures & "] := btex " & txt & " etex ;" to jobname & ".mpt" ; if unknown texpictures[noftexpictures] : thelabel@#("unknown",origin) <--------------------------- else : thelabel@#(texpictures[noftexpictures],origin) fi else : thelabel@#(txt,origin) fi enddef ; Denis