Dear Wolfgang,
So this the example now, \setuppapersize [A4] \starttext % hex \definecolor[almond][x=EED9C4] \definecolor[mysticmaroon][x=AD4379] \blackrule[color=mysticmaroon,height=3.ex, width=13.50cm]\par \defineframed [Me] [background=color,backgroundcolor=almond] \nointerlineskip \Me[frame=on, corner=rectangular, topframe=off, bottomframe=off, framecolor=mysticmaroon,width=13.50cm] %hex \definecolor[mysticmaroon][x=AD4379] Hey, \color[mysticmaroon]{Hello} \startcolumns[rule=on,n=2,tolerance=verytolerant,color=mysticmaroon] \color[mysticmaroon]{Thus, I came to the conclusion that the designer of a new system must not only be the implementer and first ..\bf D.E. Knuth} \stopcolumns \stoptext and after compiling it, I get: Command Line: context.exe --synctex=-1 "column.tex" Startup Folder: C:\Users\Administrator\Downloads\Neuer Ordner resolvers | formats | executing runner 'run luametatex format': luametatex --jobname="./column.tex" --socket --shell-escape --fmt=C:/texlive/2024/texmf-var/luametatex-cache/context/a86c089b384a3076dc514ba966a1fac9/formats/luametatex/cont-en.fmt --lua=C:/texlive/2024/texmf-var/luametatex-cache/context/a86c089b384a3076dc514ba966a1fac9/formats/luametatex/cont-en.lui --c:currentrun=1 --c:fulljobname="./column.tex" --c:input="./column.tex" --c:kindofrun=1 --c:maxnofruns=9 --c:synctex="-1" --c:texmfbinpath="C:/texlive/2024/bin/windows" system > system > ConTeXt ver: 2024.02.27 09:18 LMTX fmt: 2025.1.23 int: english/english system > system > 'cont-new.mkxl' loaded open source > level 1, order 1, name 'C:/texlive/2024/texmf-dist/tex/context/base/mkxl/cont-new.mkxl' system > beware: some patches loaded from cont-new.mkiv close source > level 1, order 1, name 'C:/texlive/2024/texmf-dist/tex/context/base/mkxl/cont-new.mkxl' system > 'cont-sys.mkxl' loaded open source > level 1, order 2, name 'C:/texlive/2024/texmf-dist/tex/context/texlive/cont-sys.mkxl' close source > level 1, order 2, name 'C:/texlive/2024/texmf-dist/tex/context/texlive/cont-sys.mkxl' system > files > jobname './column', input './column.tex', result './column' fonts > latin modern fonts are not preloaded languages > language 'en' is active system > synctex functionality is enabled, expect 5-10 pct runtime overhead! open source > level 1, order 3, name './column.tex' fonts > preloading latin modern fonts (second stage) fonts > 'fallback modern rm 12pt' is loaded pack quality > overfull hbox at line 16 - 18 in file './column.tex': be the implementer and first ..D.E. Knuth (18.79561pt) tex error > tex error on line 1 in file ./column.tex: Missing } inserted <to be read again> \normalend <lua input> <line 3.20> \stoptext 1 >> \setuppapersize 2 [A4] 3 \starttext 4 % hex 5 \definecolor[almond][x=EED9C4] 6 \definecolor[mysticmaroon][x=AD4379] 7 \blackrule[color=mysticmaroon,height=3.ex, width=13.50cm]\par 8 \defineframed 9 [Me] 10 [background=color,backgroundcolor=almond] \nointerlineskip 11 \Me[frame=on, corner=rectangular, topframe=off, bottomframe=off, framecolor=mysticmaroon,width=13.50cm] I've inserted something that you may have forgotten. (See the <inserted text> above.) With luck, this will get me unwedged. mtx-context | fatal error: return code: 1 What I can see is, that there is somethin wrong with the papersize. Don't know why? Many thanks Uschi _____________________________________________________________________ ConTeXt Compilation Report (Pages: 0) Errors: 0 Warnings: 0 Bad Boxes: 0 ________________________________ Von: Ursula Hermann <ursula.herm...@univie.ac.at> Gesendet: Mittwoch, 5. März 2025 16:48:06 An: mailing list for ConTeXt users Betreff: [NTG-context] Re: Color in a Columntext, how does it work? Dear Wolfgang, Uups, i was too quick, so I will do it better. Many thanks for your tipps. Uschi -----Ursprüngliche Nachricht----- Von: Wolfgang Schuster <wolfgang.schuster.li...@gmail.com> Gesendet: Mittwoch, 05. März 2025 16:26 An: ntg-context@ntg.nl Betreff: [NTG-context] Re: Color in a Columntext, how does it work? Am 05.03.2025 um 15:07 schrieb Ursula Hermann: > Dear List, > > I have tried an example, where I would like to have sentences in color > in a column, but there is something wrong. > > \setuppapersize > [A5] > > \starttext > % hex > \definecolor=[MediumViolet][h=8F47B3] > > \startcolumns[rule=on,n=2,tolerance=verytolerant, > foregroundcolor=Mediumviolet] > Thus, I came to the conclusion that the designer of a new system must > not only be the implementer and first .. > \bf D.E. Knuth} > \stopcolumns > > \stoptext 1. Use "x" as key to set the color with a hey value, while the "h" key works to set the color it is intended for hsv-values. 2. You have to replace "foregroundcolor=..." with "color=...". 3. You have to pass the correct name as argument to the color key but in your example you use an uppercase V in \definecolor but a lowercase v in \startcolumns. 4. Please test your example before you send them to the list because there is a } at the end of the text without a previous {. Wolfgang ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ___________________________________________________________________________________ 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 ___________________________________________________________________________________
___________________________________________________________________________________ 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 ___________________________________________________________________________________