Re: [NTG-context] Text around a figure

2020-07-16 Thread Fabrice Couvreur
, frame=off, location=always, ] \showframe \starttext \starttextbackground[fondpaille] \startplacefigure[number=no,location=right] \externalfigure[dummy] \stopplacefigure \startitemize[n] \dorecurse{3}{\startitem \input ward

Re: [NTG-context] Text around a figure

2020-07-16 Thread Otared Kavian
tbackground[fondpaille] > [background=color, > backgroundcolor=fondpaille, > frame=off, > location=always] > > \starttext > > \starttextbackground[fondpaille] > \startplacefigure[number=no,location=right] > \externalfigure[dummy] &

Re: [NTG-context] Text around a figure

2020-07-16 Thread Fabrice Couvreur
Wolfgang suggests is something like the following: > > \useMPlibrary[dum] > \definecolor[fondpaille][c=0,m=0,y=0.2,k=0] > \definetextbackground[fondpaille] > [background=color, > backgroundcolor=fondpaille, > frame=off, > location=always] > &

Re: [NTG-context] Text around a figure

2020-07-15 Thread Otared Kavian
\starttextbackground[fondpaille] \startplacefigure[number=no,location=right] \externalfigure[dummy] \stopplacefigure \startitemize[n] \dorecurse{3}{\startitem \input ward \stopitem} \stopitemize \stoptextbackground \stoptext Best regards

Re: [NTG-context] Using TestBackground inside Offset

2019-12-23 Thread Wolfgang Schuster
. \definetextbackground [DisplayBackground] [location=paragraph] \definetextbackground [InlineBackground]  [location=text] \starttext X\offset[x=1em]{\starttextbackground[InlineBackground]Text\stoptextbackground} X\offset[x=1em]{\vtop{\starttextbackground[DisplayBackground]Text\crlf Text\stoptextbackground

Re: [NTG-context] Strange pagebreaks in LMTX

2019-09-04 Thread Otared Kavian
lmtx without any problem. >>> >>> Thanks in advance for any help, >>> Best regards: OK >> you have some interaction between textrules and backgrounds (and that can be >> a matter of very small differences in dimensions and rounding and such .. i >> just don't

Re: [NTG-context] Strange pagebreaks in LMTX

2019-09-04 Thread Wolfgang Schuster
and such .. i just don't see a quick way out) ... esp these backgrounds are an old mechanism (maybe i should alias it to textbackgrounds in lmtx) much better is to use this: \definetextbackground   [xx]   [location=paragraph] \starttextbackground[xx] \stoptextbackground can you try to use

Re: [NTG-context] Strange pagebreaks in LMTX

2019-09-04 Thread Hans Hagen
see a quick way out) ... esp these backgrounds are an old mechanism (maybe i should alias it to textbackgrounds in lmtx) much better is to use this: \definetextbackground [xx] [location=paragraph] \starttextbackground[xx] \stoptextbackground can you try to use that instead? less page

Re: [NTG-context] Unwanted white box above float

2019-07-22 Thread Taco Hoekwater
re] > \setupfloat[thematicimage] > [default=right,none}, > offset=1em, > margin=0em, > background=color, > backgroundcolor=cyan, > rightmargindistance=-1em] > > \starttext > > \starttextbackground[TintBoxed

[NTG-context] Unwanted white box above float

2019-07-22 Thread Duncan Hothersall
, margin=0em, background=color, backgroundcolor=cyan, rightmargindistance=-1em] \starttext \starttextbackground[TintBoxedBackground] {\bf Lorem ipsum dolor sit amet}\blank \placethematicimage{}{\externalfigure[cow][width=0.30\makeupwidth]} Lorem ipsum dolor sit

Re: [NTG-context] Small pages and large framed texts

2019-03-21 Thread Willi Egger
poffset=10pt, > leftoffset=10pt, > location=paragraph, > frame=on] > > \startsetups [xml:setups:start] > \starttextbackground [SetupsParameter] > \stopsetups > > \startsetups [xml:setups:stop] > \stoptextbackground > \stopsetups > > \starttext > > \start

Re: [NTG-context] Small pages and large framed texts

2019-03-20 Thread Wolfgang Schuster
=paragraph, frame=on] \startsetups [xml:setups:start] \starttextbackground [SetupsParameter] \stopsetups \startsetups [xml:setups:stop] \stoptextbackground \stopsetups \starttext \startsection[title={Short Version of the Command}] \cmdshortsetup [setupframed] \cmdshortsetup

Re: [NTG-context] MetaFun: nofmultipars wrong?

2018-09-25 Thread Hans Hagen
(decimal i, ulcorner multipars[i]) withcolor red ; endfor ; \stopuseMPgraphic \definetextbackground [PageFrame] [mp=pageframe, location=paragraph] \starttext \samplefile{knuth} \starttextbackground[PageFrame] \samplefile{knuth} \stoptextbackground \samplefile{knuth

[NTG-context] MetaFun: nofmultipars wrong?

2018-09-24 Thread Henri Menke
=pageframe, location=paragraph] \starttext \samplefile{knuth} \starttextbackground[PageFrame] \samplefile{knuth} \stoptextbackground \samplefile{knuth} \starttextbackground[PageFrame] \samplefile{knuth} \samplefile{knuth} \samplefile{knuth} \stoptextbackground \stoptext test.pdf Description

Re: [NTG-context] \definetextbackground does not fill tables within

2018-08-13 Thread Alan Braslau
mail-archive.com/ntg-context%40ntg.nl/msg78014.html > %width=broad, > %corner=round, > %radius=5ex, > leftoffset=10pt,rightoffset=10pt, > topoffset=10pt,bottomoffset=10pt > %offset=-5pt > ] > > \definestartstop[teoria][

[NTG-context] \definetextbackground does not fill tables within

2018-08-13 Thread dxpublica
,bottomoffset=10pt %offset=-5pt ] \definestartstop[teoria][before={\begingroup\blank[big]\testpage[2]\starttextbackground[bteoria]},after={\stoptextbackground\blank[big]\endgroup}] \starttext \startteoria \input tufte \placetable[force,none][taula:teoria:1]{Recopilació de dades. Conceptes

Re: [NTG-context] Textbackground offset with multi-col paragraphs

2017-11-23 Thread Thomas Floeren
A minimal: > > \defineparagraphs [TestPar][n=2, distance=7mm] > \setupparagraphs [TestPar][1][width=2em] > > \definetextbackground [CB][ > location=paragraph, > backgroundcolor=gray, > leftoffset=.3em, > rightoffset=.3em, > topoffset=.3em, > bottomoffset=.

[NTG-context] Textbackground offset with multi-col paragraphs

2017-11-02 Thread Thomas Floeren
] \definetextbackground [CB][ location=paragraph, backgroundcolor=gray, leftoffset=.3em, rightoffset=.3em, topoffset=.3em, bottomoffset=.3em, frame=off ] \starttext \starttextbackground [CB] \dorecurse {40} {a b c } \stoptextbackground text \starttextbackground [CB] \startTestPar img \TestPar \dorecurse {40

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

2017-07-17 Thread Henri Menke
le[vim] \definevimtyping   [python]   [syntax=python,    escape=on,    before={\starttextbackground[verbatim]},    after={\stoptextbackground}] \setuptyping   [before={\starttextbackground[verbatim]},    after={\stoptextbackground}] \starttext \starttyping[escape=yes] # Returns /BTEX\m{\sum_{i=1}

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

2017-07-16 Thread Mathias Schickel
> Am 15.07.2017 um 21:55 schrieb Hans Hagen <pra...@wxs.nl>: > > On 7/15/2017 9:11 PM, Alan Braslau wrote: >> On Wed, 12 Jul 2017 19:05:26 +0200 >> Hans Hagen <pra...@wxs.nl> wrote: >>> best play with textbackgrounds >>> >>> \sta

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

2017-07-15 Thread Hans Hagen
On 7/15/2017 9:11 PM, Alan Braslau wrote: On Wed, 12 Jul 2017 19:05:26 +0200 Hans Hagen <pra...@wxs.nl> wrote: best play with textbackgrounds \starttext \starttextbackground \dorecurse{10}{test\footnote{tufte}: \input tufte\par} \stoptextbackground \stoptext I have found the fol

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

2017-07-15 Thread Alan Braslau
On Wed, 12 Jul 2017 19:05:26 +0200 Hans Hagen <pra...@wxs.nl> wrote: > best play with textbackgrounds > > \starttext > > \starttextbackground > \dorecurse{10}{test\footnote{tufte}: \input tufte\par} > \stoptextbackground > > \stoptext > I have found the

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

2017-07-15 Thread Pablo Rodriguez
> >>\automigrateinserts >>\setuptextbackground[location=paragraph] >>\starttext >>\dorecurse{10}{\starttextbackground >>test\footnote{tufte}: \input knuth\hfill >>\stoptextbackground\blank} >>\stoptext > > What can be done that th

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

2017-07-15 Thread Mathias Schickel
ext page and footnotes had been at the first page of the theorem. So things worked fine. > > Just in case I got you wrong: is your issue that the background also > covers the footnotes, such as in the first and second pages from: > >\automigrateinserts >\setuptextb

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

2017-07-15 Thread Pablo Rodriguez
econd pages from: \automigrateinserts \setuptextbackground[location=paragraph] \starttext \dorecurse{10}{\starttextbackground test\footnote{tufte}: \input knuth\hfill \stoptextbackground\blank} \stoptext Just in ca

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

2017-07-12 Thread Hans Hagen
best play with textbackgrounds \starttext \starttextbackground \dorecurse{10}{test\footnote{tufte}: \input tufte\par} \stoptextbackground \stoptext - Hans Hagen | PRAGMA ADE

Re: [NTG-context] Textbackground issue with margin pictures

2017-04-03 Thread Hans Hagen
margin]{}{} \starttextbackground [test] \dorecurse{3}{\readfile{ward}{}{}} \stoptextbackground \stoptext With the ConTeXt Current from 2016.05.19 13:43 I don’t see the issue, everything’s fine there. Here are two screenshots: Desired behavior (Ctx Current): http://d.pr/i/Xgtc Non-desired behavio

Re: [NTG-context] Textbackground issue with margin pictures

2017-04-03 Thread Tom
rgin=0mm, >> rightmargin=45mm, >> height=fit, >> width=fit, >> ] >> >> \definetextbackground [test] >> >> \starttext >> >> \placefigure [margin]{}{} >> >> \starttextbackground [test] >> \dorecurse{3}{\readfile{ward}{}{}} >

Re: [NTG-context] Textbackground issue with margin pictures

2017-04-03 Thread Hans Hagen
for the entire height of the margin picture. Here is a minimal: \setuplayout [ leftmargin=0mm, rightmargin=45mm, height=fit, width=fit, ] \definetextbackground [test] \starttext \placefigure [margin]{}{} \starttextbackground [test] \dorecurse{3}{\readfile{ward}{}{}} \stoptextbackground

[NTG-context] Textbackground issue with margin pictures

2017-04-02 Thread Tom
picture. Here is a minimal: \setuplayout [ leftmargin=0mm, rightmargin=45mm, height=fit, width=fit, ] \definetextbackground [test] \starttext \placefigure [margin]{}{} \starttextbackground [test] \dorecurse{3}{\readfile{ward}{}{}} \stoptextbackground \stoptext With the ConTeXt Current

Re: [NTG-context] RTL bug in textbackground

2016-07-03 Thread Hans Hagen
, frame=off, location=text, color=blue] \starttext \starttextbackground[intro] A rather common way to draw attention to a passage, is to add a background. In this chapter we will therefore discuss how to enhance your document

[NTG-context] RTL bug in textbackground

2016-07-03 Thread Mohammad Hossein Bateni
, location=text, color=blue] \starttext \starttextbackground[intro] A rather common way to draw attention to a passage, is to add a background. In this chapter we will therefore discuss how to enhance your document with \starttextbackground [subintro] colorful areas that either

[NTG-context] Textbackgrounds interrupted by floats

2015-04-07 Thread Robin.Kirkham
][ frame=off, location=paragraph, background=color, backgroundcolor=yellow] \setuptyping[typing][ %option=color, before={\starttextbackground[code]}, after=\stoptextbackground] \starttext \startplacefigure[location=bottom] \externalfigure[cow][width=0.5\textwidth

Re: [NTG-context] textbackground

2015-02-26 Thread Hans Hagen
[nl] \setnewconstant\kindofpagetextareas 1 % low level, no high level switch (yet) \starttext \starttextbackground[en] \dorecurse{10}{\input tufte \footnote{tufte} \par} \stoptextbackground \starttextbackground[nl] \dorecurse{10}{\input tufte \footnote{tufte} \par

[NTG-context] textbackground within framedtext

2015-02-18 Thread Christoph Reller
\par \starttextbackground[bg] \input knuth \stoptextbackground \par After \stopframedtext \input tufte \par \starttextbackground[bg] \dorecurse{2}{\input knuth \par} \stoptextbackground \input tufte \stoptext Any feedback is welcome, Regards, Christoph

Re: [NTG-context] TOC with Grey background for pages belonging to last section of every chapter

2015-02-02 Thread Wolfgang Schuster
: location=text \definehead [Framed][chapter] \definehead [Frameless] [chapter] \setuphead [Frameless] [before={\blank[2*line]}] \setuphead [Framed] [page=no, before=, beforesection={\page\blank[2*line]\starttextbackground[ChapterFrame]}, aftersection=\stoptextbackground

Re: [NTG-context] Grey background for pages belonging to last section of every chapter

2015-02-02 Thread Wolfgang Schuster
=, beforesection={\noindentation\page\starttextbackground[SummaryBackground]}, aftersection={\stoptextbackground\blank}] \setuphead[section][number=no,style=bold] \definecombinedlist[content][section,summary] \setupcombinedlist[content][level=4, alternative=c] \starttext \completecontent \page

[NTG-context] TOC with Grey background for pages belonging to last section of every chapter

2015-02-02 Thread Keith J. Schultz
] [before={\blank[2*line]}] \setuphead [Framed] [page=no, before=, beforesection={\page\blank[2*line]\starttextbackground[ChapterFrame]}, aftersection=\stoptextbackground] \starttext \startnamedsection[Frameless][title=Chapter without frame] \input knuth \stopnamedsection

[NTG-context] section with \sethupead[section][alternative=text]; other type of section misbehaves..

2015-01-31 Thread Rob Heusdens
=,alternative=text,indentnext=no] \setuphead[summary][number=no,style=bold,before=,after={\blank[sprong]},beforesection={\noindentation\page\starttextbackground[SummaryBackground]},aftersection={\stoptextbackground\page}] \setupwhitespace[none] \setupindenting[yes, small, next] \definetextbackground

Re: [NTG-context] section with \sethupead[section][alternative=text]; other type of section misbehaves..

2015-01-31 Thread Rob Heusdens
]},after=,indentnext=no] \setuphead[summary][number=no,style=bold,before=,after={\blank[sprong]},beforesection={\noindentation\page\starttextbackground[SummaryBackground]},aftersection={\stoptextbackground\page}] \setupwhitespace[none] \setupindenting[yes, small, next] \definetextbackground

Re: [NTG-context] Grey background for pages belonging to last section of every chapter

2015-01-30 Thread Wolfgang Schuster
\starttextbackground[SummaryBackground]}, aftersection={\stoptextbackground\blank}] \starttext \startsection[title=Knuth] \input{knuth} \stopsection \startsummary[title=Zapf] \input{zapf} \stopsummary \stoptext

Re: [NTG-context] Grey background for pages belonging to last section of every chapter

2015-01-30 Thread Wolfgang Schuster
\starttextbackground[SummaryBackground]}, aftersection={\stoptextbackground\blank}] \starttext \startsection[title=Knuth] \input{knuth} \stopsection \startsummary[title=Zapf] \input{zapf} \stopsummary \stoptext Wolfgang Hello Wolfgang, Your example works. After

Re: [NTG-context] Grey background for pages belonging to last section of every chapter

2015-01-30 Thread Rob Heusdens
={\noindentation\page\starttextbackground[SummaryBackground]}, aftersection={\stoptextbackground\blank}] \setuphead[section][number=no,style=bold] \definecombinedlist[content][section,summary] \setupcombinedlist[content][level=4, alternative=c] \starttext \completecontent \page \dorecurse{9

Re: [NTG-context] Grey background for pages belonging to last section of every chapter

2015-01-30 Thread Rob Heusdens
] [frame=off,offset=none,frameoffset=0pt, background=color, backgroundcolor=gray, backgroundoffset=2ex] \definehead[summary][section] \setuphead [summary] [number=no, style=bold, before=, beforesection={\noindentation\page\starttextbackground[SummaryBackground]}, aftersection

Re: [NTG-context] Grey background for pages belonging to last section of every chapter

2015-01-30 Thread Rob Heusdens
Use text backgrounds. \definetextbackground [SummaryBackground] [frame=off, background=color, backgroundcolor=gray] \definehead[summary][section] \setuphead [summary] [before=, beforesection={\blank\starttextbackground[SummaryBackground]}, aftersection

Re: [NTG-context] textbackground inside itemize

2014-07-09 Thread Hans Hagen
=on] \startitemize[n,2*broad] \item Here is my first item \starttextbackground[foo] Here is some long text that demonstrates how the background color is wrong on the second line and all successive lines of this paragraph. \stoptextbackground

[NTG-context] textbackground inside itemize

2014-07-08 Thread Troy Henderson
] \definetextbackground[foo][ state=start, location=paragraph, background=color, backgroundcolor={0.875,0.875,0.875}, frame=off ] \starttext \startcolumns[n=2,rule=on] \startitemize[n,2*broad] \item Here is my first item \starttextbackground[foo

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

2014-05-25 Thread Xan
, backgroundoffset=5pt, framecorner=round, radius=5ex, frameoffset=5pt]}, after=\stopbackground ] and I want an equivalent one with starttextbackground. I try this: \definetextbackground[provateoria] [background=color, backgroundcolor=mteoria, location=paragraph, frame=on, width

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 an entry

[NTG-context] Undefined \continueifinputfile on presentation

2013-08-13 Thread Pau
] % [location=text,alternative=1,background=,frame=off] % \definestartstop % [underline] % [before={\starttextbackground[underline

[NTG-context] Vim module - different settings for inline and block code

2013-01-16 Thread Marco Patzer
Hi, I need different settings for code in inline and block mode. See the following example: \usemodule [vim] \definetextbackground [C] [location=text] \definevimtyping [C] [syntax=c, before={\starttextbackground[C]}, after=\stoptextbackground, margin=2em] \starttext This is C

Re: [NTG-context] Vim module - different settings for inline and block code

2013-01-16 Thread Wolfgang Schuster
Am 16.01.2013 um 15:51 schrieb Marco Patzer home...@lavabit.com: Hi, I need different settings for code in inline and block mode. See the following example: \usemodule [vim] \definetextbackground [C] [location=text] \definevimtyping [C] [syntax=c, before={\starttextbackground[C

[NTG-context] (XeTeX) trouble debugging a Missing number error

2012-12-05 Thread Lars Huttar
] \starttextbackground[text] \setuptab[headstyle={\switchtobodyfont[SansB,\SansBsize]},width=20mm,location=left] \startcolumnset[abbcolumn] \startalignment[flushleft,nothyphenated]}, after={\stopalignment \stopcolumnset \stoptextbackground \setupbackgrounds[text][background=off]}] From that, one might guess

Re: [NTG-context] (XeTeX) trouble debugging a Missing number error

2012-12-05 Thread Hans Hagen
={\setupbackgrounds[text][background=verticalline] \starttextbackground[text] \setuptab[headstyle={\switchtobodyfont[SansB,\SansBsize]},width=20mm,location=left] \startcolumnset[abbcolumn] \startalignment[flushleft,nothyphenated]}, after={\stopalignment \stopcolumnset \stoptextbackground \setupbackgrounds

Re: [NTG-context] (XeTeX) trouble debugging a Missing number error

2012-12-05 Thread Lars Huttar
[text][background=verticalline] // \starttextbackground[text] // \setuptab[headstyle={\switchtobodyfont[SansB,\SansBsize]},width=20mm,location=left] // \startcolumnset[abbcolumn] \startalignment[flushleft,nothyphenated]}, // after={\stopalignment \stopcolumnset \stoptextbackground

Re: [NTG-context] (XeTeX) trouble debugging a Missing number error

2012-12-05 Thread Wolfgang Schuster
// \definestartstop //[abblist] //[before={\setupbackgrounds[text][background=verticalline] // \starttextbackground[text] // \setuptab[headstyle={\switchtobodyfont[SansB,\SansBsize]},width=20mm,location=left] // \startcolumnset[abbcolumn] \startalignment[flushleft,nothyphenated

[NTG-context] Left margin of vim module output

2012-08-01 Thread Marco Patzer
, %leftoffset=1cm, topoffset=5mm] \definevimtyping [C] [syntax=c, before={\starttextbackground[code]}, after=\stoptextbackground] \setuptyping [typing] [margin=1cm, before={\starttextbackground[code]}, after=\stoptextbackground] \starttext \startC /* This MEMB() definition

[NTG-context] tables

2012-06-14 Thread Hans Hagen
Hi, two table mechanisms now have the textwidth (max available width) set to local which makes it work inside for instance text backgrounds \starttext \starttextbackground \input ward \bTABLE % [textwidth=local] \bTR \bTD \input ward \eTD \bTD \input

Re: [NTG-context] Broken Nightly (2012.02.18)

2012-02-28 Thread Hans Hagen
... \stopTimelineGeneralDocument So I'm not really sure what I am suppose to do with \starttextbackground? apart from a funny corner at least it helps if the colors are defined \definecolor[colour_page][red] \definecolor[colour_text][green

Re: [NTG-context] Broken Nightly (2012.02.18)

2012-02-26 Thread Kip Warner
On Fri, 2012-02-24 at 05:34 +0100, Wolfgang Schuster wrote: You should make a minimal example with \starttextbackground which produces the same error as your document. As a minimal, it seems to work. But as part of my book, it bails with the following: graphics invalid region for 'tbg

Re: [NTG-context] Broken Nightly (2012.02.18)

2012-02-23 Thread Kip Warner
On Wed, 2012-02-22 at 22:21 +0100, Wolfgang Schuster wrote: \starttextbackground Wolfgang I have the following defined in my environment: \definetextbackground[TimelineGeneralDocument][ location=paragraph, color=color_text, background=color, backgroundcolor

Re: [NTG-context] Broken Nightly (2012.02.18)

2012-02-23 Thread Wolfgang Schuster
Am 24.02.2012 um 01:12 schrieb Kip Warner: On Wed, 2012-02-22 at 22:21 +0100, Wolfgang Schuster wrote: \starttextbackground Wolfgang I have the following defined in my environment: \definetextbackground[TimelineGeneralDocument][ location=paragraph, color=color_text

Re: [NTG-context] Broken Nightly (2012.02.18)

2012-02-22 Thread Wolfgang Schuster
Am 22.02.2012 um 22:17 schrieb Kip Warner: On Wed, 2012-02-22 at 22:08 +0100, Wolfgang Schuster wrote: Check text backgrounds in your document, Hans made a few changes in the code to make it faster. Any suggestions on what I should look for? Thanks. \starttextbackground Wolfgang

Re: [NTG-context] [beta] anch-pos.lua

2012-02-17 Thread Hans Hagen
test \starttextbackground[b] \input ward \parshape 5 5cm 8cm 4cm 8cm 3cm 8cm 2cm 8cm 1cm 8cm \input ward \input ward \input ward \stoptextbackground{} test \stoptext

[NTG-context] beta

2012-02-16 Thread Hans Hagen
, the region key is a new one in framed so anything that can be framed can also have fancy text backgrounds. Yet another improvement is that (although rather untested) you can do things like \starttextbackground[r] START \dorecurse{10}{ \dorecurse{1}{\input ward

Re: [NTG-context] beta

2012-02-16 Thread Otared Kavian
results. Actually, the region key is a new one in framed so anything that can be framed can also have fancy text backgrounds. Yet another improvement is that (although rather untested) you can do things like \starttextbackground[r] START \dorecurse{10}{ \dorecurse{1}{\input ward

Re: [NTG-context] beta

2012-02-16 Thread Otared Kavian
backgrounds. Yet another improvement is that (although rather untested) you can do things like \starttextbackground[r] START \dorecurse{10}{ \dorecurse{1}{\input ward } \placefigure[right]{}{} some text before BEGIN \dorecurse{2}{\input ward } END some after

Re: [NTG-context] [beta] anch-pos.lua

2012-02-16 Thread Philipp Gesang
background looks weird even after. · \definetextbackground[tb] \setuptyping[ after={\stoptextbackground}, before={\starttextbackground[tb]}, ] \starttext foo \starttyping bar \stoptyping baz \starttabulate[|r|l|] \NC foo \NC

Re: [NTG-context] [beta] anch-pos.lua

2012-02-16 Thread Hans Hagen
this exact series of macros causes the issue. Please have a look at it anyways because the text background looks weird even after. · \definetextbackground[tb] \setuptyping[ after={\stoptextbackground}, before={\starttextbackground[tb

Re: [NTG-context] [beta] anch-pos.lua

2012-02-16 Thread Philipp Gesang
of macros causes the issue. Please have a look at it anyways because the text background looks weird even after. · \definetextbackground[tb] \setuptyping[ after={\stoptextbackground}, before={\starttextbackground[tb]}, ] add

[NTG-context] [beta] background behaviour

2012-02-09 Thread Philipp Gesang
: · \definetextbackground[verbatim] [ background=color, backgroundcolor=green, location=paragraph, ] \starttext \placefigure[2*hang,left]{}{test} %%% comment me \input knuth \starttextbackground[verbatim] foo bar \stoptextbackground \placefigure[here]{}{test} %%% comment me \stoptext

Re: [NTG-context] current beta fails install

2012-01-10 Thread Hans Hagen
] \starttext \startitemize \starttextbackground[testA] \item \input tufte \stoptextbackground \stopitemize \stoptext (/Users/hans/TeX/context/tex/texmf-context/tex/context/sample/tufte.tex) ! Extra }, or forgotten \endgroup. system tex error on line 15 in file textbackground.tex: Extra }, or forgotten

Re: [NTG-context] Broken textbackground

2011-12-19 Thread Otared Kavian
, 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 \startframedtext \input knuth \stopframedtext

Re: [NTG-context] Broken textbackground

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

[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] Breaking textframes across pages

2010-03-05 Thread Matthias Weber
=Note, before={\starttextbackground[defbackground]}, after={\stoptextbackground}, way=bysection, location=hanging, letter=rm] \starttext \startmyframe \input tufte \stopmyframe \input knuth \input knuth \input knuth % make sure the next frame breaks \startmyframe \input tufte \stopmyframe

[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

  1   2   3   >