ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Denis B. Roegel" <Denis.Roegel@loria.fr>
Cc: Denis.Roegel@loria.fr (Denis B. Roegel),
	roegel@lorraine.loria.fr (Denis B. Roegel),
	ntg-context@ntg.nl
Subject: textext problem
Date: Fri, 27 Oct 2000 21:20:32 +0200 (MET DST)	[thread overview]
Message-ID: <200010271920.VAA08459@bar.loria.fr> (raw)
In-Reply-To: <3.0.6.32.20001027175543.01535420@pop.wxs.nl> from "Hans Hagen" at Oct 27, 2000 05:55:43 PM

`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


  reply	other threads:[~2000-10-27 19:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <3.0.6.32.20001027113959.0154f7a0@pop.wxs.nl>
     [not found] ` <200010271431.QAA03427@bar.loria.fr>
2000-10-27 15:55   ` texexec not launching mpost Hans Hagen
2000-10-27 19:20     ` Denis B. Roegel [this message]
2000-10-28 14:24       ` textext problem Hans Hagen
2000-10-30 20:21         ` Denis B. Roegel
2000-10-31  7:50           ` Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200010271920.VAA08459@bar.loria.fr \
    --to=denis.roegel@loria.fr \
    --cc=ntg-context@ntg.nl \
    --cc=roegel@lorraine.loria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).