[NTG-context] transparency stopped working in LMTX

2021-09-07 Thread Henning Hraban Ramm via ntg-context
(Latest LMTX, yesterday’s luametatex binary) The MWE shows no transparency with LMTX, it works with MkIV: ''' \setupexternalfigures[location=default] \definetransparency[light][a=1,t=.05] \definelayer[bg][x=0mm,y=0mm] \setupbackgrounds[text][background={bg},state=start] \starttext

[NTG-context] MetaFun : textext.dflt / textext.dlft and MkIV / LMTX

2021-09-05 Thread Garulfo via ntg-context
Pict /2 , (bbheight Pict / -2) ) ; Pict := Pict rotated 45; Pict := Pict shifted (.5PaperWidth, .5PaperHeight) ; draw Pict withcolor darkyellow ; StopPage ; \stopuseMPgraphic %- \defineoverlay[MonOverlay][\useMPgraphic{MonGraphique}] \setupbackgrounds[page][background=MonOverlay

Re: [NTG-context] Use MetaPost to distort images?

2021-09-05 Thread Hans Hagen via ntg-context
.5 1.5` echo $OUTPUT ${ROTATION}˚ # downscale, add a white border and a shadow, rotate, move down, add a piece of tape (tesa1.png), grayscale convert "$INPUT" \ -auto-orient \ -resize 800x800 \ -bordercolor white -border 10 \ \( +clone -background black -shadow 80x3+2+2 \) +swap \ -backgrou

Re: [NTG-context] Use MetaPost to distort images?

2021-09-05 Thread Henning Hraban Ramm via ntg-context
a piece of tape (tesa1.png), grayscale convert "$INPUT" \ -auto-orient \ -resize 800x800 \ -bordercolor white -border 10 \ \( +clone -background black -shadow 80x3+2+2 \) +swap \ -background transparent \ -layers merge \ -rotate ${ROTATION} \ +repage \ -gravity north \ -splice 0x10 \ \(

Re: [NTG-context] layer disappears when showframe is set

2021-08-27 Thread juh via ntg-context
Hi Wolfgang, thanks a lot for your help. Am Thu, Aug 26, 2021 at 05:52:11PM +0200 schrieb Wolfgang Schuster: > To keep the layer setting you have to move \showframe above your own > \setupbackgrounds command because the reset of the background-key happens > then before you pass your

Re: [NTG-context] layer disappears when showframe is set

2021-08-26 Thread Wolfgang Schuster via ntg-context
]} \setupbackgrounds[header][background=Cow] \showframe \starttext \input knuth \stoptext The \showframe command is just a wrapper for \setupbackgrounds to enable the frames on certain parts of the page. One of the settings which are passed to \setupbacgrounds when you use \showframe is "backg

[NTG-context] layer disappears when showframe is set

2021-08-26 Thread juh via ntg-context
Hi, this sample shows that the image in a layer in header disappears if showframe is set. \setupexternalfigures[location=default] \definelayer[Cow] [x=0, y=0] \setlayer[Cow] [x=10em, y=0mm] {\externalfigure[cow][height=\lineheight]} \setupbackgrounds[header][background=Cow] \showframe

Re: [NTG-context] Place a logo at the bottom of the page with a layer

2021-08-24 Thread Wolfgang Schuster via ntg-context
] \definelayer [MyLogo] [doublesided=yes, width=\paperwidth, height=\paperheight, repeat=yes] \setupbackgrounds [page] [background=MyLogo] \setuppagenumbering [alternative=doublesided] \setlayer [MyLogo] [left] [preset=leftbottom, x=\dimexpr\cutspace-\rightmargindistance

[NTG-context] Place a logo at the bottom of the page with a layer

2021-08-24 Thread Fabrice Couvreur via ntg-context
=\paperwidth, height=\paperheight, repeat=yes] \setupbackgrounds[page][background=MyLogo] \setlayer [MyLogo] [hoffset=\dimexpr\textwidth+\backspace+\rightmargindistance\relax, voffset=\dimexpr\topspace+\textheight+\footerheight\relax] {\externalfigure[dum][width=\rightmarginwidth

Re: [NTG-context] lmtx update/t-vim (again)

2021-08-23 Thread Benjamin Buchmuller via ntg-context
=on, framecolor=black, background=, location=paragraph, ] \definevimtyping[vimR] [ syntax=r, space=off, lines=split, numbering=yes, numberstep=5, alternative=pscolor, margin=.5em, style={\switchtobodyfont[type

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
d then taking those dimensions Many thanks for your reply, Hans. I’m afraid I don’t know how to make the commands work: \setupexternalfigures[location=default] \definelayer[hi] [x=.5\dimexpr\framedwidth\relax, y=.5\dimexpr\framedheight\relax] \setupbackgrounds[page][background=

Re: [NTG-context] paper dimensions for TEXpage

2021-08-17 Thread Hans Hagen via ntg-context
On 8/17/2021 5:56 AM, Pablo Rodriguez via ntg-context wrote: Dear list, I have the following sample: \definelayer[hi][x=.5\paperwidth, y=.5\paperheight] \setupbackgrounds[page][background=hi] \starttext \setlayer[hi]{hi} \startTEXpage[offset=10em] \null \stopTEXpage

[NTG-context] paper dimensions for TEXpage

2021-08-16 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \definelayer[hi][x=.5\paperwidth, y=.5\paperheight] \setupbackgrounds[page][background=hi] \starttext \setlayer[hi]{hi} \startTEXpage[offset=10em] \null \stopTEXpage \stoptext I don’t get the layer in the TEXpage. How could I get

Re: [NTG-context] JavaScript in multimedia PDF

2021-08-10 Thread Michal Vlasák via ntg-context
, may cause surprising interactions when around normal typsetting content. Putting the whatsit insertion in a page background is a way to keep it away. "back-swf.mkiv" suggests: \setupbackgrounds[page][background=resources] \setlayer[resources]{\placerenderingwindow[foo][foo]}

[NTG-context] using a red frame as an overlay

2021-08-02 Thread Jeong Dal via ntg-context
Frame}] \defineframedtext[rfText] [frame=off, background=rFrame, offset=\bodyfontsize, width=\textwidth, before=\blank, after=\blank] \def\StartFrame{\blank\startrfText} \def\StopFrame {\stoprfText\blank} \starttext \StartFrame This is a test for the frame. This is a test for the frame. This is a

Re: [NTG-context] multimedia PDF in ConTeXt

2021-07-31 Thread Pablo Rodriguez via ntg-context
longer supports this. > [...] > But, you can use renderings instead: > > \useexternalrendering[myaudiorendering] > [audio/mp3][audio.mp3][embed=yes] > > \definerenderingwindow[audiowindow] > [width=0sp, height=0sp] > > \definelayer[resources] >

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] multimedia PDF in ConTeXt

2021-07-30 Thread Michal Vlasák via ntg-context
th=0sp, height=0sp] \definelayer[resources] \setupbackgrounds[page][background=resources] \setlayer[resources]{\placerenderingwindow[audiowindow][myaudiorendering]} \goto{PLAY SOUND}[StartRendering{myaudiorendering}] This is basically the example from "/back-swf.mkiv". W

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] 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.)

[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] 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

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

2021-07-23 Thread T. Kurt Bond
ds 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=.8,g=.8,b=.8] > > \setupTABL

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] Layers – when do they repeat?

2021-07-21 Thread Henning Hraban Ramm
m, >leftmargindistance=4mm, >leftmargin=57mm, > ] > > \definelayer[leftmargin][ >x=0mm,y=3mm, > width=\leftmarginwidth, >height=\textheight > ] > > \setupbackgrounds[text][leftmargin][background=leftmargin,state=start] > > \starttext > > \

Re: [NTG-context] reusableMPgraphic

2021-07-15 Thread Jairo A. del Rio
itsquare xyscaled (1mm,1mm) withcolor blue ; > > \stopreusableMPgraphic > > > > \definelayer[foldingmarkslayer][width=\paperwidth,height=\paperheight] > > \setlayer[foldingmarkslayer][y=101mm,x=11mm]{\reuseMPgraphic{fold}} > > > > \setupbackgrounds [page][b

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

2021-07-15 Thread Hans Hagen
the authors. There are indeed funny characters in the files but nothing your bilingual local context user group member Alan couldn't help you with (a good reason to visit him. My french is too rusty (even with some french music running in the background right now.) If you can get that code

Re: [NTG-context] Header for a book

2021-07-13 Thread Wolfgang Schuster
apterframe] [\useMPgraphic{chapterframe}] \defineframedtext [ChapterFrame] [frame=off, background=chapterframe, width=max, height=6cm, after={\blank[2*line]}, offset=0pt] \setuphead [chapter] [align=flushright, textcommand=\groupedcommand{\blank[medium]}{}, numbercolor=darkgray,

[NTG-context] Problem with chapter numbering

2021-07-13 Thread Fabrice Couvreur
. Thanks. Fabrice ### \definecolor[MyColorA][r=0.8784, g=0.8784, b=0.8784] \defineframedtext [FramedText] [ offset=0.6em, style=, toffset=\lineheight, background=color, backgroundcolor

Re: [NTG-context] Header for a book

2021-07-13 Thread Fabrice Couvreur
gt; > \definecolor[MyColorA][r=0.8784, g=0.8784, b=0.8784] > \defineframedtext > [FramedText] > [ > offset=0.6em, > style=, > toffset=\lineheight, > background=color, > backgroundcolor=MyCo

Re: [NTG-context] weekend upload

2021-07-12 Thread Jeong Dal
ons \defineframed [boxframed] [ width=6em, height=2\lineheight, align={middle,lohi}, background=color, backgroundcolor=blue, foregroundcolor=white, forefroundstyle=bold, ] \startuseMPgraphic[offset=2mm]{boxes} boxit.A("\boxframed{Box A}"); boxit.B(&qu

Re: [NTG-context] reusableMPgraphic

2021-07-12 Thread Wolfgang Schuster
; \stopreusableMPgraphic \definelayer[foldingmarkslayer][width=\paperwidth,height=\paperheight] \setlayer[foldingmarkslayer][y=101mm,x=11mm]{\reuseMPgraphic{fold}} \setupbackgrounds [page][background=foldingmarkslayer] \starttext Test \stoptext The error I get: tex error on line 6 in file ./test.tex: Use

[NTG-context] reusableMPgraphic

2021-07-12 Thread Thomas A. Schmitz
=\paperwidth,height=\paperheight] \setlayer[foldingmarkslayer][y=101mm,x=11mm]{\reuseMPgraphic{fold}} \setupbackgrounds [page][background=foldingmarkslayer] \starttext Test \stoptext The error I get: tex error on line 6 in file ./test.tex: Use of \meta_usempgraphic_nop doesn't match its

[NTG-context] Header for a book

2021-07-12 Thread Fabrice Couvreur
in the body of the text. Thanks for your help. Fabrice \definecolor[MyColorA][r=0.8784, g=0.8784, b=0.8784] \defineframedtext [FramedText] [ offset=0.6em, style=, toffset=\lineheight, background=color, backgroundcolor=MyColorA

Re: [NTG-context] weekend upload

2021-07-12 Thread Hans Hagen
s, stacking doesn't completely work with the boxes macro. drawunboxed is always drawn on stack 0, which the bpath is drawn on the right stack. That is the reason I use stack = -1 to put the highlight in the "background". in a netx upload this will work ok \startMPpage[offset=2mm, st

Re: [NTG-context] weekend upload

2021-07-12 Thread Hans Hagen
s, stacking doesn't completely work with the boxes macro. drawunboxed is always drawn on stack 0, which the bpath is drawn on the right stack. That is the reason I use stack = -1 to put the highlight in the "background". I need to ckeck if the range checked does negative numbers ...

Re: [NTG-context] weekend upload

2021-07-11 Thread Aditya Mahajan
ditya PS: Hans, stacking doesn't completely work with the boxes macro. drawunboxed is always drawn on stack 0, which the bpath is drawn on the right stack. That is the reason I use stack = -1 to put the highlight in the "background"

Re: [NTG-context] columnsets messed up

2021-07-02 Thread Hans Hagen
can probably get rid of some side effects and maigt even force that but not now). Then, \chapter itself flushes pages so that should be disabled. Here is a simple example: \setuplayout[lines=40,grid=yes] \definecolumnset[cgjcolset][n=2] \starttext \definecolumnsetspan [chapter] [background

[NTG-context] Layers – when do they repeat?

2021-07-01 Thread Henning Hraban Ramm
, ] \definelayer[leftmargin][ x=0mm,y=3mm, width=\leftmarginwidth, height=\textheight ] \setupbackgrounds[text][leftmargin][background=leftmargin,state=start] \starttext \setlayerframed[leftmargin][ frame=off, offset=overlay, width=\leftmarginwidth, align={flushleft,verytolerant

Re: [NTG-context] textbackground not working

2021-06-25 Thread Hans Hagen
On 6/25/2021 8:33 AM, Christoph Reller wrote: Hi, Consider the MWE: \definetextbackground[background][   background=color,   backgroundcolor=gray] \starttext \starttextbackground[background] Test \stoptextbackground \stoptext In the latest version 2021-06-24 of ConTeXt LMTX

[NTG-context] textbackground not working

2021-06-25 Thread Christoph Reller
Hi, Consider the MWE: \definetextbackground[background][ background=color, backgroundcolor=gray] \starttext \starttextbackground[background] Test \stoptextbackground \stoptext In the latest version 2021-06-24 of ConTeXt LMTX, the textbackground is not working. Could this be a bug or am I

[NTG-context] Natural tables framecolor=white regression

2021-06-20 Thread Christoph Reller
Hi, Consider the following MWE: \starttext \setupTABLE[ rulethickness=5pt, framecolor=white, %red, background=color, backgroundcolor=gray, frame=off] \setupTABLE[1][2][foregroundcolor=white, topframe=on] \setupTABLE[r][2][topframe=on] \bTABLE[setups=table:color] \bTR \bTD One

Re: [NTG-context] [#1] CJK regression? | lmtx-20210613 .

2021-06-14 Thread Hans Hagen
). no, it's a side effect of something else (which shows up with these extremeely large fonts > 65k glyphs) .. i'll look into it tomorrow I uploaded a new lmtx ... kind of experimental because I changes some of the background bist that deals with embedding. The problem is that we need to d

Re: [NTG-context] new upload

2021-06-14 Thread Hans Hagen
thanks for the new latest, Hans. I have compiled the sample from page-ffl.mkxl: \starttext \definefacingfloat [whatever] \setupfacingfloat [whatever] [style=bold, width=frame, offset=10pt, color=white] \setupfacingfloat [whatever:left] [background=color

Re: [NTG-context] new upload

2021-06-14 Thread Pablo Rodriguez
new latest, Hans. I have compiled the sample from page-ffl.mkxl: \starttext \definefacingfloat [whatever] \setupfacingfloat [whatever] [style=bold, width=frame, offset=10pt, color=white] \setupfacingfloat [whatever:left] [background=color, backgroundcolor=red]

[NTG-context] new in upload

2021-06-09 Thread Hans Hagen
withpen pencircle scaled 1pt withcolor "green" ; draw anchorcell (3,3) withpen pencircle scaled 1pt withcolor "red" ; \stopoverlayMPgraphic \starttabulate[synchronize=background,background=mp:whatever-6,format={|l|c|r|}] \NC test \NC test \NC test

Re: [NTG-context] frameoffset in textbackground?

2021-06-08 Thread Wolfgang Schuster
, whatever frameoffset= is set to. The textbackground mechanism uses MetaPost to draw the background, lines etc. Not all options are available for each background, e.g. frameoffset works by default only for side lines. Wolfgang

Re: [NTG-context] help with xtreme tables

2021-06-08 Thread Ajith R
at linetables that \setuplinetable[n=6,lines=40] % \setuplinetable[c][1] [width=2cm,background=color,backgroundcolor=red] % \setuplinetable[c][4] [width=3cm,background=color,backgroundcolor=yellow] % \setuplinetable[c][6] [width=3cm,background=color,backgroundcolor=magenta] % \setuplinetable[r][even

Re: [NTG-context] help with xtreme tables

2021-06-08 Thread Hans Hagen
and \stopxtablenext? Note: I am just typing the outline of the code as the cell definitions is very long and hopefully my requirement is clear without the entire cell definitions. better look at linetables that \setuplinetable[n=6,lines=40] % \setuplinetable[c][1] [width=2cm,background=color

[NTG-context] new upload

2021-06-04 Thread Hans Hagen
olor "blue" ; draw matrixbox (2, 2) (4, 4) enlarged OverlayOffset shifted paired(OverlayOffset) withpen pencircle scaled 1pt withcolor "red" ; \stopoverlayMPgraphic \framed [synchronize=background, align=normal, frame=off, background=mp:whatever-6, backgroundo

Re: [NTG-context] new upload

2021-06-01 Thread Hans Hagen
efineoverlay[whatever-5][\useMPgraphic{whatever-5}] \framed [synchronize=background, align=normal, frame=off, background=whatever-5] {\setmathmatrixanchoring[both]% left|right|both|yes % {\setmathmatrixanchoring[right]% left|right|both|yes \startmathmatrix \NC a1 \N

Re: [NTG-context] new upload

2021-05-31 Thread Hans Hagen
"three", 0, 1) withcolor "blue" withtransparency (1,.75) ; setbounds currentpicture to OverlayBox ; \stopuseMPgraphic \defineoverlay[whatever-1][\useMPgraphic{whatever-1}] \defineoverlay[whatever-2][\useMPgraphic{whatever-2}] \framed [synchronize=yes, align=no

[NTG-context] new upload

2021-05-31 Thread Hans Hagen
t;blue" withtransparency (1,.75) ; setbounds currentpicture to OverlayBox ; \stopuseMPgraphic \defineoverlay[whatever-1][\useMPgraphic{whatever-1}] \defineoverlay[whatever-2][\useMPgraphic{whatever-2}] \framed [synchronize=yes, align=normal, offset=10pt, frame=off, backgroun

Re: [NTG-context] lmtx and defined placeinitial color

2021-05-25 Thread Eduardo Bohoyo
You are welcome. Obviously, it's a dirty trick. For example, it falls down if we have a non-white background on our page. Hopefully LMTX won't take long to update. Eduardo Bohoyo El 26/5/21 a las 0:01, jbf escribió: Thanks Eduardo. Hans had seen the problem and the latest upgrade solves

Re: [NTG-context] NotoColorEmoji - loca table not found

2021-05-14 Thread Hans Hagen
the problem is this: these png emoji are using palettes + masks and that combinaiton gives: - with gm (gs) : white background - with mutool : black background - with luatex : a mess - with lmtx: what we want now, testing all this takes a lot of time in mkiv because building the cache file ta

Re: [NTG-context] NotoColorEmoji - loca table not found

2021-05-14 Thread Adam Reviczky
read that it is bitmap only. > > > > I do get a white background though (MKIV), is that how the bitmap is > > stored? > > > > > > In LuaLaTeX with Harfbuzz shaper as well as ConTeXt LMTX, transparency > > is properly handled, so I suppose ConTeXt

Re: [NTG-context] NotoColorEmoji - loca table not found

2021-05-14 Thread Hans Hagen
On 5/14/2021 3:21 AM, Jairo A. del Rio wrote: El jue, 13 de may. de 2021 a la(s) 19:52, Adam Reviczky (revic...@gmail.com <mailto:revic...@gmail.com>) escribió: Thanks Jairo, That indeed works, should've read that it is bitmap only. I do get a white background though

Re: [NTG-context] NotoColorEmoji - loca table not found

2021-05-13 Thread Jairo A. del Rio
El jue, 13 de may. de 2021 a la(s) 19:52, Adam Reviczky (revic...@gmail.com) escribió: > Thanks Jairo, > > That indeed works, should've read that it is bitmap only. > > I do get a white background though (MKIV), is that how the bitmap is > stored? > > In LuaLaTeX with

Re: [NTG-context] NotoColorEmoji - loca table not found

2021-05-13 Thread Adam Reviczky
Thanks Jairo, That indeed works, should've read that it is bitmap only. I do get a white background though (MKIV), is that how the bitmap is stored? \definefontfeature[Emoji][default][sbix=yes] \starttext \framed[background=color,background=black]{\definedfont[file:NotoColorEmoji.ttf*Emoji

Re: [NTG-context] Fuzzy lines

2021-05-13 Thread Thomas A. Schmitz
=12cm,frame=on,background=Fuzzy,align={middle,lohi}] {Test} \stopTEXpage test.pdf Description: Adobe PDF document ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg

[NTG-context] SVG transparent stroke shown

2021-05-06 Thread Thangalin
: The SVG is generated using GraphViz, which adds a white box as the background with a transparent border. The GraphViz is being invoked over a rest API. Even if the binary has a setting to change the border colour, that setting probably isn't accessible via HTTP POST

Re: [NTG-context] Double-sided layer

2021-05-06 Thread Wolfgang Schuster
[directory=images_bearbeitet_png] \definelayer [backgroundimage] [width=\paperwidth, height=\paperheight, state=repeat, doublesided=yes] \setupbackgrounds [page] [background=backgroundimage] \setlayer [backgroundimage] [right] [x=\backspace, y=\dimexpr\topspace+\headerheight+\head

Re: [NTG-context] layers x 2

2021-04-27 Thread jbf
am Mi., 28. Apr. 2021, 06:53: It is not clear to me. I have two \setupbackgrounds as you can see. If I put setupbackgrounds[page][background=blessings,tree] for the first one I get the tree but not the blessing graphic. If I also have the same for the second one (\setupbackg

Re: [NTG-context] layers x 2

2021-04-27 Thread Wolfgang Schuster
Move both \definelayer and \setupbackgrounds to the start of the document and put braces ({...}) around the list entry. Wolfgang jbf schrieb am Mi., 28. Apr. 2021, 06:53: > It is not clear to me. I have two \setupbackgrounds as you can see. If I > put setupbackgrounds[page][back

Re: [NTG-context] layers x 2

2021-04-27 Thread jbf
It is not clear to me. I have two \setupbackgrounds as you can see. If I put setupbackgrounds[page][background=blessings,tree] for the first one I get the tree but not the blessing graphic. If I also have the same for the second one (\setupbackgrounds[page][background=blessings,tree]) I get

Re: [NTG-context] layers x 2

2021-04-27 Thread Wolfgang Schuster
externalfigure[bless.eps][width=3cm]} % the actual contents of > the layer > \setupbackgrounds[page][background=blessings] > > \definelayer[tree] % name of the layer > [x=0mm, y=0mm, % from upper left corner of paper > width=\paperwidth, height=\paperheight] % let the

[NTG-context] layers x 2

2021-04-27 Thread jbf
the layer cover the full paper \setlayer[blessings]    % name of the layer     [hoffset=.09\textwidth, voffset=1.7cm]  % placement (from upper left corner of the layer)     {\externalfigure[bless.eps][width=3cm]}  % the actual contents of the layer \setupbackgrounds[page][background=blessings

Re: [NTG-context] [formatting verbatim text]

2021-04-26 Thread Floris van Manen
to include a highlight definition with white font on black background with an inframed, but that doesn't seem to work (in my definitions that is) ___ If your question is of interest to others as well, please add

Re: [NTG-context] autopdf on MacOS?

2021-04-16 Thread Hans Åberg
> On 16 Apr 2021, at 10:36, Thomas A. Schmitz > wrote: > > On 4/16/21 10:26 AM, Hans Åberg wrote: >>> That it doesn’t update in the background is more a feature than a bug, >>> otherwise it would complain about broken/unavailable files during the TeX >>&

Re: [NTG-context] autopdf on MacOS?

2021-04-16 Thread Thomas A. Schmitz
On 4/16/21 10:26 AM, Hans Åberg wrote: That it doesn’t update in the background is more a feature than a bug, otherwise it would complain about broken/unavailable files during the TeX runs. It is likely a bug: It has worked in some past versions. It still works for me (I'm on the latest

Re: [NTG-context] autopdf on MacOS?

2021-04-16 Thread Hans Åberg
e versions of Preview, one get an extra copy so that they must eventually be all closed by hand. > That it doesn’t update in the background is more a feature than a bug, > otherwise it would complain about broken/unavailable files during the

Re: [NTG-context] autopdf on MacOS?

2021-04-15 Thread Hans van der Meer
is not updated unless switching to the Preview >> application. >> >> It something wrong here? Is it not functional in MacOS? Am I missing some >> clue? > > Apple’s Preview updates only on activation, and not reliably (for me, it > often crashes). > > That it does

Re: [NTG-context] autopdf on MacOS?

2021-04-15 Thread Henning Hraban Ramm
nd not reliably (for me, it often crashes). That it doesn’t update in the background is more a feature than a bug, otherwise it would complain about broken/unavailable files during the TeX runs. Hraban ___ If your question

Re: [NTG-context] Hyphenation patterns

2021-04-09 Thread Arthur Rosendahl
line 4817, is an “additional pattern”. The background story is that hyphen.tex, the original hyphenation pattern file for American English, produced in 1982-1983 from a list of hyphenated words (following mostly Webster’s), was later augmented with more patterns that were supposed to improve hyphenation

[NTG-context] working on page refs with MP

2021-03-18 Thread Werner Hennrich
[\setups{page:header}]% \startsetups page:header \setupMPvariables[hdrPgs] [curr=\pagenumber, first={\ref[page][\headerfirst]}, next={\ref[page][\headernext]}] \framed[ frame=off, background={hdrPgs} ]{}% all to be done in MP \stopsetups \defineoverlay[hdrPgs

Re: [NTG-context] lmt_outline

2021-03-11 Thread Mohammad Hossein Bateni
, > > fillcolor = "white", > > kind = "reverse", > > align = "r2l", > > ] scaled 3mm; > > \stopMPcode > > \stoptext > > > > 1. This works well on a plain background. I can specify the background > > color in fillcol

Re: [NTG-context] lmt_outline

2021-03-10 Thread Aditya Mahajan
uot;, > kind = "reverse", > align = "r2l", > ] scaled 3mm; > \stopMPcode > \stoptext > > 1. This works well on a plain background. I can specify the background > color in fillcolor and get the outline effect. When the background is an > ima

[NTG-context] lmt_outline

2021-03-10 Thread Mohammad Hossein Bateni
efinedfont[dejavusansmono*arabic] \setupalign[r2l] \startMPcode draw lmt_outline [ text = "سلام", drawcolor = "red", fillcolor = "white", kind = "reverse", align = "r2l", ] scaled 3mm; \stopMPcode \stoptext 1. This works well on a plain backgrou

[NTG-context] ConTeXt, KeenWrite, Markdown, and XHTML

2021-03-06 Thread Thangalin
know. \stopstanza \startstanza And miles to go before I sleep. \stopstanza \stoppoem In case this is an XY problem, background details follow. In a nutshell: convert a processed Markdown file that includes interpolated variables, arbitrary classes, and output from R functions into a format

Re: [NTG-context] Center a text (Metafun)

2021-03-06 Thread Wolfgang Schuster
ou Fabrice \definecolor[MyBlue][c=0.2 , m=0.03, y=0.00, k=0.00] \definecolor[maincolor] [b=.5] \defineframedtext    [MyFrame]    [frame=off,     background=MyFrame,     width=fit,     height=fit,     style=small] \startuseMPgraphic{MyFrame}      path b;      picture p;      p := textex

[NTG-context] Center a text (Metafun)

2021-03-06 Thread Fabrice Couvreur
00, k=0.00] \definecolor[maincolor] [b=.5] \defineframedtext [MyFrame] [frame=off, background=MyFrame, width=fit, height=fit, style=small] \startuseMPgraphic{MyFrame} path b; picture p; p := textext.rt("\tfx\bf\white\framedtextparameter{Title}");

Re: [NTG-context] Shaded large letters in LMTX

2021-03-02 Thread Keith McKay
i;     endfor ;     eofill bb withcolor "darkgreen" ; % you need to specify your background     clip currentpicture to bb ; \stopMPpage I think I should add that to the metafun manual. Hans -  

Re: [NTG-context] Shaded large letters in LMTX

2021-03-02 Thread Hans Hagen
p := bb enlarged 2cm ; fill pp withshademethod "linear" withshadedirection down withshadecolors (red, blue) ; for i within tt : nofill pathpart i; endfor ; eofill bb withcolor "darkgreen" ; % you need to specify your background clip cur

Re: [NTG-context] Questions for eTABLE

2021-02-23 Thread Alain Delmotte
] \setupbodyfont[dejavu,10pt,ss] % setups and example thanks to Wolfgang Schuster \startsetups[tablesettings] \setupTABLE[start][framecolor=gray,loffset=.5ex,roffset=.5ex] \setupTABLE[row][first][background="">

Re: [NTG-context] Questions for eTABLE

2021-02-22 Thread Wolfgang Schuster
,loffset=.5ex,roffset=.5ex] \setupTABLE[row][first][background=color,backgroundcolor=tableheader,foregroundcolor=white] \setupTABLE[first][first][corner=08] \setupTABLE[last][first][corner=05] \setupTABLE[first][last][corner=07] \setupTABLE[last][last][corner=06] \stopsetups \starttext {\bf

[NTG-context] Questions for eTABLE

2021-02-22 Thread Alain Delmotte
,loffset=.5ex,roffset=.5ex] \setupTABLE[row][first][background=""> \setupTABLE[first][first][corner=08] \setupTABLE[last][first][corner=05] \setupTABLE[first][last][corner=07] \setupTABLE[last][last][corner=06] \stopsetups \starttext

Re: [NTG-context] Lua code and table

2021-02-17 Thread Bruce Horrocks
= "middle", style = "type", background = "DiagonalRule", } local letters_1 = { "A", "B", "C", "D", "E", "F", "G", "H" } local pattern_1 = { ".XXX..XX", "X...

Re: [NTG-context] Lua code and table

2021-02-17 Thread Tomas Hala
   \NC\NR #  \stoptabulate #} #\starttext #\startluacode #  local background_one = { #   align = "middle", #   style = "type", #   background = "DiagonalRule", #  } # #  local letters_1 = { "A", "B", "C

[NTG-context] Lua code and table

2021-02-17 Thread Fabrice Couvreur
\NC \bf #1 \NC\NC\NR \stoptabulate } \starttext \startluacode local background_one = { align = "middle", style = "type", background = "DiagonalRule", } local letters_1 = { "A", "B", "C", "D", "E

Re: [NTG-context] Are positional graphics still working?

2021-02-17 Thread Jairo A. del Rio
\defineoverlay[frames][\positionoverlay{frames}] > > > > \setupbackgrounds[text][background=frames] > > > > > > \startMPpositiongraphic{frame} > > > > if unknown context_apos : input mp-apos.mpiv ; fi ; > > > > \MPgetposboxes{\MPvar{self}}{\MPa

Re: [NTG-context] Are positional graphics still working?

2021-02-17 Thread Hans Hagen
On 2/17/2021 12:18 AM, Jairo A. del Rio wrote: I've copied the following example from the ConTeXt archive: \defineoverlay[frames][\positionoverlay{frames}] \setupbackgrounds[text][background=frames] \startMPpositiongraphic{frame} if unknown context_apos : input mp-apos.mpiv ; fi

[NTG-context] Are positional graphics still working?

2021-02-16 Thread Jairo A. del Rio
I've copied the following example from the ConTeXt archive: \defineoverlay[frames][\positionoverlay{frames}] \setupbackgrounds[text][background=frames] \startMPpositiongraphic{frame} if unknown context_apos : input mp-apos.mpiv ; fi ; \MPgetposboxes{\MPvar{self}}{\MPanchorid} if nofposboxes

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