From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/70659 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: List of special characters Date: Mon, 15 Aug 2011 17:36:56 +0200 Message-ID: <66706326-0372-4F9D-87A4-E7730AC3E0BF@googlemail.com> References: <5072A303-DAB3-4466-A091-A87A224B4B32@googlemail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1244.3) Content-Type: multipart/mixed; boundary="===============1144616671==" X-Trace: dough.gmane.org 1313422635 1808 80.91.229.12 (15 Aug 2011 15:37:15 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 15 Aug 2011 15:37:15 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Aug 15 17:37:11 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QszDz-0005X8-62 for gctc-ntg-context-518@m.gmane.org; Mon, 15 Aug 2011 17:37:11 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8A92FCAEE5; Mon, 15 Aug 2011 17:37:10 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Igw6RSowj6ia; Mon, 15 Aug 2011 17:37:07 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 18A4FCAEDB; Mon, 15 Aug 2011 17:37:07 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7E5EDCAEDB for ; Mon, 15 Aug 2011 17:37:05 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id qm5VIUztI4Cf for ; Mon, 15 Aug 2011 17:37:01 +0200 (CEST) Original-Received: from filter1-til.mf.surf.net (filter1-til.mf.surf.net [194.171.167.217]) by balder.ntg.nl (Postfix) with ESMTP id 85500CAED7 for ; Mon, 15 Aug 2011 17:37:01 +0200 (CEST) Original-Received: from mail-fx0-f41.google.com (mail-fx0-f41.google.com [209.85.161.41]) by filter1-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p7FFaxj2013515 for ; Mon, 15 Aug 2011 17:37:00 +0200 Original-Received: by fxg9 with SMTP id 9so4970767fxg.14 for ; Mon, 15 Aug 2011 08:36:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=from:mime-version:content-type:subject:date:in-reply-to:to :references:message-id:x-mailer; bh=DLLODW6GyGns4K5ZynKJsGYbjF76Ls6X+ddCtyURtF4=; b=KLnerYD3w8JZBf4NkRm3aUjdhdQdigBIKlDDUvgzJxMp7vUnsiiX1NYTJ9YDkVqvpk s/aeR3p81OolUjKqENETE9xRV5Cx50qFP5x2gaqT3Ve4uI+GGwgNO2pVtUWpmWjBZRyD zbkQPcaDiPeTopj5MO/ncDDhxX3wBAFQMZIsw= Original-Received: by 10.223.160.65 with SMTP id m1mr5671648fax.28.1313422619705; Mon, 15 Aug 2011 08:36:59 -0700 (PDT) Original-Received: from [192.168.2.31] (p5482D425.dip.t-dialin.net [84.130.212.37]) by mx.google.com with ESMTPS id e10sm5098287fak.18.2011.08.15.08.36.57 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 15 Aug 2011 08:36:58 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.1244.3) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.161.41; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 08FkDB0tp - 171b19402205 - 20110815 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.217 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:70659 Archived-At: --===============1144616671== Content-Type: multipart/alternative; boundary="Apple-Mail=_267BF3F6-7D96-4E8E-9996-0E7C536DC495" --Apple-Mail=_267BF3F6-7D96-4E8E-9996-0E7C536DC495 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 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? >>=20 >> 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. >>=20 >> I could not find it at first (there are so many things), but one = solution I found: >> \startasciimode >> %\backslash setupbackend[export=3Dyes,xhtml=3Dyes,css=3Dyes] >> \stopasciimode >>=20 >> And while searching a little further I also found: >> \type{ %\setupbackend[export=3Dyes,xhtml=3Dyes,css=3Dyes]} >>=20 >> This has the added benefit that it displays somewhat better because = of the increased indentation (for which I misuse spaces). >=20 > \setuptyping[margin=3Dyes] >=20 > \starttext >=20 > before >=20 > \starttyping > \setupbackend[export=3Dyes] > \stoptyping >=20 > after >=20 > \stoptext >=20 > Very nice. I now use: > \setuptyping[ > blank=3Dsmall, > lines=3Dno, > margin=3D30pt, > ] >=20 > 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=3D30pt,before=3D,after=3D]. Wolfgang --Apple-Mail=_267BF3F6-7D96-4E8E-9996-0E7C536DC495 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=iso-8859-1
2011/8/15 Wolfgang Schuster <schuster.wolfgang@googlem= ail.com>
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=3Dyes,xhtml=3Dyes,css=3Dyes]
    \stopasciimode

And while searching a little further I also found:
    \type{    = %\setupbackend[export=3Dyes,xhtml=3Dyes,css=3Dyes]}

This has the added benefit that it displays somewhat = better because of the increased indentation (for which I misuse = spaces).
=

\setuptypin= g[margin=3Dyes]

\starttext

before

\starttyping
\setupbackend[ex= port=3Dyes]
=
\stoptyping

after

\= stoptext

Very nice. I now = use:
    \setuptyping[
      = blank=3Dsmall,
      = margin=3D30pt,
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=3D30pt,before=3D,after=3D].

W= olfgang

= --Apple-Mail=_267BF3F6-7D96-4E8E-9996-0E7C536DC495-- --===============1144616671== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============1144616671==--