ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Percent symbol inside \type{}?
Date: Tue, 21 May 2013 21:16:13 +0200	[thread overview]
Message-ID: <D3E06FAE-B0C1-47D4-8EAA-4F62649A10BE@gmail.com> (raw)
In-Reply-To: <519B7E78.2060905@student.ru.nl>


Am 21.05.2013 um 16:02 schrieb Sander Maijers <S.N.Maijers@student.ru.nl>:

> That does not work for me, Wolfgang. With or without the \start-/stoptext (which is redundant in my own document I assume).

My example was a short a complete document and not a snippet which can be just
copied in a document.

>>        \placetable{Test}
>>        {\bTABLE
>>            \bTR
>>                \bTD[background=color,backgroundcolor=gray] tst \eTD
>>                \bTD \starttext \type{Hello %s --test world --test %s} \stoptext \eTD
>>            \eTR
>>        \eTABLE}
> 
> Error:
> 
> Runaway argument?
> \starttext \type {Hello \eTR \bTR \bTD [background=color,backgroundco\ETC.
> ! File ended while scanning use of \tabl_ntb_td_nop.

This can’t work because \type doesn’t work when used in a natural table
or in tabulate because it can’t change the meaning of % which has already
disappeared at this moment.

Using \letterpercent or \asciimode are the best solutions in this case.

Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


  reply	other threads:[~2013-05-21 19:16 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-20 12:48 bold in math-mode Wim W. Wilhelm
2013-05-20 12:51 ` Percent symbol inside \type{}? Sander Maijers
2013-05-20 13:04   ` Wolfgang Schuster
2013-05-21 14:02     ` Sander Maijers
2013-05-21 19:16       ` Wolfgang Schuster [this message]
2013-05-20 13:08   ` Marco Patzer
2013-05-21 14:17     ` Sander Maijers
2013-05-21 14:44       ` Arthur Reutenauer
2013-05-20 13:04 ` bold in math-mode Marco Patzer
2013-05-20 13:08 ` Wolfgang Schuster

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=D3E06FAE-B0C1-47D4-8EAA-4F62649A10BE@gmail.com \
    --to=schuster.wolfgang@gmail.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).