ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Henning Hraban Ramm <texml@fiee.net>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Bugs in \framed
Date: Fri, 6 Sep 2019 22:02:14 +0200	[thread overview]
Message-ID: <9E2C5471-A719-459C-86BB-5BAD6CD34FC7@fiee.net> (raw)

In
ConTeXt  ver: 2019.08.24 22:42 MKIV beta  fmt: 2019.9.6
LuaTeX, Version 1.10.1
(i.e. today’s beta)

* framecorner doesn’t work any more (all the same)

* backgroundoffset is shifted downwards (used to be centered, but is wrong for a while)

examples:


\starttext

{\setupframed[foregroundstyle=mono,rulethickness=1pt,offset=0.5em,framecolor=darkgreen]
\startcombination[3*10]
  {\framed[framecorner=00]{framecorner=00}}{}
	{\framed[framecorner=01]{framecorner=01}}{}
	{\framed[framecorner=02]{framecorner=02}}{}
	{\framed[framecorner=03]{framecorner=03}}{}
	{\framed[framecorner=04]{framecorner=04}}{}
	{\framed[framecorner=05]{framecorner=05}}{}
	{\framed[framecorner=06]{framecorner=06}}{}
	{\framed[framecorner=07]{framecorner=07}}{}
	{\framed[framecorner=08]{framecorner=08}}{}
	{\framed[framecorner=09]{framecorner=09}}{}
	{\framed[framecorner=10]{framecorner=10}}{}
	{\framed[framecorner=11]{framecorner=11}}{}
	{\framed[framecorner=12]{framecorner=12}}{}
	{\framed[framecorner=13]{framecorner=13}}{}
	{\framed[framecorner=14]{framecorner=14}}{}
	{\framed[framecorner=15]{framecorner=15}}{}
	{\framed[framecorner=16]{framecorner=16}}{}
	{\framed[framecorner=17]{framecorner=17}}{}
	{\framed[framecorner=18]{framecorner=18}}{}
	{\framed[framecorner=19]{framecorner=19}}{}
	{\framed[framecorner=20]{framecorner=20}}{}
	{\framed[framecorner=21]{framecorner=21}}{}
	{\framed[framecorner=22]{framecorner=22}}{}
	{\framed[framecorner=23]{framecorner=23}}{}
	{\framed[framecorner=24]{framecorner=24}}{}
	{\framed[framecorner=25]{framecorner=25}}{}
	{\framed[framecorner=26]{framecorner=26}}{}
	{\framed[framecorner=27]{framecorner=27}}{}
	{\framed[framecorner=28]{framecorner=28}}{}
  {}{}
\stopcombination
% I had no idea how to do that with recursion
}

\framed[frame=off,
    background=color,backgroundcolor=yellow,
]{Textmarker}

\framed[
    background=color,backgroundcolor=red,
    foreground=color,color=white,
]{{\color[white]{Pommes Rot-Weiß}}}

\framed[
    frame=on, corner=round,
    frameoffset=0.5em, framecolor=black,
    background=color, backgroundcolor=darkgreen,
    backgroundoffset=1em,
    foreground=color,color=white,
]{{\color[white]{\ss\bf I wanted Center Green!}}}

\stoptext



Greetlings, Hraban
---
https://www.fiee.net
http://wiki.contextgarden.net
https://www.dreiviertelhaus.de
GPG Key ID 1C9B22FD

___________________________________________________________________________________
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:[~2019-09-06 20:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-06 20:02 Henning Hraban Ramm [this message]
2019-09-06 21:56 ` Hans Hagen

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=9E2C5471-A719-459C-86BB-5BAD6CD34FC7@fiee.net \
    --to=texml@fiee.net \
    --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).