[NTG-context] Re: background= key not working in \startbackground and \starttextbackground

2024-06-06 Thread Aditya Mahajan
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 >

[NTG-context] Re: background= key not working in \startbackground and \starttextbackground

2024-06-06 Thread Wolfgang Schuster
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

[NTG-context] background= key not working in \startbackground and \starttextbackground

2024-06-06 Thread Aditya Mahajan
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];

[NTG-context] Wiki - question about Command/ pages which start with a space character

2024-04-14 Thread garulfo
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

Re: [NTG-context] Vertical space when surrounding with textbackground

2020-11-26 Thread Johann Birnick
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

Re: [NTG-context] Vertical space when surrounding with textbackground

2020-11-26 Thread Johann Birnick
t; > > \definetextbackground[code][background=color, backgroundcolor=lightgray, > > frame=off, location=paragraph] > > > > \setuptyping[before={\startbackground[code]}, after={\stopbackground}] > > > > \starttext[option=XML] > > \starttyping > > This

Re: [NTG-context] Vertical space when surrounding with textbackground

2020-11-26 Thread Wolfgang Schuster
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

Re: [NTG-context] Vertical space when surrounding with textbackground

2020-11-26 Thread Aditya Mahajan
; > > > > > \setuptyping > > > >     [before={\blank\starttextbackground[Code]}, > > > >   after={\stoptextbackground\blank}] > > > > > > > > \starttext > > > > > > > > \starttyping > > >

Re: [NTG-context] Vertical space when surrounding with textbackground

2020-11-26 Thread Johann Birnick
gray, > > >     location=paragraph] > > > > > > \setuptyping > > >     [before={\blank\starttextbackground[Code]}, > > >   after={\stoptextbackground\blank}] > > > > > > \starttext > > > > > > \starttyping >

Re: [NTG-context] Vertical space when surrounding with textbackground

2020-11-26 Thread Wolfgang Schuster
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

Re: [NTG-context] Vertical space when surrounding with textbackground

2020-11-26 Thread Johann Birnick
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

Re: [NTG-context] Vertical space when surrounding with textbackground

2020-11-26 Thread Aditya Mahajan
> \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]},

[NTG-context] MP background for text typeset by \typefile

2020-11-05 Thread context
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=

Re: [NTG-context] Strange pagebreaks in LMTX

2019-09-04 Thread Otared Kavian
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

Re: [NTG-context] Strange pagebreaks in LMTX

2019-09-04 Thread Wolfgang Schuster
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

Re: [NTG-context] t-vim module: math in "normal" code and background color

2017-07-18 Thread Gerion Entrup
+ 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

Re: [NTG-context] t-vim module: math in "normal" code and background color

2017-07-17 Thread Aditya Mahajan
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

Re: [NTG-context] Footnote in TABLE isn't rendered anywhere

2017-07-14 Thread Mathias Schickel
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

Re: [NTG-context] Footnote in TABLE isn't rendered anywhere

2017-07-12 Thread Aditya Mahajan
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

Re: [NTG-context] Footnote in TABLE isn't rendered anywhere

2017-07-12 Thread Mathias Schickel
]}, 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

Re: [NTG-context] Footnote in TABLE isn't rendered anywhere

2017-07-08 Thread Mathias Schickel
] % \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

[NTG-context] How to place background text on proper page

2015-11-06 Thread Sytse Knypstra
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

Re: [NTG-context] bug in latest beta?

2015-05-31 Thread Otared Kavian
: \defineenumeration[proclaim] [text=, before={\blank\startbackground[frame=off,leftframe=on, rulethickness=2pt,framecolor=darkred, background=color, backgroundcolor=screen]}, after

Re: [NTG-context] Unable to resave float

2015-04-25 Thread Hans Hagen
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

[NTG-context] Unable to resave float

2015-04-24 Thread Aditya Mahajan
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

[NTG-context] startbackground with footnotes cause problems

2014-05-25 Thread Xan
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

[NTG-context] \starttextbackground and \startbackground equivalent options

2014-05-25 Thread Xan
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

Re: [NTG-context] \startbackground with footnote

2014-05-23 Thread Xan
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

Re: [NTG-context] \startbackground with footnote

2014-05-23 Thread Xan
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

Re: [NTG-context] \startbackground with footnote

2014-05-22 Thread Wolfgang Schuster
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

[NTG-context] \startbackground with footnote

2014-05-22 Thread Xan
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

Re: [NTG-context] text with background does not break properly around float

2014-05-06 Thread Thomas Möbius
page. How to work around it? > > ---minimal example--- > \starttext > > \chapter {Bsaoteh} > > \defineenumeration > [excursion] > [text=Excursion, > listtext={Excursion~}, > counter=theorem, > before={\blank\startbackground}, > after={\sto

[NTG-context] text with background does not break properly around float

2014-04-30 Thread Thomas Möbius
~}, 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

Re: [NTG-context] setuphead for in-paragraph head ?

2014-01-09 Thread Otared Kavian
before=, >> after=\blank] >> \stopsetups % style:simple >> >> \startsetups style:textrule >> \definenumber[MyExoNumber][way=bysection,sectionumber=yes] >> \setuptextrules[rulecolor=darkred] >> \define\ExoCommand{\incrementnumber[MyExoNumber] >> \textru

Re: [NTG-context] setuphead for in-paragraph head ?

2014-01-09 Thread Jaroslav Hajtmar
\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

Re: [NTG-context] setuphead for in-paragraph head ?

2014-01-09 Thread Otared Kavian
[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

[NTG-context] Undefined \continueifinputfile on presentation

2013-08-13 Thread Pau
ry={/home/pau/treball/xerrades/grafiques_xerrades_png, % /home/pau/treball/xerrades/grafiques_xerrades}]% % \definestartstop[CapsaTitolBlanca][before={\setupbackground% [style=\tfx,background=color,bac

Re: [NTG-context] Math Overruns Background

2012-10-26 Thread Aditya Mahajan
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

[NTG-context] Math Overruns Background

2012-10-25 Thread Nicholas Ulle
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

Re: [NTG-context] Left margin of vim module output

2012-08-01 Thread Marco Patzer
;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

Re: [NTG-context] Left margin of vim module output

2012-08-01 Thread Aditya Mahajan
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

Re: [NTG-context] Simple backgrounds not working

2012-05-26 Thread Hans Hagen
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

Re: [NTG-context] Simple backgrounds not working

2012-05-26 Thread Wolfgang Schuster
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 >

[NTG-context] Simple backgrounds not working

2012-05-25 Thread 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 \stopbackground \stoptext Aditya

[NTG-context] \startitemize[columns] broken with backgrounds?

2012-01-22 Thread Otared Kavian
=darkred] \define\ExoCommand{\incrementnumber[MyExoNumber] \textrule[top]{Exercise \getnumber[MyExoNumber]} \startbackground[frame=off,leftframe=on, framecolor=darkred]} \defineenumeration[exo] [location=hanging, width=fit, text

Re: [NTG-context] Broken textbackground

2011-12-19 Thread Hans Hagen
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

Re: [NTG-context] Broken textbackground

2011-12-19 Thread Otared Kavian
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

Re: [NTG-context] Text in a box now broken

2011-11-23 Thread Hans Hagen
, after=\blank, corner=round, topoffset=0.5cm, leftoffset=0.5cm, rightoffset=0.5cm, bottomoffset=0.5cm] \startbackground }, after

Re: [NTG-context] Text in a box now broken

2011-11-23 Thread Kip Warner
er=\blank, corner=round, topoffset=0.5cm, leftoffset=0.5cm, rightoffset=0.5cm, bottomoffset=0.5cm] \startbackground }, after={ \stopbackground

[NTG-context] Text in a box now broken

2011-11-21 Thread Kip Warner
, topoffset=0.5cm, leftoffset=0.5cm, rightoffset=0.5cm, bottomoffset=0.5cm] \startbackground }, after={ \stopbackground \crlf }, commands={\setupalign[yes]}, style

[NTG-context] Footnote Problem

2011-11-14 Thread Kip Warner
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

Re: [NTG-context] Fatal error

2011-11-04 Thread Kip Warner
, 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]

Re: [NTG-context] Fatal error

2011-11-04 Thread Wolfgang Schuster
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

Re: [NTG-context] Fatal error

2011-11-02 Thread Wolfgang Schuster
corner=round, > topoffset=0.5cm, > leftoffset=0.5cm, > rightoffset=0.5cm, > bottomoffset=0.5cm] >\startbackground >\startlines >}, > after={ >\stoplines >

[NTG-context] Fatal error

2011-11-02 Thread Kip Warner
fset=0.5cm, bottomoffset=0.5cm] \startbackground \startlines }, after={ \stoplines \stopbackground \crlf }, commands={\setupalign[right]}, style=type] \starttext Hello World \startCodeExample \starttyping H

Re: [NTG-context] Framed Text Split Over Multiple Pages

2011-10-05 Thread Kip Warner
ftoffset=0.5cm, rightoffset=0.5cm, bottomoffset=0.5cm] \startbackground }, after={ \stopbackground \crlf }, commands={\setupalign[yes]}, style=italic] -- Kip Warner -- Software Engineer

[NTG-context] Framed Text Split Over Multiple Pages

2011-10-04 Thread Kip Warner
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

Re: [NTG-context] background over two page

2011-08-03 Thread Aditya Mahajan
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

Re: [NTG-context] Getting framed text to page break

2011-07-07 Thread Kip Warner
> > \definestartstop > [SpecialFramed] > [ > before={\setupbackground[frame=on,before=\blank,after=\blank]\startbackground}, > after=\stopbackground, > %commands={\setupalign[flushleft,broad]}, > style=italic] > > \starttext > > \input knuth &g

Re: [NTG-context] Getting framed text to page break

2011-07-06 Thread Wolfgang Schuster
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

Re: [NTG-context] Getting framed text to page break

2011-07-06 Thread Kip Warner
> > \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

Re: [NTG-context] Getting framed text to page break

2011-07-06 Thread Philipp Gesang
ned with page breaks in mind. Example: ···8< \setupbackground[ corner=rectangular, frame=on, background=, ] \starttext \startbackground \dorecurse{42}{\input dawkins \endgraf}

Re: [NTG-context] Annotation and background color

2011-05-07 Thread Otared Kavian
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 >

Re: [NTG-context] Annotation and background color

2011-05-07 Thread Wolfgang Schuster
background[background=color,backgroundcolor=gray] \startbackground \textrule{#1}#2\textrule \stopbackground} or \define[2]\MyQuotationCommand {\setupbackground[background=color,backgroundcolor=gray] \textrule{#1}% \startbackground #2%

Re: [NTG-context] background over two page

2010-10-18 Thread Otared Kavian
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

Re: [NTG-context] background over two page

2010-10-18 Thread Wolfgang Schuster
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

Re: [NTG-context] background over two page

2010-10-18 Thread Otared Kavian
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

Re: [NTG-context] background over two page

2010-10-16 Thread Emanuele Sacco
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=

Re: [NTG-context] background over two page

2010-10-14 Thread luigi scarso
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

[NTG-context] background over two page

2010-10-14 Thread Emanuele Sacco
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

Re: [NTG-context] background, mkii vs. mkiv

2010-09-10 Thread Jörg Hagmann
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

Re: [NTG-context] background, mkii vs. mkiv

2010-09-10 Thread Wolfgang Schuster
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

Re: [NTG-context] background, mkii vs. mkiv

2010-09-10 Thread Jörg Hagmann
,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

[NTG-context] background, mkii vs. mkiv

2010-09-10 Thread Jörg Hagmann
,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

[NTG-context] Problem With an Enumeration After a Forced Float

2010-01-29 Thread Tad Ashlock
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

Re: [NTG-context] Thoughts on ConTeXt: ditched

2009-12-28 Thread Khaled Hosny
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} > >> > >

Re: [NTG-context] Thoughts on ConTeXt: ditched

2009-12-28 Thread Manuel P.
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

Re: [NTG-context] Thoughts on ConTeXt: ditched

2009-12-27 Thread Wolfgang Schuster
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]

[NTG-context] Thoughts on ConTeXt: ditched

2009-12-27 Thread Manuel P.
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

[NTG-context] Strange Behaviour for toc

2009-10-12 Thread Martin Scholz
][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

Re: [NTG-context] \framed (and others) don't honor directional switches

2009-04-03 Thread Hans Hagen
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

Re: [NTG-context] \framed (and others) don't honor directional switches

2009-04-03 Thread Hans Hagen
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

Re: [NTG-context] \framed (and others) don't honor directional switches

2009-04-03 Thread Khaled Hosny
ir TRT\textdir TRT >> \starttext >> \startTEXpage >> \input tufte >> \stopTEXpage >> \framed{Hello world} >> \startframedtext >> \input tufte >> \stopframedtext >> \startbackground >> \input tufte >> \stopbackground >> \stoptext > >

Re: [NTG-context] \framed (and others) don't honor directional switches

2009-04-03 Thread Hans Hagen
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

[NTG-context] \framed (and others) don't honor directional switches

2009-04-03 Thread Khaled Hosny
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 _

Re: [NTG-context] right/left only background offset?

2009-04-03 Thread Khaled Hosny
=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

[NTG-context] right/left only background offset?

2009-04-02 Thread Khaled Hosny
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

Re: [NTG-context] Background on paragraphs

2009-01-27 Thread Wolfgang Schuster
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

[NTG-context] Background on paragraphs

2009-01-27 Thread Antoine Cailliau
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

Re: [NTG-context] ConTeXt-ifying Kile

2008-01-02 Thread Matija Šuklje
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 # \

Re: [NTG-context] breaking framed text across pages

2007-02-24 Thread Hans Hagen
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

Re: [NTG-context] breaking framed text across pages

2007-02-23 Thread Aditya Mahajan
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

Re: [NTG-context] breaking framed text across pages

2007-02-23 Thread Mojca Miklavec
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

Re: [NTG-context] rotate a TABLE

2007-01-14 Thread Hans Hagen
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 >&

Re: [NTG-context] rotate a TABLE

2007-01-14 Thread Peter Rolf
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][

Re: [NTG-context] rotate a TABLE

2007-01-14 Thread Mojca Miklavec
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

Re: [NTG-context] rotate a TABLE

2007-01-14 Thread Gerhard Kugler
. 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]

Re: [NTG-context] Problems with columnsets and \startbackground \stopbackground

2006-07-02 Thread Taco Hoekwater
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

[NTG-context] Problems with columnsets and \startbackground \stopbackground

2006-07-01 Thread Olaf Mersmann
, frameoffset=2pt, backgroundoffset=2pt] \setuphead [section] [style={\ss\bf}, before={\startbackground}, after={\stopbackground}] \definecolumnset [foo] [n=2] \starttext

Re: [NTG-context] Page breaking problem

2006-06-20 Thread Hans Hagen
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   2   >