Hi Hans
There is a small problem with overlays.
%-
\starttext
\defineoverlay[foo][{\blackrule[color=black,width=20mm,height=20mm]}]%
\framed[background=foo,strut=no,offset=overlay]%{\blackrule[color=white,width=16mm,height=16mm]}
\stoptext
%-
The inner square should be centered.
Peter
Dear Wolfgang,
Now, I understand why the error messages “\texfont0 is undefined”, “ you used
the started character from an undefined font family.” are appeared.
Thank you for your clear explanation.
Best regards,
Dalyoung
>> 3. removing \starttext, \stoptext, and functionstyle=“math”, it
Jeong Dal schrieb am 29.12.2019 um 14:33:
Dear Hans,
I run the following code which is in page 24,25 luametafun.pdf.
1. adding \starttext and \stoptext, it works fine. No overlapping.
Also, functionstyle = “math” is working nicely.
2. removing \starttext and \stoptext, then functionstyle
, cos = math.sin, math.cos",
function = "cos(x)+sin(y)",
%functionstyle = "math",
background = "bitmap",
foreground = "edge",
linewidth = 1/2,
cache = true,
];
\stopMPcode
%\stop
On 12/28/2019 9:27 PM, Jeong Dal wrote:
Dear Hans,
Thank you for the fix.
Background color is OK now.
A new problem in the caption:
Since width of the figure is narrower than the width of the line
"x = [0,12.555]; y = [-6,6];”,
“y =“ is written over 12.555.
Is there any option to sup
On 12/28/2019 9:27 PM, Jeong Dal wrote:
Dear Hans,
Thank you for the fix.
Background color is OK now.
A new problem in the caption:
Since width of the figure is narrower than the width of the line
"x = [0,12.555]; y = [-6,6];”,
“y =“ is written over 12.555.
Is there any option to sup
Dear Hans,
Thank you for the fix.
Background color is OK now.
A new problem in the caption:
Since width of the figure is narrower than the width of the line
"x = [0,12.555]; y = [-6,6];”,
“y =“ is written over 12.555.
Is there any option to suppress the caption x, y since there are nu
topplacefigure
\stoptext
---
3 background fix in contour labels
---
% gray background was left over from testing
---
4 some stuff for offlist dev / discussion
-
code at page 24-25 in “luametafun.pdf”.
\startMPcode{doublefun} draw lmt_contour [
xmin = 0, xmax = 4*pi, xstep = .05,
ymin = -6, ymax = 6, ystep = .05,
levels =7,
height = 5cm,
preamble = "local sin, cos = math.sin, math.cos",
function = "cos(x) + cos(y)"
background = "bi
}{\overlaywidth}{\overlayheight}{\color[Watermark]{\CONTEXT}}}]
\defineoverlay
[watermark]
[{\scale[factor=fit]{\color[Watermark]{\CONTEXT}}}]
\setupexternalfigure[location=default]
\starttext
\externalfigure[mill][background={foreground,watermark}]
\stoptext
Wolfgang
”.
\startMPcode{doublefun} draw lmt_contour [
xmin = 0, xmax = 4*pi, xstep = .05,
ymin = -6, ymax = 6, ystep = .05,
levels =7,
height = 5cm,
preamble = "local sin, cos = math.sin, math.cos",
function = "cos(x) + cos(y)"
background = "bitmap",
foreground = "edg
\makeupwidth, height=\makeupheight]
> \setupbackgrounds[page][background=TA]
>
Place the layer in the text area or use \paperwidth and \paperheight for
width and height.
Wolfgang
>
___
If your questi
,
topspace=6mm,
header=8mm,
footer=6mm,
]
\showframe
\definelayer[TA]
[x=16mm, y=14mm,
width=\makeupwidth, height=\makeupheight]
\setupbackgrounds[page][background=TA]
\def\Square{\framed[width=1cm,height=1cm]{S}}
\starttext
\strut
\setlayer[TA
ping it only to the K channel.
I’d regard that a misconfiguration on their side.
Maybe it helps to define the output intent:
https://wiki.contextgarden.net/Command/setupbackend
https://wiki.contextgarden.net/PDFX
>> If you need more control you can create your own marks and add them as
>> backgr
of PDF software (verification? imposition? I've not
asked), that complains about that, because it treats grayscale as RGB,
splitting it on C, M and Y channels, instead of mapping it only to the K
channel.
If you need more control you can create your own marks and add them as
background
to change the color for the rules and the only option
you have is to use color conversion.
\setupcolors[cmyk=yes,rgb=no]
If you need more control you can create your own marks and add them as
background for the page.
Wolfgang
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
ay [WatermarkOverlay]
>> [{\framed[frame=off,
>>foregroundcolor=red]
>> {\scale[factor=max]
>>{\rotate[rotation=60.0]
>> {~Oops!~
]
{\scale[factor=max]
{\rotate[rotation=60.0]
{~Oops!~]
\setupbackgrounds [page]
[background=WatermarkOverlay]
%setuptagging [state=stop]
\setuptagging [state=start]
\setuplanguage
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
]
[background=WatermarkOverlay]
%setuptagging [state=stop]
\setuptagging [state=start]
\setuplanguage [en]
[spacing=packed]
\setupinterlinespace [2.2ex]
\definenarrower [MidOneEm]
[middle=1em
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
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
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
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,
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
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
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
://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
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
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
][\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
quot;F", "G", "H", "I", "J" }
> local letters_2 = { "1", "Année", "1998", "1999", "2000", "2001", "2002",
> "2003", "2004", "2005","2006" }
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
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
&
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
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
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
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
]
\setupheadertexts
[{\startframed [headerframed]
[foregroundstyle=bold,background=framewithshadow]
\getvariable{headertext}{title}
n\high{o}\,\getvariable{headertext}{number}
\stopframed}]
\setupheadertexts
[{\startframed [headerframed]
[align=flushleft
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
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
> 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
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
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
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
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
, 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
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
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
.7cm*dir 0) ;
\stopMPcode
\stopbuffer
\starttext
\startlinecorrection[blank]
\startmidaligned
\startxtable[align={middle,lohi},width=2.25cm]
\startxrow
\startxcell
[background=color,backgroundcolor=pal
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
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
gt;
> \definecolor[ColorA][0.8(white)]
>
>
> \startsetups [headertext]
>
> \setupheadertexts
> [{\startframed [headerframed]
> [foregroundstyle=bold,background=framewithshadow]
> \getvariable{headertext}{title}
t]
> >
> >\setupheadertexts
> > [{\startframed [headerframed]
> > [foregroundstyle=bold,background=framewithshadow]
> > \getvariable{headertext}{title}
> > n\high{o}\,\getvariable{headertext}{number}
> > \stopframed}]
>
, 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
[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
[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
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
,
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
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
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
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
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
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
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
]
\setupheadertexts
[{\startframed [headerframed]
[foregroundstyle=bold,background=framewithshadow]
\getvariable{headertext}{title}
n\high{o}\,\getvariable{headertext}{number}
\stopframed}]
\setupheadertexts
[{\startframed [headerframed]
[align=flushleft,foregroundstyle
]
[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
eaderframed]
> [frame=off,
> height=fit,
> width=fit]
>
> \definecolor[ColorA][0.8(white)]
>
>
> \startsetups [headertext]
>
> \setupheadertexts
> [{\startframed [headerframed]
> [foregroundstyle=bold,background=color,backgr
]
[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
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
] 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
[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
> 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
>>
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
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
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
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
,
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
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
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
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
verlayBox withcolor \MPcolor{color-1} ;
>> \stopuniqueMPgraphic
>>
>> \startuniqueMPgraphic{contrast}
>> fill OverlayBox withcolor \MPcolor{color-2} ;
>> \stopuniqueMPgraphic
>>
>> \defineoverlay[frame] [\uniqueMPgraphic{frame}]
>> \defineoverlay[
; \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
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
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
]
%\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
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.
>
>
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
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
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
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
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
works as expected (no color-filled page, no header
> in the start-chapter page).
>
> MWE:
>
> %% START MWE
>
> [...]
>
> \startsetups [chapter:before]
>\doifoddpageelse
> {}
> {\pushbackground[page]
> \setupb
]
\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
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
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
;
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
fi;
StopPage;
\stopuseMPgraphic
\defineoverlay
[chapter:background]
[\useMPgraphic{page:background}]
\setupbackgrounds[page][background=chapter:background]
\definepagebreak[firstpagebreak][yes,header]
\startsetups [chapter:before]
\doifoddpageelse
{}
{\pushbackground[page]
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
601 - 700 of 4063 matches
Mail list logo