ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Cecil Westerhof <cldwesterhof@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: List of special characters
Date: Mon, 15 Aug 2011 17:05:05 +0200	[thread overview]
Message-ID: <CAG-LmmDTR6TVtwuLre=PYNLOn3A2-mj880VfPkRUq1iJW3YfFw@mail.gmail.com> (raw)
In-Reply-To: <CAG-LmmC8vrL0+mMZ8D7zZfntQ=E5KWRO+7fapW8YBp8+mcku3w@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 992 bytes --]

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]

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

-- 
Cecil Westerhof

[-- Attachment #1.2: Type: text/html, Size: 1961 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

  parent reply	other threads:[~2011-08-15 15:05 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-15 14:31 Cecil Westerhof
2011-08-15 14:47 ` Wolfgang Schuster
2011-08-15 15:12   ` Cecil Westerhof
2011-08-15 15:20     ` Wolfgang Schuster
2011-08-15 15:33       ` Cecil Westerhof
2011-08-15 15:39         ` Wolfgang Schuster
2011-08-15 16:05           ` Cecil Westerhof
2011-08-15 16:10             ` Wolfgang Schuster
2011-08-15 16:26               ` Cecil Westerhof
2011-08-15 17:05                 ` Cecil Westerhof
2011-08-15 15:05 ` Cecil Westerhof [this message]
2011-08-15 15:09   ` Wolfgang Schuster
2011-08-15 15:29     ` Cecil Westerhof
2011-08-15 15:36       ` Wolfgang Schuster
  -- strict thread matches above, loose matches on Subject: below --
2005-02-08 12:46 cormullion

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='CAG-LmmDTR6TVtwuLre=PYNLOn3A2-mj880VfPkRUq1iJW3YfFw@mail.gmail.com' \
    --to=cldwesterhof@gmail.com \
    --cc=ntg-context@ntg.nl \
    /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).