2011/8/15 Cecil Westerhof <cldwesterhof@gmail.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.
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]\stopasciimodeAnd 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]\starttextbefore\starttyping\setupbackend[export=yes]\stoptypingafter\stoptext
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?