[NTG-context] Bugs in \framed

Henning Hraban Ramm texml at fiee.net
Fri Sep 6 22:02:14 CEST 2019


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



More information about the ntg-context mailing list