ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Taco Hoekwater <taco@elvenkind.com>
Subject: Re: \type ,\meaning eror check
Date: Fri, 29 Jul 2005 10:32:43 +0200	[thread overview]
Message-ID: <42E9E9AB.9050709@elvenkind.com> (raw)
In-Reply-To: <42E9D576.5060303@logosrl.it>



luigi.scarso wrote:
> Problems
> 
>   1. i dont't know how to make checking

AFAIK, there is only one way to do this: write a new tex file on-
the-fly and run a separate texexec on that file (using \write18),
then parse the resulting log file for the occurence of any errors.
Not simple at all, I'm afraid.

>   2. \type does not combine well with \meaning: ò (ie {\`o} ) is not show.

This is a side-effect of TeX being an 8-bit program that doesn't
understand utf-8 itself. utf-8 in ConTeXt works by virtue of the
first character of a sequence having catcode 13 (\active), but
\meaning never outputs any catcodes except 12 (character) and 10
(space). This can be fixed by calling \scantokens:

   \expanded\type{\expandafter\scantokens\expandafter{\Temp}}%

Cheers, Taco

  reply	other threads:[~2005-07-29  8:32 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-27 16:28 new minimals Hans Hagen
2005-07-28  9:51 ` Taco Hoekwater
2005-07-29  3:52 ` Stuart Jansen
2005-07-29  6:37   ` Hans Hagen
2005-07-29  7:06   ` \type ,\meaning eror check luigi.scarso
2005-07-29  8:32     ` Taco Hoekwater [this message]
2005-07-29  9:13       ` luigi.scarso
2005-07-29  9:28         ` Taco Hoekwater
2005-07-29  9:42           ` luigi.scarso
2005-07-31 21:11     ` 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=42E9E9AB.9050709@elvenkind.com \
    --to=taco@elvenkind.com \
    --cc=ntg-context@ntg.nl \
    /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).