From: Matthias Weber <matthiasweber64@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: [NTG-context] Framed Blockquote?
Date: Tue, 16 Sep 2025 01:31:35 -0400 [thread overview]
Message-ID: <398886F1-60B3-4540-8B9A-C02FB5B49AD7@gmail.com> (raw)
Dear All,
I am trying to set up block quotes within a frame as below.
How can I make the frame fit the block quote?
The parameter location=… doesn’t seem to have any effect, regardless of what I put there.
Thanks!
Matthias
\setupcolors[state=start]
\setupcolor[rgb]
\definecolor[quotecolor][r=.95,g=.99,b=.99]
\definecolor[quotetxt][r=.2,g=.2,b=.1]
\defineframedtext [quotebackground]
[backgroundcolor=quotecolor,
location=paragraph,
background=color,
corner=round,
width=broad,
frame=on,
framecolor=black,
color=quotetxt]
\setupdelimitedtext[blockquote][style=\slx,
leftmargin=.5\textwidth,
rightmargin=no,
before={\startquotebackground},
after={\stopquotebackground\blank[2cm]}]
\starttext
\startsubject[title={Introduction}]
\startblockquote
\quotation{Need must find,} said the sea-thing child.
\\
\quotation{Find what?} said the crab.
\\
\quotation{Whatever there is,} said the sea-thing child.
\\
\SmallCapped{Russel Hoban}, {\em The Sea-Thing Child}
\par
\stopblockquote
\input{tufte}
\stopsubject
\stoptext
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________
next reply other threads:[~2025-09-16 5:35 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-16 5:31 Matthias Weber [this message]
2025-09-16 7:07 ` [NTG-context] " Henning Hraban Ramm
2025-09-16 11:23 ` Matthias Weber
[not found] ` <64e4d6b1-8e21-420b-8b75-afd638aace22@fiee.net>
[not found] ` <803C5509-4B10-4DD4-A2CD-352B8CFF350A@gmail.com>
2025-09-16 16:47 ` Henning Hraban Ramm
2025-09-16 17:23 ` Wolfgang Schuster
2025-09-16 16:48 ` Wolfgang Schuster
2025-09-16 17:08 ` Matthias Weber
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=398886F1-60B3-4540-8B9A-C02FB5B49AD7@gmail.com \
--to=matthiasweber64@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).