Am 15.08.2011 um 17:29 schrieb Cecil Westerhof: > 2011/8/15 Wolfgang Schuster >> 2011/8/15 Cecil Westerhof >> 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. >> >> I could not find it at first (there are so many things), but one solution I found: >> \startasciimode >> %\backslash setupbackend[export=yes,xhtml=yes,css=yes] >> \stopasciimode >> >> And while searching a little further I also found: >> \type{ %\setupbackend[export=yes,xhtml=yes,css=yes]} >> >> This has the added benefit that it displays somewhat better because of the increased indentation (for which I misuse spaces). > > \setuptyping[margin=yes] > > \starttext > > before > > \starttyping > \setupbackend[export=yes] > \stoptyping > > after > > \stoptext > > Very nice. I now use: > \setuptyping[ > blank=small, > lines=no, > margin=30pt, > ] > > I have a bigger margin now. The problem is that there is a lot of white space above and under the typed text. I tried the blank and lines parameters to get rid of it, but that does not work. How can I get rid of the unwanted white space? You need \setuptyping[margin=30pt,before=,after=]. Wolfgang