mmand{\leftaligned{#2}}
%--
\define[2]\MyPageBuilder{%
\page
\setupbackgrounds[page][background=testA]
\definelayer[testA] [x=0mm, y=0mm,width=\paperwidth, height=\paperheight]
~
\startshapetext[mymetafunpath, mymetafu
}
\reference[myref2]{MyRef2} Here is the second reference.\par
See reference \in[myref1] on \at{page}[myref1]\par
\stopshapetext
\definelayer[testA]
\setlayer[testA][x=-1cm,y=3cm]{\framed[background=ol1]{\strut\getshapetext}}
\setlayer[testA][x=9cm,y=3cm] {\framed[background=ol1]{\strut
contacts]
[
align=center,
page=no,
after={\thinrule\blank[big]}]
\definehead[topic][subject]
\setuphead
[topic]
[
after={\hairline}]
\defineitemgroup
[timeline]
[before=,
inbetween=,
width=6em]
\setuplines[before=,after=,command=\strut]
\definelayer[myb
header=0cm,
footer=0.75cm,
]
\definelayer[test3]
%[x=.5\paperwidth, y=.5\paperheight]
[x=.5\textwidth, y=.5\textheight]
%\setupbackgrounds[page]
\setupbackgrounds[text]
[background=test3]
\starttext
\setlayer[test3][location={middle}]
\framed[offs
.75cm,
]
\setuppagenumbering[state=start,alternative=doublesided,location=margin]
\useMPlibrary [dum]
\starttext
%%% Me %%%
\showframe [text] [text]
\definelayer[test3]
\setlayer[test3][]
\centerbox{
{\startcombination[nx=3,ny=1,distance=15mm,after=,location=middle]
{\externalfigure[
.contextgarden.net/Combinations#Image_Width
> > >
> > > Thanks
> > >
> > > Keith McKay
> > >
> > > %%% example %%%
> > >
> > > \setuppapersize[A4,portrait]%[A4,portrait]
> > >
> > > \setuplayout
> &
> > [backspace=2.5cm,
> >
> > topspace=1cm,
> >
> > height=28cm,
> >
> > width=17cm,
> >
> > header=0cm,
> >
> > footer=0.75cm,
> >
> > ]
> >
> > \useMPlibrary [dum]
> >
> > \start
\showframe
\setupexternalfigures[location={default}]
\setuplayout
[backspace=2.5cm,
topspace=1cm,
height=28cm,
width=17cm,
header=0cm,
footer=0.75cm,
]
\definelayer[test3]
%[x=.5\paperwidth, y=.5\paperheight]
[x=.5\textwidth, y=.5\textheight]
%\setupback
,
height=28cm,
width=17cm,
header=0cm,
footer=0.75cm,
]
\useMPlibrary [dum]
\starttext
\definelayer[test3]
\setlayer[test3][x=2cm,y=15cm]
{\startcombination[nx=3,ny=1,distance=15mm,after=,location=middle]
{\externalfigure[dummy]}{}
\rotate[rotation=90]{\externalfigure[dummy
,
]
\useMPlibrary [dum]
\starttext
\definelayer[test3]
\setlayer[test3][x=2cm,y=15cm]
{\startcombination[nx=3,ny=1,distance=15mm,after=,location=middle]
{\externalfigure[dummy]}{}
\rotate[rotation=90]{\externalfigure[dummy]}{}
{\externalfigure[dummy][]}{}
\stopcombination}
\flushlayer[test3
relations are shown.
Abstract elements are expanded so only real metamodel elements are shown. Uses
the Mastering ArchiMate 9-colour scheme to assist learning and quick reading.}]
\starttext
\setupindenting[none]
\setupindenting[no]
\definelayer[coremodel][width=\textwidth,height=\textheight]
]
[background=color,
backgroundcolor=transparentred,
width=0.3\textwidth,
after=\dontleavehmode]
%
\definelayer % used to display the pull quote on the page
[test]
[x=0mm,
y=0mm,
width=\paperwidth,
height=\paperheight
Hi Bruce,
The Layers page has some examples (
https://wiki.contextgarden.net/Layers#Place_labels_on_pictures) and the
Collectors page as well (https://wiki.contextgarden.net/Collectors).
Some MWE:
\starttext
\definelayer [figure][width=\overlaywidth,height=\overlayheight]
\defineoverlay[figure
ere.
The layer is relative to the page, not to the paper in this case.
And the state is an option for the layer (in \definelayer), not for the
background, being "start" its default value.
Just in case it might help,
Pablo
\setupexternalfigures
[location={default,global}]
\
):
\useMPlibrary[dum]
\setuppapersize[A5][A4]
\setuplayout[
marking=on,
location=middle,
]
\definemeasure[Bleed][3mm]
\definemeasure[MaxHeight][{\dimexpr\paperheight + 2\measure{Bleed}\relax}]
\definemeasure[MaxWidth][{\dimexpr\paperwidth + 2\measure{Bleed}\relax}]
\definelayer[papier][
preset
irst line):
>
>
> \useMPlibrary[dum]
>
> \setuppapersize[A5][A4]
> \setuplayout[
> marking=on,
> location=middle,
> ]
> \definemeasure[Bleed][3mm]
> \definemeasure[MaxHeight][{\dimexpr\paperheight + 2\measure{Bleed}\relax}]
> \definemeasure[MaxWidth][{\d
}\relax}]
\definelayer[papier][
preset=lefttop,
%x=0mm,y=0mm,
width=\paperwidth,
height=\paperheight,
]
\setupbackgrounds[paper][background=cover,state=start]
\starttext
\showframe
TEST
\setlayerframed[papier][
preset=lefttop,
%x=-\measure{Bleed},
%y=-\measure{Bleed},
offset
in {\it Italic} and {\bf bold} letters:
\bgroup
\it This is what Italic letters look like here.
\egroup
\bgroup
\bf This is what Bold letters look like here.
\egroup
\stopblockquote
\stoptext
\definelayer [testlayer]
\setupbackgrounds [text] [text] [background=testlayer]
%\setupbackground
oint ConTeXt to the right directory
for figures of course):
% kate: hl ctx
%%% SOF
\setuppagenumbering[alternative=doublesided]
\definelayer
[chapCover]
[x=0mm,
y=0mm,
width=\paperwidth,
height=\paperheight,repeat=yes]
\startsetups chapter:b
ges
{chap-cover-1.jpg, chap-cover-2.jpg, ... chap-cover-10.jpg}
each of which appear at the ends of their respective chapters, then the
following achieves what you want (once you point ConTeXt to the right directory
for figures of course):
% kate: hl ctx
%%% SOF
\setuppagenumbering[alterna
g achieves what you want (once you point ConTeXt to the right directory
for figures of course):
% kate: hl ctx
%%% SOF
\setuppagenumbering[alternative=doublesided]
\definelayer
[chapCover]
[x=0mm,
y=0mm,
width=\paperwidth,
height=\paperheight,repeat=yes]
e to appear where it
should!
From what I understood from your explanation, I have this:
%%% SOF
% for 'mill'
\setupexternalfigures[location={default}]
\setuppagenumbering[alternative=doublesided]
\definelayer[mill][x=0mm,y=0mm,width=\paperwidth,height=\paperheight
On Monday, March 7, 2022 11:08 AM śrīrāma wrote:
>
> From what I understood from your explanation, I have this:
>
A formatted version below –
%%% SOF
% for 'mill'
\setupexternalfigures[location={default}]
\setuppagenumbering[alternative=doublesided]
\definelayer
I can't seem to get my facing page image to appear where it
> should!
From what I understood from your explanation, I have this:
%%% SOF
% for 'mill'
\setupexternalfigures[location={default}]
\setuppagenumbering[alternative=doublesided]
\definelayer[mill][x=0mm,
1 in
bodymatter:
\startbodymatter
\definelayer[mylayer] % name of the layer
[x=0mm, y=0mm, % from upper left corner of paper
width=\paperwidth,height=\paperheight] % let the layer cover the full paper
\setlayer[mylayer]
[hoffset=2.5cm, voffset=3cm]
{\externalfigure[Chapter1.jpg][wid
I've managed to put double-sided page numbers -- but numbers are restarting
after two, though. What's going on?
\setuppagenumbering[location=,alternative=doublesided]
%
https://tex.stackexchange.com/questions/128854/context-eliminate-topspace-and-bottomspace?rq=1
\d
it's not working for me.
Here is my MWE:
\define[]\logofile{an_image_file.png} % Here defining the variable with the
filename to use.
\definelayer[stillimage]
\setlayer[stillimage]{\externalfigure[\logofile]} % Here trying to use the
\logofile macro.
\setupbackgrounds[page][
Here is my MWE:
>
>
>
> \define[]\logofile{an_image_file.png} % Here defining the variable with the
> filename to use.
>
> \definelayer[stillimage]
> \setlayer[stillimage]{\externalfigure[\logofile]} % Here trying to use the
> \logofile macro.
> \setup
%
\define[]\logofile{an_image_file.png} % Here defining the variable with the
filename to use.
\definelayer[stillimage]
\setlayer[stillimage]{\externalfigure[\logofile]} % Here trying to use the
\logofile macro.
\setupbackgrounds[page][background=stillimage]
\starttext
\input knuth
\stoptext
both to print out as
> > Chancery. Only one or the
> > other, but not both.
> >
> > %%%%
> > \definefontfamily [mwetest] [sans] [Liberation Sans]
> > \setupbodyfont [mwe,ss,12pt]
> > \definelayer[mwe][repeat=yes, preset=lefttop,
son I can't get both to print out as Chancery.
Only one or the
other, but not both.
\definefontfamily [mwetest] [sans] [Liberation Sans]
\setupbodyfont [mwe,ss,12pt]
\definelayer[mwe][repeat=yes, preset=lefttop, hoffset=.125in, voffset=.125in]
\se
one or the
other, but not both.
\definefontfamily [mwetest] [sans] [Liberation Sans]
\setupbodyfont [mwe,ss,12pt]
\definelayer[mwe][repeat=yes, preset=lefttop, hoffset=.125in, voffset=.125in]
\setlayer[mwe] { \switchtobodyfont[chancery,8pt] \hskip 5m
you.
I didn’t realize that there was a "repeat" option in \definelayer.
I use "state", since it contains more values to be chosen from.
I guess "state=repeat" and "repeat=yes" get the same result.
Pablo
___
title}]
\definelayer[butterfly]
[x=0mm, y=0mm,repeat=yes,width=\paperwidth, height=\paperheight]
\setlayer[butterfly]
[hoffset=.99\textwidth, voffset=1cm]
{\externalfigure[bfly.jpg][width=1.5cm]}
\setupbackgrounds[page][background=butterfly]
The last line adds backgrounds to every page. And wi
tter
>
> \setupbackgrounds
> [rightpage]
> [background=butterfly]
>
> \startchapter[title={Chapter title}]
> \definelayer[butterfly]
> [x=0mm, y=0mm,repeat=yes,width=\paperwidth, height=\paperheight]
> \setlayer[butterfly]
> [hoffset=.99\textwidth, vo
itted something).
\startbodymatter
\setupbackgrounds
[rightpage]
[background=butterfly]
\startchapter[title={Chapter title}]
\definelayer[butterfly]
[x=0mm, y=0mm,repeat=yes,width=\paperwidth, height=\paperheight]
\setlayer[butterfly]
[hoffset=.99\textwidth, voffset=1cm]
{\externalf
Latest LMTX. I noticed the following \flushlayer behaviour and wondered if it
was a bug or something I've misunderstood?
\showframe
\setuppapersize [A5][A5]
\setuplayout[marking=on, location=middle]
\definelayer[coverlayer]
[width=\paperwidth, height=\paperheight]
\setupbackgrounds [
Huseyin Özoguz via ntg-context schrieb am 21.09.2021 um 12:24:
Hello dear context-enthusiasts,
I want to place the pagenumber on a double-sided project with
coordinates. I tried the layer-mechanism:
\setuppagenumbering[location=]
\definelayer
[pagenumber]
[width=\paperwidth
Hello dear context-enthusiasts,
I want to place the pagenumber on a double-sided project with
coordinates. I tried the layer-mechanism:
\setuppagenumbering[location=]
\definelayer
[pagenumber]
[width=\paperwidth,
height=\paperheight,
location={left,top},
x=120mm,y=220mm
On 9/7/2021 11:02 AM, Henning Hraban Ramm via ntg-context wrote:
(Latest LMTX, yesterday’s luametatex binary)
The MWE shows no transparency with LMTX, it works with MkIV:
'''
\setupexternalfigures[location=default]
\definetransparency[light][a=1,t=.05]
\definelayer[
(Latest LMTX, yesterday’s luametatex binary)
The MWE shows no transparency with LMTX, it works with MkIV:
'''
\setupexternalfigures[location=default]
\definetransparency[light][a=1,t=.05]
\definelayer[bg][x=0mm,y=0mm]
\setupbackgrounds[text][background={bg},state=sta
juh via ntg-context schrieb am 26.08.2021 um 14:46:
Hi,
this sample shows that the image in a layer in header disappears if showframe is
set.
\setupexternalfigures[location=default]
\definelayer[Cow]
[x=0, y=0]
\setlayer[Cow]
[x=10em, y=0mm]
{\externalfigure[cow][height=\lineheight
Hi,
this sample shows that the image in a layer in header disappears if showframe is
set.
\setupexternalfigures[location=default]
\definelayer[Cow]
[x=0, y=0]
\setlayer[Cow]
[x=10em, y=0mm]
{\externalfigure[cow][height=\lineheight]}
\setupbackgrounds[header][background=Cow]
\showframe
]
\definelayer
[MyLogo]
[doublesided=yes,
width=\paperwidth,
height=\paperheight,
repeat=yes]
\setupbackgrounds [page] [background=MyLogo]
\setuppagenumbering [alternative=doublesided]
\setlayer
[MyLogo]
[left]
[preset=leftbottom,
x=\dimexpr\cutspace-\rightmargindistance
Hi,
I want to insert a logo at the bottom of the page on the right on the first
page, on the left on the second, on the right on the third ...
With the key repeat=yes, the logo is always at the bottom right
Thanks
Fabrice
\useMPlibrary[dum]
\definelayer
[MyLogo]
[x=0mm, y=0mm,
width
(using framed or so) and then taking those dimensions
Many thanks for your reply, Hans.
I’m afraid I don’t know how to make the commands work:
\setupexternalfigures[location=default]
\definelayer[hi]
[x=.5\dimexpr\framedwidth\relax, y=.5\dimexpr\framedheight\relax]
\setupbackgrounds
d then taking those dimensions
Many thanks for your reply, Hans.
I’m afraid I don’t know how to make the commands work:
\setupexternalfigures[location=default]
\definelayer[hi]
[x=.5\dimexpr\framedwidth\relax, y=.5\dimexpr\framedheight\relax]
\setupbackgrounds[page][background=
On 8/17/2021 5:56 AM, Pablo Rodriguez via ntg-context wrote:
Dear list,
I have the following sample:
\definelayer[hi][x=.5\paperwidth, y=.5\paperheight]
\setupbackgrounds[page][background=hi]
\starttext
\setlayer[hi]{hi}
\startTEXpage[offset=10em]
\null
\stopTEXpage
Dear list,
I have the following sample:
\definelayer[hi][x=.5\paperwidth, y=.5\paperheight]
\setupbackgrounds[page][background=hi]
\starttext
\setlayer[hi]{hi}
\startTEXpage[offset=10em]
\null
\stopTEXpage
\stoptext
I don’t get the layer in the TEXpage.
How could I get it with
r supports this.
> [...]
> But, you can use renderings instead:
>
> \useexternalrendering[myaudiorendering]
> [audio/mp3][audio.mp3][embed=yes]
>
> \definerenderingwindow[audiowindow]
> [width=0sp, height=0sp]
>
> \definelayer[resources]
>
th=0sp, height=0sp]
\definelayer[resources]
\setupbackgrounds[page][background=resources]
\setlayer[resources]{\placerenderingwindow[audiowindow][myaudiorendering]}
\goto{PLAY SOUND}[StartRendering{myaudiorendering}]
This is basically the example from "/back-swf.mkiv". W
ated on every page. Same behavior
> in current LMTX and MkIV.
>
> What did I wrong? Or is it a bug? (The same setup didn’t cause repeats in
> 2019.)
>
> Hraban
>
>
>
> \usemodule[visual]
>
> \setuplayout[
>backspace=82mm,
> width=118m
fill unitsquare xyscaled (1mm,1mm) withcolor blue ;
> > \stopreusableMPgraphic
> >
> > \definelayer[foldingmarkslayer][width=\paperwidth,height=\paperheight]
> > \setlayer[foldingmarkslayer][y=101mm,x=11mm]{\reuseMPgraphic{fold}}
> >
> > \setupbackgrounds [page][bac
;
\stopreusableMPgraphic
\definelayer[foldingmarkslayer][width=\paperwidth,height=\paperheight]
\setlayer[foldingmarkslayer][y=101mm,x=11mm]{\reuseMPgraphic{fold}}
\setupbackgrounds [page][background=foldingmarkslayer]
\starttext
Test
\stoptext
The error I get:
tex error on line 6 in file ./test.tex: Use of
Hi all,
I don’t know if I’m overlooking something really basic or if this is a bug. The
following MWE compiles with mkiv, but not with lmtx:
\startreusableMPgraphic{fold}
fill unitsquare xyscaled (1mm,1mm) withcolor blue ;
\stopreusableMPgraphic
\definelayer[foldingmarkslayer][width
,
]
\definelayer[leftmargin][
x=0mm,y=3mm,
width=\leftmarginwidth,
height=\textheight
]
\setupbackgrounds[text][leftmargin][background=leftmargin,state=start]
\starttext
\setlayerframed[leftmargin][
frame=off,
offset=overlay,
width=\leftmarginwidth,
align={flushleft,verytolerant
[directory=images_bearbeitet_png]
\definelayer
[backgroundimage]
[width=\paperwidth,
height=\paperheight,
state=repeat,
doublesided=yes]
\setupbackgrounds
[page]
[background=backgroundimage]
\setlayer
[backgroundimage]
[right]
[x=\backspace,
y=\dimexpr\topspace+\headerheight+\head
Thanks, it was particularly the braces that I had overlooked.
Julian
On 28/4/21 2:58 pm, Wolfgang Schuster wrote:
Move both \definelayer and \setupbackgrounds to the start of the
document and put braces ({...}) around the list entry.
Wolfgang
jbf mailto:roma83...@gmail.com>> schrieb
Move both \definelayer and \setupbackgrounds to the start of the document
and put braces ({...}) around the list entry.
Wolfgang
jbf schrieb am Mi., 28. Apr. 2021, 06:53:
> It is not clear to me. I have two \setupbackgrounds as you can see. If I
> put setupbackgrounds[page][back
As you can see, the
1st is
towards the top left of the page, while the second is bottom right.
\definelayer[blessings] % name of the layer
[x=0mm, y=0mm, % from upper left corner of paper
width=\paperwidth, height=.5\paperheight] % let the layer cover
the full
though located at the bottom of the page, eliminates the first layer. I
> have simply set them up one after the other. As you can see, the 1st is
> towards the top left of the page, while the second is bottom right.
>
> \definelayer[blessings] % name of the layer
> [x=0mm, y=
have simply set them up one after the other. As you can see, the 1st is
towards the top left of the page, while the second is bottom right.
\definelayer[blessings] % name of the layer
[x=0mm, y=0mm, % from upper left corner of paper
width=\paperwidth, height=.5\paperheight] % let the
On 1/19/21 6:43 PM, Hans Hagen wrote:
> On 1/19/2021 5:46 PM, Pablo Rodriguez wrote:
>> Dear list,
>>
>> I have the following sample:
>>
>>\definelayer[layer]
>> [doublesided=yes]
>> [...]
>> Simply defining a doublesided layer breaks c
On 1/19/2021 5:46 PM, Pablo Rodriguez wrote:
Dear list,
I have the following sample:
\definelayer[layer]
[doublesided=yes]
\setlayer[layer]
{layer}
\setupbackgrounds[text]
[background={layer}]
\starttext
\null
\stoptext
Simply defining a doublesided layer
Dear list,
I have the following sample:
\definelayer[layer]
[doublesided=yes]
\setlayer[layer]
{layer}
\setupbackgrounds[text]
[background={layer}]
\starttext
\null
\stoptext
Simply defining a doublesided layer breaks compilation in LMTX. It works
fine with MkIV. I’m
background := unitsquare xscaled dimA yscaled dimB ;
fill pathbackground
withshademethod "linear"
withshadedirection(0,1)
withshadecolors (red,blue);
\stopuseMPgraphic
%--
\definelayer[MyBackgroundLayer]
\setlayer[MyBackgroundLayer]{\
ind] scaled scaling)
> shifted ( (pos[n],0) + shiftB)
> withpostscript "collect";
>fi;
> endfor;
> fi;
> \stopMPdrawing}}
>
>
> %======
mA yscaled dimB ;
fill pathbackground
withshademethod "linear"
withshadedirection(0,1)
withshadecolors (red,blue);
\stopuseMPgraphic
%--
\definelayer[MyBackgroundLayer]
\setlayer[MyBackgroundLayer]{\useMPgraphic{MyBackgroundGraphic}}
\s
Oh, I see. Nice, thank you a lot.
Jairo :)
El jue, 3 de dic. de 2020 a la(s) 12:19, Wolfgang Schuster (
wolfgang.schuster.li...@gmail.com) escribió:
> Jairo A. del Rio schrieb am 03.12.2020 um 18:14:
> > Hi everyone. The following
> >
> > \setuppagenumbering[state=stop]
Jairo A. del Rio schrieb am 03.12.2020 um 18:14:
Hi everyone. The following
\setuppagenumbering[state=stop]
\definelayer[mybg]
[
repeat=yes,
x=0mm, y=0mm,
width=\paperwidth, height=\paperheight,
]
\setlayer[mybg]{\externalfigure[cow][width=\paperwidth,height=\paperheight]}
\setupbackgrounds
Hi everyone. The following
\setuppagenumbering[state=stop]
\definelayer[mybg]
[
repeat=yes,
x=0mm, y=0mm,
width=\paperwidth, height=\paperheight,
]
\setlayer[mybg]{\externalfigure[cow][width=\paperwidth,height=\paperheight]}
\setupbackgrounds[page][background=mybg,state=repeat]
\setupindenting
erent default width than *\framed*. Perhaps I missed it.)
New overwrought example:
\definelayer [HRule]
[x=0mm,y=0pt,width=\textwidth,height=\textheight]
\setlayer [HRule]
[hoffset=0pt,voffset=10em]
{\blackrule[color=green,height=1pt,width
uage[sv]
%\usetypescriptfile [plex]
\setupbodyfont [palatino,ss,11pt]
\setupinterlinespace[16pt]
\useMPlibrary[dum]
\useexternalfigure[logo][cow][size=art]
\definepapersize[Label][width=\LWidth,height=\LHeight]
\setuppapersize[Label][A4]
\setuppaper[
nx=2,
ny=9,
topspace=1cm,
backsp
re it should
be placed on the second page.
This sample shows thie problem in a simpler way:
\definelayer[whatever]
[x=3em, y=3em]
\setupbackgrounds[page][background=whatever]
\setuphead
[section]
[before={\testpage[2]\blank[2*big]}]
\starttext
\dorecurse{18}{\section{Se
e second page.
This sample shows thie problem in a simpler way:
\definelayer[whatever]
[x=3em, y=3em]
\setupbackgrounds[page][background=whatever]
\starttext
\dorecurse{18}{\section{Section}}
just a line
\setlayerframed[whatever][foregroundstyle=\bf\ss]
{layer on the last pag
On Mon, Jun 15, 2020 at 02:52:49PM +0200, Pablo Rodriguez wrote:
> Dear list,
>
> I have the following number with wrong annotation placement and wrong
> page number, which would be both on the second page:
>
> \setupinteraction[state=start]
> \definelayer[pgnumber]
was caused by the deployment of
"\placelist[section][alternative=d]". But my new sample shows clearly
that this isn’t the cause.
My question is now is how to get the right page for the layer in this
sample:
\definelayer[whatever]
[x=3em, y=3em]
\setupbackgrounds[page][background=whatev
Pablo Rodriguez schrieb am 15.06.2020 um 14:52:
Dear list,
I have the following number with wrong annotation placement and wrong
page number, which would be both on the second page:
\setupinteraction[state=start]
\definelayer[pgnumber]
\setupbackgrounds[page][background=pgnumber
Dear list,
I have the following number with wrong annotation placement and wrong
page number, which would be both on the second page:
\setupinteraction[state=start]
\definelayer[pgnumber]
\setupbackgrounds[page][background=pgnumber]
\starttext
\placelist[section][alternative=d
terheight + \Bleed\relax
\definelayer[bgpicleft][x=-\Bleed,y=-\Bleed,width=\maxWidth,height=\maxHeight]
% inkl. Beschnitt
\definelayer[bgpicright][x=0mm,y=-\Bleed,width=\maxWidth,height=\maxHeight] %
inkl. Beschnitt
\definemakeup[fullpage][
page=no,
doublesided=no,
headerstate=empty,
footerstate=
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
?
I'm using LuaMetaTex Version 2.05.01 ConTeXt ver: 2020.04.03 10:31 MKIV
beta fmt: 2020.4.6 int: english/english
Thanks and stay safe.
Best Wishes
Keith McKay
%%% MWE %%% \setuppapersize[A4,landscape]
\definelayer[mybg]
[x=0mm, y=0mm,
width=\paperwidth, h
On Tue, Mar 24, 2020 at 07:29:26PM +0100, Wolfgang Schuster wrote:
>
> When you need the height for the layer offset you can use \dowithnextbox
> because it hides \setbox etc.
>
> \definelayer[TextBox]
>
> \showframe[text][text]
>
> \starttext
>
> \dowithnextb
On Tue, Mar 24, 2020 at 11:36:30AM -0400, Aditya Mahajan wrote:
>
> You can do:
>
>
> \definelayer[LAY]
>
> \starttext
>
> \setbox\scratchbox=\vbox{\framed[width=300pt, align=flushleft]{\input
> ward\relax}}
> The height of the box is \the\ht\scratchbox;
layer offset you can use \dowithnextbox
because it hides \setbox etc.
\definelayer[TextBox]
\showframe[text][text]
\starttext
\dowithnextbox
{\setlayer
[TextBox]
[x=\the\dimexpr(\textwidth -\nextboxwd)/3\relax,
y=\the\dimexpr(\textheight-\nextboxht)/3\relax]
{\flushnextbox}}
Rudolf Bahr schrieb am 24.03.2020 um 16:29:
On Tue, Mar 24, 2020 at 03:56:18PM +0100, Wolfgang Schuster wrote:
Rudolf Bahr schrieb am 24.03.2020 um 12:19:
Hello dear All,
the following MWE works best:
\definelayer[LAY]
\starttext
\setlayerframed[LAY]
[x=0pt,y=20pt]
[frame=on
On Tue, 24 Mar 2020, Rudolf Bahr wrote:
On Tue, Mar 24, 2020 at 03:56:18PM +0100, Wolfgang Schuster wrote:
Rudolf Bahr schrieb am 24.03.2020 um 12:19:
> Hello dear All,
>
> the following MWE works best:
>
>
> \definelayer[LAY]
> \starttext
>
> \setlayerfram
On Tue, Mar 24, 2020 at 03:56:18PM +0100, Wolfgang Schuster wrote:
> Rudolf Bahr schrieb am 24.03.2020 um 12:19:
> > Hello dear All,
> >
> > the following MWE works best:
> >
> >
> > \definelayer[LAY]
> > \starttext
> >
> > \s
Rudolf Bahr schrieb am 24.03.2020 um 12:19:
Hello dear All,
the following MWE works best:
\definelayer[LAY]
\starttext
\setlayerframed[LAY]
[x=0pt,y=20pt]
[frame=on,
width=300pt,
align={right,}] % tolerant}]
{\input ward }
\flushlayer[LAY]
\stoptext
Now, it could
Hello dear All,
the following MWE works best:
\definelayer[LAY]
\starttext
\setlayerframed[LAY]
[x=0pt,y=20pt]
[frame=on,
width=300pt,
align={right,}] % tolerant}]
{\input ward }
\flushlayer[LAY]
\stoptext
Now, it could have a favourable effect on designing a page if the
On Fri, 14 Feb 2020 09:10:22 +0100
"Jan U. Hasecke" wrote:
> Am 13.02.20 um 20:39 schrieb Wolfgang Schuster:
>
> >
> > This is normal behaviour for layers but you can repeat it on every page with
> >
> > \definelayer [bg:...] [state=repeat]
>
Am 13.02.20 um 20:39 schrieb Wolfgang Schuster:
>
> This is normal behaviour for layers but you can repeat it on every page with
>
> \definelayer [bg:...] [state=repeat]
Thanks. There was a dark idea of this in the back of my brain.
>
> In your case a simple over
On Thu, 13 Feb 2020 09:19:10 +0100
juh wrote:
> Hi all,
>
> I am a little bit confused as I never had this problem, although I often use
> backgrounds and layers.
>
> \definelayer[bg:hs2020-mond]
> [x=0, y=0, width=\paperwidth, height=\paperheight]
>
> \setlayer[
Hi all,
I am a little bit confused as I never had this problem, although I often use
backgrounds and layers.
\definelayer[bg:hs2020-mond]
[x=0, y=0, width=\paperwidth, height=\paperheight]
\setlayer[bg:hs2020-mond]
[x=0mm, y=0mm]
{\externalfigure[background.jpg][height=\paperwidth]}
Ususally I
Dear list,
I have the following sample:
\setupexternalfigures[location=default]
\starttext
\definelayer[abc][hoffset=1cm, voffset=5cm]
\setlayer[abc]{\externalfigure[cow.pdf][frame=on]}
\definelayer[xyz][hoffset=12cm, voffset=5cm]
\setlayer[xyz]{\externalfigure
ne-third of the card, as well as using \startuseMPgraphic for direct
compilation from ConTeXt.
Many thanks for all the help.
>>> SNIPPET <<<
\startbuffer[tblcard]
\strut
\definelayer[tblplacecard]
\setlayer[tblplacecard][x=-1em,y=1em]{%
\externalfigure[fi
;
>
> \setuplayout[
> width=120mm,
> backspace=16mm,
> height=192mm,
> topspace=6mm,
> header=8mm,
> footer=6mm,
> ]
> \showframe
>
> \definelayer[TA]
> [x=16mm, y=14mm,
> width=
,
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
the amount
> > to move
> > the whole layer ensemble.
> >
> > My question is now: Does in context exist a possibility to move all layers
> > jointly
> > without correcting all their x-values subsequently?
>
> 1. You can use hoffset and voffset to shift all
raphs in a layer.
\setuppapersize[A4,landscape]
\setupexternalfigures[location=default]
\definelayer[LAY]
\starttext
\startbuffer
\setlayerframed
[LAY]
[x=0pt,
y=-8pt]
[frame=off,
width=.35\textwidth,
align={normal,tolerant}]
{\externalfigure[cow][width=\hsize]
\blank
1 - 100 of 676 matches
Mail list logo