[NTG-context] multicolumn title and abstact (bachotex) using tugboat.mkxl

2024-03-07 Thread Damien Thiriet via ntg-context
like this: \startsetups bachotex:naglowek:columns \defineframedtext [Dane] \setupframedtext [Dane] [width=18cm , align=normal, frame=no] \definenarrower [Streszczenia] [2*middle] \startplacefigure [location={here,none}] {\st

[NTG-context] XML processing, unwanted indentation/alignment

2024-02-15 Thread Michael Guravage
list:members \starttabulate[|l|l|l|] \xmlflush{#1} \stoptabulate \stopxmlsetups % Each gets his own table row. \startxmlsetups xml:list:member \NC \nameemaillink{#1} \NC \xmlatt{#1}{birthday} \NC \mobilelink{#1} \NC\NR \stopxmlsetups % finis \environment xml.tex % XML processing instructio

[NTG-context] Re: textbackground spacing offset

2024-01-31 Thread Hans Hagen
On 1/31/2024 7:15 PM, Marco Patzer wrote: On Thu, 16 Nov 2023 13:52:05 +0100 Marco Patzer wrote: I'm having problems getting the textbackground spacing offset to work. Example: \setupframedtext [offset=overlay, width=max, depthcorrection=off] \setuptextbackground [loc

[NTG-context] Re: textbackground spacing offset

2024-01-31 Thread Marco Patzer
On Thu, 16 Nov 2023 13:52:05 +0100 Marco Patzer wrote: > I'm having problems getting the textbackground spacing offset to work. > Example: > > \setupframedtext > [offset=overlay, >width=max, >depthcorrection=off] > > \setuptextbackground >

[NTG-context] textbackground spacing offset

2023-11-16 Thread Marco Patzer
Hi! I'm having problems getting the textbackground spacing offset to work. Example: \setupframedtext [offset=overlay, width=max, depthcorrection=off] \setuptextbackground [location=paragraph, %% offset=overlay, %% does nothing %% backgroundoffset=overlay, %%

Re: [NTG-context] issue with framed texts

2022-04-25 Thread Wolfgang Schuster via ntg-context
Pablo Rodriguez via ntg-context schrieb am 25.04.2022 um 18:17: On 4/24/22 21:13, Wolfgang Schuster via ntg-context wrote: Pablo Rodriguez via ntg-context schrieb am 24.04.2022 um 20:56: [...] Using current LMTX (2022.04.20 19:18), I’m afraid no format from \setupframedtext is applied to the

Re: [NTG-context] issue with framed texts

2022-04-25 Thread Pablo Rodriguez via ntg-context
On 4/24/22 21:13, Wolfgang Schuster via ntg-context wrote: > Pablo Rodriguez via ntg-context schrieb am 24.04.2022 um 20:56: >> [...] >> Using current LMTX (2022.04.20 19:18), I’m afraid no format from >> \setupframedtext is applied to the backcover framed text. >> [

Re: [NTG-context] issue with framed texts

2022-04-24 Thread Wolfgang Schuster via ntg-context
Pablo Rodriguez via ntg-context schrieb am 24.04.2022 um 20:56: Dear list, I have the following sample: \defineframedtext[backcover] \setupframedtext[backcover] [frame=off, offset=overlay, width=\textwidth] \starttext \startframedtext[backcover] \input

[NTG-context] issue with framed texts

2022-04-24 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \defineframedtext[backcover] \setupframedtext[backcover] [frame=off, offset=overlay, width=\textwidth] \starttext \startframedtext[backcover] \input zapf \stopframedtext \stoptext Using current LMTX (2022.04.20 19:18

Re: [NTG-context] Switching fonts changes framedtext justification

2022-04-03 Thread Marco Patzer via ntg-context
it with other fonts, framedtext justifies the text here. Are you sure it's not a tolerance issue? Frames don't inherit the tolerance from the main environment¹. Try with \setupframedtext [align=verytolerant] %% [align={verytolerant, stretch}] Marco ¹ https://wiki

Re: [NTG-context] Conditional text appearing in a fixed vertical space

2022-01-12 Thread fv leung via ntg-context
;t break across pages. So, if you have long answers, a different > mechanism is needed. > > > > \definemode[solution][no] > > > > \doifmodeelse{solution} > > {\defineframedtext[solution][empty=no]} > > {\defineframedtext[solution][empty=ye

Re: [NTG-context] Conditional text appearing in a fixed vertical space

2022-01-12 Thread Gavin via ntg-context
#x27;t work. Why? > % > \expanded{\defineframedtext[solution][empty=\doifmodeelse{solution}{no}{yes}]} > > \setupframedtext > [solution] > [ >spacebefore=medium, >spaceafter=medium, >width=broad, >foregroundstyle=\rm\it, >loffset=2em, >roffset=2em, &

Re: [NTG-context] Conditional text appearing in a fixed vertical space

2022-01-11 Thread Aditya Mahajan via ntg-context
long answers, a different mechanism is needed. \definemode[solution][no] \doifmodeelse{solution} {\defineframedtext[solution][empty=no]} {\defineframedtext[solution][empty=yes]} % Doesn't work. Why? % \expanded{\defineframedtext[solution][empty=\doifmodeelse{solution}{no}{yes}]

Re: [NTG-context] framedtext is (still) broken in LMTX

2020-11-30 Thread Rik Kabel
=10cm]} %setupframedtext  [offset=0pt] \definelayer  [VRule] [x=0mm,y=0pt,width=\textwidth,height=\textheight] \setlayer [VRule]   [hoffset=0.75\textwidth,voffset=0pt]   {\blackrule[color=red,height=10em,width=1pt]} \setupbackgrounds

[NTG-context] troubles with \enablemode

2020-10-30 Thread Damien Thiriet
Hi @list, I don't fully understand the \enablemode mechanism. Given this MWE: \startmode[test] \setupframedtext [foregroundcolor=white,style={\tfa}] \stopmode \starttext \startframedtext ceci est un texte \stopframedtext \enablemode [test] \startframedtext ceci est un texte \stopframe

Re: [NTG-context] troubles with \enablemode

2020-10-30 Thread Aditya Mahajan
On Fri, 30 Oct 2020, Damien Thiriet wrote: > Hi @list, > > > I don't fully understand the \enablemode mechanism. Given this MWE: > > > \startmode[test] > \setupframedtext [foregroundcolor=white,style={\tfa}] > \stopmode > > > \startte

Re: [NTG-context] troubles with \enablemode

2020-10-30 Thread Henning Hraban Ramm
> Am 30.10.2020 um 19:26 schrieb Damien Thiriet : > I don't fully understand the \enablemode mechanism. Given this MWE: > > \startmode[test] > \setupframedtext [foregroundcolor=white,style={\tfa}] > \stopmode > > > \starttext > \startframedtext &g

Re: [NTG-context] Global \setup has no effect while ad-hoc setting does

2020-02-13 Thread Henri Menke
On 2/14/20 6:30 PM, Wolfgang Schuster wrote: > On Fri, 14 Feb 2020 02:21:03 +0100 > Exp wrote: > >> Dear list, >> >> I want to prevent an overfull hbox caused by an inline typing by making the >> alignment very tolerant, but it didn't work: >>

Re: [NTG-context] Global \setup has no effect while ad-hoc setting does

2020-02-13 Thread Wolfgang Schuster
On Fri, 14 Feb 2020 02:21:03 +0100 Exp wrote: > Dear list, > > I want to prevent an overfull hbox caused by an inline typing by making the > alignment very tolerant, but it didn't work: > > ``` > \setupframedtext[ > width=broad, > align={verytolerant, str

[NTG-context] Global \setup has no effect while ad-hoc setting does

2020-02-13 Thread Exp
Dear list, I want to prevent an overfull hbox caused by an inline typing by making the alignment very tolerant, but it didn't work: ``` \setupframedtext[ width=broad, align={verytolerant, stretch} ] \starttext \startframedtext%[align={verytolerant, stretch}] xx. x xx-xx

Re: [NTG-context] Framed & before/after

2018-03-21 Thread Pablo Rodriguez
amed inherits from \setupframed (as explained in tex/texmf-context/tex/context/interface/mkiv/i-context.pdf). \setupframedtext (which I don’t think is exactly the same as \setupframed) inherits from \setupplacement (which contains both keys before and after). That being said, I don’t know why before an

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

2017-07-12 Thread Mathias Schickel
s existed in ConTeXt.Framed texts does the trick with your sample:  \setupframedtext [width=\textwidth,  frame=on,  rulethickness=1pt,  corner=0,  offset=12pt]  \starttext  \startframedtext  If you typeset text with background,  the footnote workaround does not work.  \p

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

2017-07-10 Thread Mathias Schickel
ounds existed in ConTeXt. > > Framed texts does the trick with your sample: > >\setupframedtext > [width=\textwidth, >frame=on, >rulethickness=1pt, >corner=0, >offset=12pt] > >\starttext >\startfram

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

2017-07-10 Thread Pablo Rodriguez
t the bottom of the > page does not work if you try it using backgrounds. Here I provide a > minimal example that shows the problem: Dear Mathias, I didn’t even know that backgrounds existed in ConTeXt. Framed texts does the trick with your sample: \setupframedtext [width=\textwi

[NTG-context] two framed item lists side by side

2017-02-09 Thread Csikos Bela
don't need the frame to be drawn. Why distance=1cm and width=12cm have no effect in my code? Thanks, bcsikos code: \setupitemize[each][packed,joinedup,n][stopper=.~,itemalign=flushright] \setupframedtext[width=5.5cm,frame=off,offset=0pt] \setupcombinations[width=12cm,distance=1cm] \star

[NTG-context] indenting and whitespace in framedtext

2016-11-09 Thread Meer, Hans van der
Quoting from the command reference: \startframedtext inherits \setupframedtext and \setupframedtext ... indenting = inherits \setupindenting I interprete this as \setupindenting is carried to the inside of the framedtext but this thus not happen. Instead one explicitely sets it on the call of

Re: [NTG-context] Problem with framed text.

2015-02-22 Thread Wolfgang Schuster
. > > I built a sample and then played with the em > value. Lacking precise guidance I thought that > the value was one of those 0 to 1 ranges. Not so. > setting at 1.0 em gives me what I was looking > for. The setting 0.1 em gave me rounding that was > imperceptible without ma

Re: [NTG-context] Strange bug with overviewpage module.

2014-12-19 Thread Otared Kavian
t; > \useoverviewpage{reference} > > An example is: > > \usemodule[overviewpage] > \setuppapersize[S4] > > \setupframedtext[rulethickness=3pt] > > \starttext > > \startframedtext > \input ward > \stopframedtext > \saveoverviewpage{ward} > \page

[NTG-context] Strange bug with overviewpage module.

2014-12-19 Thread Aditya Mahajan
reuse the page by \useoverviewpage{reference} An example is: \usemodule[overviewpage] \setuppapersize[S4] \setupframedtext[rulethickness=3pt] \starttext \startframedtext \input ward \stopframedtext \saveoverviewpage{ward} \page \input tufte \page \scale[width=0.5\textwidth]{\useovervie

Re: [NTG-context] Using \startframedtext with \startcombination

2014-10-01 Thread Wolfgang Schuster
frame), this box is then put into another box (which is shown which a black frame) which has the width of the text area. The large outer box is necessary when you want to align the inner box to the left, middle or right of the text block. \setupframedtext[width=8cm,framecolor=red,frameoffse

Re: [NTG-context] question concerning \setupalign \setuptolerance

2013-08-30 Thread Christian Prim
retch] \setupframedtext[align={normal,hanging,hz}] %NEW \setuptabulate[align={normal,hanging,hz}] %NEW \showframe %NEW, for better seeing \starttext \subject{Normal Text} align working, tolerance working. \input knuth \subject{Table} Table resets align/tolerance: \starttabulate \NC align/toleranc

Re: [NTG-context] question concerning \setupalign \setuptolerance

2013-08-30 Thread Wolfgang Schuster
lues, to enable protrusion and font expansion for these environment you have to change their align values. \setupframedtext [align={normal,hanging,hz}] \setuptabulate [align={normal,hanging,hz}] Wolfgang ___ If your

Re: [NTG-context] Using \setupinterlinespace with \setuparranging[XY], and more

2013-06-25 Thread Wolfgang Schuster
ve any > effect as shown in the MWE down below. Is there another way for all > labels to inherit this alignment setting? The global settings for \framed are changed with the \setupframed command, the \setupframedtext commands changes the values for \startframedtext. > 3. I cannot get int

Re: [NTG-context] Struggling with ConTeXt

2012-08-21 Thread Aditya Mahajan
useMPgraphic{myFrame}] \defineframedtext[myStatement][frame=off] \setupframedtexts[myStatement][backgroundcolor=lightgray,background=myOverlay,width=\textwidth,autowidth=force] \starttext \framed[fit]{\startmyStatement TEST \stopmyStatement} \stoptext You can try \framed[strut=no]{...} and a

Re: [NTG-context] Commands with arguments with MetaPost

2012-04-25 Thread Alan BRASLAU
(Of course, you need to put correct dimensions for the width and height and also set an offset.) Untested, so the syntax may be not quite correct. You might want to use \setupframedtext and \startframedtext \stopframedtext if you will be doing this often. There is probably

Re: [NTG-context] Resetting references or local references?

2011-11-28 Thread Otared Kavian
[annotation] % Wolfgang's module \define[2]\ExoSetup {\resetnumber[formula] \setupframedtext[ width=\textwidth, frame=off, leftframe=on] \textrule{#1}% \startframedtext #2% \stopframe

Re: [NTG-context] Hello world title not flush left - beginner question?

2011-11-03 Thread Wolfgang Schuster
d something after the heading. When you want to use it only one time the above is overkill but it’s useful when you want a epigraph for each chapter. With \doifelsebuffer I can check if there the user set a epigraph and only when there is one i want the framedtext but I have to reset the buffer for t

Re: [NTG-context] Table headers and section titles

2011-09-15 Thread Felix Ingram
gt; \stoptext > > I'd like to be able to accurately place the box alongside the title > itself. Ideally I'd like to draw a line under the section header that > meets the left side of the box as well, though I'll take what I can > get at this point. After some careful readin

Re: [NTG-context] Setting framed

2009-03-22 Thread Wolfgang Schuster
hmode\framed{...} or \dontleavehmode\framedtext{...} or \startframedtext ... \stopframedtext There is an the option to set the \framed's font globally? \setupframed or \setupframedtext Wolfgang ___ If you