[NTG-context] Indentation problem inside enumeration

2019-12-16 Thread Mikael P. Sundqvist
Hi! I've met a strange problem with indentation in consecutive enumerations. It seems to me that if 1) the first enumeration uses indentnext=no AND 2) the next enumeration uses a background then the second(?) paragraph of the second enumeration is not indented. Here is a small example (see

Re: [NTG-context] LMTX Tagging and overlay

2019-12-15 Thread Otared Kavian
ay [WatermarkOverlay] >> [{\framed[frame=off, >>foregroundcolor=red] >> {\scale[factor=max] >>{\rotate[rotation=60.0] >> {~Oops!~

Re: [NTG-context] LMTX Tagging and overlay

2019-12-15 Thread Rik Kabel
]   {\scale[factor=max]    {\rotate[rotation=60.0]     {~Oops!~] \setupbackgrounds    [page] [background=WatermarkOverlay] %setuptagging    [state=stop] \setuptagging    [state=start] \setuplanguage

Re: [NTG-context] Ebooks with ConTeXt?

2019-12-10 Thread Jan U. Hasecke
sense to use > Markdown :) > > Perhaps this is a silly question (excuse my ignorance about the topic): > what if you want to add some stylistic touches to your ebooks, such as > initials? Or Non-breaking spaces? How about adding, say, a text box with > a different background and a smal

[NTG-context] LMTXL Tagging and overlay

2019-12-10 Thread Rik Kabel
] [background=WatermarkOverlay] %setuptagging    [state=stop] \setuptagging    [state=start] \setuplanguage   [en] [spacing=packed] \setupinterlinespace [2.2ex] \definenarrower  [MidOneEm] [middle=1em

Re: [NTG-context] Ebooks with ConTeXt?

2019-12-10 Thread Nicola
s initials? Or Non-breaking spaces? How about adding, >>> say, a text box with a different background and a smaller font? >>> >>> Or fine control page numbering, headers, footnotes, ligatures, or >>> the spacing between paragraphs, or center a separator

Re: [NTG-context] Ebooks with ConTeXt?

2019-12-10 Thread Henning Hraban Ramm
ext box with >> a different background and a smaller font? >> >> Or fine control page numbering, headers, footnotes, ligatures, or the >> spacing between paragraphs, or center a separator as above? Do you need >> to modify the generated CSS for that, or would ConTeXt (or Pa

Re: [NTG-context] Ebooks with ConTeXt?

2019-12-10 Thread Denis Maier
ignorance about the topic): what if you want to add some stylistic touches to your ebooks, such as initials? Or Non-breaking spaces? How about adding, say, a text box with a different background and a smaller font? *** Or fine control page numbering, headers

Re: [NTG-context] Ebooks with ConTeXt?

2019-12-09 Thread Nicola
my ignorance about the topic): what if you want to add some stylistic touches to your ebooks, such as initials? Or Non-breaking spaces? How about adding, say, a text box with a different background and a smaller font? *** Or fine control page numbering, headers,

Re: [NTG-context] issue with beta from 2019.11.29 21:47 in Windows

2019-12-05 Thread Pablo Rodriguez
e of that, I’m not even trying to explain what is wrong with the font at all. In my previous company, I remember a guy (which had as slightly idea of what TeX was [he used LaTeX for his PhD decades ago]) with a strong background in computer science. He was impressed that I “developed” a system wi

Re: [NTG-context] ConTeXt as a service

2019-11-23 Thread Henning Hraban Ramm
t >> from Word documents, is not such a big effort. > > I'm not exaggerating, I would gladly be convinced/proved that I'm > wrong. How much effort (expressed in hours or days) do you think is > needed to implement the following? > (Any existing opensource solution may be

Re: [NTG-context] ConTeXt as a service

2019-11-23 Thread Mojca Miklavec
much effort (expressed in hours or days) do you think is needed to implement the following? (Any existing opensource solution may be used as the basis.) My wishlist is not that demanding: * allow generating both printable documents on white background, as well as black slides with mostly white text (PD

Re: [NTG-context] ConTeXt as a service

2019-11-20 Thread Henning Hraban Ramm
://www.fiee.net http://wiki.contextgarden.net https://www.dreiviertelhaus.de GPG Key ID 1C9B22FD > Am 2019-11-20 um 17:07 schrieb Denis Maier : > > Hi everyone, > Is it possible to run ConTeXt as a service on a server? If yes, is there > documentation about this? > Background: I'm cu

Re: [NTG-context] ConTeXt as a service

2019-11-20 Thread Hans Hagen
On 11/20/2019 5:07 PM, Denis Maier wrote: Hi everyone, Is it possible to run ConTeXt as a service on a server? If yes, is there documentation about this? Background: I'm currently on the PKP conference, and we are discussing OJS plugins for automated PDF production. I was wondering if ConTeXt

[NTG-context] ConTeXt as a service

2019-11-20 Thread Denis Maier
Hi everyone, Is it possible to run ConTeXt as a service on a server? If yes, is there documentation about this? Background: I'm currently on the PKP conference, and we are discussing OJS plugins for automated PDF production. I was wondering if ConTeXt could be an option... Best, Denis P.S.: I'll

[NTG-context] maths simplifying fractions

2019-11-13 Thread jkitz
][\uniqueMPgraphic{cancel}] \defineframed[cancel] [background=cancel,frame=off,offset=0pt,location=low] \starttext \startformula 6 \frac{3}{8} \div 4 \frac{1}{2} = \frac{27}{4} \div \frac{9}{2} = \frac{\cancel{27}^3}{\cancel{4}^2} \times \frac{\cancel{2}^1}{\cancel{9}^1} = \frac{3}{2} = 1 \frac{1}{2

Re: [NTG-context] Number format with lua

2019-11-09 Thread Henri Menke
quot;F", "G", "H", "I", "J" } > local letters_2 = { "1", "Année", "1998", "1999", "2000", "2001", "2002", > "2003", "2004", "2005","2006" }

[NTG-context] Number format with lua

2019-11-09 Thread Fabrice Couvreur
cal letters_2 = { "1", "Année", "1998", "1999", "2000", "2001", "2002", "2003", "2004", "2005","2006" } context.startxtable({"align={middle,lohi}, width=1.2cm,offset=0.8ex,bodyfo

Re: [NTG-context] Horizontal space and framedtext

2019-11-03 Thread Fabrice Couvreur
space[]. Nevertheless, it does not work with this : > > \usecolors[xwi] > \starttext > \startframedtext[width=fit,frame=off, > > background=color,backgroundcolor=paleturquoise] > > {\it lancers}\unknown > > {\it dé}\unknown > > Tant que {\it dé}\unknown Faire &

Re: [NTG-context] Horizontal space and framedtext

2019-11-03 Thread Wolfgang Schuster
Fabrice Couvreur schrieb am 03.11.2019 um 22:46: Hi Wolfgang, I know it takes a predefined argument, but I wanted to quote the name of the command as such  \hspace[]. Nevertheless, it does not work with this : \usecolors[xwi] \starttext \startframedtext[width=fit,frame=off,  background=color

Re: [NTG-context] Horizontal space and framedtext

2019-11-03 Thread Fabrice Couvreur
Hi Wolfgang, I know it takes a predefined argument, but I wanted to quote the name of the command as such \hspace[]. Nevertheless, it does not work with this : \usecolors[xwi] \starttext \startframedtext[width=fit,frame=off, background=color,backgroundcolor=paleturquoise] {\it lancers

[NTG-context] Horizontal space and framedtext

2019-11-03 Thread Fabrice Couvreur
Hello, The \hspace [ ] command has no effect in an environment framedtext. Why ? Thank you. Fabrice \usecolors[xwi] \starttext \startframedtext[width=fit,frame=off, background=color,backgroundcolor=paleturquoise] {\it lancers}\unknown {\it dé}\unknown Tant que {\it dé}\unknown Faire \hspace

[NTG-context] ConTeXt groups supports "Public Money, Public Code"

2019-10-23 Thread Henning Hraban Ramm
d you to publiccode.eu: > * The logo we should use on the publiccode.eu website (PNG files with > maximum 150px width or 100px height – ideally using transparency > instead of white as background > * The exact name of your organisation we should display on the website > * An e-m

[NTG-context] Problem with the bottom line of a header

2019-10-22 Thread Fabrice Couvreur
] \setupheadertexts [{\startframed [headerframed] [foregroundstyle=bold,background=framewithshadow] \getvariable{headertext}{title} n\high{o}\,\getvariable{headertext}{number} \stopframed}] \setupheadertexts [{\startframed [headerframed] [align=flushleft

[NTG-context] Unexpected symbol with Enumeration

2019-10-15 Thread Fabrice Couvreur
Hello, Why items are numbered with a square instead of a bullet ? Thanks. Fabrice \definecolor[MyColorC][s=0.8784] \definecolor[MyColorD][m=0.27,y=1] \defineframed [FrameTitle] [frame=off, foregroundstyle=\bfx\ss, foregroundcolor=white, background=color

Re: [NTG-context] Problem inserting image within MP

2019-10-10 Thread Aditya Mahajan
On Thu, 10 Oct 2019, cont...@vivaldi.net wrote: Hello, this is a probably basic question, but the following code doesn't compile: \setupbackgrounds[page][background={Bkg}] \defineoverlay[Bkg][\useMPgraphic{Bkg}] \startuseMPgraphic{Bkg} externalfigure "hacker.png"; \stopus

Re: [NTG-context] Problem inserting image within MP

2019-10-10 Thread Taco Hoekwater
> On 10 Oct 2019, at 13:23, cont...@vivaldi.net wrote: > > Hello, > > this is a probably basic question, but the following code doesn't compile: > > > \setupbackgrounds[page][background={Bkg}] > > \defineoverlay[Bkg][\useMPgraphic{Bkg}] > > \star

[NTG-context] Problem inserting image within MP

2019-10-10 Thread context
Hello, this is a probably basic question, but the following code doesn't compile: \setupbackgrounds[page][background={Bkg}] \defineoverlay[Bkg][\useMPgraphic{Bkg}] \startuseMPgraphic{Bkg} externalfigure "hacker.png"; \stopuseMPgraphic \starttext Ahoj

Re: [NTG-context] issue with JavaScript in Acrobat

2019-10-07 Thread Pablo Rodriguez
could divide the transitions by ten and it worked fine. No human can spot the difference even in 0.1 secs. That simple math operation wasn’t obvious to me (background in humanities ). Many thanks again for your help, Pablo On 10/7/19 1:21 PM, Peter Rolf wrote: > Hi Pablo > > Nearly no e

Re: [NTG-context] poem as a sidefloat

2019-09-25 Thread Wolfgang Schuster
but you can only set it for *all* floats. \definefloat [poem] % \setupfloat %   [sidespacebefore=medium] \setupfloat   [poem]   [background=color,    backgroundcolor=cyan] \setupcaption   [poem]   [number=none] \starttext \dorecurse{2}{\samplefile{knuth}} \startplacefloat [poem] [location=left

Re: [NTG-context] poem as a sidefloat

2019-09-25 Thread Henning Hraban Ramm
ught I don’t need to define or setup my >> own float. >> >> \setupfloat inherits from \setupframed, but the parameters width, style and >> background(color) don’t work. >> Aren’t they supposed to work in \startplacefloat? >> >> How can I suppress the c

Re: [NTG-context] poem as a sidefloat

2019-09-25 Thread Wolfgang Schuster
, but the parameters width, style and background(color) don’t work. Aren’t they supposed to work in \startplacefloat? How can I suppress the caption? ("none" is supposed to work with \placefloat, but at least doesn’t in \startplacefloat) The first argument of \startplacefloat takes the name of the float

[NTG-context] poem as a sidefloat

2019-09-25 Thread Henning Hraban Ramm
Hi, I’d like to have a small poem beside my text. My approach doesn’t work, with or without \framed: Since I need this only once, I thought I don’t need to define or setup my own float. \setupfloat inherits from \setupframed, but the parameters width, style and background(color) don’t work

Re: [NTG-context] Columns with non-equal width; nested columns

2019-09-25 Thread Procházka Lukáš Ing .
Hello, thanks for reaction - so I'm starting with column sets (@Wolfgang: text from column 2a may flow into 2b). My code so far: \definecolumnset[example][n=3,balancing=no] \definecolumnsetspan[wide][n=2,background=contrast] \setupexternalfigures[location=default] \setuphead

[NTG-context] Size of the font (Metapost + xtable)

2019-09-23 Thread Fabrice Couvreur
.7cm*dir 0) ; \stopMPcode \stopbuffer \starttext \startlinecorrection[blank] \startmidaligned \startxtable[align={middle,lohi},width=2.25cm] \startxrow \startxcell [background=color,backgroundcolor=pal

Re: [NTG-context] Sidefloats inside framed

2019-09-14 Thread Aditya Mahajan
background instead of framed. Aditya ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage

[NTG-context] colors in MetaPost

2019-09-11 Thread Henning Hraban Ramm
Hi, I’m trying to get a linear shade in the background of my presentation. But it seems like MetaPost can’t handle my self-defined colors: \definecolor[VerlaufVon][c=75,m=5,y=95,k=60] \definecolor[VerlaufNach][c=88,m=95,y=5,k=60] \startuniqueMPgraphic{Verlauf} % old method, also doesn’t work

Re: [NTG-context] Problem of displaying a date with a macro

2019-09-09 Thread Hans Hagen
gt; >  \definecolor[ColorA][0.8(white)] > > >  \startsetups [headertext] > >    \setupheadertexts >      [{\startframed [headerframed] >      [foregroundstyle=bold,background=framewithshadow] >      \getvariable{headertext}{title}

Re: [NTG-context] Problem of displaying a date with a macro

2019-09-09 Thread Fabrice Couvreur
t] > > > >\setupheadertexts > > [{\startframed [headerframed] > > [foregroundstyle=bold,background=framewithshadow] > > \getvariable{headertext}{title} > > n\high{o}\,\getvariable{headertext}{number} > > \stopframed}] >

Re: [NTG-context] Bugs in \framed

2019-09-06 Thread Hans Hagen
, but is wrong for a while) hm \framed[ frame=on, corner=round, frameoffset=0.5em, framecolor=black, background=color, backgroundcolor=darkgreen, backgroundoffset=1em, foreground=color,color=white, ]{{\color[white]{\ss\bf I wanted Center Green!}}} btw, use foregroundcolor

[NTG-context] Bugs in \framed

2019-09-06 Thread Henning Hraban Ramm
[framecorner=27]{framecorner=27}}{} {\framed[framecorner=28]{framecorner=28}}{} {}{} \stopcombination % I had no idea how to do that with recursion } \framed[frame=off, background=color,backgroundcolor=yellow, ]{Textmarker} \framed[ background=color,backgroundcolor=red

Re: [NTG-context] Strange pagebreaks in LMTX

2019-09-05 Thread Aditya Mahajan
[leftbartext] [ location=paragraph, mp=mpos:region:leftbar, width=broad, frame=off, framecolor=darkred, rulethickness=.5pt, leftoffset=2ex, %rightoffset=2.25ex, %topoffset=2.25ex, %bottomoffset=2.25ex, background=color, backgroundcolor=white

Re: [NTG-context] Strange pagebreaks in LMTX

2019-09-05 Thread Duncan Hothersall
bar, > width=broad, > frame=off, > framecolor=darkred, > rulethickness=.5pt, > leftoffset=2ex, > %rightoffset=2.25ex, > %topoffset=2.25ex, > %bottomoffset=2.25ex, > background=color, > backgroundcolor=white, > ] > > \s

Re: [NTG-context] Strange pagebreaks in LMTX

2019-09-04 Thread Otared Kavian
, mp=mpos:region:leftbar, width=broad, frame=off, framecolor=darkred, rulethickness=.5pt, leftoffset=2ex, %rightoffset=2.25ex, %topoffset=2.25ex, %bottomoffset=2.25ex, background=color, backgroundcolor=white, ] \startuseMPgraphic{mpos:region:leftbar

Re: [NTG-context] Strange pagebreaks in LMTX

2019-09-04 Thread Aditya Mahajan
On Thu, 5 Sep 2019, Otared Kavian wrote: Hi Wolfgang, Thanks for your answer. I tried Hans' suggestion to use \textbackground instead of background: indeed it solves the problem of incorrect page breaks, but it seems that \setuptextbackground « leftframe=on » is not honoured, that is one

Re: [NTG-context] Strange pagebreaks in LMTX

2019-09-04 Thread Otared Kavian
Hi Wolfgang, Thanks for your answer. I tried Hans' suggestion to use \textbackground instead of background: indeed it solves the problem of incorrect page breaks, but it seems that \setuptextbackground « leftframe=on » is not honoured, that is one cannot say for instance

Re: [NTG-context] Strange pagebreaks in LMTX

2019-09-04 Thread Wolfgang Schuster
that instead? less page overflow too (actually i should iontegrate some title line in that) A limitation of textbackgrounds is the limited control over the vertical space at page breaks. With the old background mechanism you get the normal topoffset and bottomoffset values

Re: [NTG-context] tikz problem with fontsize

2019-09-01 Thread Hans Hagen
On 9/1/2019 9:21 AM, Martin Althoff wrote: Hi Hans, thanks for this. Yes, that works. Am I right to assume that Context does not have a full tikz engine in the background due to the module implementation? For example, the \coordinate command is unknown as well. tikz is kind of generic so

[NTG-context] Border in xtable

2019-09-01 Thread Fabrice Couvreur
Hello, In the table below, why the border of the first line is not drawn ? Thank you Fabrice \definecolor[ColorA][0.8(white)] \definecolor[ColorB][0.9(white)] \starttext \startxtable [align={lohi,middle}, width=2cm,bodyfont=11pt] \startxrow[background=color,backgroundcolor=ColorA

Re: [NTG-context] tikz problem with fontsize

2019-09-01 Thread Martin Althoff
Hi Hans, thanks for this. Yes, that works. Am I right to assume that Context does not have a full tikz engine in the background due to the module implementation? For example, the \coordinate command is unknown as well. Is there any way to integrate a standalone tikz into context documents

Re: [NTG-context] Problem of displaying a date with a macro

2019-08-28 Thread Aditya Mahajan
] \setupheadertexts [{\startframed [headerframed] [foregroundstyle=bold,background=framewithshadow] \getvariable{headertext}{title} n\high{o}\,\getvariable{headertext}{number} \stopframed}] \setupheadertexts [{\startframed [headerframed] [align=flushleft,foregroundstyle

[NTG-context] Problem of displaying a date with a macro

2019-08-28 Thread Fabrice Couvreur
] [foregroundstyle=bold,background=framewithshadow] \getvariable{headertext}{title} n\high{o}\,\getvariable{headertext}{number} \stopframed}] \setupheadertexts [{\startframed [headerframed] [align=flushleft,foregroundstyle=] Lycée LA SALLE, Lille

Re: [NTG-context] Frame with shadow for header

2019-08-27 Thread Mikael P. Sundqvist
eaderframed] > [frame=off, > height=fit, > width=fit] > > \definecolor[ColorA][0.8(white)] > > > \startsetups [headertext] > > \setupheadertexts > [{\startframed [headerframed] > [foregroundstyle=bold,background=color,backgr

Re: [NTG-context] Frame with shadow for header

2019-08-27 Thread Fabrice Couvreur
] [foregroundstyle=bold,background=color,backgroundcolor=ColorA] \getvariable{headertext}{title} n\high{o}\,\getvariable{headertext}{number} \stopframed}] \setupheadertexts [{\startframed [headerframed] [align=flushleft,foregroundstyle=] Lycée LA SALLE, Lille

Re: [NTG-context] Frame with shadow for header

2019-08-26 Thread Mikael P. Sundqvist
uld work for you: \startuseMPgraphic{framewithshadow} path p; p:=origin--(OverlayWidth,0)--(OverlayWidth,OverlayHeight)--(0,OverlayHeight)--cycle; fill p shifted (2,-2); fill p withcolor 0.7white; draw p; setbounds currentpicture to p; \stopuseMPgraphic \defineoverlay[framewithshadow][\useMPgraphic{framewithsh

Re: [NTG-context] startnarrower and framed?

2019-08-21 Thread Jon Wong
] prevent \blank[-0.5em] from working after a \framed? (Ok. I better sleep before I pollute the mailing list further.) Apparent Solution: \usecolors[xwi] \setupwhitespace[line] \starttext \definetextbackground[secondary][ location=always, background=color, backgroundcolor=lightgray

Re: [NTG-context] startnarrower and framed?

2019-08-21 Thread Jon Wong
[line] \starttext \definetextbackground[secondary][ location=always, background=color, backgroundcolor=lightgray, leftoffset=.5\bodyfontsize, rightoffset=.5\bodyfontsize, topoffset=.5\bodyfontsize, bottomoffset=.5\bodyfontsize, frame=off,] \input knuth \startnarrower \dontleavehmode

Re: [NTG-context] startnarrower and framed?

2019-08-21 Thread Jon Wong
> I got some progress! >> >> \setupnarrower[left=2cm, right=2cm] % what does middle do, actually? >> \startnarrower >> \dontleavehmode\framed[width=local]{testing} >> >> Since this works for left offset: \framed[width=local]{testing} >> \endnarrower >>

Re: [NTG-context] startnarrower and framed?

2019-08-21 Thread Jon Wong
lly? > \startnarrower > \dontleavehmode\framed[width=local]{testing} > > Since this works for left offset: \framed[width=local]{testing} > \endnarrower > > So, how do I do a gradient background? Yeah, I know I have to dive into > MetaPost and MetaFun some time. Is that where the

Re: [NTG-context] startnarrower and framed?

2019-08-21 Thread Jon Wong
Hi all, I got some progress! \setupnarrower[left=2cm, right=2cm] % what does middle do, actually? \startnarrower \dontleavehmode\framed[width=local]{testing} Since this works for left offset: \framed[width=local]{testing} \endnarrower So, how do I do a gradient background? Yeah, I know I

[NTG-context] startnarrower and framed?

2019-08-21 Thread Jon Wong
Hi all, I want to have a \startnarrower effect. But I also want that segment to have a border (hopefully a gradient background color too!). I tried: \startnarrower \framed{testing} Seems framed doesn’t observe startnarrower commands. \endnarrower How do I achieve that? Regards Jon

[NTG-context] Fwd: metafun 2

2019-08-19 Thread Mikael P. Sundqvist
lty with a contour plot, namely intersections. In the second one I added points, and it looks better. In the third plot I have not specified that the expression should be equal to 0. Then Mathematica plots the curves f(x,y)=C for various values of C. In the background it adds a density plot (i.e. a mesh

Re: [NTG-context] Question to a table

2019-08-07 Thread Wolfgang Schuster
, in one peace of the table without any text. Can you be more concrete what you try to achieve. Do want different colors for the borders or just two rules with different colors, the first can be achieved with a background graphics while the second can be done with the \blackrule command

Re: [NTG-context] Captions with background

2019-08-04 Thread Henning Hraban Ramm
Am 2019-08-04 um 10:33 schrieb Hans Hagen : > > Thank you! That is much cleaner than my try, of course. I’ll try to transfer that into my environment. Greetlings, Hraban --- https://www.fiee.net http://wiki.contextgarden.net https://www.dreiviertelhaus.de GPG Key ID 1C9B22FD

Re: [NTG-context] Captions with background

2019-08-04 Thread Hans Hagen
On 8/3/2019 5:22 PM, Henning Hraban Ramm wrote: Hi, in my books I typeset captions onto full page images, therefore I need a background; in the attached example it’s just a white box, usually I use a MetaPost shadow (some of you helped me with that a few years ago, current code see https

[NTG-context] Captions with background

2019-08-03 Thread Henning Hraban Ramm
Hi, in my books I typeset captions onto full page images, therefore I need a background; in the attached example it’s just a white box, usually I use a MetaPost shadow (some of you helped me with that a few years ago, current code see https://wiki.contextgarden.net/Drop_shadows). Now

Re: [NTG-context] Graphics placement with columnsets/page grids (was "no subject)

2019-07-28 Thread Denis Maier
verlayBox withcolor \MPcolor{color-1} ; >> \stopuniqueMPgraphic >> >> \startuniqueMPgraphic{contrast} >> fill OverlayBox withcolor \MPcolor{color-2} ; >> \stopuniqueMPgraphic >> >> \defineoverlay[frame] [\uniqueMPgraphic{frame}] >> \defineoverlay[

[NTG-context] Graphics placement with columnsets/page grids (was "no subject)

2019-07-24 Thread Denis Maier
; \defineoverlay[frame] [\uniqueMPgraphic{frame}] > \defineoverlay[contrast][\uniqueMPgraphic{contrast}] > > \definecolumnset[example][n=2] > > %\setupcolumnsetstart[example][1][1][2] > %\setupcolumnsetstart[example][1][2][4] > %\setupcolumnsetlines[example][1][1][-5] > %\setupcolumnsetl

Re: [NTG-context] background problem with layers

2019-07-23 Thread Hans Hagen
On 7/23/2019 4:51 PM, Aditya Mahajan wrote: On Mon, 22 Jul 2019, Wolfgang Schuster wrote: Peter Rolf schrieb am 22.07.2019 um 13:32: Hi, I have a problem with a not printed color background when using layers. Small test file is attached. Below is a simpler example of your problem

Re: [NTG-context] background problem with layers

2019-07-23 Thread Aditya Mahajan
On Mon, 22 Jul 2019, Wolfgang Schuster wrote: Peter Rolf schrieb am 22.07.2019 um 13:32: Hi, I have a problem with a not printed color background when using layers. Small test file is attached. Below is a simpler example of your problem. The frame disappears when you repeat the layer which

[NTG-context] (no subject)

2019-07-23 Thread Denis Maier
] %\setupcolumnsetstart[example][1][2][4] %\setupcolumnsetlines[example][1][1][-5] %\setupcolumnsetlines[example][1][2][-5] \definecolumnsetspan[wide] [n=2, background=contrast, color=white, ] \starttext \startcolumnset[example] \startcolumnsetspan[wide] \subject{Einleitung} {\tfx\setupinterlinespace\em

Re: [NTG-context] background problem with layers

2019-07-23 Thread Peter Rolf
Am 22.07.2019 um 19:00 schrieb Wolfgang Schuster: > Peter Rolf schrieb am 22.07.2019 um 13:32: >> Hi, >> >> I have a problem with a not printed color background when using layers. >> Small test file is attached. > Below is a simpler example of your problem. > >

Re: [NTG-context] background problem with layers

2019-07-22 Thread Wolfgang Schuster
Peter Rolf schrieb am 22.07.2019 um 13:32: Hi, I have a problem with a not printed color background when using layers. Small test file is attached. Below is a simpler example of your problem. The frame disappears when you repeat the layer which change how the content if flushed

Re: [NTG-context] Unwanted white box above float

2019-07-22 Thread Duncan Hothersall
Brilliant! Thanks Taco. On Mon, 22 Jul 2019 at 16:32, Taco Hoekwater wrote: > Hi, > > \setupfloat[thematicimage] > [freeregion=no] > > But I do not know what that actually means. > I just noticed that it makes the white background box not be white

Re: [NTG-context] Unwanted white box above float

2019-07-22 Thread Taco Hoekwater
Hi, \setupfloat[thematicimage] [freeregion=no] But I do not know what that actually means. I just noticed that it makes the white background box not be white any more. Taco > On 22 Jul 2019, at 16:39, Duncan Hothersall wrote: > > Hi all. > > Have been experimentin

[NTG-context] Unwanted white box above float

2019-07-22 Thread Duncan Hothersall
Hi all. Have been experimenting with the many and varied options for placefloat to try to resolve this problem with no success. As per minimal example below I have nearly what I'm after - an image which floats to the right of a background box with a 1em offset - but I can't get rid of the white

[NTG-context] background problem with layers

2019-07-22 Thread Peter Rolf
Hi, I have a problem with a not printed color background when using layers. Small test file is attached. ConTeXt version: 2019.07.16 18:23 Peter test.pdf Description: Adobe PDF document \defineframed[framedclass][ foregroundcolor=black, foregroundstyle=\bfa, backgroundcolor

Re: [NTG-context] Strange behavior in somewhat complex layout (again)

2019-06-27 Thread Andres Conrado Montoya
works as expected (no color-filled page, no header > in the start-chapter page). > > MWE: > > %% START MWE > > [...] > > \startsetups [chapter:before] >\doifoddpageelse > {} > {\pushbackground[page] > \setupb

Re: [NTG-context] Strange behavior in somewhat complex layout (again)

2019-06-27 Thread Wolfgang Schuster
] \setupbackgrounds[page][background=color,backgroundcolor=rojo] \page[yes,right]       \popbackground} \stopsetups \startsetups [chapter:before]   \page   \doifoddpageelse     {}     {\pushbackground[page]    \setupbackgrounds[page][background=color,backgroundcolor=rojo]    \page[yes,header

[NTG-context] Strange behavior in somewhat complex layout (again)

2019-06-27 Thread Andres Conrado Montoya
cycle) enlarged(0,0.25u) shifted (0,6i) withcolor \MPcolor{rojo} ; fi; StopPage; \stopuseMPgraphic \defineoverlay [chapter:background] [\useMPgraphic{page:background}] \setupbackgrounds[page][background=chapter:background] \definepagebreak[first

Re: [NTG-context] is it useful to use the option "--fonts=all" when running first-setup-sh?

2019-06-25 Thread Andres Conrado
Tank you very much Pablo. I'll try that. They are proper latex fonts, tho, so I'm no sure that will do. I also have a background i humanities and book design, but I'm now making math books, go figure. It's very interesting from a typographic point of view. Now I'm more interested in seeing what

Re: [NTG-context] is it useful to use the option "--fonts=all" when running first-setup-sh?

2019-06-25 Thread Pablo Rodriguez
; Don’t get me wrong, a message may get no reply because it goes unnoticed. Regarding Math Times Pro 2, I wonder whether "\definefontfamily[mainface][mm][Math Times Pro 2]" would allow partial usage. But my background is in humanities and math is all Greek to me . Just i

[NTG-context] Strange behavior in somewhat complex layout

2019-06-23 Thread Andres Conrado Montoya
fi; StopPage; \stopuseMPgraphic \defineoverlay [chapter:background] [\useMPgraphic{page:background}] \setupbackgrounds[page][background=chapter:background] \definepagebreak[firstpagebreak][yes,header] \startsetups [chapter:before] \doifoddpageelse {} {\pushbackground[page]

Re: [NTG-context] Something wrong after ConTeXt installation, could somebody help me please?

2019-06-12 Thread Wolfgang Schuster
width=10cm,    indenting={yes, small},    background=color, backgroundcolor=rosybrown:1,    foreground=color, foregroundcolor=black,    offset=2mm,    align=flushleft] \starttext \startprettyblock[width=7.5 cm,align={flushleft}] \noindentation  The Earth, as a habitat for animal life, is in ol

Re: [NTG-context] Something wrong after ConTeXt installation, could somebody help me please?

2019-06-12 Thread Ursula Hermann
}, background=color, backgroundcolor=rosybrown:1, foreground=color, foregroundcolor=black, offset=2mm, align=flushleft] \starttext \startprettyblock[width=7.5 cm,align={flushleft}] \noindentation The Earth, as a habitat for animal life, is in old age and has a fatal illness. Several, in fact

[NTG-context] Something wrong after ConTeXt installation, could somebody help me please?

2019-06-12 Thread Ursula Hermann
={yes, small}, background=color, backgroundcolor=rosybrown:1, foreground=color, foregroundcolor=black, offset=2mm, align=flushleft] \starttext \startprettyblock[width=7.5 cm,align={flushleft}] \noindentation The Earth, as a habitat for animal life, is in old age and has a fatal

Re: [NTG-context] background color, was: CMYK Color profile

2019-06-02 Thread Benjamin Koppe
When stupidity strikes, no one's safe. Turns out \setupbackgrounds has an option called backgroundoffset, and this is the solution. The not colorized part was the bleed part of the document, so the background command would be: \setupbackgrounds [paper] [ background=color

Re: [NTG-context] background color, was: CMYK Color profile

2019-05-31 Thread Benjamin Koppe
! \showframe \setupbackgrounds[paper][background=color,backgroundcolor=blue] \starttext \starttitle[title={First page}] \input lorem \stoptitle \starttitle[title={Second page}] \input lorem \stoptitle \starttitle[title={Third page}] \input lorem \stoptitle \starttitle[title

Re: [NTG-context] background color, was: CMYK Color profile

2019-05-31 Thread Wolfgang Schuster
Benjamin Koppe schrieb am 31.05.2019 um 21:23: Hi Jan, yes, I've read these texts once and they played a role in thinking about getting into ConTEXt. Thank you for your answer, now I have something to investigate. Another follow up question on background colors: I try to setup

Re: [NTG-context] background color, was: CMYK Color profile

2019-05-31 Thread Benjamin Koppe
Hi Jan, yes, I've read these texts once and they played a role in thinking about getting into ConTEXt. Thank you for your answer, now I have something to investigate. Another follow up question on background colors: I try to setup the background color by \setupbackgrounds[page

Re: [NTG-context] Questions on columnsetspan (and grids and backgrounds)

2019-05-18 Thread Mikael P. Sundqvist
gt; 2) What is the current correct way to get back on grid after > formulas? > >>> The only key that had lead me to something that seems to work in > >>> \setupformulas is "option=depth". Is that the way to go? > >>> > >>>

[NTG-context] Bug or not?

2019-05-16 Thread Hans van der Meer
There is an interaction in the placement of float captions when their width is set and background coloring switched.Minimal example included here, the jpeg is arbitrary of course. Output shown.Setting the width of the caption effectively shifts the caption to the left.See the change between

Re: [NTG-context] Questions on columnsetspan (and grids and backgrounds)

2019-05-15 Thread Hans Hagen
setup-en.pdf). Right now I can set it for an odd and an even page, but then if I want a background on the page after that, I have to put that code at the place where it will be used. (I got an error with \startpostponing[+1] ... \stoppostponing) 4) To be a bit more c

Re: [NTG-context] Questions on columnsetspan (and grids and backgrounds)

2019-05-14 Thread Mikael P. Sundqvist
ssible to set page backgrounds > > on specific page. Something like \setupbackgrounds[page][page=3, ...] > > (I cannot find any keys for this in setup-en.pdf). Right now I can set > > it for an odd and an even page, but then if I want a background on the > >

Re: [NTG-context] Questions on columnsetspan (and grids and backgrounds)

2019-05-14 Thread Hans Hagen
3) This is a bit unrelated, but is it possible to set page backgrounds on specific page. Something like \setupbackgrounds[page][page=3, ...] (I cannot find any keys for this in setup-en.pdf). Right now I can set it for an odd and an even page, but then if I want a background on the p

Re: [NTG-context] Questions on columnsetspan (and grids and backgrounds)

2019-05-13 Thread Mikael P. Sundqvist
page backgrounds > on specific page. Something like \setupbackgrounds[page][page=3, ...] > (I cannot find any keys for this in setup-en.pdf). Right now I can set > it for an odd and an even page, but then if I want a background on the > page after that, I have to put that code at the place

[NTG-context] Questions on columnsetspan (and grids and backgrounds)

2019-05-11 Thread Mikael P. Sundqvist
Right now I can set it for an odd and an even page, but then if I want a background on the page after that, I have to put that code at the place where it will be used. (I got an error with \startpostponing[+1] ... \stoppostponing) 4) To be a bit more concrete on the first issue: In the example be

Re: [NTG-context] Normal tables error: Dimension too large. Context version: 2019.04.29 08:52

2019-05-10 Thread Hans Hagen
... l.114 \eTABLE My table is: \setupTABLE[header][each][background=color,backgroundcolor=white, width=broad] \bTABLE[split=repeat,option={stretch},  align={flushright}, frame=off]   \bTABLEhead[align=flushright]     \bTR    \bTH [offset=none, align={flushleft},

[NTG-context] Normal tables error: Dimension too large. Context version: 2019.04.29 08:52

2019-05-10 Thread Felipe de Jesús Molina Bravo
e_stop ...l_ntb_table_get_max_width \ifautoTBLspread \tabl_ntb... \eTABLE ...oveunwantedspaces \tabl_ntb_table_stop \stopTBLprocessing \fi \po... l.114 \eTABLE My table is: \setupTABLE[header][each][background

Re: [NTG-context] option=tex in setuptyping causes the background to be drawn twice

2019-04-28 Thread Wolfgang Schuster
Hans Hagen schrieb am 28.04.2019 um 18:42: On 4/28/2019 5:56 PM, Aditya Mahajan wrote: On Sun, 28 Apr 2019, Wolfgang Schuster wrote: The problem are these settings in buff-imp-default.mkiv: \setupstartstop   [DefaultSnippet]   [\c!before={\typingparameter\c!before},   

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