ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Unescaped $ and & in texts
@ 2008-12-17 20:04 Wolfgang Schuster
  2008-12-17 20:46 ` Aditya Mahajan
  0 siblings, 1 reply; 4+ messages in thread
From: Wolfgang Schuster @ 2008-12-17 20:04 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Can't we add a new mode to ConTeXt to use $ and & in text
without escaping them with a backslash, & is not needed
to write tables and for inline math \formula could be used.

In text only documents I want also the % as normal character
where I don't need comments. What do you think, with \nonknuthmode
we have already a command to write '_' in text mode.

\appendtoks
\catcode`\$=12
\catcode`\&=12
\catcode`\%=12
\to \everystarttext

\starttext

Procter & Gamble’s stock climbed to $2, a 10% gain.

\stoptext

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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-12-17 21:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-12-17 20:04 Unescaped $ and & in texts Wolfgang Schuster
2008-12-17 20:46 ` Aditya Mahajan
2008-12-17 21:08   ` Wolfgang Schuster
2008-12-17 21:42   ` Hans Hagen

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).