ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Opening quotes problem with context.
Date: Sat, 27 Jul 2013 16:45:07 +0200	[thread overview]
Message-ID: <D0B1DA82-6B41-4A58-8B94-F697C29D9A4E@gmail.com> (raw)
In-Reply-To: <20130727102944.4ebbc6bf@wexfordpress>


Am 27.07.2013 um 16:29 schrieb john Culleton <John@wexfordpress.com>:

> I think I will encapsulate the "\quotation" method in a macro like
> \def\qq{\\quotation\{}
> or similar. Two keystrokes are better than  nine.

Use \delimitedtext[qq][quotation] to create a new quote command.

> I note that the plain TeX version of closing quotes, '' still works.
> Would it be that hard to make the opening quotes of `` still work? 

You’re wrong the output of '' looks correct but it isn’t as you can see in
the following example. When you write ' context replaces it with ’ which
is together with -- and --- one of the remaining fake ligatures which
can be enabled with the “tlig=yes” in \definefontfeature.


\starttext

\type{''} = ''

\type{”} = ”

\stoptext

> Not every change is an improvement, IMO.


One could misuse the translate module for this but I really suggest to move
forward and use direct input of “ and ” or \quotation{…}.

\usemodule[translate]

\translateinput[``][“]
\translateinput[''][”]

\enableinputtranslation

\starttext

``text''

\stoptext

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


  reply	other threads:[~2013-07-27 14:45 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-22 15:40 john Culleton
2013-07-22 15:44 ` Wolfgang Schuster
2013-07-23 16:10   ` Sietse Brouwer
2013-07-24 14:58 ` David Rogers
2013-07-24 16:13   ` Wolfgang Schuster
2013-07-27 14:29     ` john Culleton
2013-07-27 14:45       ` Wolfgang Schuster [this message]
2013-07-27 14:47       ` Mojca Miklavec
2013-07-27 15:09         ` Mojca Miklavec
2013-07-27 14:53       ` Marco Patzer

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=D0B1DA82-6B41-4A58-8B94-F697C29D9A4E@gmail.com \
    --to=schuster.wolfgang@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).