Lukas/ConTeXt schrieb am 09.06.2020 um 20:28:
Hello,
it seems that bar (even with option 'continue=yes') is not rendered in place of
'~' within math. See the sample:
\definebar[MyBar][color=green,rulethickness=2.8,order=background,offset=1.5,continue=yes]
\starttext
1 + 2 = \startbar
Hello,
it seems that bar (even with option 'continue=yes') is not rendered in place of
'~' within math. See the sample:
\definebar[MyBar][color=green,rulethickness=2.8,order=background,offset=1.5,continue=yes]
\starttext
1 + 2 = \startbar[MyBar]3~kN\stopbar % OK
$1 + 2 = \startbar
om} {
>\keepblocks[Question]
> }
>
> \starttext
>
>Text A
>
>\beginQuestion
>Question A….
>\endQuestion
>
>Text B
>
>\beginQuestion
>Question B….
>\endQuestion
>
>\page
>
>\doifnotmod
Henning Hraban Ramm schrieb am 01.06.2020 um 20:22:
Hi,
I finally wanted to attack CG journal 2019 again and stumble upon this error:
If an article contains several \starttyping ... \stoptyping examples with a
textbackground, it sometimes fills the whole column (pagecolumns). It doesn’t occur
Hi,
I finally wanted to attack CG journal 2019 again and stumble upon this error:
If an article contains several \starttyping ... \stoptyping examples with a
textbackground, it sometimes fills the whole column (pagecolumns). It doesn’t
occur if the "typing" is at top or bottom of the column or
Hello,
it seems that bar (even with option 'continue=yes') is not rendered in
place of '~' within math. See the sample:
\definebar[MyBar][color=green,rulethickness=2.8,order=background,offset=1.5,continue=yes]
\starttext
1 + 2 = \startbar[MyBar]3~kN\stopbar
$1 + 2 = \startbar[MyBar
suppose you wanted to use the image defined as part of
> `\startchapter` as the background image of the _current_ page, then you
> could access the value of the \structureuservariable. For example,
>
> \startchapter[title=whatever][image=filename]
>
> \structureuservariable{image}
ave to worry about it. See
https://wiki.contextgarden.net/System_Macros/Key_Value_Assignments#Multi-pass_data
for more details.
Now, suppose you wanted to use the image defined as part of `\startchapter` as
the background image of the _current_ page, then you could access the value of
the \struct
]
\setupbackgrounds[page][background=color,backgroundcolor=blue,]
\page[empty,right]
\popbackground}
\stopsetups
As you see the image is not in the right place and of course the
pagenumbering
is wrong.
Use \startTEXpage[pagestate=start] to increase the page number with TEX
pages.
Thanks
on the even page before a chapter.
>>
>> \startsetups [chapter:before]
>> \doifoddpageelse
>> {}
>> {\pushbackground[page]
>> \setupbackgrounds[page][background=color,backgroundcolor=blue,]
>> \page[empty,right]
>> \po
this setups at some point
in the text to insert eg. a picture on the even page before a chapter.
\startsetups [chapter:before]
\doifoddpageelse
{}
{\pushbackground[page]
\setupbackgrounds[page][background=color,backgroundcolor=blue,]
\page[empty,right]
\popbackground
to insert eg. a picture on the even page before a chapter.
\startsetups [chapter:before]
\doifoddpageelse
{}
{\pushbackground[page]
\setupbackgrounds[page][background=color,backgroundcolor=blue,]
\page[empty,right]
\popbackground}
\stopsetups
Here comes the not so mwe
\setupinteraction[state=start]
\setupcolors[textcolor=colorone]
\setupbackgrounds[page][background=color,backgroundcolor=nearlywhite]
\usemodule[vim]
\startvimrc[name=minor-groups]
hi Function cterm=NONE
hi Stringcterm=NONE
hi Delimiter cterm=NONE
\stopvimrc
\startcolorscheme[oceansunset]
\def
/on-the-use-of-colours-in-archimate/)]
\setupMPpage
[background=color,
backgroundcolor=gray]
\startMPpage[instance=doublefun]
draw textext("\goto{doesn’t
work}[url(https://ea.rna.nl/2011/06/05/on-the-use-of-colours-in-archimate/)]");
\stopMPpage
or[nearlywhite] [r=0.988, g=0.988, b=0.988]
\setupinteraction[state=start]
\setupcolors[textcolor=colorone]
\setupbackgrounds[page][background=color,backgroundcolor=nearlywhite]
\usemodule[vim]
\unprotect
\startcolorscheme[oceansunset]
\definesyntaxgroup[Comment][\c!color={co
Thank you. That works.
> On 14 May 2020, at 17:13, Wolfgang Schuster
> wrote:
>
> Gerben Wierda schrieb am 14.05.2020 um 11:47:
>> Is it possible to get a transparent background in a textext()? The following
>> minimal example doesn’t work.
>> \starttext
>>
Gerben Wierda schrieb am 14.05.2020 um 11:47:
Is it possible to get a transparent background in a textext()? The
following minimal example doesn’t work.
\starttext
\setupMPpage
[background=color,
backgroundcolor=gray]
\startMPpage
draw
textext("\definecolor[labelbackground][a=0.2,
Is it possible to get a transparent background in a textext()? The following
minimal example doesn’t work.
\starttext
\setupMPpage
[background=color,
backgroundcolor=gray]
\startMPpage
draw
textext("\definecolor[labelbackground][a=0.2,r=1,g=1,b=1]\framed[height=1.2em,background=
rs. How do I get it
>> back?
>> Minimal example:
>> \starttext
>> TestingTesting
>> \page
>> \framed[align=flushleft]{TestingTesting}
>> \stoptext
>
> Use \blank
Too happy too soon. And I recall I ran into this earlier a while ago in another
}{%
\inframed[
frame=off,background=shadow,
foregroundcolor=captioncolor,]{%
\bfx{#3}%\vbox{#3}%
}%
}%
}%
}}
% debugging information
\setlayer[bgpicleft][x=0mm,y=-\Bleed]{%
\color[debugcolo
Would something like this work?
\setupbackgrounds[page][
background={BookIllustrationLayer},
]
\definelayer[BookIllustrationLayer][
width=\paperwidth,
height=.5\paperheight,
y=.5\paperheight,
position=no,
repeat=no,
]
\setlayer[BookIllustrationLayer]{%
\clip[x=\doifelseoddpage
- xpart C)**2 + (ypart Q - ypart C)**2);
ang := angle(Q - C);
Y := C + dir(ang)*dist;
Y
enddef;
\stopMPextensions
Is there a way to draw the base figure once, and draw the points only at
each frame?
I guess you could stack them on top of a base background image but I
wonder if it's worth
understanding what is happening in the MWE below which
is different from what I expected.
I have created a shaded background using MetaFun with dimensions
PaperWidth by PaperHeight which mimics \setuppapersize[A4,landscape}
as expected. I then within \starttext \startMPpage... \stopMPpage
Keith McKay schrieb am 19.04.2020 um 13:15:
Dear All
I have problem understanding what is happening in the MWE below which is
different from what I expected.
I have created a shaded background using MetaFun with dimensions
PaperWidth by PaperHeight which mimics \setuppapersize[A4,landscape
Dear All
I have problem understanding what is happening in the MWE below which is
different from what I expected.
I have created a shaded background using MetaFun with dimensions
PaperWidth by PaperHeight which mimics \setuppapersize[A4,landscape} as
expected. I then within \starttext
icture to OverlayBox ;
\stopuseMPgraphic
\defineoverlay[FunnyFrame][\useMPgraphic{FunnyFrame}]
\defineframedtext
[FunnyFramedText]
[
frame=off,
background=FunnyFrame,
offset=\bodyfontsize,
width=\textwidth,
]
\defineenumeration[Counter]
[
title=yes,
alternati
mf schrieb am 13.04.2020 um 17:21:
Thanks also for the explanation of backgroundoffset: it's an offset
relative only to the background, and it moves in the opposite direction
of the content offset of \framed.
Looks like \framed[...,offset=VALUE,backgroundoffset=frame,...] is
equivalent
OverlayWidth
yscaled 2.5 OverlayHeight ;
draw p withcolor red ;
setbounds currentpicture to p topenlarged 6mm ;
\stopuseMPgraphic
\defineoverlay[triangle][{\uniqueMPgraphic{cell:triangle}}]
\starttext
\bTABLE[frame=off]
\bTR
\bTD[nx=2,align=middle,background=triangle] \dontleavehmode a\crlf
[background=triangle], but it doesn't work.
How about nested tables:
\starttext
\bTABLE[width=1cm,height=1cm]
\bTR
\bTD A \eTD
\bTD B \eTD
\bTD C \eTD
\bTD E \eTD
\eTR
\bTR
\bTD E \eTD
\bTD[nc=2,nr=2,strut=no,align={middle,lohi}] {\bTABLE
Thanks Hans and Wolfgang.
@Wolfgang: your solution is clearer, but unfortunately it works only for
this MWE. In the real case the triangle extends over 2 rows, but the
table has more than 2 rows.
I tried grouping the first two rows in a
\bTABLEbody[background=triangle], but it doesn't work
;
\stopuseMPgraphic
\defineoverlay[triangle][{\uniqueMPgraphic{cell:triangle}}]
\starttext
\bTABLE[frame=off]
\bTR
\bTD[nx=2,background=triangle,align=middle] \dontleavehmode
a\crlf text \eTD
\eTR
\bTR[toffset=1mm]
\bTD left \eTD
\bTD right \eTD
\eTR
\eTABLE
\stoptext
][{\uniqueMPgraphic{cell:triangle}}]
\starttext
\bTABLE[frame=off]
\bTR
\bTD[nx=2,background=triangle,align=middle] \dontleavehmode a\crlf
text \eTD
\eTR
\bTR[toffset=1mm]
\bTD left \eTD
\bTD right \eTD
\eTR
\eTABLE
\stoptext
here's a very ugly solution
\startuseMPgraphic
}}]
\starttext
\bTABLE[frame=off]
\bTR
\bTD[nx=2,background=triangle,align=middle] \dontleavehmode a\crlf
text \eTD
\eTR
\bTR[toffset=1mm]
\bTD left \eTD
\bTD right \eTD
\eTR
\eTABLE
\stoptext
The triangle is used as background of the 2-column wide cell of the
first row.
I want
On 4/8/20 11:32 AM, Fabrice Couvreur wrote:
> [...]
> \startframedtext[width=max,background=color,backgroundcolor=fondpaille]
> \starthanging[location=right]
> {\startMPcode
> draw unitsquare scaled 2cm ;
> \stopMPcode}
> \input tuft
Hi Pablo,
Here a sample.
Fabrice
\useMPlibrary[dum]
\definecolor[fondpaille][c=0,m=0,y=0.2,k=0]
\starttext
\startframedtext[width=max,background=color,backgroundcolor=fondpaille]
\starthanging[location=right]
{\startMPcode
draw unitsquare scaled 2cm
On 4/8/20 10:19 AM, Fabrice Couvreur wrote:
> Hi,
> Is there a more elegant way to have a white background for the table?
Hi Fabrice,
I think not including the table in the framed text is the easiest way to
avoid the colored background.
Or why do you need the table inside the framed text,
Hi,
Is there a more elegant way to have a white background for the table ?
In fact, my question is more general : if we insert an image, the
background color envelops this image : how to solve this problem ?
Thank you.
Fabrice
\definecolor[fondpaille][c=0,m=0,y=0.2,k=0]
\starttext
ablehead
\startxtablebody
\dorecurse{40}{\getbuffer[tablerow]}
\stopxtablebody
\stopxtable
\stopbuffer
\setupxtable
[option=stretch,
split=repeat,
header=repeat,
align=middle]
\setupxtable
[head]
[background=color,
backgroundcolor=gray]
\starttext
\title{Tabl
t[location=middle, width=27.5cm, height=18cm,
backspace=1cm,header=4cm]
\setupcaptions[location=none]
\setupbackgrounds[header][text][background={Logos}, state=repeat]
\defineoverlay
[Logos][{
\framed[width=\textwidth, height=3cm, align=right, strut=no, offset=none]{
\framed[width=0.280\textwidth,
tuppapersize[A4, landscape]
\setuplayout[location=middle, width=27.5cm, height=18cm,
backspace=1cm,header=4cm]
\setuppagenumbering[state=stop]
\setupcaptions[location=none]
\setupbackgrounds[header][text][background={Logos}, state=repeat]
\setupnumbering [location=]
\setupframed[offset=none]
\
ll[left] \cC \stopxcell
>> \startxcell[left] \cD \stopxcell
>> \startxcell \cE \stopxcell
>> \startxcell[left] \cF \stopxcell
>> \startxcell \cG \stopxcell
>> \startxcell \cH \stopxcell
>> \doifdefined{cI}{\startxcell \cI \stopxcell}
>> \doifdefined{cJ}
,
option=stretch,
align=middle]
\setupxtable[head][background=color,
backgroundcolor=gray,
topframe=on,
bottomframe=on,
framecolor=black,
foregroundcolor=blue]
\setupxtable[left][align=right]
\startxtable[header=repeat]
Add "split=repeat" to \startxtable.
\startxtablehead[h
cH \stopxcell
\doifdefined{cI}{\startxcell \cI \stopxcell}
\doifdefined{cJ}{\startxcell \cJ \stopxcell}
\doifdefined{cK}{\startxcell [left] \cK \stopxcell}
\stopxrow
\stopbuffer
\setupxtable[offset=0cm,
frame=off,
bottomframe=on,
framecolor=gray,
option=stretch,
align=middle]
\setu
quot;, "2002",
>>> "2003", "2004", "2005","2006" }
>>> context.startxtable({"align={middle,lohi},
>>> width=1.2cm,offset=0.8ex,bodyfont=9pt"})
>>
>> context.startxtable( { align = "middle,lohi&quo
le({"align={middle,lohi},
width=1.2cm,offset=0.8ex,bodyfont=9pt"})
context.startxtable( { align = "middle,lohi", width = "1.2cm", offset =
"0.8ex", bodyfont = "9pt" } )
The argument is a lua table. Values are usually strings.
context.startxrow({"
;2001", "2002",
> > "2003", "2004", "2005","2006" }
> > context.startxtable({"align={middle,lohi},
> > width=1.2cm,offset=0.8ex,bodyfont=9pt"})
> >
>
> context.startxtable( { align = "middle,lo
m,offset=0.8ex,bodyfont=9pt"})
context.startxtable( { align = "middle,lohi", width = "1.2cm", offset =
"0.8ex", bodyfont = "9pt" } )
The argument is a lua table. Values are usually strings.
context.startxrow({"background=color,backgroundcolor=
;1", "Année", "1998", "1999", "2000", "2001", "2002",
"2003", "2004", "2005","2006" }
context.startxtable({"align={middle,lohi},
width=1.2cm,offset=0.8ex,bodyfont=9pt"})
context
brice
>
> https://mailman.ntg.nl/pipermail/ntg-context/2016/087487.html
>
> \defineframed
> [EXFRAME]
> [frame=off,
> offset=0pt,
> location=low,
> width=\struttotal,
> background=color,
> backgroundcolor=black,
> foregroundcolor=white,
ttps://mailman.ntg.nl/pipermail/ntg-context/2016/087487.html
>
> \defineframed
> [EXFRAME]
> [frame=off,
> offset=0pt,
> location=low,
> width=\struttotal,
> background=color,
> backgroundcolor=black,
> foregroundcolor=white,
> f
Hi Wolfgang,
Is it possible to adapt your code with the environment that you proposed to
me ?
Thank you.
Fabrice
https://mailman.ntg.nl/pipermail/ntg-context/2016/087487.html
\defineframed
[EXFRAME]
[frame=off,
offset=0pt,
location=low,
width=\struttotal,
background
th all of this (ConTeXt, METAPOST, etc.) remains the
learning curve and the lack of good and up-to-date educational materials. I.e.
the METAPOST manual is terse, probably because it relies on people
understanding the background that is in the METAFONT book.
And, if one is used to thinking in terms of f
]
[\metahashoverlay{ -45}]
\defineoverlay[meta:hash:horizontal][\metahashoverlay{+180}]
\defineoverlay[meta:hash:vertical] [\metahashoverlay{ -90}]
\starttext
\startmidaligned
\startxtable
[align={lohi,middle}, width=1.5cm, background=color
ial.
>
> 2. Download and install the color profile for this print shop in ConTeXt.
>
> 3. Specify CMYK values by using transicc with the given profile
>
> 4. Define named corporate colors with these CMYK values for typography,
> colored background in ConTeXt.
>
> 5. Convert all
named corporate colors with these CMYK values for typography,
colored background in ConTeXt.
5. Convert all RGB images to CMYK using the given color profile
especially if they contain corporate colors.
Now if we decide to use another print shop, the whole process has to
start again. The result
\structureuservariable – this is really cool.
Thanks a lot Wolfgang.
juh
Am 14.02.20 um 19:53 schrieb Wolfgang Schuster:
> \setupexternalfigures[location=default]
>
> \defineoverlay
> [SlideBackground]
> [\doifsomething
> {\structureuservariable{background}}
>
und.jpg][height=\paperheight]}]
> >
> > or
> >
> > \defineoverlay [bg:hs2020-mond] [\overlayfigure{background.jpg}]
>
> Is this defining and setting in one command?
You can also pass a variable as argument in the second argument,
e.g. in the following example I
bg:hs2020-mond]
> [x=0mm, y=0mm]
> {\externalfigure[background.jpg][height=\paperwidth]}
>
> Ususally I call the background after a head command like \starttitle or when I
> create slides like this
>
> \startslide[title={foobar}]
> \setupbackgrounds[page][background=
call the background after a head command like \starttitle or when I
create slides like this
\startslide[title={foobar}]
\setupbackgrounds[page][background=bg:hs2020-mond]
...
\stopslide
The problem is that I cannot call the background on another slide.
It seems as if the layer is gone after
t; What is the expected output of this command?
>
>> I know there is a similar function in the simple slides module but I need it
>> in my documents, often exams to my students, so caption is mainly not
>> necessary.
>>
>> The background to this is that I often c
a similar function in the simple slides module but I need it
> in my documents, often exams to my students, so caption is mainly not
> necessary.
>
> The background to this is that I often creating pictures in Inkscape and
> export it to pdf but sometimes I do screenshots and save it in
.
The background to this is that I often creating pictures in Inkscape and export
it to pdf but sometimes I do screenshots and save it in .png or .pdf format. So
I just want to put labels in it like a layer in same size as the included
picture.
Or is this something that’s already solved so
e or sized according to the box
size (choice text/box)
The bounding box following the actual complex outline
The upper of the two small boxes in line with the upper text line (in case the
size is coupled to the text size)
The colour of the background a default colour or given as parameter
Thi
[spider.eps]}
\setupbackgrounds[page][background={abc, xyz}]
\null
\stoptext
Is therea way to set the voffset value of the xyz layer to the value of
voffset of the abc layer plus the half of the height of that layer?
I mean, something like: voffset = ( abc.voffset() + (abc.height()/2) )
Many
x,step=5,location=inleft,start=50,color=darkblue]
#
# \starttext
#
# \framed
# [background=color,
#backgroundcolor=gray,
#align={normal},
#frame=off,
#loffset=6ex,
#width=\textwidth,
#foregroundstyle=\ss]
# {\startlinenumbering[original]
# \input knuth
# \stop
le=\tx\ss,distance=-1ex,step=5,location=inleft,start=50,color=darkblue]
\starttext
\framed
[background=color,
backgroundcolor=gray,
align={normal},
frame=off,
loffset=6ex,
width=\textwidth,
foregroundstyle=\ss]
{\startlinenumbering[original]
\input knuth
\st
]
#[style=\bf,
# distance=-2ex,
# step=3,
# location=inleft,
# start=4,
# color=darkred]
#\startlinenumbering[Two]
#\input klein
#\stoplinenumbering
#
# % This fails:
# \framed
#[background=color,
# backgroundcolor=gray,
# align
]
\definelinenumbering[Two]
\setuplinenumbering[Two]
[style=\bf,
distance=-2ex,
step=3,
location=inleft,
start=4,
color=darkred]
\startlinenumbering[Two]
\input klein
\stoplinenumbering
% This fails:
\framed
[background=color
it?
Best wishes,
Tomáš
\setupstartstop[DefaultSnippet][before=,after=,style=]
\defineframedtext[MPtyping][background=color,backgroundcolor=gray,width=\makeupwidth,offset=2dd,loffset=6dd,roffset=6dd,frame=on,]
\setuptyping[MP][before=\startMPtyping,after=\stopMPtyping,indentnext=auto,]
search
[DefaultSnippet][before=,after=,style=]
\defineframedtext[MPtyping][background=color,backgroundcolor=gray,width=\makeupwidth,offset=2dd,loffset=6dd,roffset=6dd,frame=on,]
\setuptyping[MP][before=\startMPtyping,after=\stopMPtyping,indentnext=auto
Background: I’m typesetting the annual report of my home town’s "friends of the
earth" chapter. The corporate design has pages with one, two and three columns
(yes, that makes sense).
Chapter titles run over the whole page width or sometimes only over two columns
on three column pag
:
# >Hi all,
# >
# >if I compile the following (minimised) code with ConTeXt from TL2017,
# >I receive expected result -- one framed gray box with correct width.
# >
# >\starttext\showframe
#
>\defineframedtext[MPT][background=color,backgroundcolor=gray,width=\makeupwidt
wframe\defineframedtext[MPT][background="" class="">\setuptyping[MP][before={\startMPT},after={\stopMPT},]\startMP bla \stopMP\stoptextNow I tried it with ConTeXt from TL2019 (TL2018 produces the same result as TL2019)and I have got _two_ boxes -- the outer one is correct and fr
Tomas Hala schrieb am 17.01.2020 um 15:18:
Hi all,
if I compile the following (minimised) code with ConTeXt from TL2017,
I receive expected result -- one framed gray box with correct width.
\starttext\showframe
\defineframedtext[MPT][background=color,backgroundcolor=gray,width=\makeupwidth
Hi all,
if I compile the following (minimised) code with ConTeXt from TL2017,
I receive expected result -- one framed gray box with correct width.
\starttext\showframe
\defineframedtext[MPT][background=color,backgroundcolor=gray,width=\makeupwidth,frame=on,offset=1cc,]
\setuptyping[MP][before
indicator line based on section heading numeric text value
* Lua converts annotated Markdown to an inline image ConTeXt macro
* Clipped background images for pixel-perfect two-page spread
* Custom global counter to enumerate illustrations in TeX
Annotations will be explained in Part 8 of the Typeset
\startxtable
\startxrow
\startxcell A
\stopxcell
\startxcell[ny=2, background=color,
backgroundcolor=blue, rightframe=off,
align=lohi, foregroundcolor=yellow] B
\stopxcell
\stopxrow
\startxrow
\
On 1/2/2020 5:00 PM, Peter Rolf wrote:
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
On Tue, Dec 17, 2019 at 8:39 AM Mikael P. Sundqvist
wrote:
> 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 backgr
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
501 - 600 of 4042 matches
Mail list logo