[NTG-context] doublesided margin page number

2022-01-23 Thread Youssef Cherem via ntg-context
doublesided (frente e verso) \startsetups setpagenumber % Set the page number to be (2em, \lineheight) from the bottom right corner % Note the `preset=rightbottom` above. % % The 2nd set of optional arguments are for the frame. For illustration I change % the color and font of the page number

Re: [NTG-context] new upload

2022-01-22 Thread Richard Mahoney via ntg-context
literation[indic] \definetransliteration     [MyIASTtoDeva]     [color=blue, style=bold, language=sa, vector={iast to deva}] \starttransliteration[MyIASTtoDeva]%[color=green]   can set a new color here idaṁ śarīraṁ kaunteya kṣetramityabhidīyate. etadyo vetti taṁ prāhuḥ kṣetra

Re: [NTG-context] new upload

2022-01-22 Thread kauśika via ntg-context
ctor accordingly to get the desired transliteration block. Please see below a minimal example for both: % SOF \usetransliteration[indic] \definetransliteration [MyIASTtoDeva] [color=blue, style=bold, language=sa, vector={iast to deva}] \starttransliteration[MyIASTtoDeva]%[co

Re: [NTG-context] SimpleSlides and Visual counters

2022-01-16 Thread Otared Kavian via ntg-context
lor} ; label(textext("\start\switchtobodyfont[10pt]% \setupinteraction[color=simpleslides:backgroundcolor,style=normal]% \startcolor[simpleslides:backgroundcolor] \goto{\pagenumber}[Prev

Re: [NTG-context] Solved! Itemize columns with MPgraphics: another vertical spacing puzzle

2022-01-14 Thread Gavin via ntg-context
]{\useMPgraphic{name}}} Here are a few great looking multiple choice questions about colors. \startquestions \question What is your favorite color? \startchoices[columns,four] \choice \mycolordot{.625red} \choice \mycolordot{.625blue} \choice \mycolordot{.625green} \choice \mycolordot

[NTG-context] Itemize columns with MPgraphics: another vertical spacing puzzle

2022-01-14 Thread Gavin via ntg-context
withcolor \mycolor; \stopuseMPgraphic \define[1]\mycolordot{\def\mycolor{#1}\framed[location=top,offset=0pt,frame=off]{\useMPgraphic{name}}} What is your favorite color? (There is too much space after these choices.) \startchoices[columns,four] \choice \mycolordot{.625red} \choice \mycolordot

Re: [NTG-context] Spacing issue in itemize

2022-01-14 Thread Gavin via ntg-context
[choices] \setupchoices [each] [A] [left=(, right=), width=1.7em, stopper=,] \define\choice{\item} Here are a few great looking multiple choice questions about colors. \startquestions \question What is your favorite color? \startchoices[columns,four] \item Red \item Blue \item Green \item

Re: [NTG-context] Conditional text appearing in a fixed vertical space

2022-01-11 Thread Fabrice L via ntg-context
want to give my > solution to one of the problems, as an example, on the handout. > > -Gavin I have similar problem for my courses. The solution I use, different than the one offered, is to write in a « special » color the text I want to hide from the students. This permits me to have

Re: [NTG-context] Fallback fails for Linux Libertine O to Junicode over private area, debugging?

2022-01-08 Thread Hans Hagen via ntg-context
to that (as we do with math now). (This is not new: for a long time tex users had to deal with computer modern fonts with basically only proper kerning for english.) Add to that evolving technologies (color fonts, image based ones e.g. emoji, variable fonts) that show up, then need fonts, where

Re: [NTG-context] critical fun

2022-01-07 Thread Jean-Pierre Delange via ntg-context
as attached >> file) >> >>> Le 6 janv. 2022 à 20:00, Hans Hagen via ntg-context a >>> écrit : >>> >>> Hi, >>> >>> Maybe this is of interest to critical users: >>> >>> \setupsynchronize [paralleltext] [col

Re: [NTG-context] critical fun

2022-01-07 Thread Hans Hagen via ntg-context
On 1/6/2022 10:36 PM, Henning Hraban Ramm via ntg-context wrote: Am 06.01.22 um 20:00 schrieb Hans Hagen via ntg-context: Hi, Maybe this is of interest to critical users: \setupsynchronize [paralleltext] [color=darkblue] % \setupsynchronize [paralleltext] [style=\tx,color=darkred

Re: [NTG-context] critical fun

2022-01-06 Thread Hans Hagen via ntg-context
On 1/6/2022 10:36 PM, Henning Hraban Ramm via ntg-context wrote: Am 06.01.22 um 20:00 schrieb Hans Hagen via ntg-context: Hi, Maybe this is of interest to critical users: \setupsynchronize [paralleltext] [color=darkblue] % \setupsynchronize [paralleltext] [style=\tx,color=darkred

Re: [NTG-context] critical fun

2022-01-06 Thread Otared Kavian via ntg-context
TX complains that \setupsynchronize was > never defined (see the log, as attached file) > >> Le 6 janv. 2022 à 20:00, Hans Hagen via ntg-context a >> écrit : >> >> Hi, >> >> Maybe this is of interest to critical users: >> >> \setupsynchronize [p

Re: [NTG-context] critical fun

2022-01-06 Thread Henning Hraban Ramm via ntg-context
Am 06.01.22 um 20:00 schrieb Hans Hagen via ntg-context: Hi, Maybe this is of interest to critical users: \setupsynchronize [paralleltext] [color=darkblue] % \setupsynchronize [paralleltext] [style=\tx,color=darkred] % \setupsynchronize [paralleltext] [style=\txx,color=darkgreen] I played

Re: [NTG-context] critical fun

2022-01-06 Thread Jean-Pierre Delange via ntg-context
his is of interest to critical users: > > \setupsynchronize [paralleltext] [color=darkblue] > % \setupsynchronize [paralleltext] [style=\tx,color=darkred] > % \setupsynchronize [paralleltext] [style=\txx,color=darkgreen] > > \starttext > > \dorecurse{10}{% >\par

[NTG-context] critical fun

2022-01-06 Thread Hans Hagen via ntg-context
Hi, Maybe this is of interest to critical users: \setupsynchronize [paralleltext] [color=darkblue] % \setupsynchronize [paralleltext] [style=\tx,color=darkred] % \setupsynchronize [paralleltext] [style=\txx,color=darkgreen] \starttext \dorecurse{10}{% \paralleltext {[een

Re: [NTG-context] \thanks inside author in section

2022-01-01 Thread Youssef Cherem via ntg-context
, > style=\bfb] > > \definenote[someothername] > > \setupnote >[someothername] >[rule=off] > > \setupnotation >[someothername] >[numberconversion=set 2] > > \setupnotation >[alternative=left, >hang=fit, > i

Re: [NTG-context] \thanks inside author in section

2022-01-01 Thread Wolfgang Schuster via ntg-context
[alternative=left, hang=fit, indenting={yes,small}, indentnext=yes] \setupinteraction [state=start, color=, contrastcolor=] \starttext \subject{Grande lista de autores} \placecontent[alternative=c] \startsection[title={Whatever}][author={A. Uthor

[NTG-context] \thanks inside author in section

2022-01-01 Thread Youssef Cherem via ntg-context
ing={yes,small},indentnext=yes, % please, indent everything, should be default ] \setupinteraction[state=start,color=black,contrastcolor=black] \setuphead[subject][align=flushleft,style=\bfb] \starttext \subject{Grande lista de autores} \placecontent[alternative=c] \startsection[title={Whatever}][a

[NTG-context] upload

2021-12-30 Thread Hans Hagen via ntg-context
). It basically boils down to boxes listening to source, target and anchor keys, as in: \vbox source 123 \bgroup \offinterlineskip \blackrule[width=4cm,height=2cm,depth=0cm,color=darkred]\par \blackrule[width=4cm,height=0cm,depth=1cm,color=darkblue]\par

[NTG-context] \thanks inside author in section

2021-12-29 Thread Youssef Cherem via ntg-context
nting={yes,small},indentnext=yes, % please, indent everything, should be default ] \setupinteraction[state=start,color=black,contrastcolor=black] \setuphead[subject][align=flushleft,style=\bfb] \starttext \subject{Grande lista de autores} \placecontent[alternative=c] \start

Re: [NTG-context] Unicode superscript and subscript parentheses as operators

2021-12-28 Thread Hans Hagen via ntg-context
: 'small' indentation, no indentation on 'first': \setupindenting[yes, medium, next] \setupheads[indentnext=yes] \setupinteraction[state=start, click=yes, focus=standard, color=darkblue] \mainlanguage[en] \protected\def\FancySuperscript#1⁾{\superscript{#1}} \protected\def\FancySubscript #1

Re: [NTG-context] Unicode superscript and subscript parentheses as operators

2021-12-28 Thread Hans Åberg via ntg-context
to] \setuptyping[indentnext=auto] % Might use: 'small' indentation, no indentation on 'first': \setupindenting[yes, medium, next] \setupheads[indentnext=yes] \setupinteraction[state=start, click=yes, focus=standard, color=darkblue] \mainlanguage[en] \protected\def\FancySuperscript#1⁾{\superscript{#

Re: [NTG-context] tikzplot displacement result [solved]

2021-12-14 Thread Jan-Erik Hägglöf via ntg-context
true, > xmin=-3.2488079448294145, > xmax=34.87398305791419, > ymin=-7.496155590728956, > ymax=11.53265632858922, > xtick={-3.0,-2.0,...,34.0}, > ytick={-7.0,-6.0,...,11.0},] > %\clip(-3.2488079448294145,-7.496155590728956) rectangle > (34.87398305791419,11.53265632858922);

Re: [NTG-context] tikzplot displacement result

2021-12-12 Thread Gavin via ntg-context
2.0,...,34.0}, ytick={-7.0,-6.0,...,11.0},] %\clip(-3.2488079448294145,-7.496155590728956) rectangle (34.87398305791419,11.53265632858922); \addplot[line width=2.pt,color=ffvvqq,smooth,samples=100,domain=-3.2488079448294145:34.87398305791419]{x+3} node[below right, pos= 0.1]{$h$}; \stopa

[NTG-context] tikzplot displacement result

2021-12-12 Thread Jan-Erik Hägglöf via ntg-context
min=-3.2488079448294145, xmax=34.87398305791419, ymin=-7.496155590728956, ymax=11.53265632858922, xtick={-3.0,-2.0,...,34.0}, ytick={-7.0,-6.0,...,11.0},] \clip(-3.2488079448294145,-7.496155590728956) rectangle (34.87398305791419,11.53265632858922); \draw[line width=2.pt,color=ffvvqq,smooth,samples=

[NTG-context] using the newcolumnsets module

2021-12-09 Thread Jeong Dal via ntg-context
hird stage) fonts > 'fallback modern-designsize rm 10pt' is loaded colors > 'rgb' color space is supported colors > 'cmyk' color space is supported modules > 'newcolumnsets' is loaded open source > level 2, order 3, name '/Users/gr

Re: [NTG-context] xml processing errors after latest upgrade

2021-12-01 Thread Hans Hagen via ntg-context
processing errors after latest upgrade Ok, seems unrelated to XML. This here shows the problem: % no problems withouth setupinteraction \setupinteraction [ state=start, focus=standard, openaction=FitWidth, color=, contrastcolor

Re: [NTG-context] xml processing errors after latest upgrade

2021-12-01 Thread Denis Maier via ntg-context
after latest upgrade > > Ok, seems unrelated to XML. > > This here shows the problem: > > > % no problems withouth setupinteraction > \setupinteraction [ > state=start, > focus=standard, > openaction=FitWidth,

Re: [NTG-context] xml processing errors after latest upgrade

2021-12-01 Thread Denis Maier via ntg-context
stian (UB) > Betreff: Re: [NTG-context] xml processing errors after latest upgrade > > Ok, seems unrelated to XML. > > This here shows the problem: > > > % no problems withouth setupinteraction > \setupinteraction [ > state=start, >

Re: [NTG-context] xml processing errors after latest upgrade

2021-12-01 Thread Denis Maier via ntg-context
Ok, seems unrelated to XML. This here shows the problem: % no problems withouth setupinteraction \setupinteraction [ state=start, focus=standard, openaction=FitWidth, color=, contrastcolor=, style

Re: [NTG-context] Blocks inside a conditional mode.

2021-11-29 Thread Fabrice L via ntg-context
fineblock[Complement] \setupblock[Complement][ before={\page[yes]\setuppagenumber[state=stop]\setupheadertexts[]\setupbackgrounds[page][background=color,backgroundcolor=red]}, after={\page[yes]\setuppagenumber[state=start]}] \starttext % Let's process the summar

Re: [NTG-context] Blocks inside a conditional mode.

2021-11-28 Thread Fabrice L via ntg-context
\defineblock[ComplementTwo] \defineblock[ComplementThree] \setupblock[ComplementTwo,ComplementThree][ before={\page[yes]\setuppagenumber[state=stop]\setupheadertexts[]\setupbackgrounds[page][background=color,backgroundcolor=red]}, after={\page[yes]\setuppagenumber[state=start]}] \startte

[NTG-context] Blocks inside a conditional mode.

2021-11-28 Thread Fabrice L via ntg-context
ber[state=stop]\setupheadertexts[]\setupbackgrounds[page][background=color,backgroundcolor=red]}, after={\page[yes]\setuppagenumber[state=start]}] \doifallmodes{Professor} { \keepblocks[Complement] } \starttext page 1 \beginComplement A complement

Re: [NTG-context] Concerning dictionaries. glossaries and related in ConTeXt

2021-11-26 Thread Hans Hagen via ntg-context
\currentcolorparameter \else \resetinteractionparameter\c!color \resetinteractionparameter\c!contrastcolor \fi \fi} \permanent\protected\def\startregisterentries#1% depth {\ifconditional\c_strc_registers_traditional \endgraf \fi \begingroup \c_strc_register_level\ifnum#1

[NTG-context] adjusting vertical space

2021-11-24 Thread jbf via ntg-context
[top=] \startalignment[middle] \definedfont[name:SemplicitaPro-Medium.ttf*default at 34pt] \color[gray]{A JOURNEY} \definedfont[name:baskerville-italic.ttf*default at 26pt] \color[gray]{from the} \definedfont[name:SemplicitaPro-Medium.ttf*default at 34pt] \color[gray]{BEGINNING} \stopalignment

Re: [NTG-context] Enumeration numbering in the left margin

2021-11-20 Thread Wolfgang Schuster via ntg-context
, way=bysection] I actually want to (flush) left align the enumeration's number inside the left margin and give it a blue color. But even if I have \setupmargindata[inleftmargin][color=bblue4,align=flushleft] there is no alignment, no color. However, if I do \setupenumeration[verse

Re: [NTG-context] Enumeration numbering in the left margin

2021-11-20 Thread kauśika via ntg-context
y=bysection] > > I actually want to (flush) left align the enumeration's number inside the > left margin and give it a blue color. But even if I have >\setupmargindata[inleftmargin][color=bblue4,align=flushleft] > there is no alignment, no color. > > However, if I do

[NTG-context] Enumeration numbering in the left margin

2021-11-19 Thread kauśika via ntg-context
color. But even if I have \setupmargindata[inleftmargin][color=bblue4,align=flushleft] there is no alignment, no color. However, if I do \setupenumeration[verse] [alternative=leftmargin, text=, width=\leftmarginwidth, headcolor=bblue4, distance=0em, way=bysection] I am able

Re: [NTG-context] new upload, new trickery

2021-11-16 Thread Marcus Vinicius Mesquita via ntg-context
ext > \showstruts > \input tufte \removeunwantedspaces\space > \localleftbox par {% > \hbox to 0pt{% >\llap{L}% > \vadjust{\strut\blackrule[width=1cm,color=red]}% >\hbox{\vadjust pre{\strut\blackrule[width=1cm,co

Re: [NTG-context] Emojis showing up in black instead of colours

2021-11-15 Thread Vincent Hennebert via ntg-context
[...] > > gives me pages of emojis, all black. According to what is described > > on > > Stackexchange, I should be getting colours. Am I doing something > > wrong? > > Hi Vincent, > > if you are using Evince, try Okular to check color display. > > I exp

Re: [NTG-context] Emojis showing up in black instead of colours

2021-11-12 Thread Pablo Rodriguez via ntg-context
getting colours. Am I doing something wrong? Hi Vincent, if you are using Evince, try Okular to check color display. I experienced something similar in the past. Just in case it helps, Pablo ___ If your question is

[NTG-context] Emojis showing up in black instead of colours

2021-11-12 Thread Vincent Hennebert via ntg-context
/TwemojiMozilla.ttf [2] https://tex.stackexchange.com/questions/466442/context-using-emoji- fonts-without-color ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl

[NTG-context] Strange result with the new upload

2021-11-05 Thread Alain Delmotte via ntg-context
yword") is overwritten by the normal text in black. I don't remember that before. Alain Here is the code: %I need to ponder this usage: \definelocalboxes [linetextA] [command=\LeftTextA, location=lefttext, style=\bs, colo

Re: [NTG-context] Color profiles (was: Bloody PDF boxes)

2021-11-01 Thread Henning Hraban Ramm via ntg-context
> Am 01.11.2021 um 08:58 schrieb Henning Hraban Ramm via ntg-context > : > > And it seems like GWG is in conflict with the PDF association, at least GWG’s > recommendations contradict PDF/X. GWG doesn’t want to contradict but has a quality focus, see

Re: [NTG-context] Color profiles (was: Bloody PDF boxes)

2021-11-01 Thread Henning Hraban Ramm via ntg-context
ion, at least GWG’s recommendations contradict PDF/X. I’ll try to reflect both... From my personal experience: – If you don’t exactly know what you’re doing, you should use sRGB as RGB working color space, because most cameras and scanners use it. Yes, parts of the color space are outside the p

[NTG-context] new upload, new trickery

2021-10-28 Thread Hans Hagen via ntg-context
{% \llap{L}% \vadjust{\strut\blackrule[width=1cm,color=red]}% \hbox{\vadjust pre{\strut\blackrule[width=1cm,color=green]}}% }\hss }% \localrightbox par {}% \input tufte \removeunwantedspaces\space \vadjust pre{\strut BEFORE 1}% \vadjust pre

Re: [NTG-context] mp-geo Metapost package with ConTeXt

2021-10-22 Thread Hans Hagen via ntg-context
> 859154 characters metapost code, preprocessing time 3.165 seconds ... pdfview | command: open "osm-test.pdf" 1>/dev/null 2>/dev/null & mtx-context | pdfview overhead: 0.005 seconds system | total runtime: 9.211 seconds of 9.328 seconds The PDF is 488 kB.

Re: [NTG-context] mp-geo Metapost package with ConTeXt

2021-10-22 Thread Henning Hraban Ramm via ntg-context
; original size 12431810 bytes, stripped down to 8768209 bytes openstreetmap > xml data loaded openstreetmap > 859154 characters metapost code, preprocessing time 3.165 seconds ... pdfview | command: open "osm-test.pdf" 1>/dev/null 2>/dev/null & mtx-

Re: [NTG-context] \rotate[rotation=270] adds extra vertical space

2021-10-22 Thread Hans Hagen via ntg-context
]{\blackrule[width=\textheight,height=\textwidth,depth=0cm,color=darkred]}} } \dostepwiserecurse{0}{360}{10}{ \ruledhbox{\rotate[rotation=#1,location=high]{\blackrule[width=\textheight,height=\textwidth,depth=0cm,color=darkgreen]}} } \dostepwiserecurse{0}{360}{10}{ \ruledhbox{\rotate

Re: [NTG-context] upload

2021-10-21 Thread Mikael Sundqvist via ntg-context
backend.date=no] > \enabledirectives[backend.trailerid=no] > \starttext > > \startTEXpage > \blackrule[height=1cm,depth=0cm,width=4cm,color=darkred] > \stopTEXpage > > (there always were command line options for it) > > More interesting is asome new experimental code: > > \s

[NTG-context] upload

2021-10-21 Thread Hans Hagen via ntg-context
generating pdf files that can be compared. No date as a bad idea anyway. \setupinteraction[title=My Title] % \enabledirectives[backend.date=2034-06-07] \enabledirectives[backend.date=no] \enabledirectives[backend.trailerid=no] \starttext \startTEXpage \blackrule[height=1cm,depth=0cm,width=4cm,color

Re: [NTG-context] transparency not working in current latest?

2021-10-21 Thread Hans Hagen via ntg-context
On 10/21/2021 6:28 PM, Pablo Rodriguez via ntg-context wrote: Dear list, since current latest (2021.10.18 23:14), I don’t get transparency working: \definecolor[transparent][b=1, a=1, t=0] \starttext \startTEXpage[offset=1em, align=middle] \color[transparent]{\ssbf totally

[NTG-context] transparency not working in current latest?

2021-10-21 Thread Pablo Rodriguez via ntg-context
Dear list, since current latest (2021.10.18 23:14), I don’t get transparency working: \definecolor[transparent][b=1, a=1, t=0] \starttext \startTEXpage[offset=1em, align=middle] \color[transparent]{\ssbf totally\\transparent?} \stopTEXpage \stoptext Am I missing something

Re: [NTG-context] Outlined text (from MP) inline in ConText has incorrect baseline (i.e. no depth)

2021-10-12 Thread Rudd, Kevin via ntg-context
{white}{black}{#3}% \fi\fi } \defineeffect[OuterEffect][alternative=outer,rulethickness=0.1pt] \defineeffect[InnerEffect][alternative=inner,rulethickness=0.1pt] \def\makeOutlinedText#1#2#3% {% \hbox% {% \rlap{\color[#1]{\effect[InnerEffect]{#3}}}% \color[#2]{\effect

[NTG-context] Generating HTML

2021-10-11 Thread Hans Åberg via ntg-context
ot;, though. — html-test.tex — \definefontfamily [mainface][math][stix] \setupbodyfont[mainface,10pt] \setupinteraction[state=start, click=yes, focus=standard, color=darkblue] \setupbackend[export=yes] % Exporting HTML/XML \defineregister [index] \setupregister [index] [indi

Re: [NTG-context] Default values for key-value macros

2021-10-10 Thread Hans Hagen via ntg-context
, but I'm having problems with the following MWE: ``` \def\style#1[#2] {   \ctxlua{userdata.style([==[#2]==])}   \placestyle } here you overload a core macro \startluacode   userdata = userdata or {}   userdata.style = function(keyvals)     local style = {       color = nil,       text = nil

[NTG-context] Default values for key-value macros

2021-10-10 Thread noib3 via ntg-context
\style#1[#2] { \ctxlua{userdata.style([==[#2]==])} \placestyle } \startluacode userdata = userdata or {} userdata.style = function(keyvals) local style = { color = nil, text = nil, } args = utilities.parsers.settings_to_hash(keyvals) for k, v in pairs(args) do

Re: [NTG-context] Getting Textadept to open pdf?

2021-09-27 Thread Hans Hagen via ntg-context
st version and the code that we ship with context no longer runs (quits on some path creation, then when commented on some color/style settings and finally loops in finding a lexer). I know (from scite) that there has been updates to the scintilla lexer interface (again) that I need to look into but i

Re: [NTG-context] Framedtext : text out of frame

2021-09-26 Thread Hans Hagen via ntg-context
=color,backgroundcolor=navajowhite1]       \startitemize[columns,three,n]         \startitem          Une quantité constante est une quantité déterminée, qui conserve toujours la même valeur.         \stopitem\par         \startitem           Une quantité variable est une quantité indéterminée

[NTG-context] Framedtext : text out of frame

2021-09-26 Thread Fabrice Couvreur via ntg-context
Hi, How to fix the small problem in the code below where the text goes out of the frame ? Thanks Fabrice \usecolors[x11] \starttext \startframedtext[frame=off,width=\textwidth, align={broad,right},indenting={yes},background=color,backgroundcolor=navajowhite1] \startitemize[columns,three

Re: [NTG-context] changes of color

2021-09-21 Thread fv leung via ntg-context
\starttext It seems that the problem comes up when the same color as the surrounding text is used in MPcode.\par { \red text red\par \startMPcode drawoptions(withcolor blue); label("text blue in MPcode", origin); \stopMPcode \par text still red\par But\par te

[NTG-context] changes of color

2021-09-21 Thread Thierry Horsin via ntg-context
Hi everybody After some part of a tex file where there is some startMPcode section the color of the text (e.g. blue) changes to black up until the next page in the pdf. Is there something I am missing ? Thank you. Thierry

Re: [NTG-context] update

2021-09-13 Thread Hans Hagen via ntg-context
that locally.) Hi, thank you! I’m looking forward to these improvements, even if they won’t be in effect for my talk in Bassenge. Running a project with this version, I get tons of messages like: 4:10: \penalty[userpenalty][color=1,colormodel=4,marks=334,snapmethod=3,breakpoint=1] 1 4:10: \glue

Re: [NTG-context] update

2021-09-13 Thread Henning Hraban Ramm via ntg-context
month and beyond. >>> >>> (In a next upload the new marking and tabulate optimization might become >>> default but for now i test that locally.) >> Hi, thank you! >> I’m looking forward to these improvements, even if they won’t be in effect >> fo

Re: [NTG-context] update

2021-09-13 Thread Hans Hagen via ntg-context
for my talk in Bassenge. Running a project with this version, I get tons of messages like: 4:10: \penalty[userpenalty][color=1,colormodel=4,marks=334,snapmethod=3,breakpoint=1] 1 4:10: \glue[userskip][color=1,colormodel=4,marks=334,snapmethod=3,breakpoint=1] 0.0pt plus 0.83287pt minus

Re: [NTG-context] update

2021-09-13 Thread Henning Hraban Ramm via ntg-context
ts, even if they won’t be in effect for my talk in Bassenge. Running a project with this version, I get tons of messages like: 4:10: \penalty[userpenalty][color=1,colormodel=4,marks=334,snapmethod=3,breakpoint=1] 1 4:10: \glue[userskip][color=1,colormodel=4,marks=334,snapmethod=3,breakpoi

[NTG-context] textbackground for text of different size

2021-09-12 Thread Sylvain Hubert via ntg-context
Dear List, the red highlight block in the following example is not covering the two 40pt characters: \definetextbackground[important][frame=no,background=color,backgroundcolor=red] \starttext abc\important{123{\switchtobodyfont[40pt]45}xy}z \stoptext Is there an option that fixes this? Thanks

Re: [NTG-context] Axis macro in MetaFun

2021-09-11 Thread kauśika cittūr via ntg-context
sx = 2mm, sy = 2mm, > >nx = 80, ny = 40, > >tx = 15, ty = 15, > > > >list = { > > > > [ > > > >connect = true,

Re: [NTG-context] Axis macro in MetaFun

2021-09-11 Thread Hans Hagen via ntg-context
in a given list? \startMPcode draw lmt_axis [ sx = 2mm, sy = 2mm, nx = 80, ny = 40, tx = 15, ty = 15, list = { [ connect = true, color = "darkblue", close = true,

[NTG-context] Axis macro in MetaFun

2021-09-11 Thread kauśika cittūr via ntg-context
, sy = 2mm, nx = 80, ny = 40, tx = 15, ty = 15, list = { [ connect = true, color = "darkblue", close = true, points = {data.csv},

[NTG-context] colors and contours in luametafun

2021-09-01 Thread Jacob Kauffmann via ntg-context
Dear list, I am a huge fan of the new metafun interface. Hans asked for luametafun requests, so here are a few. - color by value in lmt_surface We want to show a surface plot of a function where the color indicates the function value (instead, or in addition to a light source). The easiest

[NTG-context] Gradient fill in embedded pdf disappear in externalfigure (on regular pages)

2021-08-29 Thread Benjamin Buchmuller via ntg-context
Hello list, I have noticed that some gradients get lost when embedding an external figure from a pdf (Preview and Acrobat DC and in printer), although the original pdf works fine for me. It seems to occur with color-to-color gradients (but not all), but not with color-to-alpha ones. While

Re: [NTG-context] Indexing redux

2021-08-26 Thread Rik Kabel via ntg-context
o turn checking on or off, so that generic directives (in the example, see also specific breeds) will not generate an error, while the Ford Prefect example will generate an error.    \defineprocessor[also][color=blue]    \defineprocessor[under][color=green]    \defineprocessor[alsoun

Re: [NTG-context] MKIV ansi/ansilog

2021-08-25 Thread Hans Hagen via ntg-context
/095666.html <https://mailman.ntg.nl/pipermail/ntg-context/2019/095666.html>) I am trying just a simple hello world: \starttext Hello World! \stoptext From the latest lmtx install (2021.08.24 22:16) on an ubuntu 64bit live system: These give the desired color output for lmtx context

[NTG-context] MKIV ansi/ansilog

2021-08-25 Thread Adam Reviczky via ntg-context
Hello World! \stoptext >From the latest lmtx install (2021.08.24 22:16) on an ubuntu 64bit live system: These give the desired color output for lmtx context --ansi test.tex context --ansilog test.tex But with luatex, these make no difference in the stdout (no ansi colors) context --luatex --a

Re: [NTG-context] paper dimensions for TEXpage

2021-08-18 Thread Hans Hagen via ntg-context
[page][background={foreground, hi}] \starttext \startTEXpage \framed[frame=off, offset=none] {\setlayer[hi]{\color[red]{hi}} \externalfigure[cow-brown]\framedheight} \stopTEXpage \stoptext In this case, \getfiguredimensions would work, but I don’t know how to deal with a pure text

Re: [NTG-context] paper dimensions for TEXpage

2021-08-17 Thread Pablo Rodriguez via ntg-context
{foreground, hi}] \starttext \startTEXpage \framed[frame=off, offset=none] {\setlayer[hi]{\color[red]{hi}} \externalfigure[cow-brown]\framedheight} \stopTEXpage \stoptext In this case, \getfiguredimensions would work, but I don’t know how to deal with a pure text box. BTW, is there a

[NTG-context] footnote interaction in titles

2021-08-09 Thread Adam Reviczky via ntg-context
Hi, I probably shouldn't use footnotes within titles, but I am misusing the title elements for a quick interview style document (I use them in the ToC). One thing I have noticed is that interaction style (color and styles) are not applied in the footnote and footnote numbering. Is that a side

Re: [NTG-context] Verbatim text in a frame

2021-07-31 Thread Wolfgang Schuster via ntg-context
not seem to work \setupcolors[state=start] \setupcolor[xwi] \definetextbackground    [Code]    [frame=on,     framecolor=black,     %corner=0,     %offset=10pt,     background=color,     backgroundcolor=gray,     location=paragraph] \setuptyping    [before={\blank\starttextbackground[Code

Re: [NTG-context] Verbatim text in a frame

2021-07-30 Thread Hans Hagen via ntg-context
] \definetextbackground   [Code]   [frame=on,    framecolor=black,    %corner=0,    %offset=10pt,    background=color,    backgroundcolor=gray,    location=paragraph] \setuptyping   [before={\blank\starttextbackground[Code]},    after={\stoptextbackground\blank}] \starttext \starttyping

[NTG-context] Verbatim text in a frame

2021-07-30 Thread Jeroen via ntg-context
=on, framecolor=black, %corner=0, %offset=10pt, background=color, backgroundcolor=gray, location=paragraph] \setuptyping [before={\blank\starttextbackground[Code]}, after={\stoptextbackground\blank}] \starttext \starttyping example \stoptyping \stoptext

Re: [NTG-context] Different Styles of Typing

2021-07-28 Thread Hans Hagen via ntg-context
\typingparameter\c!before\relax \startpacked[\v!blank]% \buff_verbatim_setup_line_numbering \buff_verbatim_initialize_typing_one \buff_verbatim_setup_keep_together \normalexpanded{\buff_verbatim_type_block{\e!start\m_typing}{\e!stop\m_typing}}} \protect \starttext \starttyping[abc][color=red

Re: [NTG-context] Multimedia, PDF and ConTeXt

2021-07-27 Thread Michal Vlasák via ntg-context
> > > > - Only 3D files supported. This means U3D and later PRC files. The 3D > > objects described in the files are shown in a scene whose parameters > > (like camera position, angle, background color, etc.) can be > > configured. > > > > - The

[NTG-context] Adjust the length of a frame

2021-07-27 Thread Fabrice Couvreur via ntg-context
, background=color, backgroundcolor=lightgray, foregroundcolor=, foregroundstyle=] \setupenumerations [before={\blank}, after={\blank}, alternative=top, title=yes, titleleft={}, titleright={}, titlestyle=bold, width=broad] \defineenumeration [exercice] [text=Exercice

Re: [NTG-context] Adjust the length of a frame

2021-07-27 Thread Fabrice Couvreur via ntg-context
you. > Fabrice > > \setupbodyfont[newcomputermodern-book,11pt] > > \defineframed >[ACFRAME] >[frame=off, > width=fit, > align=flushleft, > location=low, > background=color, > backgroundcolor=lightgray, > foregroundcolor=, >

Re: [NTG-context] Multimedia, PDF and ConTeXt

2021-07-27 Thread Hans Hagen via ntg-context
plays all media [1]. hm, sounds bad 4) 3D art - First appeared in PDF 1.6 (2004). - Only 3D files supported. This means U3D and later PRC files. The 3D objects described in the files are shown in a scene whose parameters (like camera position, angle, background color, etc.)

Re: [NTG-context] mp-geo Metapost package with ConTeXt

2021-07-27 Thread Alan Braslau via ntg-context
On 27/07/21 08:12, Gavin via ntg-context wrote: Hi All, Getting Closer I asked: 2) While I’m having good luck with paths, colors are causing trouble. In the data set the color information is in strings with French names of the color, like “rouge.” If I hand this string to MetaPost, MetaPost

Re: [NTG-context] mp-geo Metapost package with ConTeXt

2021-07-27 Thread Gavin via ntg-context
Hi All, Getting Closer I asked: >> 2) While I’m having good luck with paths, colors are causing trouble. In the >> data set the color information is in strings with French names of the color, >> like “rouge.” If I hand this string to MetaPost, MetaPost doesn’t expand i

Re: [NTG-context] mp-geo Metapost package with ConTeXt

2021-07-26 Thread Aditya Mahajan via ntg-context
On Mon, 26 Jul 2021, Gavin via ntg-context wrote: > 2) While I’m having good luck with paths, colors are causing trouble. In the > data set the color information is in strings with French names of the color, > like “rouge.” If I hand this string to MetaPost, MetaPost doesn

[NTG-context] Multimedia, PDF and ConTeXt

2021-07-26 Thread Michal Vlasák via ntg-context
vince segfaults). Acrobat and Foxit support this mechanism as well, but Acrobat only allows embedded files. Okular by mistake auto-plays all media [1]. 4) 3D art - First appeared in PDF 1.6 (2004). - Only 3D files supported. This means U3D and later PRC files. The 3D objects describe

Re: [NTG-context] mp-geo Metapost package with ConTeXt

2021-07-26 Thread Gavin via ntg-context
for MetaPost to grab information from a Lua table? Currently the MetaPost code calls a Lua function which has a single line returning the information from the table. Is this necessary, or is these something in MetaPost that can get a path or color from a Lua table? 2) While I’m having good luck

Re: [NTG-context] Texte source 30 / 5000 Résultats de traduction Adjust the length of a frame

2021-07-26 Thread Wolfgang Schuster via ntg-context
\setupbodyfont[newcomputermodern-book,11pt] \defineframed    [ACFRAME]    [frame=off,     width=fit,     align=flushleft,     location=low,     background=color,     backgroundcolor=lightgray,     foregroundcolor=,     foregroundstyle=] \startuseMPgraphic{acframe} fill OverlayBox

[NTG-context] Texte source 30 / 5000 Résultats de traduction Adjust the length of a frame

2021-07-26 Thread Fabrice Couvreur via ntg-context
] [frame=off, width=fit, align=flushleft, location=low, background=color, backgroundcolor=lightgray, foregroundcolor=, foregroundstyle=] \setupenumerations [before={\blank}, after={\blank}, alternative=top, title=yes, titleleft={}, titleright

[NTG-context] \setupinitial: style Parameter resets size

2021-07-25 Thread Axel Kielhorn
before LMTX, thus it is not a regression. % !TEX TS-program = ConTeXt (LuaTeX LMTX2021) % !TEX encoding = UTF-8 Unicode \starttext \setupinitial[color=red] \start \setupinitial[n=2,m=1] \placeinitial\input ward \stop \start \setupinitial[style=\tf,n=2,m=1] \placeinitial\input ward \stop

Re: [NTG-context] Every odd row with a background color with extreme tables?

2021-07-23 Thread T. Kurt Bond
Thanks, this has been very helpful. On Fri, Jul 23, 2021 at 1:02 PM Wolfgang Schuster < wolfgang.schuster.li...@gmail.com> wrote: > T. Kurt Bond schrieb am 23.07.2021 um 17:55: > > With natural tables I can define a color, tell the table to have to > > use color backgroun

Re: [NTG-context] Every odd row with a background color with extreme tables?

2021-07-23 Thread Wolfgang Schuster
T. Kurt Bond schrieb am 23.07.2021 um 17:55: With natural tables I can define a color, tell the table to have to use color backgrounds and turn the frame off and get every odd row in all my tables will have that color for the background. == Example

Re: [NTG-context] Every odd row with a background color with extreme tables?

2021-07-23 Thread Henning Hraban Ramm
> Am 23.07.2021 um 17:55 schrieb T. Kurt Bond : > > With natural tables I can define a color, tell the table to have to > use color backgrounds and turn the frame off and get every odd row in > all my tables will have that color for the background. > > Can I get this sam

[NTG-context] Every odd row with a background color with extreme tables?

2021-07-23 Thread T . Kurt Bond
With natural tables I can define a color, tell the table to have to use color backgrounds and turn the frame off and get every odd row in all my tables will have that color for the background. == Example \definecolor[grayback][r

Re: [NTG-context] another MetaPost question (this time on ConTeXt->MetaPost

2021-07-22 Thread Hans Hagen
On 7/22/2021 2:59 PM, Rudd, Kevin wrote: Hey--- There seems to be a change with color transfer from ConTeXt to MetaPost. Using string references to defined (spot?) colors seemed to work but now does not; all of my colorful figures are now rendered only in shades of gray when using defined

<    1   2   3   4   5   6   7   8   9   10   >