From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Dumb quotes and dashes, globally and in verbatim text
Date: Tue, 21 Dec 2010 12:26:55 +0100 [thread overview]
Message-ID: <2C74D8E5-DA52-4E50-B82C-2646B322A015@gmail.com> (raw)
In-Reply-To: <AANLkTi=TzFL80dC5P4-wcT8jbVAQyXSpsL4ZxWg9FGsy@mail.gmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 931 bytes --]
Am 21.12.2010 um 12:14 schrieb Philipp A.:
> so i want to use ' and -- in my code, which is embedded via \starttyping \stoptyping, but that’s impossible.
> context replaces -- with – and ' with ’. that’s wrong. i need to be able to tell context it shouldn’t do any “smart” stuff, since i’m smart enough to press the ’-key if i want the character ’.
>
> so what i ask for:
> we should change the standard behavior of context to “don’t replace --, ' and whatnot in verbatim areas”
> we should be able to trigger this globally, for people who have a useful keyboard layout and can type “special” characters as fast as ascii.
> is the latter already built in somehow?
Make a example where this occurs, in the following example all dashes are correct in the typing environment with mkii and mkiv.
\starttext
\startlines
-
--
---
\stoplines
\starttyping
-
--
---
\stoptyping
\stoptext
Wolfgang
[-- Attachment #1.2: Type: text/html, Size: 1404 bytes --]
[-- Attachment #2: Type: text/plain, Size: 486 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
___________________________________________________________________________________
next prev parent reply other threads:[~2010-12-21 11:26 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-21 11:14 Philipp A.
2010-12-21 11:26 ` Wolfgang Schuster [this message]
2010-12-21 14:19 ` Philipp A.
2010-12-21 15:35 ` Wolfgang Schuster
2010-12-22 12:13 ` Philipp A.
2010-12-22 15:52 ` Wolfgang Schuster
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=2C74D8E5-DA52-4E50-B82C-2646B322A015@gmail.com \
--to=schuster.wolfgang@googlemail.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).