ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Rik Kabel <context@rik.users.panix.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: New btx code problem with quote protrusion
Date: Sun, 5 Jul 2015 18:52:40 -0400	[thread overview]
Message-ID: <5599B538.80207@rik.users.panix.com> (raw)


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

List folk:

In the MWE below, everything builds cleanly if the \setupdelimitedtext 
line is removed. With it removed, however, quote marks protrusion looks 
poor when nearby quote marks in non-quotation text is allowed to 
protrude. The happens when there is a citation in a footnote in the 
quoted text.

Is this a bug, or simply something not yet ready with the new regime, or 
am I doing something wrong?

    % The next line should allow \startquotation to protrude quotes
    \setupdelimitedtext[quotation][method=font]
    % However, it causes the new bib code to fail when there is a
    %   footnote containing a citation in the quote. See
    % http://www.mail-archive.com/ntg-context@ntg.nl/msg35580.html
    \definefontfeature [default][protrusion=quality]
    \setupalign        [hz,hanging]
    \usebtxdataset     [xx.bib]
    \starttext
    \startparagraph\noindent
       There is a citation in the footnote to this standard
    paragraph\footnote{This footnote has a citation \cite[One].}
    \stopparagraph
    \startquotation[right]
       There is a citation in the footnote to this block
    quotation\footnote{This footnote has a citation \cite[Two].}
    \stopquotation
    \startparagraph\noindent
    “There is a citation in the footnote to this standard
    paragraph\footnote{This footnote has a citation \cite[One].}”
    \stopparagraph
    \placelistofpublications
    \stoptext

And the corresponding xx.bib file:

    @BOOK{One,
       author       = {A. N. Author},
       title        = {A Book Title},
       year         = {2017},
       publisher    = {Self},
       address      = {sine loco},
    }

    @ARTICLE{Two,
       author       = {N. O. Author},
       title        = {A Pipe},
       journal      = {The Journal},
       year         = {2018},
       volume       = {32},
       number       = {3},
       pages        = {42--69},
    }

-- 
Rik Kabel



[-- Attachment #1.2: Type: text/html, Size: 2972 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:[~2015-07-05 22:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-05 22:52 Rik Kabel [this message]
2015-07-05 23:21 ` Alan BRASLAU
2015-10-22 21:31 Rik Kabel
2015-10-23 16:45 ` 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=5599B538.80207@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).