Re: [NTG-context] MetaFun: how to check the number of arguments

2019-01-16 Thread Hans Hagen
o manipulate this blank even page. There are several things I would like to do, eg. having no headers and footers, setting the background color to a named color, placing an image or some graphics on the page. Is there a way to define such a page, name it and call it in \startchapter so that it

Re: [NTG-context] MetaFun: how to check the number of arguments

2019-01-15 Thread Jeong Dal
an 2019 16:56:40 +0100 >>> From: Wolfgang Schuster >>> To: mailing list for ConTeXt users , "Jan U. >>> Hasecke" >>> Subject: Re: [NTG-context] Manipulating the left blank page when >>> chapter starts on the right page >>> Me

Re: [NTG-context] MetaFun: how to check the number of arguments

2019-01-15 Thread Hans Hagen
nt \startchapter and \starttitle starts a new chapter on the right (odd) page. So sometimes, there is a blank even page just before a new chapter. I would like to manipulate this blank even page. There are several things I would like to do, eg. having no headers and footers, setting the backgroun

Re: [NTG-context] inline textbackgrounds across linebreaks

2019-01-15 Thread Hans Hagen
underlining and uppercasing :( Because of its flexibility, I try to use text backgrounds, but that seems to only work when the text does not break across lines: when on one line, the background starts and stops at the right spot, great! But if there is a line break, then it underlines complete lines

Re: [NTG-context] inline textbackgrounds across linebreaks

2019-01-15 Thread Mohammad Hossein Bateni
> bunch of french clients, and this is a requirement I cannot get around. > French > officials _love_ underlining and uppercasing :( > > Because of its flexibility, I try to use text backgrounds, but that seems > to > only work when the text does not break across lines: when o

[NTG-context] inline textbackgrounds across linebreaks

2019-01-15 Thread Taco Hoekwater
flexibility, I try to use text backgrounds, but that seems to only work when the text does not break across lines: when on one line, the background starts and stops at the right spot, great! But if there is a line break, then it underlines complete lines, even for the first and last line. Is

[NTG-context] MetaFun: how to check the number of arguments

2019-01-14 Thread Jeong Dal
Jan 2019, Jan U. Hasecke wrote: >>> >>>> Hi all, >>>> >>>> in my document \startchapter and \starttitle starts a new chapter on the >>>> right (odd) page. So sometimes, there is a blank even page just before a >>>> new chapte

Re: [NTG-context] Manipulating the left blank page when chapter starts on the right page

2019-01-14 Thread Wolfgang Schuster
Jan U. Hasecke schrieb am 14.01.19 um 08:39: Am 13.01.19 um 16:56 schrieb Wolfgang Schuster: Here is a example which shows how you can change the background color of a empty page before the chapter title. \setuppagenumbering   [alternative=doublesided] \startsetups [chapter:before

Re: [NTG-context] Manipulating the left blank page when chapter starts on the right page

2019-01-13 Thread Jan U. Hasecke
Am 13.01.19 um 16:56 schrieb Wolfgang Schuster: > Here is a example which shows how you can change the background color > of a empty page before the chapter title. > > \setuppagenumbering >   [alternative=doublesided] > > \startsetups [chapter:before]

Re: [NTG-context] Manipulating the left blank page when chapter starts on the right page

2019-01-13 Thread Wolfgang Schuster
before a new chapter. I would like to manipulate this blank even page. There are several things I would like to do, eg. having no headers and footers, setting the background color to a named color, placing an image or some graphics on the page. Is there a way to define such a page, name it and call

Re: [NTG-context] Manipulating the left blank page when chapter starts on the right page

2019-01-12 Thread Rik Kabel
before a new chapter. I would like to manipulate this blank even page. There are several things I would like to do, eg. having no headers and footers, setting the background color to a named color, placing an image or some graphics on the page. Is there a way to define such a page, name it and call it

Re: [NTG-context] Manipulating the left blank page when chapter starts on the right page

2019-01-12 Thread Jan U. Hasecke
fore a >> new chapter. >> >> I would like to manipulate this blank even page. >> >> There are several things I would like to do, eg. having no headers and >> footers, setting the background color to a named color, placing an image >> or some graphics on the

Re: [NTG-context] Manipulating the left blank page when chapter starts on the right page

2019-01-12 Thread Aditya Mahajan
like to do, eg. having no headers and footers, setting the background color to a named color, placing an image or some graphics on the page. Is there a way to define such a page, name it and call it in \startchapter so that it is placed on the left side. See https://tex.stackexchange.com/q/457428

[NTG-context] Manipulating the left blank page when chapter starts on the right page

2019-01-12 Thread Jan U. Hasecke
, setting the background color to a named color, placing an image or some graphics on the page. Is there a way to define such a page, name it and call it in \startchapter so that it is placed on the left side. I would like to use the blank pages in an attractive way. Imagine eg. a title image on

[NTG-context] placing an MPGraphic/Lines over multiple table cells

2019-01-05 Thread Martin Althoff
corner -- lowerrightcorner; draw toprightcorner -- lowerleftcorner; \stopuseMPgraphic \defineoverlay[ZRule][\useMPgraphic{ZRule}] \starttext \setupTABLE[c][each][width=30mm] \setupTABLE[r][each][width=6mm] % in an attempt to place the table at known positions, I put it into a layer. Though it is not rea

[NTG-context] two different outputs.

2018-12-31 Thread Jeong Dal
[BigColorOne][r=.86,g=.850,b=.54] \definecolor[BigColorTwo][r=.43,g=.425,b=.27] \define[1]\TitlePage {\begingroup \defineoverlay[back][{\BigFontOne \blue \starteffect[outer]#1\stopeffect}]% \framed[frame=off,background=back,align={hilo}] {\kern-3pt{\BigFontOne\BigColorOne \starteffect[inner

[NTG-context] latest beta (october 18th): likely bug in \mirror

2018-11-23 Thread mf
e[height=\overlayheight,width=\dimexpr 3pt+.015\dimexpr\overlayheight\relax]{\useMPgraphic{accolade] \starttext Context version: \contextversion. \blank \bTABLE[framecolor=orange] \bTR \bTD a \eTD \bTD[nr=3,width=1em,background=rightbrace] \eTD \bTD[nr=3,align=lohi]

[NTG-context] Two questions on bibliography

2018-11-13 Thread Joshua Moerman
author= {Jan van Amsterdam}, title = {Yet another paper}, year = {2018} } \stopbuffer \usebtxdataset[biblio.buffer] \usebtxdefinitions[apa] \starttext % Order is 3, 1, 2 We refer to \cite[authoryears][PAPER1, PAPER2, PAPER3]. \cite[authoryears][PAPER3] provides back

Re: [NTG-context] Table, xtable and lua

2018-11-10 Thread Henri Menke
#x27;I','J'} > for letter = 1,10 do > context.startxcell() context(print(letter)) context.stopxcell() > end letters = {'A','B','C','D','E','F','G','H','I

Re: [NTG-context] Table, xtable and lua

2018-11-10 Thread Henri Menke
;,'I','J'} > for letter = 1,10 do > context.startxcell() context(print(letter)) context.stopxcell() > end for _,letter in ipairs(letters) do context.startxcell() context(letter) context.stopxcell() end > context.stopxrow() &

[NTG-context] Table, xtable and lua

2018-11-10 Thread Fabrice Couvreur
.5cm"}) context("") context.stopxcell() letter = {'A','B','C','D','E','F','G','H','I','J'} for letter = 1,10 do context.startxcell() context(print(letter)) context.

[NTG-context] index problem with \setupcolumnset

2018-11-09 Thread Peter Rolf
][\uniqueMPgraphic{column:bg}] \definecolumnset[TOC][n=4] %\setupcolumnset[TOC][background=columnbg]% works ok \setupcolumnset[TOC][1][background=columnbg]% any indexed setup fails % in my real world example the complete third argument is printed instead \starttext \startcolumnset[TOC] \input tufte.tex

Re: [NTG-context] checking text boundaries

2018-11-08 Thread Andrea Valle
gt; >> On 8 Nov 2018, at 00:24, Andrea Valle > <mailto:va...@di.unito.it>> wrote: >> >> Dear all, >> >> I’m typesetting a book, and I have many figures on white background. >> I’m scaling figures using something like this >> >> \placefigure

Re: [NTG-context] checking text boundaries

2018-11-07 Thread Otared Kavian
Hi Andrea, Isn't \showframe what you are looking for? Best regards: OK > On 8 Nov 2018, at 00:24, Andrea Valle wrote: > > Dear all, > > I’m typesetting a book, and I have many figures on white background. > I’m scaling figures using something like this >

[NTG-context] checking text boundaries

2018-11-07 Thread Andrea Valle
Dear all, I’m typesetting a book, and I have many figures on white background. I’m scaling figures using something like this \placefigure[][volumina]{G. Ligeti, {\em Volumina}.}{ \externalfigure[img/chap02/11][width=\textwidth]} is there a way to plot text boundaries so to check by eye if

Re: [NTG-context] Use \framedtext to write an algorithm (again)

2018-10-18 Thread Wolfgang Schuster
very well because the withdrawal of the text no longer exists. Thank you Fabrice \defineframedtext [algorithmframe]    [width=fit,     background=color, backgroundcolor=lightgray,     framecolor=darkred, corner=round] \definelines    [algorithm]    [space=on, before=\startalgorithmframe

[NTG-context] Use \framedtext to write an algorithm (again)

2018-10-17 Thread Fabrice Couvreur
Hi Wolfgang, You offered me the following code to write algorithms. It seems that this does not function very well because the withdrawal of the text no longer exists. Thank you Fabrice \defineframedtext [algorithmframe] [width=fit, background=color, backgroundcolor=lightgray

Re: [NTG-context] insert natural table at the top left of some png

2018-10-15 Thread Damien Thiriet
Pgraphic{canaux}} > \eTD > \bTD > infrastructures~: canaux > \eTD > \eTR > \eTABLE > \stopbuffer > > \definelayer > [legend] > [width=\overlaywidth, >height=\overlayheight] &

Re: [NTG-context] insert natural table at the top left of some png

2018-10-15 Thread Hans Hagen
eight=\overlayheight] \starttext % \setlayer % [legend] % {\getbuffer[legend]} \setlayerframed [legend] [background=color, backgroundoffset=2pt, backgroundcolor=red, strut=no, frame=off] {\getbuffer[legend]} \externalfigure

Re: [NTG-context] Text around a table (xtables)

2018-10-10 Thread Fabrice Couvreur
lo > > > > Thank you. > > Fabrice > > > > \definefloat > > [recipe] > > [figure] > > > > \setupfloat > > [recipe] > > [default={right,none}] > > > > \starttext > > \placerecipe{}{% > > \startxtable

Re: [NTG-context] Text around a table (xtables)

2018-10-10 Thread Pablo Rodriguez
cells is 3.5cm. I hope it helps, Pablo > Thank you. > Fabrice > > \definefloat >     [recipe] >     [figure] > >   \setupfloat >     [recipe] >     [default={right,none}] > >   \starttext > \placerecipe{}{% >   \startxtable[align={middle,lohi},width

[NTG-context] Text around a table (xtables)

2018-10-10 Thread Fabrice Couvreur
Hello, Why is the text wrapping around the board or far too far ? Thank you. Fabrice \definefloat [recipe] [figure] \setupfloat [recipe] [default={right,none}] \starttext \placerecipe{}{% \startxtable[align={middle,lohi},width=1.7 cm] \startxrow[background=color

Re: [NTG-context] embedded sounds

2018-10-09 Thread Hans Hagen
ht=\paperheight] \setupbackgrounds[page][background=resources] \setupbodyfont[100pt] \starttext\bf\ss \setlayer[resources]{\placerenderingwindow[example][mysound]} \startTEXpage \button{start}[StartSoundTrack] \button{stop}

[NTG-context] embedded sounds

2018-10-09 Thread Pablo Rodriguez
] %~ [embed] \definereference [StartSoundTrack] [StartRendering{mysound}] \definereference [StopSoundTrack] [StopRendering{mysound}] \definelayer[resources][width=\paperwidth,height=\paperheight] \setupbackgrounds[page][background=resources] \setupbodyfont[100pt

Re: [NTG-context] Can anyone connect context to R or python?

2018-10-05 Thread Pablo Rodriguez
u were using traditional latex this could be accomplished through R > markdown or Sweave- is there any way to connect these to Context?  I’m afraid that my background is in humanities. If you need R, I wonder whether this can be easily done with ConTeXt. Just in case it helps, Pablo -- http

Re: [NTG-context] xtables with lua

2018-10-01 Thread Fabrice Couvreur
eginning of the post: > > \setupTABLE[each][each][width=2em,height=2em,align={middle,middle}] > \setupTABLE[r][1][background=color,backgroundcolor=gray] > \setupTABLE[c][1][background=color,backgroundcolor=gray] > > > Aditya___

Re: [NTG-context] xtables with lua

2018-09-30 Thread Aditya Mahajan
you please tell me what I miss? The part in the beginning of the post: \setupTABLE[each][each][width=2em,height=2em,align={middle,middle}] \setupTABLE[r][1][background=color,backgroundcolor=gray] \setupTABLE[c][1][background=color,backgroundcolor=gray

Re: [NTG-context] Which color model shall I use

2018-09-30 Thread Hans Hagen
colors. What is the best approach for defining colors in print materials? What color model shall I use? RGB or CMYK? For the background. We have some SVG graphics we use on the website. They are defined in RGB color model. And we use them in the print materials as well. I tend to define RGB

Re: [NTG-context] Which color model shall I use

2018-09-30 Thread Henning Hraban Ramm
g RGB > colors and then derived CMYK colors. > > What is the best approach for defining colors in print materials? What > color model shall I use? RGB or CMYK? > > For the background. We have some SVG graphics we use on the website. > They are defined in RGB color model. And

[NTG-context] Which color model shall I use

2018-09-30 Thread Jan U. Hasecke
defining colors in print materials? What color model shall I use? RGB or CMYK? For the background. We have some SVG graphics we use on the website. They are defined in RGB color model. And we use them in the print materials as well. I tend to define RGB colors in my print documents so that the colors of

Re: [NTG-context] MetaFun: nofmultipars wrong?

2018-09-25 Thread Hans Hagen
On 9/25/2018 3:24 AM, Henri Menke wrote: Dear list, I used to be under the impression that when you wanted a background frame around a piece of text, you'd use a loop over nofmultipars. However, I realized that even when the contained material breaks across pages, the counter remains 1 o

Re: [NTG-context] Creating flyers with ConTeXt

2018-09-25 Thread Marco Patzer
our dimensions were wrong, try: \setlayer[topic1] [x=-1mm, y=-1mm] {\externalfigure[../bilder/topic1.png][width=101mm]} > I have to adjust the layout of pages 2-4 so that the text starts below > the images. For background images layers are probably the right tool. For the other images

[NTG-context] MetaFun: nofmultipars wrong?

2018-09-24 Thread Henri Menke
Dear list, I used to be under the impression that when you wanted a background frame around a piece of text, you'd use a loop over nofmultipars. However, I realized that even when the contained material breaks across pages, the counter remains 1 on the second page. Another issue is tha

Re: [NTG-context] Creating flyers with ConTeXt

2018-09-24 Thread Jan U. Hasecke
9mm,height=58mm]} \definelayer[topic3] [x=0, y=0, width=\paperwidth, height=\paperwidth] \setlayer[topic3] [x=0cm, y=-3mm] {\externalfigure[../bilder/topic3.png][width=102mm]} \definelayer[blau] [x=0, y=-3mm, width=\paperwidth, height=\paperheight] \setlayer[blau] [x=0mm,y=-3mm] {\fr

Re: [NTG-context] Creating flyers with ConTeXt

2018-09-21 Thread Marco Patzer
\defineoverlay [pagedecoration] [\useMPgraphic{pagedecoration}] \setupbackgrounds [page] [background=pagedecoration, backgroundcolor=lightblue] \startuseMPgraphic{pagedecoration} distanceSmall := 3mm; distanceBig := distanceSmall; bleed := 3mm; if PageNumber==1: path pageOne; pageOn

Re: [NTG-context] Tabulate backgroundcolors

2018-09-10 Thread Hans Hagen
On 9/10/2018 12:45 PM, Henri Menke wrote: bump already fixed but no upload yet (maybe later today) On 09/07/2018 09:58 AM, Henri Menke wrote: Dear list, I'm trying to color the background of “p” cells in tabulate. The MWE below will fail with the error “Undefined control seq

Re: [NTG-context] Tabulate backgroundcolors

2018-09-10 Thread Henri Menke
bump On 09/07/2018 09:58 AM, Henri Menke wrote: > Dear list, > > I'm trying to color the background of “p” cells in tabulate. The MWE > below will fail with the error “Undefined control sequence \IMPOSSIBLE” > but when I enter scrollmode to finish the run, I get a PDF whic

[NTG-context] Tabulate backgroundcolors

2018-09-06 Thread Henri Menke
Dear list, I'm trying to color the background of “p” cells in tabulate. The MWE below will fail with the error “Undefined control sequence \IMPOSSIBLE” but when I enter scrollmode to finish the run, I get a PDF which looks exactly as intended. Looks like it's not \IMPOSSIBLE after all

Re: [NTG-context] Text wrapped with an ornement

2018-08-19 Thread Fabrice Couvreur
to do that (if that is possible with frames). > \definecolor[MyColorA][s=0.8784] > \definecolor[MyColorB][m=0.27,y=1] > > \defineframed >[FrameTitle] >[frame=off, > foregroundstyle=\bfx\ss, > foregroundcolor=white, > background=color, > backgroundcol

Re: [NTG-context] Text wrapped with an ornement

2018-08-19 Thread Hans Hagen
do that (if that is possible with frames). \definecolor[MyColorA][s=0.8784] \definecolor[MyColorB][m=0.27,y=1] \defineframed [FrameTitle] [frame=off, foregroundstyle=\bfx\ss, foregroundcolor=white, background=color, backgroundcolor=MyColorB, location=depth] \defineframedtext [F

Re: [NTG-context] Text wrapped with an ornement

2018-08-18 Thread Fabrice Couvreur
lorB][c=0.00,m=0.27,y=1.00,k=0.00] > > \defineornament > [FrameTitle] > [preset=lefttop] > [ > frame=off, > foregroundstyle=\bfx\ss, > foregroundc

Re: [NTG-context] Text wrapped with an ornement

2018-08-18 Thread Pablo Rodriguez
27,y=1.00,k=0.00] \defineornament [FrameTitle] [preset=lefttop] [ frame=off, foregroundstyle=\bfx\ss, foregroundcolor=white, background=color, backgroundcolor

Re: [NTG-context] Text wrapped with an ornement

2018-08-17 Thread Wolfgang Schuster
, background=color, backgroundcolor=MyColorB, ] \defineframedtext [FramedText] [ offset=0.6em, toffset=\lineheight, background=color, backgroundcolor=MyColorA, foregroundstyle={\switchtobodyfont[10pt]}, align=verytolerant, alternative=serried, % text

[NTG-context] Text wrapped with an ornement

2018-08-17 Thread Fabrice Couvreur
] \defineornament [FrameTitle] [preset=lefttop] [ frame=off, foregroundstyle=\bfx, foregroundcolor=white, background=color, backgroundcolor=MyColorB, ] \defineframedtext [FramedText] [ offset=0.6em

Re: [NTG-context] embedded sounds aren’t played

2018-08-14 Thread Hans Hagen
-mp3 [akkerman.mp3] [embed] \definereference [StartSoundTrack] [StartRendering{mysound}] \definereference [StopSoundTrack] [StopRendering{mysound}] \definelayer[resources][width=\paperwidth,height=\paperheight] \setupbackgrounds[page][background=resources

[NTG-context] embedded sounds aren’t played

2018-08-14 Thread Pablo Rodriguez
] \definereference [StartSoundTrack] [StartRendering{mysound}] \definereference [StopSoundTrack] [StopRendering{mysound}] \definelayer[resources][width=\paperwidth,height=\paperheight] \setupbackgrounds[page][background=resources] \starttext \setlayer[resources

Re: [NTG-context] \definetextbackground does not fill tables within

2018-08-13 Thread Alan Braslau
Floating objects (\placetable, \placefigure, ... and footnotes, etc.) do not inherit the text background, for indeed, imagine that it floats to another location. Here, you use location=force, so one might expect it to use the text background... In fact, side floats, location=left and location

[NTG-context] \definetextbackground does not fill tables within

2018-08-13 Thread dxpublica
[bteoria][ frame=off, location=paragraph, background=color, backgroundcolor=teoriacolor, % fins aquí provat: http://www.mail-archive.com/ntg-context%40ntg.nl/msg78014.html %width=broad, %corner=round, %radius=5ex, leftoffset=10pt,rightoffset=10pt, topoffset=10pt

Re: [NTG-context] integer displayed as .0 float in Lua-5.3

2018-08-12 Thread Hans Hagen
On 8/11/2018 11:33 AM, Pablo Rodriguez wrote: On 08/09/2018 10:20 PM, Hans Åberg wrote: On 9 Aug 2018, at 21:20, Pablo Rodriguez wrote: [...] My background is in humanities and I don’t understand the exponent for being a float ("10²" contains an exponent [https://www.m-w.com/dictionar

Re: [NTG-context] integer displayed as .0 float in Lua-5.3

2018-08-11 Thread Hans Åberg
> On 11 Aug 2018, at 11:33, Pablo Rodriguez wrote: > > On 08/09/2018 10:20 PM, Hans Åberg wrote: >>> On 9 Aug 2018, at 21:20, Pablo Rodriguez wrote: >>> [...] >>> My background is in humanities and I don’t understand the exponent for >>> being a

Re: [NTG-context] integer displayed as .0 float in Lua-5.3

2018-08-11 Thread Pablo Rodriguez
On 08/09/2018 10:20 PM, Hans Åberg wrote: >> On 9 Aug 2018, at 21:20, Pablo Rodriguez wrote: >> [...] >> My background is in humanities and I don’t understand the exponent for >> being a float ("10²" contains an exponent >> [https://www.m-w.com/dictionary/

Re: [NTG-context] integer displayed as .0 float in Lua-5.3

2018-08-09 Thread Hans Åberg
arithmetical relevance. > > My background is in humanities and I don’t understand the exponent for > being a float ("10²" contains an exponent > [https://www.m-w.com/dictionary/exponent], but I would say is an integer > in all possible worlds [or all the worlds I know ]). >

Re: [NTG-context] integer displayed as .0 float in Lua-5.3

2018-08-09 Thread Alan Braslau
. According to the “Lua 5.3 Reference > Manual" (https://www.lua.org/manual/5.3/manual.html#3.1): > > A numeric constant with a radix point or an exponent denotes a > float; otherwise, if its value fits in an integer, it denotes an > integer. > > Well, "10.

Re: [NTG-context] integer displayed as .0 float in Lua-5.3

2018-08-09 Thread Pablo Rodriguez
cording to the “Lua 5.3 Reference Manual" (https://www.lua.org/manual/5.3/manual.html#3.1): A numeric constant with a radix point or an exponent denotes a float; otherwise, if its value fits in an integer, it denotes an integer. Well, "10.0" contains the radix point, but with

Re: [NTG-context] general suggestion for ConTeXt documentation

2018-08-07 Thread Pablo Rodriguez
to understand such a document, but they won’t need it, because they already have the knowledge explained on it. The other group of users won’t be able to understand such a document, because they lack have the required background. (Not everyone is able to code 🙄.) Let me finish with a person

Re: [NTG-context] How to control the space between the bottom of the frame and the text?

2018-08-07 Thread Wolfgang Schuster
the bottom line of the frame, how to add a little space ? Thanks Fabrice \defineframed [ACFRAME] [frame=on, width=fit, align=flushleft, location=low, background=color, backgroundcolor=lightgray] \defineenumeration [exercice] [text={Exercice}, headstyle={\bf

Re: [NTG-context] How to control the space between the bottom of the frame and the text?

2018-08-07 Thread Alan Braslau
lign=flushleft, >location=low, >background=color, >backgroundcolor=lightgray] > > \defineenumeration > [exercice] > [text={Exercice}, >headstyle={\bf\feature[+][f:smallcaps]}, >headcommand=\ACFRAME, >numberconversionset=ACCONVERS

[NTG-context] How to control the space between the bottom of the frame and the text?

2018-08-07 Thread Fabrice Couvreur
Hello, I find that the text is near the bottom line of the frame, how to add a little space ? Thanks Fabrice \defineframed [ACFRAME] [frame=on, width=fit, align=flushleft, location=low, background=color, backgroundcolor=lightgray] \defineenumeration [exercice] [text

Re: [NTG-context] TABLE setups

2018-07-30 Thread kaddour kardio
table:protocole \setupTABLE[frame=off,option=stretch] \setupTABLE[row][odd][background=color, backgroundcolor=lightgreen] \setupTABLE[row][1][style={\ss\bf}, background=color, backgroundcolor=cyan, foregroundcolor=white] \setupTABLE[column][1][style={\ssx\bf

Re: [NTG-context] Problems with letter module

2018-07-20 Thread Lutz Haseloff
Thanks Henri, but is there a way to use a different background on page 2? I found \v!firstpage and \v!secondpage in the sources but didn't found a way to use them in my letter. Am 20. Juli 2018 09:17:23 MESZ schrieb Henri Menke : > > >On 20/07/18 17:17, Lutz Haseloff wrote: >

Re: [NTG-context] Problems with letter module

2018-07-20 Thread Henri Menke
On 20/07/18 17:17, Lutz Haseloff wrote: Hi Wolfgang, hi all, I would like to use the letter module. With my minimal letter i don't get pagenumbering and background working. They don't appear in the pdf. -- \setupbodyfont[cambria] \usemodule[letter] \useletterstyle[dinb] \mainl

[NTG-context] Problems with letter module

2018-07-19 Thread Lutz Haseloff
Hi Wolfgang, hi all, I would like to use the letter module. With my minimal letter i don't get pagenumbering and background working. They don't appear in the pdf. -- \setupbodyfont[cambria] \usemodule[letter] \useletterstyle[dinb] \mainlanguage[de] \starttext \setupletter

Re: [NTG-context] btex ... etex within MP with 1 letter ignored?

2018-07-17 Thread Hans Hagen
\bold \MPtext{Pare3} etex, (0, -50))     withcolor yellow     ; \stopuseMPgraphic % Overlays \defineoverlay[Pare][\useMPgraphic{Pare}] \setupbackgrounds[page][background={foreground,Pare}] \starttext   \startTEXpage[width=210mm,height=297mm]     Aaa   \stopTEXpage \stoptext Here, t

[NTG-context] btex ... etex within MP with 1 letter ignored?

2018-07-17 Thread Procházka Lukáš Ing .
ow ; \stopuseMPgraphic % Overlays \defineoverlay[Pare][\useMPgraphic{Pare}] \setupbackgrounds[page][background={foreground,Pare}] \starttext \startTEXpage[width=210mm,height=297mm] Aaa \stopTEXpage \stoptext Here, texts "1" and "U" are not rendered; if you change

Re: [NTG-context] Strange behavior with font pagella

2018-07-16 Thread Otared Kavian
bold ? >> Thank you >> Fabrice >> >> \setupbodyfont[pagella,11pt] >> >> \defineframed >>[ACFRAME] >>[frame=off, >> offset=0pt, >> location=low, >> width=\struttotal, >> background=color, >>

Re: [NTG-context] Strange behavior with font pagella

2018-07-16 Thread Fabrice Couvreur
[frame=off, > offset=0pt, > location=low, > width=\struttotal, > background=color, > backgroundcolor=black, > foregroundcolor=white, > forgroundstyle=bold] > > > \defineprocessor[ACPROCESSOR][command=\ACFRAME] > \defineconversionset[

Re: [NTG-context] Strange behavior with font pagella

2018-07-16 Thread Otared Kavian
> \setupbodyfont[pagella,11pt] > > \defineframed >[ACFRAME] >[frame=off, > offset=0pt, > location=low, > width=\struttotal, > background=color, > backgroundcolor=black, > foregroundcolor=white, > forgroundstyle=

Re: [NTG-context] Strange behavior !

2018-07-16 Thread Otared Kavian
ames filled in black​ ​! > Thank you > Fabrice > > \setupbodyfont [palatino,11pt] > > \definecolor[MyColorB][c=0.00, m=0.62, y=1.00, k=0.00] > \definecolor[MyColorA][.75(MyColorB,white)] > > \defineframedtext >[MyText] >[frame=off, > backgrou

Re: [NTG-context] Strange behavior !

2018-07-15 Thread Alan Braslau
ColorB][c=0.00, m=0.62, y=1.00, k=0.00] > \definecolor[MyColorA][.75(MyColorB,white)] > > \defineframedtext >[MyText] >[frame=off, > background=MyFrame, > width=\textwidth, > location=right] > > \defineoverlay >[MyFrame] >[\useMPgra

Re: [NTG-context] Strange behavior with font pagella

2018-07-15 Thread Rik Kabel
On 7/15/2018 17:39, Fabrice Couvreur wrote: \setupbodyfont[pagella,11pt] \defineframed    [ACFRAME]    [frame=off,     offset=0pt,     location=low,     width=\struttotal,     background=color,     backgroundcolor=black,     foregroundcolor=white,     forgroundstyle=bold] \defineprocessor

[NTG-context] Strange behavior !

2018-07-15 Thread Fabrice Couvreur
Good evening, In the code below, I get frames filled in black ​ ​ ! Thank you Fabrice \setupbodyfont [palatino,11pt] \definecolor[MyColorB][c=0.00, m=0.62, y=1.00, k=0.00] \definecolor[MyColorA][.75(MyColorB,white)] \defineframedtext [MyText] [frame=off, background=MyFrame, width

[NTG-context] Strange behavior with font pagella

2018-07-15 Thread Fabrice Couvreur
Good evening, In the code below, why is the text in bold ? Thank you Fabrice \setupbodyfont[pagella,11pt] \defineframed [ACFRAME] [frame=off, offset=0pt, location=low, width=\struttotal, background=color, backgroundcolor=black, foregroundcolor=white

Re: [NTG-context] Shading and transparency

2018-07-12 Thread Marco Patzer
linear" … depending on the age of the project. And I fail to find a project using transparent shading where the transparency is done in context. I could not get it working now on the older versions. Maybe you're right and it has never worked the way I thought it had. Sorry for

Re: [NTG-context] Shading and transparency

2018-07-12 Thread Hans Hagen
r instance this used to work pre 2016: \setupbackgrounds [page] [background=color, backgroundcolor=lightgray] \definecolor [trans] [a=multiply, t=1, s=1] \starttext \startMPcode path p; p:=fullsquare xyscaled (5cm, 5cm); fill p withshading("linear", ulcorner p, llcorner p)

Re: [NTG-context] Shading and transparency

2018-07-12 Thread Marco Patzer
lack) to transparent. For instance this used to work pre 2016: \setupbackgrounds [page] [background=color, backgroundcolor=lightgray] \definecolor [trans] [a=multiply, t=1, s=1] \starttext \startMPcode path p; p:=fullsquare xyscaled (5cm, 5cm); fill p withshading("linear",

Re: [NTG-context] Shading and transparency

2018-07-11 Thread Hans Hagen
On 7/11/2018 8:45 PM, Marco Patzer wrote: Hi! It's shadings and transparency again. For most things transparency is not required since the background colour (white) can be used instead, to achieve the same effect (thanks Hans for the reimplementation/cleanup a while ago). For one use c

[NTG-context] Shading and transparency

2018-07-11 Thread Marco Patzer
Hi! It's shadings and transparency again. For most things transparency is not required since the background colour (white) can be used instead, to achieve the same effect (thanks Hans for the reimplementation/cleanup a while ago). For one use case I worked around this by including an ext

Re: [NTG-context] Position of layer in foreground

2018-06-28 Thread Marcus Vinicius Mesquita
} > > > > \setlayerframed[myfigure][][frame=off,foregroundstyle=Title,foregroundcolor=middlecyan]{123456789} > > \setupbackgrounds[page][background={myfigure}] > > > When you set a layer with the background key it is placed *behind* the > content > of the page but you can

Re: [NTG-context] Position of layer in foreground

2018-06-28 Thread Wolfgang Schuster
re[cow][width=.5\textwidth]} \definelayer[myfigure][x=6cm,y=6cm,preset=middle] \setlayer[myfigure]{\framed[frame=off]{\Title \color[middlecyan]{123456789}}} \setlayerframed[myfigure][][frame=off,foregroundstyle=Title,foregroundcolor=middlecyan]{123456789} \setupbackgrounds[page][background={my

[NTG-context] Position of layer in foreground

2018-06-27 Thread Marcus Vinicius Mesquita
]{\framed[frame=off]{\Title \color[middlecyan]{123456789}}} \setupbackgrounds[page][background={myfigure}] \stoptext Marcus Vinicius mwe.tex Description: TeX document mwe.pdf Description: Adobe PDF document ___ If

Re: [NTG-context] Table generator : Issues with borders and rotated cells

2018-06-27 Thread Wolfgang Schuster
t uses the eXtreme table format and supports many features including : - Borders, border width and border color - Merged cells - Background color - Alignment (flushleft, center, flushright) - Splitted tables - Rotated tables - Caption - More... However, I have many issues that I have trou

[NTG-context] Table generator : Issues with borders and rotated cells

2018-06-18 Thread Xavier Dionne
, border width and border color - Merged cells - Background color - Alignment (flushleft, center, flushright) - Splitted tables - Rotated tables - Caption - More... However, I have many issues that I have trouble to fix. 1/ I have many troubles with borders, because I can't set the color an

Re: [NTG-context] Bug with \setuptagging and layers

2018-06-10 Thread Hans Hagen
om,hoffset=.25in,voffset=.25in,     background=color,backgroundcolor=yellow]   {\externalfigure[cow.pdf]}     \stopsetups     \setupbackgrounds [page]     [setups=testpage,background={testpage}]     \starttext     \startmakeup  [testpage]     \framed[backgr

Re: [NTG-context] Bug with \setuptagging and layers

2018-06-10 Thread Hans Hagen
tate=start] \setupexternalfigures [location=default] \definelayout [testpage] \definelayer  [testpage] [width=\paperwidth,height=\paperheight] \startsetups  [testpage]     \setlayerframed   [testpage] [preset=rightbottom,hoffset=.25in,voffset=.25in, backgr

[NTG-context] Bug with \setuptagging and layers

2018-06-09 Thread Rik Kabel
on=default] \definelayout [testpage] \definelayer  [testpage] [width=\paperwidth,height=\paperheight] \startsetups  [testpage]     \setlayerframed   [testpage] [preset=rightbottom,hoffset=.25in,voffset=.25in, background=color,backgroundco

Re: [NTG-context] question about followtext in MP

2018-05-24 Thread Pablo Rodriguez
documentation. The Metafun manual is much clearer (way than the MetaPost manual) for a newbie such as me. I must confess that I don’t have the background to understand it, either in math, or in coding. But the manual makes me wonder how could I get some of the graphics shown there. > P.S. M

Re: [NTG-context] Numbered, counted snippets in running text

2018-05-20 Thread Idris Samawi Hamid ادريس سماوي حامد
On Sun, 20 May 2018 08:02:46 -0600, Wolfgang Schuster wrote: \definelabel[idris][text=,headstyle=,numberconversion=R] \defineframed [NUM] [width=fit, align=middle, frame=off, background=color, backgroundcolor=green, top={\idris\par}, location=bottom

Re: [NTG-context] Numbered, counted snippets in running text

2018-05-20 Thread Wolfgang Schuster
\definelabel[idris][text=,headstyle=,numberconversion=R] \defineframed [NUM] [width=fit, align=middle, frame=off, background=color, backgroundcolor=green, top={\idris\par}, location=bottom] \starttext \dorecurse{5}{Unnumbered Text \NUM{Numbered Text} } \stoptext Wolfgang

Re: [NTG-context] Numbered, counted snippets in running text

2018-05-19 Thread Idris Samawi Hamid ادريس سماوي حامد
MQT=1 \define[1]\NUM{% \framed[offset=overlay,frame=off,background=color,backgroundcolor=green] {\starttabulate[|c|] \NC \mbox{\the\MQT} \NR \NC #1 \NR \stoptabulate}% \advance\MQT by 1 \hbox{}} \startTEXpage \dorecurse{5}{Unnumbered Text \NUM{Numbered Text} } \stopTEXpage === This feels more

Re: [NTG-context] Conversion of \newcounts

2018-05-19 Thread Idris Samawi Hamid ادريس سماوي حامد
r the same macro: === \newcount \MQT \MQT=1 \define[1]\NUM{% \framed[offset=overlay,frame=off,background=color,backgroundcolor=green] {\starttabulate[|c|] \NC \mbox{\the\MQT} \NR \NC #1 \NR \stoptabulate}% \advance\MQT by 1 \hbox{}} \startTEXpage \dorecurse{5}{Unnumbered Text \NUM{Numbered Text} } \stopTEXpage

<    4   5   6   7   8   9   10   11   12   13   >