From: cormullion@mac.com
Subject: Re: semi-smart quotes in verbatim text?
Date: Thu, 4 Jan 2007 10:21:02 +0000 [thread overview]
Message-ID: <BC777075-6F83-4D6F-92CA-7526C24CEA76@mac.com> (raw)
In-Reply-To: <459C2948.5090004@wxs.nl>
[-- Attachment #1: Type: text/plain, Size: 1502 bytes --]
On 2007-01-03, at 22:08.0, Hans Hagen wrote:
> cormullion@mac.com wrote:
>> This is puzzling me. If i type this in a text editor:
>>
>> \starttext
>> These are 'quotes'.
>> \starttyping
>> let a = 'quoted string'
>> \stoptyping
>> \stoptext
>>
>> I'm using dumb quotes (hex 27). ConText renders this as this:
>>
>> These are �quotes�.
>> let a = �quoted string�
>>
>> ie the quotes have been educated - although only half-educated, since
>> the opening one should be an opening one, if you see what I mean. But
>> I really don't want characters in the verbatim (typing) section to
>> change...because when you copy them from the PDF into an editor, the
>> code listings don't work!
>>
>> There must be some kind of switch somewhere that stops ConteXt
>> changing them?
>>
>>
> context does nothing with the quotes, its the font
Thanks, Hans.
I'm a bit confused though: in the verbatim sections I want the
vertical typewriter quote <http://en.wikipedia.org/wiki/Apostrophe_%
28mark%29#Computers_and_Unicode> rather than any '6' or '9' style
quotation mark apostrophe. I can see the difference in most of the
fonts I have here. In Courier, for example, the difference is about
25 degrees of slope, and the inclined quotation mark is lower down too.
So perhaps I should rephrase my question: how can I keep the vertical
' that I type into typing sections without it getting converted to a
curvy quote ’...?
many thanks for any help
[-- Attachment #2: Picture 1.png --]
[-- Type: image/png, Size: 3420 bytes --]
[-- Attachment #3: Type: text/plain, Size: 139 bytes --]
_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
next prev parent reply other threads:[~2007-01-04 10:21 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-03 17:38 cormullion
2007-01-03 22:08 ` Hans Hagen
2007-01-04 10:21 ` cormullion [this message]
2007-01-04 15:53 ` Hans Hagen
2007-01-04 19:02 ` cormullion
2007-07-18 13:29 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=BC777075-6F83-4D6F-92CA-7526C24CEA76@mac.com \
--to=cormullion@mac.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).