ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Michael Eidenbenz <eidenbenz@arch.ethz.ch>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: avoid newline after definestartstop
Date: Wed, 26 Oct 2016 16:30:50 +0200	[thread overview]
Message-ID: <CDB51F14-81E2-4658-BB3F-452167B75EC2@arch.ethz.ch> (raw)
In-Reply-To: <6F56E683-0FF5-4C78-B801-7E50FED8DC1F@arch.ethz.ch>

after some readings in the TeX book I came up with the following solution that works for me without having to change all my instances of startstopCitation in the text.

\definestartstop
  [Citation]
  [
    before={\hangindent=20mm\hangafter=0\symbol[leftquotation]},
    after={\removeunwantedspaces\symbol[rightquotation]},
  ]

\starttext
\startCitation
  \input tufte
\stopCitation
\footnote{This is a Quote of Donald Knuth}

\input tufte
\stoptext
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2016-10-26 14:30 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-20  9:13 Michael Eidenbenz
2016-10-24 10:42 ` Michael Eidenbenz
2016-10-24 15:08   ` Otared Kavian
2016-10-24 16:07     ` Michael Eidenbenz
2016-10-24 17:09       ` Pablo Rodriguez
2016-10-24 17:51     ` Thomas A. Schmitz
2016-10-25 16:43       ` Michael Eidenbenz
2016-10-26 14:30         ` Michael Eidenbenz [this message]
2016-10-26 16:40           ` Wolfgang Schuster
2016-10-26 21:03             ` Michael Eidenbenz
2016-10-27  4:31               ` Wolfgang Schuster
2016-10-24 17:29 ` 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=CDB51F14-81E2-4658-BB3F-452167B75EC2@arch.ethz.ch \
    --to=eidenbenz@arch.ethz.ch \
    --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).