2011/8/15 Wolfgang Schuster <schuster.wolfgang@googlemail.com>
> While writing the documentation about using ConTeXt I need some 'special' characters. A few I have found, for example \%, \backslash, \texttilde, \percent. But until now I did not find how to represent [ and ]. How would I use those characters in my document?
>
> Also: is there somewhere a 'complete' list? I found several, but they where all for LaTeX and are not completely the same. For example LaTeX uses \textbackslash which does not work in ConTeXt which uses \backslash.


\starttext

[ ] @ _ ^ % normal characters

\startlines
\textbackslash\ or \letterbackslash
\textbraceleft\ or \letterleftbrace\ or \{
\textbraceright\ or \letterrightbrace\ or \}
\percent\ or \letterpercent\ or \%
\textdollar\ or \letterdollar\ or \$
\letterampersand\ or \&
\letterhash\ or \#
\stoplines

\asciimode
% $ # & %% this is a comment

\stoptext

I found it also. I new that there was something like it (I had it seen passing on the mailing list), but could not find it at first.

Do I understand correctly that '%% this is a comment' should not be in the PDF? Because it is when I compile the document.

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
___________________________________________________________________________________



--
Cecil Westerhof