On Thu, 6 Jun 2024, Wolfgang Schuster wrote:
> Aditya Mahajan schrieb am 06.06.2024 um 14:48:
> > Hi,
> >
> > I am testing some of my old styles on latest context and find that the
> > background key of \startbackground and \starttextbackground doesn't work
>
Aditya Mahajan schrieb am 06.06.2024 um 14:48:
Hi,
I am testing some of my old styles on latest context and find that the
background key of \startbackground and \starttextbackground doesn't work
(\framed is working as expected). Here is a MWE:
1. \starttextbackground isn't based
Hi,
I am testing some of my old styles on latest context and find that the
background key of \startbackground and \starttextbackground doesn't work
(\framed is working as expected). Here is a MWE:
\startuseMPgraphic{background:test}
fill OverlayBox withcolor 0.75[red,white];
Command/ register
Command/ rightlabeltext
Command/ script
Command/ section
Command/ seeregister
Command/ setupcombinedlist
Command/ setupitemgroup
Command/ setuplabeltext
Command/ setuppairedbox
Command/ setupregister
Command/ shift
Command/ sorting
Command/ startattachment
Command/ startbackground
Com
gt; >
> > Why do pass a option for the typing environment to \starttext?
> >
> > > \definetextbackground[code][background=color, backgroundcolor=lightgray,
> > > frame=off, location=paragraph]
> > >
> > > \setuptyping[before={\startbackground[c
t;
> > \definetextbackground[code][background=color, backgroundcolor=lightgray,
> > frame=off, location=paragraph]
> >
> > \setuptyping[before={\startbackground[code]}, after={\stopbackground}]
> >
> > \starttext[option=XML]
> > \starttyping
> > This
ation=paragraph]
\setuptyping[before={\startbackground[code]}, after={\stopbackground}]
\starttext[option=XML]
\starttyping
This is some code
a second line
\stoptyping
\stoptext
When I use \definetyping[Mytyping][option=XML] and then use \startMytyping ...
\stopMytyping nothing ch
; >
> > > > \setuptyping
> > > > [before={\blank\starttextbackground[Code]},
> > > > after={\stoptextbackground\blank}]
> > > >
> > > > \starttext
> > > >
> > > > \starttyping
> > >
gray,
> > > location=paragraph]
> > >
> > > \setuptyping
> > > [before={\blank\starttextbackground[Code]},
> > > after={\stoptextbackground\blank}]
> > >
> > > \starttext
> > >
> > > \starttyping
>
works:
\definetextbackground[code][background=color, backgroundcolor=lightgray,
frame=off, location=paragraph]
\setuptyping[before={\startbackground[code]}, after={\stopbackground}]
\starttext
\starttyping
This is some code
a second line
\stoptyping
\stoptext
However, I use pretty printing. When you add [option=XM
e]},
> after={\stoptextbackground\blank}]
>
> \starttext
>
> \starttyping
> This is some code
> a second line
> \stoptyping
>
> \stoptext
>
> Wolfgang
Okay so first sorry that the example missed the \starttext ... \stoptext. Won't
happen again.
So unfor
> \starttextbackground[code]
> \starttyping
> This is some code
> a second line
> \stoptyping
> \stoptextbackground
\definetextbackground[code][background=color, backgroundcolor=lightgray,
frame=off, location=paragraph]
\setuptyping[before={\startbackground[code]},
Hello,
is there a way to draw custom background (via MP) to a text typed by
\typefile, which is so long so it spreads over more pages?
- I'm asking because I know how to typeset some text via \typefile with:
1. this:
\definetyping[Test]
[before={\startbackground[background=
gt; \starttextbackground[xx]
>> \stoptextbackground
>>
>> can you try to use 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
> spa
s
but with textbackgrounds you can just control the space at the end and
end of the environment.
\showframe[text][text]
\starttext
\dorecurse{3}{\samplefile{knuth}}
\startbackground[topoffset=1em,bottomoffset=1em]
\dorecurse{2}{\samplefile{knuth}}
\stopbackground
\dorecurse{2}{\samplefile{knut
+ 1)
> >return sum(r)
> > \stoppython
> > \stoptext
> > ```
>
> Another option will be to use the algorithmic module:
> https://bitbucket.org/wolfs/algorithmic/src/
>
> > 2. It would be cool, if I can define some background color for the code.
> > Unfortuna
ortunately I'm very new to context and haven't seen a direct option. I
assume this is possible with some kind of extra environment around the code?
You can add
\setupbackground[background=color, backgroundcolor=gray]
\setupvimtyping[python]
[
before={\startback
gt; \automigrateinserts
> \starttext
> \startbackground
> This is a test\footnote{Footnote} continue
> \stopbackground
> \stoptext
>
> According to node-mig.mkiv, this might cause problems with notes inside
> captions.
>
> Aditya
This indeed does the trick! Tha
On Wed, 12 Jul 2017, Mathias Schickel wrote:
Does no-one know what I can do to settle the problem?
[...]
So what can I do to get the footnotes in a background environment
displayed?
\automigrateinserts
\starttext
\startbackground
This is a test\footnote{Footnote} continue
\stopbackground
]}, after={\blank[5*small]}, topoffset=10pt, bottomoffset=10pt, leftoffset=10pt, rightoffset=10pt]\setupframedtext [width=\textwidth, frame=on, framecolor=black, rulethickness=1pt, background=""> backgroundcolor=red, corner=0, offset
]
%
\starttext
%
\startbackground
%
If you typeset text with background, the footnote workaround does not
work.\postponenotes\footnote{So what could I do to get this footnote displayed?}
%
\stopbackground
\flushnotes
%
\stoptext
Can anyone tell me what I can do to
on page 1
%\page
\block % partially on page 2
\startbackground
\block % only on page 2 if \page is uncommented
\stopbackground
\stoptext
Thanks in advance,
Sytse Knypstra
___
If your question is of interest to
:
\defineenumeration[proclaim]
[text=,
before={\blank\startbackground[frame=off,leftframe=on,
rulethickness=2pt,framecolor=darkred,
background=color,
backgroundcolor=screen]},
after
On 4/24/2015 4:22 PM, Aditya Mahajan wrote:
I have a complex document, where I use
\startbackground
\startplacefigure[location={always,none}]
...
\stopplacefigure
...
\stopbackground
(This is for exam solutions and the background is supposed to be a frame
around the solution; the figure
I have a complex document, where I use
\startbackground
\startplacefigure[location={always,none}]
...
\stopplacefigure
...
\stopbackground
(This is for exam solutions and the background is supposed to be a frame
around the solution; the figure is a figure included in the solution
Hi,
I observe that if startbackground stopbackground has footnotes inside, then
page breaks are placed before and after footnotes with blank pages...
Anyone does know anything about that?
Thanks
___
If your
Hi folks,
Just a question:
I have this textbackground environment:
\definestartstop
[teoria]
[ before={\startbackground[background=color, backgroundcolor=mteoria,
frame=on, width=broad, after={\bigskip}, before={\blank[big]\testpage[2]},
backgroundcorner=round, backgroundradius=5ex
Sorry, I mean Wolfgang not 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 : h
Thanks Aditya.
What's the difference between startbackground and starttextbackground? I can't
see the options of textbackground.
Thanks,
___
If your question is of interest to others as well, please add a
Am 22.05.2014 um 14:25 schrieb Xan :
> Hi,
>
> I have a footnote in \startbackground \stopbackground environment and the
> footnote is not displayed. Can anyone give me any hint?
Add the command \automigrateinserts before \starttex
Hi,
I have a footnote in \startbackground \stopbackground environment and the
footnote is not displayed. Can anyone give me any hint?
thanks in advance,
Xan
___
If your question is of interest to others as well
page. How to work around it?
>
> ---minimal example---
> \starttext
>
> \chapter {Bsaoteh}
>
> \defineenumeration
> [excursion]
> [text=Excursion,
> listtext={Excursion~},
> counter=theorem,
> before={\blank\startbackground},
> after={\sto
~},
counter=theorem,
before={\blank\startbackground},
after={\stopbackground\blank}]
\input knuth
\input knuth
\input knuth
\placetable
[here]
[tab:bala]
{Blaoesunthaoeusatoheu saohusaoteh asotehu asoehu aseohu}{
\bTABLE
\setupTABLE[frame=off]
\setupTABLE[r][first][topframe=on
before=,
>> after=\blank]
>> \stopsetups % style:simple
>>
>> \startsetups style:textrule
>> \definenumber[MyExoNumber][way=bysection,sectionumber=yes]
>> \setuptextrules[rulecolor=darkred]
>> \define\ExoCommand{\incrementnumber[MyExoNumber]
>> \textru
\definenumber[MyExoNumber][way=bysection,sectionumber=yes]
\setuptextrules[rulecolor=darkred]
\define\ExoCommand{\incrementnumber[MyExoNumber]
\textrule[top]{Exercise \getnumber[MyExoNumber]}
\startbackground[frame=off,leftframe=on,backgroundcolor=white,
framecolor=darkred
[MyExoNumber][way=bysection,sectionumber=yes]
\setuptextrules[rulecolor=darkred]
\define\ExoCommand{\incrementnumber[MyExoNumber]
\textrule[top]{Exercise \getnumber[MyExoNumber]}
\startbackground[frame=off,leftframe=on,backgroundcolor=white,
framecolor=darkred
ry={/home/pau/treball/xerrades/grafiques_xerrades_png,
%
/home/pau/treball/xerrades/grafiques_xerrades}]%
%
\definestartstop[CapsaTitolBlanca][before={\setupbackground%
[style=\tfx,background=color,bac
background, the math overruns its lower bound. How can I get
everything to stay inside the background?
A minimal example:
\starttext
\input knuth
\startbackground
\input knuth
\dorecurse{20}{\startformula \sum_{i=0}^5 i \stopformula}
\stopbackground
\stoptext
I've tried some of
How can I get
everything to stay inside the background?
A minimal example:
\starttext
\input knuth
\startbackground
\input knuth
\dorecurse{20}{\startformula \sum_{i=0}^5 i \stopformula}
\stopbackground
\stoptext
I've tried some of the options in \setupbackground with no luck, and
;m totally fine with the git repo.
> Note that this works differently from \definetyping. The typing
> environment honors the leftskip set by its parent environment (for
> example, if typing is inside startbackground); vimtyping
> environment resets all the settings of its parent
ng or \definevimtyping. (I haven't tested
it too much, hence no new release at the moment).
Note that this works differently from \definetyping. The typing
environment honors the leftskip set by its parent environment (for
example, if typing is inside startbackground); vimtyping environment
rese
On 26-5-2012 10:56, Wolfgang Schuster wrote:
Am 26.05.2012 um 04:57 schrieb Aditya Mahajan:
Hi,
Simple backgrounds are not working with the latest beta. The following has no
background color.
\setupbackground
[background=color, backgroundcolor=red]
\starttext
\startbackground
ABC
Am 26.05.2012 um 04:57 schrieb Aditya Mahajan:
> Hi,
>
> Simple backgrounds are not working with the latest beta. The following has no
> background color.
>
> \setupbackground
> [background=color, backgroundcolor=red]
> \starttext
> \startbackground
> ABC
>
Hi,
Simple backgrounds are not working with the latest beta. The following has
no background color.
\setupbackground
[background=color, backgroundcolor=red]
\starttext
\startbackground
ABC
\stopbackground
\stoptext
Aditya
=darkred]
\define\ExoCommand{\incrementnumber[MyExoNumber]
\textrule[top]{Exercise \getnumber[MyExoNumber]}
\startbackground[frame=off,leftframe=on,
framecolor=darkred]}
\defineenumeration[exo]
[location=hanging,
width=fit,
text
follows \startbackground …. \stopbackground, no \framedtext appears (thee rsult
is the same when \framedtext is before textbackground).
The example is:
\starttext
\definetextbackground[test][backgroundcolor=lightgray]
\starttextbackground[test]
\input ward
\input ward
\stoptextbackground
Hi Hans,
If this can be of any help for you to localize the origin of the bug with the
latest beta (ConTeXt ver: 2011.12.18 15:57 MKIV), I would like to report that
when a \framedtext is used by its own, the result is as expected, while when it
follows \startbackground …. \stopbackground, no
,
after=\blank,
corner=round,
topoffset=0.5cm,
leftoffset=0.5cm,
rightoffset=0.5cm,
bottomoffset=0.5cm]
\startbackground
},
after
er=\blank,
corner=round,
topoffset=0.5cm,
leftoffset=0.5cm,
rightoffset=0.5cm,
bottomoffset=0.5cm]
\startbackground
},
after={
\stopbackground
,
topoffset=0.5cm,
leftoffset=0.5cm,
rightoffset=0.5cm,
bottomoffset=0.5cm]
\startbackground
},
after={
\stopbackground
\crlf
},
commands={\setupalign[yes]},
style
0.5cm]
\startbackground
},
after={
\stopbackground
\crlf
},
commands={\setupalign[yes]},
style=italic]
\starttext
First footnote.\footnote{This one works.}
\startSomeDocument
Second footnote.\footnote{This one doesn't.}
\stopSomeDocument
, I don’t know where you found the code but I’m going to explain
> what was wrong, this will help you write something better next time.
>
> What you defined was the following piece of code:
>
> \crlf
> \setupbackground[..,.=.,..]
> \startbackground
> \startlines[style=type]
help you write something better next time.
What you defined was the following piece of code:
\crlf
\setupbackground[..,.=.,..]
\startbackground
\startlines[style=type]
\setupalign[right]
\starttyping
…
\stoptyping
\stoplines
\stopbackground
\crlf
1. You used \crlf to add a empty line at the begin a
corner=round,
> topoffset=0.5cm,
> leftoffset=0.5cm,
> rightoffset=0.5cm,
> bottomoffset=0.5cm]
>\startbackground
>\startlines
>},
> after={
>\stoplines
>
fset=0.5cm,
bottomoffset=0.5cm]
\startbackground
\startlines
},
after={
\stoplines
\stopbackground
\crlf
},
commands={\setupalign[right]},
style=type]
\starttext
Hello World
\startCodeExample
\starttyping
H
ftoffset=0.5cm,
rightoffset=0.5cm,
bottomoffset=0.5cm]
\startbackground
},
after={
\stopbackground
\crlf
},
commands={\setupalign[yes]},
style=italic]
--
Kip Warner -- Software Engineer
0.5cm,
rightoffset=0.5cm,
bottomoffset=0.5cm]
\startbackground
},
after={
\stopbackground
\crlf
},
commands={\setupalign[yes]},
style=italic]
Then used as such:
\startSubDocument
...
\stopSubDocument
--
Kip W
background spans over two pages (though it doesn't when it spans over three
pages or more, but this is not a real issue, since it is a bad idea to have
such long highlighted texts…).
I guess this is also possible with textbackground:
\newcounter\CurrentBackground
\def\StartBackground
{\dog
>
> \definestartstop
> [SpecialFramed]
> [
> before={\setupbackground[frame=on,before=\blank,after=\blank]\startbackground},
> after=\stopbackground,
> %commands={\setupalign[flushleft,broad]},
> style=italic]
>
> \starttext
>
> \input knuth
&g
Am 07.07.2011 um 03:16 schrieb Kip Warner:
> I'm not very competent with ConTeXt, but I tried to translate what you
> and wrote into the following:
>
> [...]
Solution 1:
\definestartstop
[SpecialFramed]
[
before={\setupbackground[frame=on,before=\blank,after=\blank
>
> \setupbackground[
> corner=rectangular,
> frame=on,
> background=,
> ]
>
>
> \starttext
> \startbackground
> \dorecurse{42}{\input dawkins \endgraf}
> \stopbackground
> \stoptext
Hey Phil,
I'm not very competent with ConTeXt, but
ned with page breaks in mind. Example:
···8<
\setupbackground[
corner=rectangular,
frame=on,
background=,
]
\starttext
\startbackground
\dorecurse{42}{\input dawkins \endgraf}
arkgray, for instance).
>
> No, you one of ConTeXt commands/environments which have a background, e.g.
> framed, background or textbaxkground.
>
> \define[2]\MyQuotationCommand
> {\setupbackground[background=color,backgroundcolor=gray]
>\startbackground
>
background[background=color,backgroundcolor=gray]
\startbackground
\textrule{#1}#2\textrule
\stopbackground}
or
\define[2]\MyQuotationCommand
{\setupbackground[background=color,backgroundcolor=gray]
\textrule{#1}%
\startbackground
#2%
spans over two pages (though it doesn't when it spans over three
>> pages or more, but this is not a real issue, since it is a bad idea to have
>> such long highlighted texts…).
>
>
> I guess this is also possible with textbackground:
>
> \newcounter\CurrentBackgro
e
> such long highlighted texts…).
I guess this is also possible with textbackground:
\newcounter\CurrentBackground
\def\StartBackground
{\doglobal\increment\CurrentBackground
\setposition{Background:b:\CurrentBackground}%
\startbackground}
\def\StopBackground
{\stopbackgroun
e=off,
topframe=on, % suggested by Luigi, in his answer
rulethickness=1pt,
rightframe=on,
width=\textwidth,
leftframe=on]
\startbackground\unvbox8001\stopbackground%
\setupbackground
[bottomframe=on,
topframe=off, % suggested by Luigi, in his answer
rulethickness=1pt,
rightframe=on,
width=\textwid
1pt,
rightframe=on,width=\textwidth,
leftframe=on]
\startbackground\unvbox8001\stopbackground%
\setupbackground
[bottomframe=on,
rulethickness=1pt,
rightframe=on,width=\textwidth,
leftframe=on]
\startbackground\unvbox8000\stopbackground%
\else
\setupbackground
[bottomframe=on,
rulethickness=
On Thu, Oct 14, 2010 at 11:05 AM, Emanuele Sacco
wrote:
> Hi all,
>
> I'm using context MkII.
> My code is
>
>
> \setupcolors[state=start]
> \setupbackground
> [bottomframe=on,
> rulethickness=1pt,
> rightframe=on,
> leftframe=on]
>
> \star
Hi all,
I'm using context MkII.
My code is
\setupcolors[state=start]
\setupbackground
[bottomframe=on,
rulethickness=1pt,
rightframe=on,
leftframe=on]
\starttext
Good:
\startbackground
\input knuth
\stopbackground
Not good:
\startbackground
\input knuth
\input knuth
\input
ightgray,corner=round,frame=on,framecorner=round,framecolor=red,rulethickness=2pt,topoffset=0.25cm,bottomoffset=0.25cm,leftoffset=0.5cm,rightoffset=0.5cm,before={\blank[big]}]
\startbackground
\startitemize[packed]
\item First question
\item Second question
\item Third question
\stopitemize
\stopback
ecolor=red,rulethickness=2pt,topoffset=0.25cm,bottomoffset=0.25cm,leftoffset=0.5cm,rightoffset=0.5cm,before={\blank[big]}]
> \startbackground
>
> \startitemize[packed]
> \item First question
> \item Second question
> \item Third question
> \stopitemize
>
> \stopbackgr
,rightoffset=0.5cm,before={\blank[big]}]
\startbackground
\startitemize[packed]
\item First question
\item Second question
\item Third question
\stopitemize
\stopbackground
\stoptext
-end of first minimal example
This works in mk II, but not in mk IV. It seems that
start/stopbackground has
,corner=round,frame=on,framecorner=round,framecolor=red,rulethickness=2pt,topoffset=0.25cm,bottomoffset=0.25cm,leftoffset=0.5cm,rightoffset=0.5cm,before={\blank[big]}]\startbackground},after=\stopbackground]
\starttext
\startQuestions
\startitemize[packed]
\item First question
\item Second question
Hi All,
Here's a corner case for you: place a figure with the 'force' option,
followed by an enumeration with a background. Like this (also
attached as tadtest1.tex):
\defineenumeration[enum][before={\startba
On Mon, Dec 28, 2009 at 02:44:20PM +0100, Manuel P. wrote:
> >>\def\quotebox#1#2
> >>{\blank
> >>\midaligned{\startbackground
> >>\quotation{\em #1} \crlf --#2
> >>\stopbackground}
> >>\blank}
> >>
> >
because a new user has to be "in the club" for some time to figure out
everything.
\setupcolors[state=start]
\setupbackground[background=screen]
\setupbackground[state=start]
\def\quotebox#1#2
{\blank
\midaligned{\startbackground
\quotation{\em #1} \crlf --#2
\stopbackgrou
V Hans made the
decision to break sometimes backward compatibility and one result of this was
that background=color
is no longer supported because you could use backgroundcolor.
>
> \setupcolors[state=start]
> \setupbackground[background=screen]
> \setupbackground[state=start]
27;t work the way it should on MKIV. Unlike MKII.
- MKIV, unlike MKII, doesn't setup any background color:
\setupcolors[state=start]
\setupbackground[background=screen]
\setupbackground[state=start]
\def\quotebox#1#2
{\blank
\midaligned{\startbackground
\quotation{\em
][before={\setupbackground[style=
\tfx,background=color,backgroundcolor=white,frame=on,framecorner=rectangular,framecolor=black,rulethickness=0.5pt,topoffset=0.25cm,bottomoffset=0.25cm,leftoffset=0.25cm,rightoffset=0.25cm,before=
{\blank[big]}]\startbackground\switchtobodyfont[10pt]},after
ttext
\startTEXpage
\input tufte
\stopTEXpage
\framed{Hello world}
\startframedtext
\input tufte
\stopframedtext
\startbackground
\input tufte
\stopbackground
\stoptext
if so then it's a side effect of changesin the engine (changes in rl
handling are dangerous because macro packages are intern
ttext
\startTEXpage
\input tufte
\stopTEXpage
\framed{Hello world}
\startframedtext
\input tufte
\stopframedtext
\startbackground
\input tufte
\stopbackground
\stoptext
if so then it's a side effect of changesin the engine (changes in rl
handling are dangerous because macro packages are intern
ir TRT\textdir TRT
>> \starttext
>> \startTEXpage
>> \input tufte
>> \stopTEXpage
>> \framed{Hello world}
>> \startframedtext
>> \input tufte
>> \stopframedtext
>> \startbackground
>> \input tufte
>> \stopbackground
>> \stoptext
>
>
dtext
\input tufte
\stopframedtext
\startbackground
\input tufte
\stopbackground
\stoptext
if so then it's a side effect of changesin the engine (changes in rl
handling are dangerous because macro packages are internally lr in many
aspects (like positioning data relative to other data) and pat
tufte
\stopframedtext
\startbackground
\input tufte
\stopbackground
\stoptext
Regards,
Khaled
--
Khaled Hosny
Arabic localiser and member of Arabeyes.org team
Free font developer
signature.asc
Description: Digital signature
_
=on]
\setuptextbackground
[background=color,backgroundcolor=lightgray,
leftoffset=0cm,rightoffset=0cm,
backgroundoffset=.5cm,topoffset=-.3cm, % but not here
frame=on]
\starttext
\startbackground
\input tufte
\stopbackground
\vfill
\starttextbackground
\input tufte
\stoptextbackground
\s
color=green,
frame=on,
backgroundoffset=.5cm]%,
%leftoffset=0cm,rightoffset=0cm]
\starttext
\startbackground
\input tufte
\stopbackground
\input tufte
\stoptext
Regards,
Khaled
--
Khaled Hosny
Arabic localiser and member of Arabeyes.org team
Free font developer
signatur
nd[background=screen,corner=round]
> \starttext
> \startbackground
> Lorem ipsum dolor sit amet, consectetur adipiscing elit.
> Nam semper mi pellentesque diam. Vestibulum tellus erat,
> vestibulum vel, blandit ac, placerat at, metus. Integer
> rhoncus neque vel dolor. Sed dapibus
ground and we
cannot see the text. I attached the PDF file produced.
I used texexec :
% texexec
TeXExec | version 6.2.0 - 1997-2006 - PRAGMA ADE/POD
and the following code :
\setupbackground[background=screen,corner=round]
\starttext
\startbackground
Lorem ipsum dolor sit amet, consectetur adipi
ht|middle|inner|outer|wide|broad|height|bottom|line|reset|hanging|nothanging|hyphenated|nothyphenated]
\stopalignment
# \startarabicpar \stoparabicpar
# \startarabictext \stoparabictext
# \startappendices \stopappendices
\startbackground \stopbackground
# \startbackmatter \stopbackmatter
# \
on how a 25
year old tex can still keep up with it
> doesn't support breaking along pages. But then I discovered an
> alternative:
>
> \setupbackground[frame=on,rulethickness=0.7pt,corner=round,bodyfont=11pt,width=\textwidth]
>
> \startbackground
>
> \stopbackgrou
gured out that framedtext
> doesn't support breaking along pages. But then I discovered an
> alternative:
>
> \setupbackground[frame=on,rulethickness=0.7pt,corner=round,bodyfont=11pt,width=\textwidth]
>
> \startbackground
> ...
> \stopbackground
>
> The only lit
an
alternative:
\setupbackground[frame=on,rulethickness=0.7pt,corner=round,bodyfont=11pt,width=\textwidth]
\startbackground
...
\stopbackground
The only little problem is that background doesn't support
\definebackground yet, so you should either help yourself with
something similar to what I did:
\d
have a problem. The TABLE covers a whole page. This
>> page should habe a colored background (grey). I get the background,
>> but shifted. It begins (vertically) a line before the table and ends a
>> line before the end of the table.
>>
>> \startbackground
>&
ored background (grey). I get the background,
> but shifted. It begins (vertically) a line before the table and ends a
> line before the end of the table.
>
> \startbackground
> \rotate[rotation=270]{
> \setupTABLE[width=\textheight, height=\textwidth]
> \setupTABLE[r][each][
a colored background (grey). I get the background,
> but shifted. It begins (vertically) a line before the table and ends a
> line before the end of the table.
>
> \startbackground
> \rotate[rotation=270]{
It helps if you place a '%' at the end, so
\rotate[rotation=27
. It begins (vertically) a line before the table and ends a
line before the end of the table.
\startbackground
\rotate[rotation=270]{
\setupTABLE[width=\textheight, height=\textwidth]
\setupTABLE[r][each][height=0.13\textwidth]
\setupTABLE[r][1,2][align=lohi, height=0.06\textwidth]
\setupTABLE[c][1,2,3,4]
Olaf Mersmann wrote:
> Hi list,
>
> The second \subject{} causes a page break instead of wrapping into the
> second column. Is this a bug, or am I missing something when using
> \start- / \stopbackground?
It is probably a bug, but it is not likely that it will get fixed
soon. \sta
,
frameoffset=2pt,
backgroundoffset=2pt]
\setuphead [section]
[style={\ss\bf},
before={\startbackground},
after={\stopbackground}]
\definecolumnset [foo] [n=2]
\starttext
oss a few weird
>>> issues: 1) I don't quite understand why the page break occurs on
>>>
>> because of \startbackground, best use textbackgrounds
>>
>
> Hi Hans, since textbackground seems now the default background feature to
> use, do you pl
1 - 100 of 151 matches
Mail list logo