[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
ntation 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]}][lef

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]}][left

[NTG-context] Bug with \startnarrow?

2023-02-23 Thread Denis Maier via ntg-context
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 interest

[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
the 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
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] \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
plain 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
(but 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
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: \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
, 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 \setupnarrower

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

2020-05-22 Thread context
mn 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), you can

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

2020-05-21 Thread Aditya Mahajan
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] \input

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

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 normally

[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 like the page

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

2019-11-28 Thread denis . maier . lists
rtstop [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 absolu

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
\framed. > > 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
? 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, > > 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
stopBufTest   \startluacode buffers.prepend("TestBuffer","\\dontleavehmode\\llap{\\Mark}")   \stopluacode   \setupnarrower[left=\MarkWidth]   \startnarrower[left,right]   \startparagraph     \inlinebuffer[TestBuffer]   \stopparagraph   \stopna

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

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

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

2018-08-13 Thread Rik Kabel
)   \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 understand Aditya'

Re: [NTG-context] size of footnote numbers

2017-09-30 Thread Otared Kavian
; > 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] >

[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
gt; >> 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.mk

Re: [NTG-context] avoid newline after definestartstop

2016-10-24 Thread Otared Kavian
ite common and I don't want > 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 <gerben.

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 this did

Re: [NTG-context] problem with \setupdelimitedtext

2016-05-16 Thread Alan Bowen
wice 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,fixed] > \noindentation}] > > \

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
\starttexdefinition stopPoem \obeylines \language[\Poemlanguage] \Poembefore \Poemfont \setupnarrower[left={\dimexpr\Poemindent+\Poeminset\relax}, right=\Poeminset, before=] \startnarrower[left,right

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

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

2015-03-15 Thread Gerben Wierda
\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-\filename

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

2015-01-10 Thread Gerben Wierda
On 10 Jan 2015, at 13:53, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: Am 10.01.2015 um 13:36 schrieb Gerben Wierda gerben.wie...@rna.nl: I have the following setup (in mkii) \definemeasure[CAindent][12pt] \setupindenting[yes,\measure{CAindent}] \setupnarrower [ left

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 gerben.wie...@rna.nl: I have the following setup (in mkii) \definemeasure[CAindent][12pt] \setupindenting[yes,\measure{CAindent}] \setupnarrower [ left=\measure{CAindent}, right=\measure{CAindent}, middle=\measure{CAindent

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

2015-01-10 Thread Wolfgang Schuster
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

[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
%\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,right=0pt

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] 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 \startOtherMeaning Inhoudsmaat van een schip, die 1000 kilo \dots

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

2014-10-05 Thread Willi Egger
=\high{o}, inbetween=, before={\blank[small]}, after={\blank[small]}, inbetween=, ] \setupnarrower[ before={\blank[big]}, after={\blank[big]}, ] \starttext {\bf Ton} \startnarrower \startOtherMeaning Inhoudsmaat van een schip, die 1000 kilo \dots \stopOtherMeaning

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

2014-08-20 Thread Wolfgang Schuster
and right 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

[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

[NTG-context] Linenumbering and startnarrower

2014-03-28 Thread Rik Kabel
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 space after colon

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] 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 Jan Tosovsky
[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}] {\startcombination[1*2] {\externalfigure[cow

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

2014-02-07 Thread Wolfgang Schuster
][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[1*2] {\externalfigure[cow]} {\startnarrower

[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} \setupnarrower[left=0cm

Re: [NTG-context] Alignment for narrower text

2014-01-30 Thread Jan Tosovsky
[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 alignment of the narrow text block? Thanks for any hint, Jan

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

2014-01-22 Thread Rudolf Bahr
] [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] % - \starttext %\line{\hfill

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 adit...@umich.edu: On Tue, 6 Aug 2013, Wolfgang Schuster wrote: Am 06.08.2013 um 16:09 schrieb Alan BRASLAU alan.bras...@cea.fr: Thank you Wolfgang, but

[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

Re: [NTG-context] setupnarrower and startnarrower

2013-08-06 Thread Wolfgang Schuster
Am 06.08.2013 um 15:11 schrieb Alan BRASLAU alan.bras...@cea.fr: 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]

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.

Re: [NTG-context] setupnarrower and startnarrower

2013-08-06 Thread Wolfgang Schuster
Am 06.08.2013 um 16:09 schrieb Alan BRASLAU alan.bras...@cea.fr: 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

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 alan.bras...@cea.fr: 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.

Re: [NTG-context] setupnarrower and startnarrower

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

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 adit...@umich.edu: On Tue, 6 Aug 2013, Wolfgang Schuster wrote: Am 06.08.2013 um 16:09 schrieb Alan BRASLAU alan.bras...@cea.fr: Thank you Wolfgang, but I was wondering about the standard

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

2013-07-08 Thread d.henman
$ \VL\MR \HL \stoptable } } \setupnarrower[left=2.5cm] % to align footnote under the table \startnarrower[left] \placelocalfootnotes[here] \stopnarrower \stoplocalfootnotes \setupnotation[footnote][numberconversion=n,rule=on] % restore footnotes to global

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

2013-07-06 Thread hwitloc
$ \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] \placelocalfootnotes[here

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

2013-07-06 Thread Wolfgang Schuster
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 \HL \stoptable } } \setupnarrower[left=2.5cm]% to align

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

2013-05-12 Thread Zenlima
] \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,distance=0mm,balance=yes]}% \ignorespaces

Re: [NTG-context] narrower and whitespace

2013-03-16 Thread Wolfgang Schuster
. \setupnarrower [before={\blank[nowhite]}, after={\blank[nowhite]}] Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl

Re: [NTG-context] Narrower paragraphs

2012-11-28 Thread Wolfgang Schuster
Am 23.11.2012 um 20:23 schrieb Aditya Mahajan adit...@cim.mcgill.ca: ... 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

Re: [NTG-context] Narrower paragraphs

2012-11-25 Thread Procházka Lukáš
On Fri, 23 Nov 2012 20:23:44 +0100, Aditya Mahajan adit...@cim.mcgill.ca 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

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

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

[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

[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

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] \stopnarrower But I have

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

2012-03-08 Thread Emmanuel Asante
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. It’s easier to move the headings to the left. Secondly, how do I control the space around headers? I would like

[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

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

2011-04-01 Thread Steffen Wolfrum
] \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]\switchtobodyfont

[NTG-context] Forming paragraphs

2011-01-23 Thread Procházka Lukáš
. 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*right

Re: [NTG-context] Forming paragraphs

2011-01-23 Thread Stefan Müller
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, especially via a kind

Re: [NTG-context] Forming paragraphs

2011-01-23 Thread Procházka Lukáš
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*right] \setupindenting[yes,-2em] \input knuth

Re: [NTG-context] width of definetextbackground

2010-07-23 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
control systems faculty Aviation computer-integrated complexes department \stopbuffer \startbuffer[ApprovedByPolukhin] \startalignment[right]\setupnarrower[left=12cm]\startnarrower[left] Approved Deputy Rector for Academics \thinrule\hskip1mm A.Polukhin \hl[2]\thinrule\hskip1mm

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

2010-05-31 Thread Vyatcheslav Yatskovsky
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{}{}\fillinrules[]{}{\currentdate[year]}\par

Re: [NTG-context] Hanging indent in startstoplines for poems

2010-03-30 Thread Torsten Suhling
-- \setupoutput[dvi] \setupwhitespace[1.2em] \definestartstop[verse] [command={% \setupwhitespace[1.2em]% },style={% \raggedright\nohyphens% },before={% \setuplines[indenting={yes,-2em,first}]% \setupnarrower[left=2em

Re: [NTG-context] table alignment

2010-02-26 Thread Wolfgang Werners-Lucchini
Thank you Taco, I want some space on the left of \start\stoptables. What I get is SOME space, but not that what I wanted! --- \starttext vorher \setupnarrower[left=3cm] \startnarrower[left] \starttables[|l|] Where is that little space from? How

Re: [NTG-context] table alignment

2010-02-26 Thread Aditya Mahajan
On Fri, 26 Feb 2010, Wolfgang Werners-Lucchini wrote: Thank you Taco, I want some space on the left of \start\stoptables. What I get is SOME space, but not that what I wanted! --- \starttext vorher \setupnarrower[left=3cm] \startnarrower[left] \starttables[|l|] Where

  1   2   >