ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Rik Kabel <context@rik.users.panix.com>
To: ntg-context@ntg.nl
Subject: Re: Slanted, double-quoted quotations
Date: Wed, 15 Oct 2014 10:58:31 -0400	[thread overview]
Message-ID: <543E8B97.4070803@rik.users.panix.com> (raw)
In-Reply-To: <CAGRPH5WR=aX-+KXesnS-JAyjU9mS3eDovkX0vJru4uSsA-62BA@mail.gmail.com>


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

On 2014-10-15 09:06, Sander Maijers wrote:
> Hi,
>
> I'm using beta 2014.09.27. The code below produces a slanted, unquoted 
> quotation, whereas I intend to produce a slanted, double-quoted 
> quotation. How can I fix it?
>
> \definedelimitedtext[quotationsl][
>   style=slanted,
>   left={\symbol[leftquotation]},
>   right={\symbol[rightquotation]},
>   location=text,
> ]
>
> \setupdelimitedtext[quotationsl][style=slanted,left={\symbol[leftquotation]},right={\symbol[rightquotation]}]
>
> \starttext
>     \quotationsl{This should be slanted and double-quoted.}
> \stoptext
>
> Best,
> Sander Maijers
>
Looks like a bug.

Modifying the parenthesis example at 
http://wiki.contextgarden.net/Command/setupdelimitedtext demonstrates 
that when a style other than normal is specified, the left and right 
settings are ignored  and style settings in deeper levels ignored as 
well. (There may be other keys that are ignored as well, and others that 
set this off.) I tried a number of combinations. The following is one 
that shows the problem. Without the style settings, it works as 
described in the wiki.

    \definedelimitedtext[parenthesis][location=text]
    \setupdelimitedtext [parenthesis:1] [left={(}, right={)}]
    \setupdelimitedtext [parenthesis:2] [style=slanted, left={[}, right={]}]
    \setupdelimitedtext [parenthesis:3] [style=normal, left={\{},
    right={\}}]
    \starttext
    \parenthesis{My outer layer \parenthesis{my inner layer
    \parenthesis{my innermost layer}}}
    \stoptext

-- 
rik

[-- Attachment #1.2: Type: text/html, Size: 3344 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
___________________________________________________________________________________

  reply	other threads:[~2014-10-15 14:58 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-15 13:06 Sander Maijers
2014-10-15 14:58 ` Rik Kabel [this message]
2014-10-15 17:38   ` Hans Hagen
2014-10-15 19:03     ` Rik Kabel
2014-10-15 21:06       ` Wolfgang Schuster
2014-10-16  1:14         ` Rik
2014-10-20 14:08           ` Sander Maijers
2014-10-20 15:42             ` Rik
2014-10-21  7:50               ` Sander Maijers

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=543E8B97.4070803@rik.users.panix.com \
    --to=context@rik.users.panix.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).