ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Joshua Krämer" <joshua.kraemer-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: ntg-context-wvrSQK3plZs@public.gmane.org
Subject: Re: Comment after \startseparatedlist[...]
Date: Tue, 21 Jan 2014 23:25:40 +0100	[thread overview]
Message-ID: <20140121232540.5585cffa@Klapprechner1.site> (raw)
In-Reply-To: <52DEA585.4090207@wxs.nl>

Am Tue, 21 Jan 2014 17:51:17 +0100
schrieb Hans Hagen <pragma@wxs.nl>:

> has to do with catcode changes so % is no longer %

Thanks for the hint.  I have tried to do it like that (from Mojca
Miklavec's "My Way"):

\usemodule[database]

\unprotect
\startsetups Data:unix
\catcode`\%=\@@comment
\stopsetups
\protect

\defineseparatedlist [Data]
[
	separator=tab,
	before=\bTABLE, after=\eTABLE,
	first=\bTR, last=\eTR,
	left=\bTD, right=\eTD,
	setups=unix
]

\starttext

\startData
% time	LG	LG-SD	HG	HG-SD	p
24	0.74	0.36	1.19	0.51	0.15
48	0.90	0.65	1.45	0.54	0.21
72	1.23	0.35	1.59	0.59	0.27
\stopData

\stoptext

... but still, context stops with an error.  I have also tried to use
\# like in the My Way example without success.

Is this supposed to work?

Kind regards,
Joshua Krämer


___________________________________________________________________________________
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:[~2014-01-21 22:25 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-20 20:02 Joshua Krämer
2014-01-20 22:41 ` Hans Hagen
2014-01-21 14:39   ` Joshua Krämer
2014-01-21 16:51     ` Hans Hagen
2014-01-21 22:25       ` Joshua Krämer [this message]
2014-01-21 22:19         ` Wolfgang Schuster
2014-01-21 22:54           ` Joshua Krämer

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=20140121232540.5585cffa@Klapprechner1.site \
    --to=joshua.kraemer-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=ntg-context-wvrSQK3plZs@public.gmane.org \
    /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).