[NTG-context] Preserving Stanza Integrity

2025-08-06 Thread Michael Guravage
definelines[poemlines] [before={\startpoemnarrower[left]}, after=\stoppoemnarrower\blank[5*big]] \definebuffer[poem] \def\stoppoem{\setups{poems:buffer}} \startsetups poems:buffer \setupnarrower[poemnarrower][left=0pt] \setbox\scratchbox\vbox% {\poemframed {\startpoem

[NTG-context] Re: crossreferences

2024-09-27 Thread Jürgen Hanneder via ntg-context
blank}] \defineblank[ZitatDistance][5pt] \definestartstop[Zitat][ before={\blank[ZitatDistance] \setupnarrower[left=2pc,right=2pc] \startnarrower[left,right] \noindent}, after={\stopnarrower \blank[ZitatDistance] \indenting[next]}] \definestartstop[Small

[NTG-context] Re: How can I do this?

2024-03-08 Thread Otared Kavian
=off] \setupnarrower[left=0.80cm, right=0.80cm] \definehspace[oneem][0.5em] \setupinteraction [state=start, color=blue] \usecolors[svg] \setupinteraction [state=start, contrastcolor=cornflowerblue] \starttext \margintext {1.1.1} {\bf Beispiel 3.2.17 (Vertauschung von All- und

[NTG-context] How can I do this?

2024-03-06 Thread Ursula Hermann
erkennen, dass ein \m ∃\forall∀ oder ein \m \forall∀\m∃ versteckt ist. Dann ist es besonders wichtig, die Formulierung sehr lange zu prüfen und eventuell auch formalisiert noch einmal aufzuschreiben.” \blank \setupnarrower [left=0.80cm, right=0.80cm] \startnarrower[left, right] \definehspace[oneem

Re: [NTG-context] Bug with \startnarrow?

2023-03-03 Thread Denis Maier via ntg-context
tation that has the bug. With \startnarrow, you need two > sets of square brackets, 1 for the \setupnarrower data and 1 for the > \startnarrower data. Like this: > > \starttext > Some text before > \startnarrow[left=5cm,right=1cm,before={\blank[2*line]},after={\blank[halfli > ne]}

Re: [NTG-context] Bug with \startnarrow?

2023-02-23 Thread peter.hopcroft--- via ntg-context
It's the documentation that has the bug. With \startnarrow, you need two sets of square brackets, 1 for the \setupnarrower data and 1 for the \startnarrower data. Like this: \starttext Some text before \startnarrow[left=5cm,right=1cm,before={\blank[2*line]},after={\blank[halfline]}]

[NTG-context] Bug with \startnarrow?

2023-02-23 Thread Denis Maier via ntg-context
stopnarrow but: \setupnarrower[left=5cm, right=2cm] \startnarrower[left,right] \input ward \stopnarrower \stoptext %% Is this a bug or intended behaviour ? Best, Denis ___ If your question is of i

[NTG-context] Definestartstop, Narrower, and Blockquotej

2022-12-17 Thread Michael Urban via ntg-context
I get a decidedly odd (or, at least, unexpected by me) result from this, based on the example on the contextgarden page for definestartstop: \starttext \defineblank[ExtractDistance][3pt] \definestartstop[Extract][ style=slanted, before={\blank[ExtractDistance] \setupnarrower[left

Re: [NTG-context] Calculating Best Box Width?

2021-06-09 Thread Hans Hagen
width, and repeatedly try .5, .333, .25 of the hbox width until it fits in the allocated space)? How to go about this? \defineblank[EpigraphDistance][3pt] \definestartstop[EpigraphText][ style=\ssa, before={\blank[EpigraphDistance] \setupnarrower[left=.25\textwidth,right=0pt

[NTG-context] Calculating Best Box Width?

2021-06-09 Thread Michael Urban
hbox width until it fits in the allocated space)? How to go about this? \defineblank[EpigraphDistance][3pt] \definestartstop[EpigraphText][ style=\ssa, before={\blank[EpigraphDistance] \setupnarrower[left=.25\textwidth,right=0pt] \startnarrower[left,right] \setupalign

Re: [NTG-context] what’s up with \setupdelimitedtext[method=font]?

2021-01-14 Thread Hans Hagen
y more why I needed this setup. Could you explain what it does (did, should do)? Hraban \setupdelimitedtext[quotation][method=font] % hanging quotation marks %\setupalign[hanging] \setupnarrower[left=2em,right=1.5em] \definenarrower[Zitat] \setupnarrower[Zitat] [left=2em, right=1.5em,

Re: [NTG-context] what’s up with \setupdelimitedtext[method=font]?

2021-01-14 Thread Henning Hraban Ramm
s a setup conflict, and I don’t know any > more why I needed this setup. > > Could you explain what it does (did, should do)? > > Hraban > > > \setupdelimitedtext[quotation][method=font] % hanging quotation marks > %\setupalign[hanging] > \setupnarrower[left=2em,ri

[NTG-context] what’s up with \setupdelimitedtext[method=font]?

2021-01-14 Thread Henning Hraban Ramm
in what it does (did, should do)? Hraban \setupdelimitedtext[quotation][method=font] % hanging quotation marks %\setupalign[hanging] \setupnarrower[left=2em,right=1.5em] \definenarrower[Zitat] \setupnarrower[Zitat] [left=2em, right=1.5em, before=\dontleavehmode\hskip-0.33em\startquotation

[NTG-context] \startblockquote…\stopblockquote issue

2020-12-31 Thread Alan Bowen
={\blank[small,fixed] \setupnarrower[left=1.5pc,right=0pc] \startnarrower[left,right] \noindentation\switchtobodyfont[9pt]}, after={\par\stopnarrower \blank[small,fixed] \noindentation},] \starttext \input ward \startblockquote \input ward \stopblockquote \stoptext I am attempting to get

[NTG-context] sidefloats and narrower

2020-09-16 Thread Henning Hraban Ramm
differently). \useMPlibrary[dum] \usemodule[visual] \setupwhitespace[halfline] \setupdelimitedtext[quotation][method=font] \setupnarrower[left=2em,right=1.5em] \definenarrower[Zitat] \setupnarrower[Zitat] [left=2em, right=1.5em, before=\dontleavehmode\hskip-0.33em\startquotation, after

Re: [NTG-context] Quotation with footnote

2020-09-16 Thread Henning Hraban Ramm
Am 04.09.2020 um 16:04 schrieb Taco Hoekwater : > \definenarrower[myquote] > \setupnarrower[myquote] > [left=2em, > right=1.5em, > before=\dontleavehmode\hskip-0.33em\startquote, > after=\stopquote] > > \startmyquote > Im übrigen ist der Mensch ein Lebewesen,

Re: [NTG-context] Quotation with footnote

2020-09-04 Thread Henning Hraban Ramm
> Am 04.09.2020 um 16:04 schrieb Taco Hoekwater : > > Something like this? > > \definenarrower[myquote] > \setupnarrower[myquote] > [left=2em, > right=1.5em, > before=\dontleavehmode\hskip-0.33em\startquote, > after=\stopquote] > > \startmyquote >

Re: [NTG-context] Quotation with footnote

2020-09-04 Thread Wolfgang Schuster
US English.) I tried several approaches e.g. with my own single start/stop macros that call \start/stopnarrower or \start/stopZitat – that always lead to unclosed environments. This looks as I want it to: \setupnarrower[left=2em,right=1.5em] \startnarrower \hskip-0.33em\quotation{Im übrigen

Re: [NTG-context] Quotation with footnote

2020-09-04 Thread Taco Hoekwater
Something like this? \definenarrower[myquote] \setupnarrower[myquote] [left=2em, right=1.5em, before=\dontleavehmode\hskip-0.33em\startquote, after=\stopquote] \startmyquote Im übrigen ist der Mensch ein Lebewesen, das klopft, schlechte Musik macht und seinen Hund bellen läßt

Re: [NTG-context] Quotation with footnote

2020-09-04 Thread Henning Hraban Ramm
> typography, I learned it’s different at least in US English.) > > I tried several approaches e.g. with my own single start/stop macros that > call \start/stopnarrower or \start/stopZitat – that always lead to unclosed > environments. This looks as I want it to: \setupnarrowe

Re: [NTG-context] Typesetting poetry with particular indenting

2020-07-02 Thread Tommaso Gordini
idth=force, align=flushleft, before=, after=, frame=off] \definenarrower[poemnarrower] \definelines [poemlines] [before={\startpoemnarrower[left]}, after=\stoppoemnarrower] \definebuffer[poem] \def\stoppoem{\setups{poems:buffer}} \startsetups poems:buffer \set

Re: [NTG-context] Text to be placed into the free space after columns and end of the page

2020-05-22 Thread context
column text | column text | column text | (some vertical space) abcd +- end of page -+ - How to achieve this? If you just want a narrower one column output (since using balance=no and \vfill after that only makes sense if the length of the content is less than a single column), yo

Re: [NTG-context] Text to be placed into the free space after columns and end of the page

2020-05-21 Thread Aditya Mahajan
than a single column), you can use \setupnarrower[right=0.5\textwidth] \startnarrower[right] \input knuth \stopnarrower or to get right frame: \startframedtext[width=0.45\textwidth,frame=off, rightframe=on, roffset=0.5em] \

Re: [NTG-context] Shift tabulate into margin and center

2020-05-05 Thread Tim Steenvoorden
r=0pc, > height=49pc, > footer=0pc, > bottomdistance=2.5pc, > bottom=1pc, > location=middle] > > \define\fullwidth{\dimexpr(\leftmargindistance+\leftmarginwidth+\textwidth)} > > \section{First} > \subsection{First first} > > \input tufte > > \setupnarrower[left=

[NTG-context] Shift tabulate into margin and center

2020-05-04 Thread Tim Steenvoorden
=middle] \define\fullwidth{\dimexpr(\leftmargindistance+\leftmarginwidth+\textwidth)} \section{First} \subsection{First first} \input tufte \setupnarrower[left=-9pc] \startnarrower[left] \startframedtext[frame=off,topframe=on,bottomframe=on,align=middle,width=\fullwidth] The whole frame should be

Re: [NTG-context] changing alignment inside a paragraph

2019-12-10 Thread Wolfgang Schuster
mf schrieb am 10.12.2019 um 12:27: Hello list, is there a way to achieve this? \def\FlushRightFromNextLine{\relax} \setupnarrower[left=0cm,right=11cm] \setupalign[stretch] \starttext This is what I'd like to type in my source:\par \blank \type{This is the text of an index term, that is nor

[NTG-context] changing alignment inside a paragraph

2019-12-10 Thread mf
Hello list, is there a way to achieve this? \def\FlushRightFromNextLine{\relax} \setupnarrower[left=0cm,right=11cm] \setupalign[stretch] \starttext This is what I'd like to type in my source:\par \blank \type{This is the text of an index term, that is normally justified, but I'd lik

[NTG-context] Fwd: Re: Spurious newlines at beginning of startstop pair

2019-11-28 Thread denis . maier . lists
nestartstop [cslreferences] [ > before={% > \setupnarrower[left=\cslhangindent] > \startnarrower[left]% > \setupindenting[-\leftskip,yes,first]% > \indentation% >}, >after=\stopnarrower, > ] > > \starttext

Re: [NTG-context] Spurious newlines at beginning of startstop pair

2019-11-27 Thread Hans Hagen
On 11/27/2019 2:17 PM, Denis Maier wrote: Hi, I have this file: -- \newdimen\cslhangindent \cslhangindent=1.5em \definestartstop [cslreferences] [         before={%         \setupnarrower[left=\cslhangindent]         \startnarrower

[NTG-context] Spurious newlines at beginning of startstop pair

2019-11-27 Thread Denis Maier
Hi, I have this file: -- \newdimen\cslhangindent \cslhangindent=1.5em \definestartstop [cslreferences] [         before={%         \setupnarrower[left=\cslhangindent]         \startnarrower[left]%         \setupindenting[-\leftskip,yes

Re: [NTG-context] startnarrower and framed?

2019-08-21 Thread Jon Wong
agraphs of text >>> inside the \framed. Unfortunately, it seems \framed doesn’t take paragraphs. >>> >>> \startframedtext doesn’t have as many border options as \framed. >>> >>> Should I use overlays? Or layers? It seems layers require absolutely

Re: [NTG-context] startnarrower and framed?

2019-08-21 Thread Jon Wong
can’t be logically contained inside a \startnarrower? >> >> Regards >> Jon >> >> >>> On Aug 21, 2019, at 8:53 PM, Jon Wong >> <mailto:jhannw...@gmail.com>> wrote: >>> >>> Hi all, >>> >>> I got some progress! >>

Re: [NTG-context] startnarrower and framed?

2019-08-21 Thread Jon Wong
amed. > > Should I use overlays? Or layers? It seems layers require absolutely > positioning, and can’t be logically contained inside a \startnarrower? > > Regards > Jon > > >> On Aug 21, 2019, at 8:53 PM, Jon Wong wrote: >> >> Hi all, >> >

Re: [NTG-context] startnarrower and framed?

2019-08-21 Thread Jon Wong
seems layers require absolutely positioning, and can’t be logically contained inside a \startnarrower? Regards Jon > On Aug 21, 2019, at 8:53 PM, Jon Wong wrote: > > Hi all, > > I got some progress! > > \setupnarrower[left=2cm, right=2cm] % what does middle do, actua

Re: [NTG-context] startnarrower and framed?

2019-08-21 Thread Jon Wong
Hi all, I got some progress! \setupnarrower[left=2cm, right=2cm] % what does middle do, actually? \startnarrower \dontleavehmode\framed[width=local]{testing} Since this works for left offset: \framed[width=local]{testing} \endnarrower So, how do I do a gradient background? Yeah, I know I

[NTG-context] variable edef with localhsize calculation

2019-04-04 Thread Rörig , Julian
Dear All, I try to save \localhsize in a variable (with \edef), but whenever the enclosure changes, my variable changes too. \starttext \edef\myVar{\dimexpr (\localhsize-15pt)\relax} localhsize: \the\dimexpr\localhsize\relax \\ myVar: \the\dimexpr\myVar\relax \\ \setupnarrower[middle=50mm

Re: [NTG-context] How can I remove a blank leading line from a buffer

2018-08-13 Thread Rik Kabel
definition stopBufTest   \startluacode buffers.prepend("TestBuffer","\\dontleavehmode\\llap{\\Mark}")   \stopluacode   \setupnarrower[left=\MarkWidth]   \startnarrower[left,right]   \startparagraph     \inlinebuffer[TestBuffer]   \stopparagraph

Re: [NTG-context] How can I remove a blank leading line from a buffer

2018-08-13 Thread Wolfgang Schuster
ot;\\dontleavehmode\\llap{\\Mark}") \stopluacode \setupnarrower[left=\MarkWidth] \startnarrower[left,right] \startparagraph \inlinebuffer[TestBuffer] \stopparagraph \stopnarrower \egroup \stoptexdefinition Hi Rik, what do you want to

Re: [NTG-context] How can I remove a blank leading line from a buffer

2018-08-13 Thread Rik Kabel
ark}")   \stopluacode   \setupnarrower[left=\MarkWidth]   \startnarrower[left,right]   \startparagraph     \inlinebuffer[TestBuffer]   \stopparagraph   \stopnarrower   \egroup \stoptexdefinition So I am still looking for a way to do this. Meanwhile I am trying to understa

Re: [NTG-context] size of footnote numbers

2017-09-30 Thread Otared Kavian
est way to achieve this? > > Here’s my setup: > > \setupbodyfont[alegreya,rm,11pt] % usual font size > > \startsetups[myQuotation] > \setupwhitespace[none] > \setupnarrower[left=2em,right=2em] > \switchtobodyfont[rm,10pt] > % I guess I should change th

[NTG-context] size of footnote numbers

2017-09-29 Thread Henning Hraban Ramm
some sense. What would be the best way to achieve this? Here’s my setup: \setupbodyfont [alegreya,rm,11pt] % usual font size \startsetups[myQuotation] \setupwhitespace[none] \setupnarrower[left=2em,right=2em] \switchtobodyfont[rm,10pt] % I guess I should change the footnote number font

[NTG-context] How do I insert characters before \par

2017-03-31 Thread Rik Kabel
. \stoptexdefinition 10. \starttexdefinition stopABC 11. \setupnarrower[left=\ABCinset] 12. \startnarrower[left,right] 13.\startlines 14. (\,\inlinebuffer[bu:ABC]\,) 15.\stoplines 16. \stopnarrower 17.\endgroup

Re: [NTG-context] avoid newline after definestartstop

2016-10-24 Thread Thomas A. Schmitz
\getparameters[QQ][note=oops,#1] \def\stopQuote{\footnote{\QQnote}\stopnarrower\blank [line]}% \else \def\stopQuote{\stopnarrower\blank [line]} \fi \setupnarrower [left=1cm,right=2cm] \startnarrower} \starttext \input zapf \startQuote \input tufte \stopQuote \startQuote[note=Knuth] \input

Re: [NTG-context] avoid newline after definestartstop

2016-10-24 Thread Michael Eidenbenz
related to my problem. >> is there still no workaround for this problem? >> putting a (foot)note after a quotation mark is quite common and I don't want >> to put the marks by hand. >> >> i was looking at spac-hor.mkiv and tried setupnarrower[after=]. >

Re: [NTG-context] avoid newline after definestartstop

2016-10-24 Thread Otared Kavian
> to put the marks by hand. > > i was looking at spac-hor.mkiv and tried setupnarrower[after=]. > but this did not work. > > any help is appreciated > > thanks michael > > >> Am 21.08.2014 um 23:42 schrieb Gerben Wierda > <http://rna.nl/>>: >>

Re: [NTG-context] avoid newline after definestartstop

2016-10-24 Thread Michael Eidenbenz
hello, I found this old mail below, that is related to my problem. is there still no workaround for this problem? putting a (foot)note after a quotation mark is quite common and I don't want to put the marks by hand. i was looking at spac-hor.mkiv and tried setupnarrower[after=]. but thi

Re: [NTG-context] problem with \setupdelimitedtext

2016-05-16 Thread Alan Bowen
; \setupdelimitedtext > [blockquote] > [before={\blank[small,fixed] > \setupnarrower[left=1.5pc,right=0pc] > \startnarrower[left,right] > \noindentation}, > after={\par\stopnarrower > \blank[small,fixed] > \noindentation}] > > \starttext > \input ward &

Re: [NTG-context] problem with \setupdelimitedtext

2016-05-16 Thread Wolfgang Schuster
Alan Bowen <mailto:bowenala...@gmail.com> 16. Mai 2016 um 18:49 In the following, the indentation using \startblockquote is twice what it should be: \setupdelimitedtext [blockquote] [before={\blank[small,fixed] \setupnarrower[left=1.5pc,right=0pc] \startnarrower[left

[NTG-context] problem with \setupdelimitedtext

2016-05-16 Thread Alan Bowen
In the following, the indentation using \startblockquote is twice what it should be: \setupdelimitedtext [blockquote] [before={\blank[small,fixed] \setupnarrower[left=1.5pc,right=0pc] \startnarrower[left,right] \noindentation}, after={\par\stopnarrower \blank[small

Re: [NTG-context] User-Defined Commands With Key-Value Options

2015-07-23 Thread Rik
language=en,#SETUPS] \grabbufferdata[Poem][startPoem][stopPoem] \stoptexdefinition \starttexdefinition stopPoem \obeylines \language[\Poemlanguage] \Poembefore \Poemfont \setupnarrower[left={\dimexpr\Poemindent+\Poeminset\relax},

Re: [NTG-context] adjust text width mkiv

2015-04-07 Thread Alias 1
You can try the command \startnarrower … \stopnarrower (see: http://wiki.contextgarden.net/Command/startnarrower). To change the default settings, use \setupnarrower. Jannik Am 7. April 2015 bei 15:17:22, John Culleton (j...@wexfordpress.com) schrieb: I am still matching my file with a

Re: [NTG-context] mkiv versus mkii: whitespace issues

2015-03-15 Thread Gerben Wierda
case\alignstrutmode\or\strut\fi % #1\unhbox\nextbox#2}\endgroup} %\hbox} \def\startBookQuote {\par\bgroup \setupnarrower[before=]\startnarrower\indenting[never]\tfx} \def\stopBookQuote{\stopnarrower\egroup} % \startmode[standalone] \setupfootertexts[pagenumber][{\jobname->\f

Re: [NTG-context] Second-level itemization and indenting question

2015-01-10 Thread Wolfgang Schuster
>>: >>> >>> I have the following setup (in mkii) >>> >>> \definemeasure[CAindent][12pt] >>> \setupindenting[yes,\measure{CAindent}] >>> \setupnarrower >>> [ left=\measure{CAindent}, >>> right=\measure{CAindent}, >>>

Re: [NTG-context] Second-level itemization and indenting question

2015-01-10 Thread Gerben Wierda
On 10 Jan 2015, at 13:53, Wolfgang Schuster wrote: >> >> Am 10.01.2015 um 13:36 schrieb Gerben Wierda : >> >> I have the following setup (in mkii) >> >> \definemeasure[CAindent][12pt] >> \setupindenting[yes,\measure{CAindent}] >> \setupnarro

Re: [NTG-context] Second-level itemization and indenting question

2015-01-10 Thread Wolfgang Schuster
> Am 10.01.2015 um 13:36 schrieb Gerben Wierda : > > I have the following setup (in mkii) > > \definemeasure[CAindent][12pt] > \setupindenting[yes,\measure{CAindent}] > \setupnarrower > [ left=\measure{CAindent}, > right=\measure{CAindent}, >middle=\meas

[NTG-context] Second-level itemization and indenting question

2015-01-10 Thread Gerben Wierda
I have the following setup (in mkii) \definemeasure[CAindent][12pt] \setupindenting[yes,\measure{CAindent}] \setupnarrower [ left=\measure{CAindent}, right=\measure{CAindent}, middle=\measure{CAindent}] \setupitemize[each][margin=\measure{CAindent}] \starttext \input knuth \startitemize

[NTG-context] keep on grid

2014-11-27 Thread Emil Stein
\showgrid %\definestartstop[citaat] %[before={\startlinecorrection\vskip3pt\setupnarrower[left=5mm,right=0pt]\startnarrower[left,right]\switchtobodyfont[8pt]\setupinterlinespace[line=10pt]}, %after={\stopnarrower\vskip3pt\stoplinecorrection}] \definestartstop[citaat] [before={\vskip3pt\setupnarrower[left=5mm

Re: [NTG-context] spacing with enumeration...

2014-10-05 Thread Willi Egger
20pt, > stopper=\high{o}, > inbetween=, > before={\blank[small]}, > after={\blank[small]}, > inbetween=, > ] > > \setupnarrower[ > before={\blank[big]}, > after={\blank[big]}, > ] > > \starttext > {\bf Ton} > > \startnarrower &

Re: [NTG-context] spacing with enumeration...

2014-10-05 Thread Willi Egger
ce=0pt, > width=20pt, > stopper=\high{o}, > inbetween=, > before={\blank[small]}, > after={\blank[small]}, > inbetween=, > ] > > \setupnarrower[ > before={\blank[big]}, > after={\blank[big]}, > ] > > \starttext > {\bf Ton} > > \startnarrower &

Re: [NTG-context] spacing with enumeration...

2014-10-05 Thread Thangalin
Try this: \defineenumeration[OtherMeaning][ text=, headstyle=normal, alternative={left}, %,serried distance=0pt, width=20pt, stopper=\high{o}, inbetween=, before={\blank[small]}, after={\blank[small]}, inbetween=, ] \setupnarrower[ before={\blank[big]}, after={\blank[big

Re: [NTG-context] itemize: how to get the first level items indented?

2014-08-20 Thread Wolfgang Schuster
ight margins. A good method to set a global value for all environments is to set the dimension with the \definemeasure command and access it with the \measure command. % engine=pdftex \definemeasure[myindent][12pt] \setupindenting[yes,\measure{myindent}] \setupnarrower [ left=\measure{myin

[NTG-context] Why is my output body text in 15pt?

2014-07-23 Thread Gerben Wierda
] \setupcolor[rgb] % \setupquote[style=small] \setupnarrower[left=1cm,right=0.5cm] % \usetypescript[serif,sans,mono] [hanging] [normal] % Bypassing type-gtamacfonts.tex \starttypescript [sans,serif] [optima] [texnansi,ec] \definefontsynonym [Optima-Regular] [\typescriptthree-OptimaRegular] [encoding

Re: [NTG-context] Linenumbering and bidi

2014-03-28 Thread Rik Kabel
]}, after={\stoplinenumbering}] \starttext %\setupnarrower[left=3cm,right=2cm] %\startnarrower[left,right] Now, a quote block starting just there, \startbloccitel \input tufte \stopbloccitel . This a bit of text at the end of the quotation. %\stopnarrower \stoptext

[NTG-context] Linenumbering and startnarrower

2014-03-28 Thread Rik Kabel
er environment results in a shift of the linenumbered section to the left margin. As an example, replace his final section with the following: \setupnarrower[left=2cm,right=2cm] \startnarrower[left,right] Now, a quote block starting just there, {\bf in the middle of a line} ({\bf sp

[NTG-context] Text background regression in 20140316 beta

2014-03-16 Thread Rik Kabel
]% }, ] \starttexdefinition startAttribution \setupnarrower[left=1pc] \startnarrower[left] \leavevmode\llap{{--\,}}% \stoptexdefinition \starttexdefinition stopAttribution \stopnarrower \stoptexdefinition %% The following prevents the background from overlaying

Re: [NTG-context] Centering the last line in combination subcaptions

2014-02-07 Thread Wolfgang Schuster
alatino][rm][Palatino Linotype][features={default, > quality}] > %\setupbodyfont[palatino] > \setupnarrower[middle=-2.8cm] > > \starttext > test > \startplacefigure[location=page, number=no, title={}] > \setupcombinations[align={last, hz, hanging}] > {\startcombination[

Re: [NTG-context] Centering the last line in combination subcaptions

2014-02-07 Thread Jan Tosovsky
e compare two pages w/o this option set: %\definefontfamily[palatino][rm][Palatino Linotype][features={default, quality}] %\setupbodyfont[palatino] \setupnarrower[middle=-2.8cm] \starttext test \startplacefigure[location=page, number=no, title={}] \setupcombinations[align={last, hz, hanging}] {\startco

Re: [NTG-context] Alignment for narrower text

2014-01-30 Thread Jan Tosovsky
tupalign[hz, hanging] %\setupindenting[medium, yes] % this helped \starttext \input{tufte} \setupnarrower[left=1cm] \startnarrower[left] \it >this is,\par just sample.<\par \stopnarrower \input{tufte} \stoptext Can I have both the main flow indentation and the proper alignm

[NTG-context] Alignment for narrower text

2014-01-30 Thread Jan Tosovsky
Dear All, how can I specify the alignment of narrower text, 'hanging' in my case? \definefontfamily[palatino][rm][Palatino Linotype][features={default, quality}] \setupbodyfont[palatino] \setupalign[hz, hanging] \setupindenting[medium, yes] \starttext \input{tufte} \setupnarrowe

[NTG-context] \startnarrower[left, right] \completecontent[pageboundaries={0.1.1.5}] \stopnarrower

2014-01-22 Thread Rudolf Bahr
umber=no, align=middle, textstyle=\rm\xvii\bf] \setuphead[section] [header=empty, style=\rm\xiv\bf, number=no, align=middle] \setuphead[subsection][header=empty, style=\rm\xii\bf, number=no. align=middle] \showframe \setupnarrower[left=.125\hsize,right=.125\hsize]

Re: [NTG-context] setupnarrower and startnarrower

2013-08-07 Thread Hans Hagen
On 8/6/2013 6:14 PM, Aditya Mahajan wrote: On Tue, 6 Aug 2013, Wolfgang Schuster wrote: Am 06.08.2013 um 17:53 schrieb Aditya Mahajan : On Tue, 6 Aug 2013, Wolfgang Schuster wrote: Am 06.08.2013 um 16:09 schrieb Alan BRASLAU : Thank you Wolfgang, but I was wondering about the standard \

Re: [NTG-context] setupnarrower and startnarrower

2013-08-06 Thread Aditya Mahajan
On Tue, 6 Aug 2013, Wolfgang Schuster wrote: Am 06.08.2013 um 17:53 schrieb Aditya Mahajan : On Tue, 6 Aug 2013, Wolfgang Schuster wrote: Am 06.08.2013 um 16:09 schrieb Alan BRASLAU : Thank you Wolfgang, but I was wondering about the standard \startnarrower. Many (some) commands allow s

Re: [NTG-context] setupnarrower and startnarrower

2013-08-06 Thread Wolfgang Schuster
Am 06.08.2013 um 17:53 schrieb Aditya Mahajan : > On Tue, 6 Aug 2013, Wolfgang Schuster wrote: > >> >> Am 06.08.2013 um 16:09 schrieb Alan BRASLAU : >> >>> Thank you Wolfgang, but I was wondering about the standard \startnarrower. >>> >>> Many (some) commands allow setup assignments, the use

Re: [NTG-context] setupnarrower and startnarrower

2013-08-06 Thread Aditya Mahajan
On Tue, 6 Aug 2013, Wolfgang Schuster wrote: Am 06.08.2013 um 16:09 schrieb Alan BRASLAU : Thank you Wolfgang, but I was wondering about the standard \startnarrower. Many (some) commands allow setup assignments, the use of which overides but does not change the default. This is a very usefu

Re: [NTG-context] setupnarrower and startnarrower

2013-08-06 Thread Wolfgang Schuster
Am 06.08.2013 um 16:09 schrieb Alan BRASLAU : > Thank you Wolfgang, but I was wondering about the standard \startnarrower. > > Many (some) commands allow setup assignments, the use of which overides but > does not change the default. This is a very useful feature of ConTeXt that > suggest coul

Re: [NTG-context] setupnarrower and startnarrower

2013-08-06 Thread Alan BRASLAU
Thank you Wolfgang, but I was wondering about the standard \startnarrower. Many (some) commands allow setup assignments, the use of which overides but does not change the default. This is a very useful feature of ConTeXt that suggest could be generalized. \startnarrower is but one example. Alan

Re: [NTG-context] setupnarrower and startnarrower

2013-08-06 Thread Wolfgang Schuster
Am 06.08.2013 um 15:11 schrieb Alan BRASLAU : > Hello, > > Could (should) startnarrower be modified to accept setup assignments? > As in: > > \startnarrower [before=\blank,after=\blank] > > or > > \startnarrower [left=3cm] [left] > > etc. \usemodule[annotation] \defineannotation[NARROW][a

[NTG-context] setupnarrower and startnarrower

2013-08-06 Thread Alan BRASLAU
Hello, Could (should) startnarrower be modified to accept setup assignments? As in: \startnarrower [before=\blank,after=\blank] or \startnarrower [left=3cm] [left] etc. Alan ___ If your question is of interest to

[NTG-context] [***SPAM***] Re: [***SPAM***] How to reduce vertical spacing after this table

2013-07-08 Thread d.henman
L$\oplus$ \footnote[hanzi]{Traditional Characters} \VL > > \VL$\oplus$ \note[hanzi]\VL\VL$\oplus$ \VL > > \VL$\oplus$ \VL\MR > > \VL Y-ITEM\VL \VL$\oplus$ \VL \VL$\oplus$ \VL > > \VL$\oplus$ \VL \VL$\oplus$ \VL\MR > &

Re: [NTG-context] [***SPAM***] How to reduce vertical spacing after this table

2013-07-06 Thread Wolfgang Schuster
$\oplus$ \VL \VL$\oplus$ \VL > \VL$\oplus$ \VL \VL$\oplus$ \VL\MR > \HL > \stoptable >} > } > \setupnarrower[left=2.5cm]% to align footnote under the table > \startnarrower[left] > \placelocalfootnotes[here] > \stopnarrower > > \stoplocalfoot

[NTG-context] [***SPAM***] How to reduce vertical spacing after this table

2013-07-06 Thread hwitloc
\VL$\oplus$ \VL \VL$\oplus$ \VL\MR \VL Y-ITEM\VL \VL$\oplus$ \VL \VL$\oplus$ \VL \VL$\oplus$ \VL \VL$\oplus$ \VL\MR \HL \stoptable } } \setupnarrower[left=2.5cm] % to align footnote under the table \startnarrower[left] \placelocalfoot

[NTG-context] [***SPAM***] unwanted space and error in combination of writebetweenlist and placecontent[criterium= local]

2013-05-12 Thread Zenlima
[margin=1.5em,width=2em] \setuplist[subsection][margin=3.5em,width=3em] \setuplist[paragraphHead][alternative=c,style=\tfx] \def\startParagraphTocColumns{% \writebetweenlist[paragraphHead][location=here]{\setupnarrower[left=2em]\startnarrower[left]\startcolumns[n=2,d

Re: [NTG-context] narrower and whitespace

2013-03-16 Thread Wolfgang Schuster
Am 16.03.2013 um 14:58 schrieb "Meer H. van der" : > Solved. Before was \setupwhitespace[small], for this I had to surround > everything with > \start > \setupwhitespace[none] > .. > \stop You can also prevent the space with the following setup for the narrower

Re: [NTG-context] Narrower paragraphs

2012-11-28 Thread Wolfgang Schuster
Am 23.11.2012 um 20:23 schrieb Aditya Mahajan : >> ... I probably found it (how easy!): >> >> >> \definestartstop >> [Rek] >> [before={\blank\setupnarrower[left=\parindent,right=\parindent]\startnarrower}, >> after={\stopnarrower\blank}, >&

Re: [NTG-context] Narrower paragraphs

2012-11-25 Thread Procházka Lukáš
On Fri, 23 Nov 2012 20:23:44 +0100, Aditya Mahajan wrote: ... I probably found it (how easy!): \definestartstop [Rek] [before={\blank\setupnarrower[left=\parindent,right=\parindent]\startnarrower}, after={\stopnarrower\blank}, style=\em, ] (Untested, as I don't know if nar

Re: [NTG-context] Narrower paragraphs

2012-11-23 Thread Aditya Mahajan
... I probably found it (how easy!): \definestartstop [Rek] [before={\blank\setupnarrower[left=\parindent,right=\parindent]\startnarrower}, after={\stopnarrower\blank}, style=\em, ] (Untested, as I don't know if narrower accepts indent and style keys; if not this should serve

Re: [NTG-context] Narrower paragraphs

2012-11-23 Thread Procházka Lukáš Ing . - Pontex s . r . o .
... I probably found it (how easy!): \definestartstop [Rek] [before={\blank\setupnarrower[left=\parindent,right=\parindent]\startnarrower}, after={\stopnarrower\blank}, style=\em, ] Best regards, Lukas On Fri, 23 Nov 2012 16:00:54 +0100, Procházka Lukáš Ing. - Pontex s

[NTG-context] Indented footnotes in ConTeXt

2012-11-20 Thread Adam Khan
] \indenting[always] \setupnarrower[left=0.5in, right=0in] \setupspacing[packed] \setupalign[right,broad,nothyphenated] \setuplinenumbering[step=1] \setuppagenumbering[way=bytext] \definenote[genetic] \setupnote[genetic][numberconversion=romannumerals, way=bychapter

Re: [NTG-context] Text Indentation and Space Around Headers

2012-03-08 Thread Emmanuel Asante
text > by a given amount. I have used the following to achieve it: > > \setupnarrower[left=3cm] > > > > and > > > > \startnarrower[left] > > > > \stopnarrower > > > > But I have the feeling that there has to be a better way of doing it. &g

Re: [NTG-context] Text Indentation and Space Around Headers

2012-03-08 Thread Wolfgang Schuster
Am 08.03.2012 um 18:08 schrieb Emmanuel Asante: > Hi All, > > I want to indent all text in a document except the chapter header text by a > given amount. I have used the following to achieve it: > \setupnarrower[left=3cm] > > and > > \startnarrower[left] >

[NTG-context] Text Indentation and Space Around Headers

2012-03-08 Thread Emmanuel Asante
Hi All, I want to indent all text in a document except the chapter header text by a given amount. I have used the following to achieve it: \setupnarrower[left=3cm] and \startnarrower[left] \stopnarrower But I have the feeling that there has to be a better way of doing it. Secondly, how

[NTG-context] custom command \myframedsection does not always work. Bug?

2011-10-30 Thread Curiouslearn
] \setupcolor[xwi] \setupinteraction[state=start] % Changing the location of the page numbers so that they appear in the footer. \setuppagenumbering[location=footer] \setupnarrower[left=2ex] \setupitemize[margin=0.5cm] \setupitemize[a] \setupitemize[stopper=)] %%% Defining \mysection and

Re: [NTG-context] rscale (only for integers?)

2011-04-01 Thread Thomas A. Schmitz
ript > > > \starttypescript [serif] [default] [size] > \definebodyfont [10.5pt] [rm] [default] > \stoptypescript > > > \definebodyfontenvironment[10.5pt] > > \usetypescript[times] > \setupbodyfont[times,10.5pt] > > \setupfootnotes[bodyfont={rm,8.5p

Re: [NTG-context] rscale (only for integers?)

2011-04-01 Thread Steffen Wolfrum
fault] [size] \definebodyfont [10.5pt] [rm] [default] \stoptypescript \definebodyfontenvironment[10.5pt] \usetypescript[times] \setupbodyfont[times,10.5pt] \setupfootnotes[bodyfont={rm,8.5pt}] \definestartstop[quote] [before={\setupnarrower[left=10pt,right=0pt]\startnarrower[left,right]\switc

Re: [NTG-context] Forming paragraphs

2011-01-23 Thread Procházka Lukáš
es are always \textwidth in width and whose next lines are always somehow indented. I achieved the desired shape by the following combination of \setupnarrower and \setupindenting: --- \starttext \setupnarrower[left=2em] \startnarrower[1*left,0*right] \setupindenting[yes,-2em] \input knuth \stopna

Re: [NTG-context] Forming paragraphs

2011-01-23 Thread Stefan Müller
lowing combination of \setupnarrower and \setupindenting: --- \starttext \setupnarrower[left=2em] \startnarrower[1*left,0*right] \setupindenting[yes,-2em] \input knuth \stopnarrower \stoptext --- But I would like to ask whether this way is "clean" enough and/or there is a better way, espec

[NTG-context] Forming paragraphs

2011-01-23 Thread Procházka Lukáš
| I.e. paragraphs whose first lines are always \textwidth in width and whose next lines are always somehow indented. I achieved the desired shape by the following combination of \setupnarrower and \setupindenting: --- \starttext \setupnarrower[left=2em] \startnarrower[1*left,0

Re: [NTG-context] width of definetextbackground

2010-07-22 Thread varmaz
}{\input bryson\endgraf} \stopzhu \dorecurse{1}{\input knuth\endgraf} \stoptext *** EXAMPLE 2 \setupnarrower[right=-1.0cm,left=-1.0cm] \definetextbackground[zhu] [location=paragraph, background=color,backgroundcolor=orange, leftoffset=0.5\bodyfontsize,rightoffset

[NTG-context] page numbering with make-up-pages

2010-06-17 Thread Vyatcheslav Yatskovsky
ITUTE OF ELECTRONICS AND CONTROL SYSTEMS Airspace control systems faculty Aviation computer-integrated complexes department \stopbuffer \startbuffer[ApprovedByPolukhin] \startalignment[right]\setupnarrower[left=12cm]\startnarrower[left] "Approved" Deputy Rector for Academics

[NTG-context] Syllabus title page (newbie problems)

2010-05-31 Thread Vyatcheslav Yatskovsky
SYSTEMS Airspace control systems faculty Aviation computer-integrated complexes department \startstandardmakeup[align=left] %is there better command for this? \setupnarrower[left=12cm] \startnarrower[left] "Approved" Deputy Rector for Academics \fillinrules[]{}{A.Polukhin} \fillinrules

  1   2   >