[NTG-context] Broken textbackground

2011-12-18 Thread Otared Kavian
[test][backgroundcolor=lightgray] \starttextbackground[test] \input ward \input ward \stoptextbackground \stoptext %%% begin textbackground-bug.tex ___ If your question is of interest to others as well, please add

[NTG-context] transparency problem (mkiv)

2011-09-05 Thread Peter Rolf
=color,backgroundcolor=tcolor] \starttext \starttextbackground[ghost] FOO \stoptextbackground \stoptext Here the error message... metapost terminal: (redpart boxfillcolor,greenpart boxfillcolor,bluepart boxfillcolor) 1 ! Equation cannot be performed (color=numeric). to be read again

Re: [NTG-context] transparency problem (mkiv)

2011-09-05 Thread Hans Hagen
] \definetextbackground[ghost] [background=color,backgroundcolor=tcolor] \starttext \starttextbackground[ghost] FOO \stoptextbackground \stoptext Here the error message... metapost terminal: (redpart boxfillcolor,greenpart boxfillcolor,bluepart boxfillcolor) 1 ! Equation cannot be performed

[NTG-context] Text Background in Columnset

2011-07-07 Thread H. Hodges
] \setupcolumnset[first][2][width=.35\makeupwidth] \definecolor[introbackground][r=.92, g=.94, b=.84] \setupcolors[state=start] \definetextbackground[intro] [location=paragraph,frame=no,backgroundcolor=introbackground] \starttext \startcolumnset[first] \starttextbackground[intro

[NTG-context] Text Background

2011-06-23 Thread H. Hodges
I can't seem to set a background on one of my paragraphs. I'm using: \definetextbackground[intro][backgroundcolor=gray, location=text,color=blue] along with \starttextbackground[intro] paragraph \stopbackgroundtext in the body of the document. I got the impression from one

Re: [NTG-context] Text Background

2011-06-23 Thread luigi scarso
On Thu, Jun 23, 2011 at 1:35 PM, H. Hodges freelancer.hod...@gmail.com wrote: I can't seem to set a background on one of my paragraphs. I'm using: \definetextbackground[intro][backgroundcolor=gray,        location=text,color=blue] along with \starttextbackground[intro] paragraph

Re: [NTG-context] Text Background

2011-06-23 Thread luigi scarso
On Thu, Jun 23, 2011 at 1:56 PM, H. Hodges freelancer.hod...@gmail.com wrote: this is ok (mkiv) \definetextbackground[intro][backgroundcolor=gray, location=text,color=blue] \starttext \starttextbackground[intro] \input knuth \stoptextbackground \stoptext -- luigi

Re: [NTG-context] Text Background

2011-06-23 Thread luigi scarso
On Thu, Jun 23, 2011 at 2:06 PM, luigi scarso luigi.sca...@gmail.com wrote: also with mkii, with \setupcolors[state=start] \setupcolors[state=start] \definetextbackground[intro][backgroundcolor=gray, location=text,color=blue] \starttext \starttextbackground[intro] \input knuth

Re: [NTG-context] Text Background

2011-06-23 Thread H. Hodges
] \starttext \starttextbackground[intro] \input knuth \stoptextbackground \stoptext Since I had to include \setupcolors, I must have mkii (I didn't know before). Neither of your example files worked properly for me. The text was blue, but there was no background at all. I'm going to try

Re: [NTG-context] Text Background

2011-06-23 Thread luigi scarso
] \definetextbackground[intro][backgroundcolor=gray,        location=text,color=blue] \starttext \starttextbackground[intro] \input knuth \stoptextbackground \stoptext Since I had to include \setupcolors, I must have mkii (I didn't know before). Neither of your example files worked properly for me

Re: [NTG-context] Text Background

2011-06-23 Thread luigi scarso
,color=blue] \starttext \starttextbackground[intro] \input knuth \stoptextbackground \stoptext -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context

Re: [NTG-context] alternating items in an itemization

2011-05-24 Thread Wolfgang Schuster
-background][frame=off,location=paragraph,backgroundcolor=red] \defineenumeration [john] [text=John: , width=3em, number=no, location=left, before={\starttextbackground[john-background]}, after=\stoptextbackground] \defineenumeration [mary][john] [ text=Mary

Re: [NTG-context] alternating items in an itemization

2011-05-24 Thread Jesse Alama
,backgroundcolor=green] \definetextbackground[mary-background][frame=off,location=paragraph,backgroundcolor=red] \defineenumeration [john] [text=John: , width=3em, number=no, location=left, before={\starttextbackground[john-background]}, after=\stoptextbackground

[NTG-context] alternating items in an itemization

2011-05-23 Thread Jesse Alama
][backgroundcolor=green] \definetextbackground[mary-background][backgroundcolor=red] \definestartstop[dialogue] \defineparagraphs[john][before={\starttextbackground[john-background]},after={\stoptextbackground}] \defineparagraphs[mary][before={\starttextbackground[mary-background]},after

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

2010-09-10 Thread Jörg Hagmann
=0.25cm,bottomoffset=0.25cm,leftoffset=0.5cm,rightoffset=0.5cm,before={\blank[big]}] \starttextbackground \startitemize[packed] \item First question \item Second question \item Third question \stopitemize \stoptextbackground \stoptext -end of second minimal example

Re: [NTG-context] abbreviations as macros (Aditya Mahajan)

2010-08-08 Thread Armin Varmaz
important:start \starttextbackground[zhu] \stopsetups \startsetups important:stop \endgraf \stoptextbackground \stopsetups \definestartstop [important] [before=\setups{important:start}, after=\setups{important:stop}] \abbreviation [NPV] {\math{\text{NPV}}} {full form} \starttext this looks

Re: [NTG-context] font size in math mode

2010-07-27 Thread Armin Varmaz
]}] \definetextbackground[zhu] [location=paragraph, background=color,backgroundcolor=orange, leftoffset=0.5\bodyfontsize,rightoffset=.5\bodyfontsize, topoffset=.5\bodyfontsize,bottomoffset=.5\bodyfontsize, style=ImportantStyle, frame=off] \startsetups important:start \starttextbackground[zhu] \stopsetups

Re: [NTG-context] width of definetextbackground

2010-07-23 Thread varmaz
=.5\bodyfontsize, topoffset=.5\bodyfontsize,bottomoffset=.5\bodyfontsize, before={\startnarrower[left,right]}, after={\stopnarrower}, frame=off] \startsetups important:start \starttextbackground[zhu] \stopsetups \startsetups important:stop \endgraf

[NTG-context] textbackground frame

2010-05-26 Thread Horacio Suarez
hello all I was using this to have a framed text but now it's not working anymore, even in context live. what i'm missing? thankyou in advance. % \starttext \definetextbackground[marco][backgroundcolor=lightgray,background=color,frame=on,location=paragraph] \starttextbackground[marco

Re: [NTG-context] textbackground frame

2010-05-26 Thread Aditya Mahajan
=on,location=paragraph] \starttextbackground[marco] \input tufte \stoptextbackground \stoptext %%% Enable write18 or add \runMPgraphicsfalse. Search the archive for the reason. Aditya ___ If your question

Re: [NTG-context] textbackground frame

2010-05-26 Thread Horacio Suarez
anymore, even in context live. what i'm missing? thankyou in advance. % \starttext \definetextbackground[marco][backgroundcolor=lightgray,background=color,frame=on,location=paragraph] \starttextbackground[marco] \input tufte \stoptextbackground \stoptext

[NTG-context] Framed text in paragraphs too wide

2010-04-05 Thread Matthias Weber
] \defineparagraphs [TwoThird][n=2] \setupparagraphs[TwoThird] [1] [width=.66\textwidth] \starttext \startTwoThird \starttextbackground

[NTG-context] Where is the cow?

2010-03-06 Thread Matthias Weber
[blurb] [before={\starttextbackground[defbackground]}, after={\stoptextbackground}, text=Blurb, way=bysection

[NTG-context] framed text backgrounds in enumerations disappear in figuretexts

2010-02-13 Thread Matthias Weber
] [before={\starttextbackground[defbackground]}, after={\stoptextbackground}, text=Blurb, way=bysection, location=hanging

Re: [NTG-context] framed text backgrounds in enumerations disappear in figuretexts

2010-02-13 Thread mpg
=darkred] \defineenumeration[blurb] [before={\starttextbackground[defbackground]}, after={\stoptextbackground}, text=Blurb, way=bysection, location=hanging, letter=rm

Re: [NTG-context] framed text backgrounds in enumerations disappear in figuretexts

2010-02-13 Thread Matthias Weber
=on, framecolor=darkred, location=paragraph, color=darkred] \defineenumeration[blurb] [before={\starttextbackground[defbackground]}, after={\stoptextbackground}, text=Blurb

Re: [NTG-context] Text backgrounds once again (follow-up)

2010-01-14 Thread Matthias Weber
={\starttextbackground[defbackground]}, after={\stoptextbackground}, text=Definition, way=bysection, location=hanging, letter=rm] \starttext \startdefinition \input knuth \stopdefinition \input knuth \stoptext ___ If your

Re: [NTG-context] Text backgrounds once again (follow-up)

2010-01-14 Thread Willi Egger
, color=darkred] \defineenumeration [definition] [before={\starttextbackground[defbackground]}, after={\stoptextbackground}, text=Definition, way=bysection, location=hanging, letter=rm] \starttext \startdefinition \input knuth \stopdefinition \input knuth

Re: [NTG-context] Text backgrounds once again (follow-up)

2010-01-14 Thread Matthias Weber
=\blank, leftoffset=5pt, rightoffset=5pt, topoffset=5pt, bottomoffset=5pt, framecolor=darkred, location=paragraph, color=darkred] \defineenumeration [definition] [before={\starttextbackground[defbackground]}, after={\stoptextbackground}, text=Definition, way=bysection, location=hanging, letter=rm

Re: [NTG-context] Columns within a layer

2010-01-01 Thread Oliver Buerschaper
width: \startsetups streamlayer:test:settings \overloadtextwidth{12cm} \stopsetups frame: \definetextbackground[testframe] \startstreamlayer[test] \starttextbackground[testframe] ... \stoptextbackground \stopstreamlayer That's exactly what I need! Based on your example I kept

Re: [NTG-context] Columns within a layer

2009-12-26 Thread Wolfgang Schuster
] \startstreamlayer[test] \starttextbackground[testframe] ... \stoptextbackground \stopstreamlayer Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl

Re: [NTG-context] Letter Module: backaddress

2009-10-08 Thread Andreas Harder
[underline] [location=text,alternative=1,background=underline,frame=off] \setupletterstyle [backaddress] [alternative=yes, before={\starttextbackground[underline]}, after=\stoptextbackground] Andreas ___ If your

[NTG-context] Problem with \definetextbackground

2009-08-04 Thread Helmut Schwertner
] \setuptyping[typing][margin=1cm,bodyfont=8.0pt,before={\starttextbackground[verbatim]},after={\stoptextbackground}] \starttext \starttyping This is the first line. This is the second line. \stoptyping \stoptext test.tex%%% I use contextminimals

[NTG-context] Problem with metapost textbackgrounds on Windows

2009-08-04 Thread Kevin D. Robbins
=1pt] \definetyping [C] [option=commands] \setuptyping [C] [bodyfont=8pt, margin=1em, before=% {\blank[big] \setupinterlinespace[line=1.6ex] \starttextbackground[listingbackground]}, after=% {\stoptextbackground \blank[big]}] \protect \starttext \input tufte

[NTG-context] Textbackground bug [repost]

2009-04-25 Thread Diego Depaoli
=off, location=paragraph, color=white] \definetextbackground[subintro] [backgroundcolor=texcolorfour, backgroundoffset=0pt, offset=0pt, frame=off, location=text, color=blue] \starttext \starttextbackground[intro] A rather common way to draw attention to a passage, is to add a background

Re: [NTG-context] new beta

2009-04-20 Thread Diego Depaoli
, location=paragraph, color=white] \definetextbackground[subintro] [backgroundcolor=texcolorfour, backgroundoffset=0pt, offset=0pt, frame=off, location=text, color=blue] \starttext \starttextbackground[intro] A rather common way to draw attention to a passage, is to add

Re: [NTG-context] How to get the number of lines of a paragraph?

2009-04-07 Thread Wolfgang Schuster
Am 07.04.2009 um 04:18 schrieb Yanrui Li: \definestartstop [underline] [before={\starttextbackground[underline]}, after=\stoptextbackground] You don't need this, \definetextbackground creates start/stopunderline itself. Wolfgang

Re: [NTG-context] How to get the number of lines of a paragraph?

2009-04-06 Thread Yanrui Li
:= currentpicture shifted (0,-1.2*StrutDepth) ;   setbounds currentpicture to p ; \stopuseMPgraphic \definetextbackground[underline]  [location=paragraph,alternative=1,background=,frame=off] \definestartstop  [underline]  [before={\starttextbackground[underline]},   after=\stoptextbackground

Re: [NTG-context] How to get the number of lines of a paragraph?

2009-04-06 Thread Wei-Wei Guo
:= currentpicture shifted (0,-1.2*StrutDepth) ; setbounds currentpicture to p ; \stopuseMPgraphic \definetextbackground[underline] [location=paragraph,alternative=1,background=,frame=off] \definestartstop [underline] [before={\starttextbackground[underline]}, after=\stoptextbackground

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

2009-04-03 Thread Khaled Hosny
, leftoffset=0cm,rightoffset=0cm, backgroundoffset=.5cm,topoffset=-.3cm, % but not here frame=on] \starttext \startbackground \input tufte \stopbackground \vfill \starttextbackground \input tufte \stoptextbackground \stoptext Regards, Khaled -- Khaled Hosny Arabic localiser and member

[NTG-context] backgrounds: help needed #2

2009-01-29 Thread Peter Münster
, frame=off, offset=overlay, backgroundoffset=2pt] \def\Bla{\starttextbackground[TG]FF FF XX XX XX XX XX XX SS CS CS% \stoptextbackground} \dorecurse{20}{bla \Bla\ bla} \stoptext Could anybody help please? TIA for any hints! Cheer, Peter -- http://pmrb.free.fr/contact

Re: [NTG-context] backgrounds: help needed

2009-01-27 Thread Thomas Floeren
20.01.2009 um 23:51 schrieb Alan BRASLAU: I, too, do not understand the \definetextbackground \starttextbackground \stoptextbackground commands, even though I tried looking at details.pdf (and core- pgr.tex). My particular problem is rather classic, that of illustrating examples, set off

[NTG-context] replacing words by underlines

2009-01-24 Thread Alan Stone
}}} \definetextbackground[underline][% location=text, alternative=1, background=, frame=off] \def\UnderlineC{% \groupedcommand {\starttextbackground[underline]} {\stoptextbackground}} \starttext Thus, I came to \UnderlineA{the conclusion} that the designer of a new

Re: [NTG-context] backgrounds: help needed

2009-01-20 Thread Alan BRASLAU
I, too, do not understand the \definetextbackground \starttextbackground \stoptextbackground commands, even though I tried looking at details.pdf (and core-pgr.tex). My particular problem is rather classic, that of illustrating examples, set off from the main text. I

Re: [NTG-context] backgrounds: help needed

2009-01-20 Thread Wolfgang Schuster
Am 20.01.2009 um 23:51 schrieb Alan BRASLAU: I, too, do not understand the \definetextbackground \starttextbackground \stoptextbackground commands, even though I tried looking at details.pdf (and core- pgr.tex). My particular problem is rather classic, that of illustrating examples, set off

[NTG-context] MPgraphic with rounded corners

2009-01-15 Thread Duncan Hothersall
black withpen pencircle scaled \MPvar{linewidth}; endfor; \stopuseMPgraphic \definetextbackground[ExampleBackground] [mp=mpos:par:myexample,location=paragraph,leftoffset=1em,rightoffset=1em,rulethickness=1pt] \starttext \input knuth \endgraf \starttextbackground[ExampleBackground

Re: [NTG-context] MPgraphic with rounded corners

2009-01-15 Thread Aditya Mahajan
=paragraph,leftoffset=1em,rightoffset=1em,rulethickness=1pt] \starttext \input knuth \endgraf \starttextbackground[ExampleBackground] \dorecurse{13}{\input knuth \endgraf} \stoptextbackground \input knuth \endgraf \stoptext But now I need to make this box have rounded corners, and I am very confused

Re: [NTG-context] MPgraphic with rounded corners

2009-01-15 Thread Wolfgang Schuster
=paragraph,leftoffset=1em,rightoffset=1em,rulethickness=1pt] \starttext \input knuth \endgraf \starttextbackground[ExampleBackground] \dorecurse{13}{\input knuth \endgraf} \stoptextbackground \input knuth \endgraf \stoptext But now I need to make this box have rounded corners, and I am very confused

[NTG-context] subsección demasiado larga

2008-11-21 Thread mpg-yahoo
] [location=text,alternative=1,background=,frame=off] \definestartstop [underline] [before={\starttextbackground[Sub]}, after=\stoptextbackground] %% \def\startalign{\startformula \let\\\cr \null\vcenter\bgroup \openup\jot {\mathsurround=0pt}% \everycr

[NTG-context] backgrounds: help needed

2008-11-04 Thread Peter Münster
{\starttextbackground[TG]FF FF XX XX XX XX XX XX SS CS CS% \stoptextbackground} \dorecurse{20}{bla \Bla\ bla} \stoptext Could anybody help please? TIA for any hints! Cheer, Peter -- http://pmrb.free.fr/contact

Re: [NTG-context] Equivalent of LaTeX \cancel? and Thanks!

2008-10-14 Thread Wolfgang Schuster
multipars[i],ulcorner multipars[i]] -- .2[urcorner multipars[i],lrcorner multipars[i]] ; endfor ; \stopuseMPgraphic \definetextbackground[cancel][location=text,mp=mpos:par:cancel] \def\startcancel{\starttextbackground[cancel]} \def\stopcancel {\stoptextbackground} \def\cancel

Re: [NTG-context] Equivalent of LaTeX \cancel? and Thanks!

2008-10-12 Thread Hans Hagen
]] -- .2[urcorner multipars[i],lrcorner multipars[i]] ; endfor ; \stopuseMPgraphic \definetextbackground[cancel][location=text,mp=mpos:par:cancel] \def\startcancel{\starttextbackground[cancel]} \def\stopcancel {\stoptextbackground} \def\cancel {\groupedcommand\startcancel\stopcancel

[NTG-context] Textbackground with leftframe

2008-09-23 Thread holzminister
this comes? \setupcolors[state=start] \definetextbackground[test][ backgroundcolor=yellow, frame=off, leftoffset=5mm, location=paragraph, color=black] \definecolumnset[example][n=2,distance=5mm] \starttext \startcolumnset[example] \starttextbackground[test

[NTG-context] frameoffset in textbackground

2008-09-11 Thread Wolfgang Werners-Lucchini
, location=paragraph, frame=on, frameoffset=5mm] \starttext bla \starttextbackground[strong] zack \stoptextbackground blub \stoptext Wolfgang ___ If your question is of interest

Re: [NTG-context] Verbatim with color background

2008-09-04 Thread Hans Hagen
: \setuptyping[typing][margin=0.5cm,bodyfont=8.0pt, before={\starttextbackground[verbatim]}, after={\stoptextbackground}] This works only partly. For example, when using long verbatim texts that spans over more than one page, the background color disappears on the last page. Is there any other easy way

Re: [NTG-context] Verbatim with color background

2008-09-04 Thread B. Tommy Jensen
] \setupbodyfont[palatino,10pt] \definetextbackground[verbatim] [background=color, backgroundcolor=yellow, backgroundoffset=0cm, offset=0.5cm, frame=on, framecolor=black, location=paragraph, color=black] % Setup verbatim \setuptyping[typing][margin=1cm,bodyfont=8.0pt, before={\starttextbackground[verbatim

[NTG-context] frameoffset in textbackground

2008-09-04 Thread Wolfgang Werners-Lucchini
\starttextbackground[strong] zack \stoptextbackground blub \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg

[NTG-context] Verbatim with color background

2008-09-03 Thread B. Tommy Jensen
=8.0pt, before={\starttextbackground[verbatim]}, after={\stoptextbackground}] This works only partly. For example, when using long verbatim texts that spans over more than one page, the background color disappears on the last page. Is there any other easy way of controlling the background color

Re: [NTG-context] Missing background color with \definetextbackground

2008-09-02 Thread Wolfgang Schuster
, frame=on, %add background=color, location=text, color=blue] \starttext \starttextbackground[highlight] This text should have yellow background but it is white. The text is however blue. \stoptextbackground \stoptext

Re: [NTG-context] Missing background color with \definetextbackground

2008-09-02 Thread B. Tommy Jensen
, color=blue] \starttext \starttextbackground[highlight] This text should have yellow background but it is white. The text is however blue. \stoptextbackground \stoptext %- Thanks for the prompt reply! I have tried to add background=color

[NTG-context] Missing background color with \definetextbackground

2008-09-01 Thread B. Tommy Jensen
\starttextbackground[highlight] This text should have yellow background but it is white. The text is however blue. \stoptextbackground \stoptext %- The background of the rendered text is always white, independent of the backgroundcolor parameter. The font

Re: [NTG-context] Missing background color with \definetextbackground

2008-09-01 Thread Aditya Mahajan
,%--- Add this frame=on, location=text, color=blue] \starttext \starttextbackground[highlight] This text should have yellow background but it is white. The text is however blue. \stoptextbackground \stoptext %- Add

Re: [NTG-context] Missing background color with \definetextbackground

2008-09-01 Thread Mojca Miklavec
, frame=on, %add background=color, location=text, color=blue] \starttext \starttextbackground[highlight] This text should have yellow background but it is white. The text is however blue. \stoptextbackground \stoptext

Re: [NTG-context] Bug in \underbar ?

2008-07-23 Thread Wolfgang Schuster
] [before={\starttextbackground[underline]}, after=\stoptextbackground] \def\underline{\groupedcommand{\starttextbackground[underline]}{\stoptextbackground}} \setuphead[section][textcommand=\underline] \starttext \section{Section} \stoptext

Re: [NTG-context] Howto float text around an image on layer (in a frame, inside standardmakeup)?

2008-06-24 Thread Wolfgang Schuster
, it is also the better solution in grid mode. \definetextbackground [cover] [frame=on, location=paragraph, background=, leftoffset=.25ex, rightoffset=.25ex, topoffset=.25ex, bottomoffset=.25ex] \starttext \starttextbackground[cover] \getbuffer[text] \stoptextbackground

Re: [NTG-context] frames and columns

2008-05-20 Thread Wolfgang Schuster
Commenting out the \startframedtext,\stopframedtext typesets two columns; \startsimplecolumns shows the same ill behaviour. ConTeXt ver: 2008.05.13 14:42 MKII fmt: 2008.5.19 int: english/ english Is there a cure? http://www.ntg.nl/pipermail/ntg-context/2007/025622.html or \starttextbackground

Re: [NTG-context] frames and columns

2008-05-20 Thread Hans van der Meer
the same ill behaviour. ConTeXt ver: 2008.05.13 14:42 MKII fmt: 2008.5.19 int: english/ english Is there a cure? http://www.ntg.nl/pipermail/ntg-context/2007/025622.html or \starttextbackground/\stoptextbackground Hans van der Meer Wolfgang

[NTG-context] Background color spaning columns.

2008-03-03 Thread Bart Wise
][ before={\starttextbackground[highlight]}, after=\stoptextbackground] \starttext \subject{Problem 1} \startcolumns It was a· \starthighlight dark· and stormy night; the rain fell in torrents --- except at occasional intervals, when it was checked by a· violent\stoptextbackground~ gust of wind

Re: [NTG-context] ConTeXt-ifying Kile

2008-01-02 Thread Matija Šuklje
\starttable[text|name] \stoptable \starttables[text|name] \stoptables \starttabulate[text][settings] \stoptabulate # \startTEXpage \stopTEXpage # \starttext \stoptext # \starttextbackground \stoptextbackground # \starttextdata \stoptextdata \starttextrule[top|bottom]{text} \stoptextrule \starttyping

[NTG-context] table layout

2007-11-06 Thread Wolfgang Schuster
=start] \startuseMPgraphic{tableback} pickup pencircle scaled 1pt; path p; p = (multipars[1]); draw p withcolor red; \stopuseMPgraphic \definetextbackground [mytab] [location=paragraph, width=local, mp=tableback] \starttext %\topskip=0pt \setuptabulate [before={\starttextbackground[mytab

Re: [NTG-context] table layout

2007-11-06 Thread Peter Rolf
\definetextbackground [mytab] [location=paragraph, width=local, mp=tableback] \starttext %\topskip=0pt \setuptabulate [before={\starttextbackground[mytab]}, after=\stoptextbackground] \starttabulatehead \HL \NC Row 1 \NC Row 2 \NC Row 3 \NC\NR \HL

[NTG-context] error in textbackground with metapost

2007-07-18 Thread Hans van der Meer
[TEST][option=JV, before={\bgroup\setupinterlinespace[line=3ex]% \testpage[1]\starttextbackground[code]}, after={\stoptextbackground\egroup}] \setupbodyfont[14pt] \starttext Testing textbackground\crlf \startTEST first line second line third line fourth line fifth

Re: [NTG-context] non-interactive underlining

2007-06-06 Thread Aditya Mahajan
on how you define \startunderline. The usual way is to \definetextbackground[underline] [location=text,alternative=1,background=,frame=off] \definestartstop [underline] [before={\starttextbackground[underline]}, after=\stoptextbackground] which does not introduce any interaction (interaction

Re: [NTG-context] non-interactive underlining

2007-06-06 Thread Alan Bowen
,alternative=1,background=,frame=off] \definestartstop [underline] [before={\starttextbackground[underline]}, after=\stoptextbackground] which does not introduce any interaction (interaction means that something should happen when you click the screen). It does have a blue underline, because

Re: [NTG-context] Columns and backgrounds problem

2006-11-10 Thread Matthias Weber
=on, framecolor=darkblue, location=paragraph, color=darkblue] \defineenumeration [theorem] [before={\starttextbackground[thmbackground]}, after={\stoptextbackground}, text=Theorem, way=bysection, location=hanging, letter=rm] \setuppapersize[letter][letter] \starttext \startcolumns[n=2

[NTG-context] Columns and backgrounds problem

2006-11-07 Thread Matthias Weber
, %corner=round, before=\blank, after=\blank, leftoffset=5pt, rightoffset=5pt, topoffset=5pt, bottomoffset=5pt, frame=on, framecolor=darkblue, location=paragraph, color=darkblue] \defineenumeration [theorem] [before={\starttextbackground[thmbackground]}, after={\stoptextbackground}, text=Theorem

[NTG-context] Problems mapping Xml into ConTeXt

2006-10-10 Thread Michael Wigston
] [location=text,alternative=1,background=""> \definestartstop[ul] [before={\starttextbackground[ul] }, after={\stoptextbackground\ }] Below is a sample .tex file that I have been playing with: - \usemodule[contml] \autoXMLnamespace [context] % Attempts at defining a

Re: [NTG-context] [HELP] colored text marked by a caption and across multipages

2006-10-04 Thread Wolfgang Schuster
to it by \in{}[] and \at{}[]. 123 work great, however, if the source codes are long enough, and doesn't fit into one page, then the bottom of it will not display. After searching this mailing list, I found some methods: \bTABLE, \starttextbackground ..etc... But none of them can achieve

[NTG-context] textbackground inside framed

2006-10-03 Thread Peter Rolf
=start] \definetextbackground[foo] [backgroundcolor=lightgray, frame=off, level=-1, % -3,-2,-1,+1,+2 ] \startuniqueMPgraphic{bar} fill OverlayBox withcolor red ; \stopuniqueMPgraphic \defineoverlay[bar][\uniqueMPgraphic{bar}] \starttext An example of a \starttextbackground[foo

Re: [NTG-context] too much space because of margin notes

2006-07-11 Thread Hans Hagen
\MyDisplayCorrection {\vskip-\lineheight} \margintext{some text in margin} \starttextbackground \MyDisplayCorrection \placeformula \startformula a+b=c \stopformula \stoptextbackground \stoptext use a Correction macro that can be nilled (since some day we may have more control over math

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

2006-07-02 Thread Taco Hoekwater
=, after=, location=paragraph] \setuphead[section] [style={\ss\bf}, before={\starttextbackground[section]~}, %NOTE after={\stoptextbackground}] NOTE: I am unhappy

Re: [NTG-context] Page breaking problem

2006-06-20 Thread nico
\input tufte \starttextbackground[grayback] \input tufte \stoptextbackground \stoptext [2]: http://archive.contextgarden.net/message/20060524.162941.8a054666.en.html The test case: \chardef\kindofpagetextareas\plusone \setupcolors[state=start] \setupwhitespace[medium] % needed to activate

Re: [NTG-context] Page breaking problem

2006-06-19 Thread nico
On Mon, 19 Jun 2006 18:45:32 +0800, Helin Gai [EMAIL PROTECTED] wrote: Thanks Hans for the prompt reply. I tried the following code: \definetextbackground[A] [frame=off,location=paragraph,backgroundcolor=gray] \setuptyping[before={\starttextbackground[A]},after= {\stoptextbackground

Re: [NTG-context] Page breaking problem

2006-06-19 Thread Helin Gai
20, 2006, at 2:51 AM, nico wrote: On Mon, 19 Jun 2006 18:45:32 +0800, Helin Gai [EMAIL PROTECTED] wrote: Thanks Hans for the prompt reply. I tried the following code: \definetextbackground[A] [frame=off,location=paragraph,backgroundcolor=gray] \setuptyping[before={\starttextbackground[A]},after

[NTG-context] Textbackground overlapping

2006-05-23 Thread nico
tufte \input tufte \input tufte \input tufte \starttextbackground[grayback] \input tufte \stoptextbackground \stoptext Regards, BG ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context

[NTG-context] Textbackground overlapping (2)

2006-05-23 Thread nico
by the background, right?}. \input tufte \input tufte \input tufte \input tufte \starttextbackground[grayback] \input tufte \stoptextbackground \placefigure[top]{joke}{\framed[width=5cm]{Hi}} \stoptext Regards, BG ___ ntg-context mailing list ntg-context

Re: [NTG-context] Textbackground overlapping

2006-05-23 Thread Hans Hagen
by the background, right?}. \input tufte \input tufte \input tufte \input tufte \starttextbackground[grayback] \input tufte \stoptextbackground \stoptext not yet interfaced but public anyway \chardef\kindofpagetextareas\plusone

Re: [NTG-context] Background placement

2006-05-22 Thread Aditya Mahajan
On Mon, 22 May 2006, nico wrote: The problem often occurs just after a heading starting at the top of a page (section, enumeration title). Here is an example showing the behaviour: I had a similar problem in the past, and Hans suggested to use starttextbackground instead of background

Re: [NTG-context] Background placement

2006-05-22 Thread nico
in the past, and Hans suggested to use starttextbackground instead of background. background is supposed to be deprecated. Deprecated? Really? Try the following code and see if you get what you want. setuplayout[middle] \setupcolors[state=start] \definecolor[ScreenGray][s=0.95

Re: [NTG-context] Background placement

2006-05-22 Thread Hans Hagen
: I had a similar problem in the past, and Hans suggested to use starttextbackground instead of background. background is supposed to be deprecated. Deprecated? Really? Try the following code and see if you get what you want. setuplayout[middle] \setupcolors[state=start

Re: [NTG-context] Weird texexec hang

2006-05-19 Thread Hans Hagen
be avoided in floats i'll use the framed typing definition for floats (that cannot split anyway). i adapted the backgrounds to recognize floats, i'll sen dyou the file BTW, is there other known unsafe combinations to avoid? well, \starttextbackground is the more modern way to go (only one level

Re: [NTG-context] Weird texexec hang

2006-05-19 Thread nico
combinations to avoid? well, \starttextbackground is the more modern way to go (only one level needed since one can hook in mp code) I tried this too, but it became a real nightmare. It compiles ok, but is so slow: there were hundred of MP files, and the result was ugly (strange offsets

[NTG-context] textbackground and margin

2006-05-19 Thread Aditya Mahajan
\starttextbackground[test] \dorecurse{15}{\input knuth \endgraf} \stoptextbackground \stoptext Is there some parameter to adjust the offset before and after a pagebreak. (I want them to be same as bottomoffset and topoffset.) Or should I take care of this in mpos:par:columnset with something like

Re: [NTG-context] textbackground and margin

2006-05-19 Thread Aditya Mahajan
bottomenlarged 1cm; fill p withcolor 0.9white ; draw p withcolor \MPvar{linecolor} withpen pencircle scaled \MPvar{linewidth}; endfor; \stopuseMPgraphic \starttext \input knuth \endgraf \hairline \par \starttextbackground[test] \dorecurse{13}{\input knuth \endgraf

[NTG-context] textbackground exceeds its scope

2006-04-23 Thread Aditya Mahajan
Hi, I have encountered a really strange bug in textbackground. Occasionally, textbackground colors the whole page instead of just the text between \starttextbackground and \stoptextbackground. This happens only when I am using module mag-01 and have \setuptyping[style=\ttx

Re: [NTG-context] textbackground exceeds its scope

2006-04-23 Thread Hans Hagen
Aditya Mahajan wrote: Hi, I have encountered a really strange bug in textbackground. Occasionally, textbackground colors the whole page instead of just the text between \starttextbackground and \stoptextbackground. This happens only when I am using module mag-01 and have \setuptyping

Re: [NTG-context] Quotations

2006-03-31 Thread Hans Hagen
rightboundary multipars[i] withcolor .5red ; fi ; endfor ; \stopuseMPgraphic \setupdelimitedtext [quotation] [leftmargin=.5em, rightmargin=.5em, before={\starttextbackground[myquotation]}, after=\stoptextbackground] \starttext \input tufte \startquotation \dorecurse{10}{\input

Re: [NTG-context] \page inside a block

2006-03-16 Thread Hans Hagen
] % \expanded{\definemeasure[SavedLeftSkip][\the\leftskip]} \Poem{#1} \starttextbackground[poem] \startlines} \def\StopPoem {\stoplines \stoptextbackground \stopnarrower} \showframe \StartPoem{xxx} line 1 line 2 \StopPoem \setuptextbackground [poem] [mp=mpos:par:poem

Re: [NTG-context] columns in framedtext

2006-02-20 Thread Taco Hoekwater
Hans van der Meer wrote: It seems not possible to typeset in columns (\startcolumns[n=3]... \stopcolumns) within a \startframedtext...\stopframedtext. It all comes out in one long column. How can I accomplish this? For this, you have to use \starttextbackground (or \startbackground

Re: [NTG-context] columns in framedtext

2006-02-20 Thread Hans van der Meer
I have been experimenting with columnsets too. There I encounter the problem that I cannot set the distance between the columns at will. Neither lt columnsets force themselves into the frame. \starttextbackground doesn't help here, at most I get frames around the separate columns

<    1   2   3   >