Re: [NTG-context] startnarrower and framed?

2019-08-21 Thread Hans Hagen
On 8/21/2019 2:14 PM, Jon Wong wrote: \startnarrower \framed{testing} Seems framed doesn’t observe startnarrower commands. \endnarrower \starttext Seems framed doesn’t observe startnarrower commands. \startnarrower \dontleavehmode \framed{testing} Seems framed doesn’t observe

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

[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] startnarrower and framed?

2019-08-21 Thread Jon Wong
Hi all, Sorry, my solution didn’t work. My purpose of using \startnarrower is to have some paragraphs 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

Re: [NTG-context] setup/startnarrower question

2009-04-09 Thread Wolfgang Schuster
Am 08.04.2009 um 16:52 schrieb frantisek holop: hi there, what would be the equivalent of the following \startnarrower[2*left,0*right] \stopnarrower using \setupnarrower ? not possible my problem is that \setupnarrower takes dimensions, while \startnarrower takes... i am not sure what

[NTG-context] startnarrower and framed?

2019-08-21 Thread Jon Wong
Hi all, I want to have a \startnarrower effect. But I also want that segment to have a border (hopefully a gradient background color too!). I tried: \startnarrower \framed{testing} Seems framed doesn’t observe startnarrower commands. \endnarrower How do I achieve that? Regards Jon

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

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

[NTG-context] setup/startnarrower question

2009-04-08 Thread frantisek holop
hi there, what would be the equivalent of the following \startnarrower[2*left,0*right] \stopnarrower using \setupnarrower ? my problem is that \setupnarrower takes dimensions, while \startnarrower takes... i am not sure what actually... \startnarrower[..,...,..] ... \stopnarrower ... n

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[a

Re: [NTG-context] startnarrower and framed?

2019-08-21 Thread Jon Wong
t; > Hi all, > > Sorry, my solution didn’t work. > > My purpose of using \startnarrower is to have some paragraphs of text inside > the \framed. Unfortunately, it seems \framed doesn’t take paragraphs. > > \startframedtext doesn’t have as many border options as \fr

Re: [NTG-context] startnarrower and framed?

2019-08-21 Thread Jon Wong
[line] \starttext \definetextbackground[secondary][ location=always, background=color, backgroundcolor=lightgray, leftoffset=.5\bodyfontsize, rightoffset=.5\bodyfontsize, topoffset=.5\bodyfontsize, bottomoffset=.5\bodyfontsize, frame=off,] \input knuth \startnarrower \dontleavehmode

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. >>> >>> Ma

[NTG-context] Lettrine and \startnarrower question

2006-01-28 Thread Adrian Drury
Hello,Using \lettrine (version 2005.08.29) inside \startnarrower\stopnarrower gives results I didn't expect - see the example below. Part of the text seems to be shifted right by an additional left-indent amount. Is this correct and/or expected behavior? If it is, is there a workaround to shi

[NTG-context] \startnarrower and ToC

2013-02-07 Thread Markus Finke
Hi, \startnarrower doesn’t work for the left margin in lists. What is wrong in my minimal example? TIA! \starttext \startnarrower [5*middle] % 5*left,5*right \placecontent [criterium=local] \stopnarrower \part{First part} \chapter{Chapter one} \chapter{Chapter two} \chapter{Chapter

Re: [NTG-context] Setup narrower body text for sections

2015-05-14 Thread Aditya Mahajan
with something like: \startsection[title=Synopsis] \startnarrower blah blah blah \stopnarrower \stopsection But I'd much rather set the left margin (or achieving the effect of \startnarrower by some other means) using the setups for \startsection instead. That way I won'

Re: [NTG-context] \startnarrower and TABLEs

2010-09-23 Thread Wolfgang Schuster
Am 23.09.2010 um 10:14 schrieb Patrick Gundlach: > Hi, > > my goal is to make a table that is as wide as the current \startnarrower ... > \stopnarrower part (thanks to the answer to this question on > tex.stackexchange.com: http://tex.stackexchange

Re: [NTG-context] setupnarrower and startnarrower

2013-08-07 Thread Hans Hagen
\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. Changing the command is simple but I would drop the second

Re: [NTG-context] goto(box) and setuplist questions

2008-08-04 Thread Alan Stone
> > > (3b) margin=xpt sets the left margin to xpt > > > > How to set the right margin to xpt ? > > depends, sometimes setting the width works ok, otherwise wrap the whole > in narrower I'm out of inspiration... \setupnarrower[left=.6pt,right=.6pt] \startinte

Re: [NTG-context] Setup narrower body text for sections

2015-05-14 Thread Kate F
want the body text to have a left margin which is narrower >> than the page width. >> >> I know I can do this with something like: >> >>\startsection[title=Synopsis] >>\startnarrower >>blah blah blah >>\stopnarrower >>\stopsect

Re: [NTG-context] startnarrower and framed?

2019-08-21 Thread Jon Wong
, leftoffset=.5\bodyfontsize, rightoffset=.5\bodyfontsize, topoffset=.5\bodyfontsize, bottomoffset=.5\bodyfontsize, frame=off,] \input knuth { \blank[line] \setupwhitespace[none] \startnarrower \dontleavehmode\framed[ width=local, corner=03, background=color, backgroundcolor=cyan, frame

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

Re: [NTG-context] goto(box) and setuplist questions

2008-08-04 Thread Wolfgang Schuster
ole >> in narrower > > I'm out of inspiration... > > \setupnarrower[left=.6pt,right=.6pt] > > \startinteractionmenu[right] > % \startnarrower % sets a wide right margin, whatever \setnarrower > left/right settings > \placecontent[ > %cri

[NTG-context] \startnarrower and TABLEs

2010-09-23 Thread Patrick Gundlach
Hi, my goal is to make a table that is as wide as the current \startnarrower ... \stopnarrower part (thanks to the answer to this question on tex.stackexchange.com: http://tex.stackexchange.com/q/3381/243

[NTG-context] narrower

2006-05-15 Thread frantisek holop
hi there, i am trying to make a document in the form of a movie script ACTOR hi there ACTRESS and hi over there i thought this would work nicely: \startnarrower \midaligned{\sc actor} hi there \stopnarrower but the default

Re: [NTG-context] Length range control of the last line of paragraph

2016-03-23 Thread Aditya Mahajan
On Tue, 22 Mar 2016, Hans Hagen wrote: a next beta will provide three new keywords (related to n times parindent filling, fwiw) \startnarrower[left] \setupalign[four] 4>\the\parfillskip \ward \par \stopnarrower \startnarrower[left] \setupalign[three] 3>\the\parfillskip \ward

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

2018-08-13 Thread Rik Kabel
On 8/13/2018 15:52, Wolfgang Schuster wrote: Rik Kabel schrieb am 13.08.18 um 20:27: On 8/13/2018 13:46, Wolfgang Schuster wrote: \starttext \BeforePar{\dontleavehmode\llap{? }}\GotoPar \input knuth \startnarrower \BeforePar{\dontleavehmode\llap{? }}\GotoPar \input knuth \stopnarrower

[NTG-context] Linenumbering and startnarrower

2014-03-28 Thread Rik Kabel
two issues with linenumbering. I will present these in separate notes. This note involves an unfortunate interaction with startnarrower. The other problem involves bidi. Both issues occur with the current 20140328 beta. Placing one of the examples in Stéphane's message into a startnarrow

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 tha

Re: [NTG-context] formula-style alignment

2009-05-18 Thread afsmith
] \setuplayout[header=0pt,footer=0pt] \definedescription[topdesc][ inbetween={\blank[none]}, headstyle={\bf}, style={\tf\rm}, location=top, width=broad] \define[3]\CHRONDESC {\starttopdesc {\dontleavehmode\lrframe{#1\hfill#2}} \startnarrower[left]{#3}\stopnarrower \stoptopdesc} \definehead[mysubject

Re: [NTG-context] Length range control of the last line of paragraph

2016-03-22 Thread Hans Hagen
filling, fwiw) \starttext \dontcomplain \setupindenting[big] \indenting[yes] \edef\ward{\cldloadfile{ward}} \setupalign[verytolerant,stretch] \dorecurse{100}{ \startnarrower[left] \setupalign[four] 4>\the\parfillskip \ward \par \stopnarrower \startnarrower[left] \setupalign[three] 3&g

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

2018-08-13 Thread Wolfgang Schuster
Rik Kabel schrieb am 13.08.18 um 20:27: On 8/13/2018 13:46, Wolfgang Schuster wrote: \starttext \BeforePar{\dontleavehmode\llap{? }}\GotoPar \input knuth \startnarrower \BeforePar{\dontleavehmode\llap{? }}\GotoPar \input knuth \stopnarrower \stoptext Wolfgang I am applying it

Re: [NTG-context] \startnarrower and TABLEs

2010-09-23 Thread Wolfgang Schuster
Am 23.09.2010 um 10:48 schrieb Patrick Gundlach: > Hello Wolfgang, > > > >> Use the “textwidth” key but keep in mind with the linecorrection you can >> use split tables, for tables which use indent from \startnarrower and >> split across pages you can use tabu

Re: [NTG-context] narrower

2006-05-16 Thread Taco Hoekwater
frantisek holop wrote: > > but the default narrowness is not good for me. > but setupnarrower doesn't seem to work for me. > here's a minimal example: > > The use of narrower is a bit abnormal. Either use: \setupnarrower[left=3cm, right=3cm] \s

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

2018-08-14 Thread Rik Kabel
On 8/13/2018 18:43, Rik Kabel wrote: On 8/13/2018 15:52, Wolfgang Schuster wrote: Rik Kabel schrieb am 13.08.18 um 20:27: On 8/13/2018 13:46, Wolfgang Schuster wrote: \starttext \BeforePar{\dontleavehmode\llap{? }}\GotoPar \input knuth \startnarrower \BeforePar{\dontleavehmode\llap

Re: [NTG-context] Length range control of the last line of paragraph

2016-03-24 Thread Hans Hagen
On 3/24/2016 3:10 AM, Aditya Mahajan wrote: On Tue, 22 Mar 2016, Hans Hagen wrote: a next beta will provide three new keywords (related to n times parindent filling, fwiw) \startnarrower[left] \setupalign[four] 4>\the\parfillskip \ward \par \stopnarrower \startnarrower[l

Re: [NTG-context] narrower

2006-05-16 Thread Taco Hoekwater
frantisek holop wrote: > thanks a lot. > > is there a reason this was solved "abnormally"? \startnarrower (\startsmaller in dutch) is one of the oldest commands in ConTeXt. It predates the now-normal conventions by a few years. > are there plans to make this more cont

[NTG-context] \startnarrower

2018-12-13 Thread Hans van der Meer
Is it possible to not indent the very first line of narrower content? Thus \startnarrower first line second line etc. \stopnarrower resulting in: first line second line etc. dr. Hans van der Meer ___ If

Re: [NTG-context] Indentation

2009-11-27 Thread Taco Hoekwater
comm...@googlemail.com wrote: > > i have tried vtop, which works ok, but looks ugly, and splitting proofs > across multiple pages is a pain. is there a better way to do this? \startnarrower[left] \startnarrower[left] ... \stopnarrower \stopnarrower Best wis

Re: [NTG-context] \startnarrower and TABLEs

2010-09-23 Thread Patrick Gundlach
Hello Wolfgang, > Use the “textwidth” key but keep in mind with the linecorrection you can > use split tables, for tables which use indent from \startnarrower and > split across pages you can use tabulate. I am afraid I don't get the full meaning of your answer. When I use tab

Re: [NTG-context] narrower

2006-05-16 Thread frantisek holop
hmm, on Tue, May 16, 2006 at 10:45:32AM +0200, Taco Hoekwater said that > The use of narrower is a bit abnormal. Either use: > >\setupnarrower[left=3cm, right=3cm] >\startnarrower[left,right] > > or > >\setupnarrower[middle=3cm] >\startnarrower % [m

[NTG-context] dont't indent after custom start-stopnarrower

2007-07-31 Thread Karsten Heymann
Hello, I try to prevent indention after a custom enviroment used for quotations which uses \startnarrower ... \stopnarrower: \setupindenting [0.5cm] \indenting[yes,next] \definestartstop[Zitat] [before={\startnarrower[2*left]}, after=\stopnarrower\noindent] \starttext \input knuth

Re: [NTG-context] \startnarrower and ToC

2013-02-07 Thread Marco Patzer
On 2013–02–07 Markus Finke wrote: > \startnarrower doesn’t work for the left margin in lists. What is > wrong in my minimal example? I did not check why it doesn't work. But to add a left margin you can use: \setuplist [margin=3cm] Marco signature.asc Description: Digita

Re: [NTG-context] Lettrine and \startnarrower question

2006-01-29 Thread Taco Hoekwater
Adrian Drury wrote: Hello, Using \lettrine (version 2005.08.29) inside \startnarrower\stopnarrower gives results I didn't expect - see the example below. Part of the text seems to be shifted right by an additional left-indent amount. Is this correct and/or expected behavior? If it i

Re: [NTG-context] bug in hyphenation?

2014-09-16 Thread Thangalin
Hi Pablo, Are you able to avoid \hsize in favour of something like start/stopnarrower? \setuppapersize[A8] \starttext \startnarrower[-left] \startlinenumbering sentence sentence sentence \stoplinenumbering \stopnarrower \startnarrower[-left] sentence sentence sentence \stopnarrower \stoptext

[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] header for indented text / blockquote

2011-05-06 Thread Wolfgang Schuster
Am 06.05.2011 um 12:00 schrieb R. Ermers: > Dear All, > > In my docbook xml document I have fragments that I want to typeset indented. > For this I use the tag which I map to startnarrower and > stopnarrower. > > Some blockquotes in my document have a header: >

Re: [NTG-context] Bugs in linenumbering ?

2014-04-03 Thread Stéphane Goujet
Le Thu, 03 Apr 2014 13:01:04 -0400, Rik Kabel a écrit : > However, for the general case, there is still an issue with > linenumbering that begins after the beginning of a paragraph. The > work-around of \startnarrower cannot help in this case, since it > appears to always

Re: [NTG-context] narrower and whitespace

2013-03-16 Thread Wolfgang Schuster
Am 16.03.2013 um 12:45 schrieb H. van der Meer : > I find that in > > intro text > \startnarrower > narrow text > \stopnarrower > after text > > blank vertical space is inserted both before and after the narrower block. > How can I avoid that? I can’t see a spac

Re: [NTG-context] table alignment

2010-03-01 Thread Wolfgang Werners-Lucchini
Thank you Aditya and Wolfgang, I will try it both: > No page breaks possible: > > \defineframedtext[tablebox][frame=off,width=\hsize,offset=0pt,before > =,after=] > > \starttext > > vorher > > \startnarrower > > text > > \starttablebox >

Re: [NTG-context] \startnarrower and TABLEs

2010-09-23 Thread Patrick Gundlach
Hello Wolfgang, > Sorry but i don’t know what you mean, in my example the tabulate has the same > width as the text in the narrower environment. Insert an \HL and you'll see that this a bit strange. > > \starttext > > \input knuth > > \startnarrower > > \i

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

2014-10-05 Thread Thangalin
]}, ] \starttext {\bf Ton} \startnarrower \startOtherMeaning Inhoudsmaat van een schip, die 1000 kilo \dots \stopOtherMeaning \startOtherMeaning Tonvormige boei \dots \stopOtherMeaning \stopnarrower {\bf Tong,} z. n. v. \startnarrower Split van een standaard. \dots \stopnarrower

Re: [NTG-context] Regression with label inright placement

2015-10-26 Thread Rik Kabel
On 2015-10-26 07:03, Wolfgang Schuster wrote: \showframe \starttext \startnarrower \inright[scope=local]{Right}\input ward \stopnarrower \blank \startnarrower \inright{Right}\input ward \stopnarrower \stoptext Okay, unrelated to the label mechanism. However, for explicitly placed margin

Re: [NTG-context] avoid newline after definestartstop

2016-10-26 Thread Wolfgang Schuster
Michael Eidenbenz <mailto:eidenb...@arch.ethz.ch> 26. Oktober 2016 um 23:03 Dear Wolfgang, thanks for your mail, that led me to the source in syst-aux where I found the TeX approach, my final solution. \def\startCitation% { \startnarrower[left,right] \symbol[leftquo

Re: [NTG-context] startstop, narrower and switchtobodyfont gives strange interlinespace

2017-03-22 Thread Andres Conrado
This works for me, is probably not what you want, but at leat it's consistent (it uses the interline of the main text). \definestartstop[passus][ before={\startnarrower}, after={\stopnarrower}, style={\tfxx}, ] \starttext \subject{It looks OK here:} \input knuth \startnarrower \tfxx \

Re: [NTG-context] \startnarrower and ToC

2013-02-07 Thread Wolfgang Schuster
Am 07.02.2013 um 13:22 schrieb Marco Patzer : > On 2013–02–07 Markus Finke wrote: > >> \startnarrower doesn’t work for the left margin in lists. What is >> wrong in my minimal example? > > I did not check why it doesn't work. But to add a left margin you > can

Re: [NTG-context] missing space with French quotation

2022-09-22 Thread Peter Münster via ntg-context
> I use the command \startnarrower and \stopnarrower. It's not the same: \starttext \startquotation quotation\\quotation \stopquotation \startnarrower \quotation{quotation\\quotation} \stopnarrower \stoptext -

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

2014-02-07 Thread Jan Tosovsky
ment is > > set to hanging, it looks better except the last line which is > > not centered. Finally fixed with align=last :-) This is the improved example. The only remaining issue is an one empty line between the image and the label when \startnarrower command is used. Pleas

[NTG-context] Setup narrower body text for sections

2015-05-14 Thread Kate F
ction[title=Synopsis] \startnarrower blah blah blah \stopnarrower \stopsection But I'd much rather set the left margin (or achieving the effect of \startnarrower by some other means) using the setups for \startsection instead. That way I won't need to have \startnarrower .. \s

Re: [NTG-context] Regression with label inright placement

2015-10-26 Thread Wolfgang Schuster
th the labels shifted to reflect the temporarily narrowed text. Oeps indeed! It’s unrelated to the label mechanism. \showframe \starttext \startnarrower \inright[scope=local]{Right}\input ward \stopnarrower \blank \startnarrower \inright{Right}\input ward \stopnarrower \stoptext Wo

Re: [NTG-context] Increasing the textwidth locally

2016-04-09 Thread Hans Hagen
On 4/9/2016 2:47 PM, joasyann...@gmail.com wrote: Dear everyone, I am looking for a functionality similar to the \adjustwidth command in LaTeX ables to reduce or increase the \textwidth locally. I know that ConTeXt has \startnarrower, which reduces the \textwidth. But how to increase it

[NTG-context] additional space with sidebar and narrower

2019-03-26 Thread Henning Hraban Ramm
Ahoi, I’m trying to mark examples in a book with indent (\startnarrower) and a rule in the margin (\startsidebar). Each of those works on its own as it should, but combined there’s an additional empty line before and after introduced that I can’t get rid of. Any hints? \starttext \input tufte

Re: [NTG-context] table alignment

2010-02-28 Thread Wolfgang Schuster
Am 27.02.10 20:40, schrieb Wolfgang Werners-Lucchini: If there is really no solution, I will make something with an empty first column. No page breaks possible: \defineframedtext[tablebox][frame=off,width=\hsize,offset=0pt,before=,after=] \starttext vorher \startnarrower text

Re: [NTG-context] additional space with sidebar and narrower

2019-04-07 Thread Hans Hagen
space introduced if I use both environments, but not if I use only one. And I didn’t find how I can avoid that. Change the order of both environment and put sidebar in the narrower block. The reason for the extra line is that \startsidebar begins a new paragraph but \startnarrower end the lest

Re: [NTG-context] long quotation problem

2005-10-21 Thread Alan Bowen
. % Extracts or Long Quotations// In body text \defineblank[extractdistance][3pt] \definestartstop[extract][ before={ \blank[extractdistance,force] \setupnarrower[left=1.5pc,right=1.5pc] \startnarrower[left,right

Re: [NTG-context] long quotation problem

2005-11-09 Thread Hans Hagen
same problem. A. % Extracts or Long Quotations // In body text \defineblank[extractdistance][3pt] \definestartstop[extract][ before={ \blank[extractdistance,force] \setupnarrower[left=1.5pc,right=1.5pc] \startnarrower

Re: [NTG-context] dont't indent after custom start-stopnarrower

2007-07-31 Thread Steffen Wolfrum
Am 31.07.2007 um 10:18 schrieb Karsten Heymann: > Hello, > > I try to prevent indention after a custom enviroment used for > quotations which uses \startnarrower ... \stopnarrower: Here you are: \setupindenting [0.5cm] \indenting[yes,next] \definestartstop[Zitat] [before={\sta

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

Re: [NTG-context] \startnarrower

2018-12-13 Thread Wolfgang Schuster
Hans van der Meer schrieb am 13.12.18 um 12:15: Is it possible to not indent the very first line of narrower content? Thus \startnarrower first line second line etc. \stopnarrower resulting in: first line     second line     etc. Use a negative value for the indentation of the paragraph

Re: [NTG-context] Keeping margin note on the same line

2010-06-05 Thread Rogutės Sparnuotos
Vyatcheslav Yatskovsky (2010-06-05 14:25): > Hello, > > Please, advise me. > > Is there a way to keep margin text and body text on the same line in > the following situation? > > \define[0]\chorus{\startnarrower{\itx CHORUS}\stopnarrower} > > \starttext > \cho

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

2014-01-22 Thread Wolfgang Schuster
don’t reset the margins added by \startnarrower. Wolfgang On 22.01.2014 12:05:33, Rudolf Bahr wrote: Hello listmembers, ConTeXt ver: 2013.05.28 00:36 MKIV current fmt: 2014.1.6 I'm typesetting a book in A4 landscape and would like to indent the TOC at both sides. I tried two solutions

Re: [NTG-context] Linenumbering and bidi

2014-03-28 Thread Rik Kabel
in the left column.” The result of this attempt is the discovery of two issues with linenumbering. I will present these in separate notes. This note involves an unfortunate interaction with bidi. The other problem involves startnarrower. Both issues occur with the current 20140328 beta. Adding the

Re: [NTG-context] additional space with sidebar and narrower

2019-04-07 Thread Henning Hraban Ramm
gt;>>> avoid that. >>>> Change the order of both environment and put sidebar in the narrower block. >>>> >>>> The reason for the extra line is that \startsidebar begins a new paragraph >>>> but \startnarrower end the lest paragraph w

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

2014-01-23 Thread Rudolf Bahr
u have to do is to write your own layout for the > section entries in the TOC because this way you don’t reset the margins added > by \startnarrower. > > Wolfgang > Hello Wolfgang, ok, I shall look for a workaround. Thank

Re: [NTG-context] indented headings possible?

2018-12-13 Thread Wolfgang Schuster
Taco Hoekwater schrieb am 13.12.18 um 11:12: Hi again, Is there a way to make section headings automatically honour the current left- and rightskip? For example, like this: \starttext \showframe \startnarrower[left] \section{Section 1} stuff \stopnarrower \stoptext I know I could rig this up

[NTG-context] Definestartstop, Narrower, and Blockquotej

2022-12-17 Thread Michael Urban via ntg-context
=2in,right=1in] \startnarrower[left,right] \noindent}, after={\stopnarrower \blank[ExtractDistance] \indenting[next]}] %Now the following commands are available: \startExtract and \stopExtract \starttext The extract from Knuth \startExtract \input knuth \stopExtract

Re: [NTG-context] listalternative “d” and \[ start|stop]narrower

2010-12-16 Thread Wolfgang Schuster
k] > > \starttext > \startsetups chapter >\blank \startnarrower[3*middle] \placecontent[criterium=local] > \stopnarrower \blank \startnarrower[3*middle] \placelist[chapter] \stopnarrower Wolfgang

[NTG-context] spacing with enumeration...

2014-10-05 Thread Willi Egger
\defineenumeration [OtherMeaning] [text=, headstyle=normal, alternative={left}, %,serried distance=0pt, width=20pt, stopper=\high{o}, inbetween=] \starttext {\bf Ton} \startnarrower \startOtherMeaning Inhoudsmaat van een schip, die 1000 kilo

[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] Alignment for narrower text

2016-04-01 Thread Jan Tosovsky
ing prohibits protrusion > >> > > Are there alternative ways? > > you should use leftskip (\startnarrower...) in such cases thanks, but I am lost here. The following has impact on the left margin and it doesn't help to hang the initial quote... \definefontfamily[palatino][rm][P

Re: [NTG-context] blockquote oddity

2016-10-19 Thread Wolfgang Schuster
Better \startblockquote\relax The \startblockquote command has a optional argument which is passed to \startnarrower and in your example [w] is used as the argument. This alone won’t be enough for an error, the reason why you get problems is that \startnarrower takes everything which isn’t a valid keyword

[NTG-context] startstop, narrower and switchtobodyfont gives strange interlinespace

2017-03-22 Thread Mikael P. Sundqvist
to define an environment with narrower smaller text, including a reduced interlinespace)? /Mikael \definestartstop[passus][ before={\startnarrower}, after={\stopnarrower}, style={\switchtobodyfont[9pt]}, ] \starttext \subject{It looks OK here:} \input knuth \startnarrower \switchtobodyfont[9

Re: [NTG-context] paragraph standing out of the normal layout comsuming the margin

2021-06-29 Thread Jan U. Hasecke
Hi Wolfgang, I am late as I was busy elsewhere, but thanks a lot for your help. Am 25.06.21 um 13:44 schrieb Wolfgang Schuster: \startsetups [userdata:shiftblock]     \signalrightpage     \doifelserightpage {     \startnarrower[2*left,-2*right]     \getuserdata

[NTG-context] Setting section margin

2013-09-05 Thread Lance Larsen
example below). Recent documentation doesn't show these as parameters for setuphead. How do I do this with MKIV? Example: \setuphead[section] [margin=0.5in, beforesection={\startnarrower[left=0.5in]}, aftersection={\stopnarrower}] \setuphead[subsection] [margin=1in, beforesection={\startnar

Re: [NTG-context] Unexpected indentation

2011-02-21 Thread Richard Lennox
I am trying to understand how context is working. Would anyone like to comment on why the following does not work as expected? "hfil\break" and "\crlf" do not indent after the first line (but "\startnarrower" works): \starttext \setupwhitespace[3.5mm] \hskip 2c

Re: [NTG-context] Mkiv Colour issue and more

2008-09-10 Thread Hans Hagen
erium=chapter, >> level=section, >> color=headingcolour, >>interaction=all, >>alternative=c, >> aligntitle=yes, >> before={\startnarrower[0*left,8*right]}, >> after={\stopnarrowe

Re: [NTG-context] Simple problem with quotation paragraph

2006-05-04 Thread Aditya Mahajan
ce between paragraphs and small indentation, but here I want a > small amount of whitespace between paragraphs and also narrower. I'd like > to setup some form of quotation paragraph style to use. I started out with > \startquotation but I do not want quotes, so now I use startnarrower,

Re: [NTG-context] problem with \startnarrower (?)

2006-11-22 Thread Alan Bowen
) that has broken my >> definitions for setting extracts in the body text. >> >> \defineblank[extractdistance][3pt] >> >> \definestartstop[extract][ >>before={[extractdistance] >> \setupnarrower[left=1.5pc,right=1.5pc] >> \star

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

2014-02-07 Thread Wolfgang Schuster
Am 08.02.2014 um 00:07 schrieb Jan Tosovsky : > This is the improved example. The only remaining issue is an one empty line > between the image and the label when \startnarrower command is used. > > Please compare two pages w/o this option set: > > > %\definefontfamily[p

Re: [NTG-context] Temporarily turning off hyphenation?

2005-03-21 Thread Duncan Hothersall
Gerben Wierda wrote: \def\ClearChapterQuote{\def\ChapterQuote{}} \ClearChapterQuote \def\ChQuoteFormat#1{\starttext% \startalignment[left]% \startnarrower[4*left] \noindent{\nohyphens\em #1}% \stopnarrower\stopalignment\stoptext\blank} \setuphead[chapter] [page

Re: [NTG-context] framing columns

2006-02-27 Thread Hans Hagen
simplecolumns does not. > > Now I am caught between two impossibilities. > Is it an option that simplecolumns will also be honoring > startnarrower..stopnarrower? > Is there another, simple solution? > \framed[width=\hsize]\bgroup \startnarrower \setlocalhsize \hsize

[NTG-context] \startlines and whitespace

2006-05-16 Thread frantisek holop
ectly. when i use \nowhitespace between midaligned and startlines, the whitespace is smaller, but still there, depending on where the actual text is on the page. how can i get rid of the whitespace entirely? \starttext \startnarrower[3cm] \midaligned{test} \startlines There snores -- I mean s

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

2014-01-23 Thread Hans Hagen
entries in the TOC because this way you don’t reset the margins added by \startnarrower. Wolfgang we can do this: \startsetups[\??listrenderings:abc] \endgraf % are we grouped? \advance\leftskip\listparameter\c!margin % after \endgraf ! but it needs testing Hans

Re: [NTG-context] Increasing the textwidth locally

2016-04-09 Thread Zhichu Chen
Dear Joas, On 04/09/2016 08:47 PM, joasyann...@gmail.com wrote: Dear everyone, I am looking for a functionality similar to the \adjustwidth command in LaTeX ables to reduce or increase the \textwidth locally. I know that ConTeXt has \startnarrower, which reduces the \textwidth. But how to

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

2018-08-13 Thread Wolfgang Schuster
Rik Kabel schrieb am 13.08.18 um 16:28: Hans, That works for the over-simplified case here, but fails in practice. For a \startnarrower[left] paragraph, the mark is still in the main margin, not the 'margin' of the narrowed paragraph. Also, the placement of the text in the margi

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

2018-08-13 Thread Rik Kabel
On 8/13/2018 13:46, Wolfgang Schuster wrote: \starttext \BeforePar{\dontleavehmode\llap{? }}\GotoPar \input knuth \startnarrower \BeforePar{\dontleavehmode\llap{? }}\GotoPar \input knuth \stopnarrower \stoptext Wolfgang I am applying it incorrectly, or it does not work with the

Re: [NTG-context] Unexpected indentation

2011-02-18 Thread Wolfgang Schuster
anyone would care to comment on why the first > does not work as (I) expected. > > I would expect both addresses to be indented the same amount but only the > first line of the first address appears indented as expected: > > \startnarrower[2*left] > \startalignment[right] >

Re: [NTG-context] long quotation problem

2005-11-09 Thread Alan Bowen
// In body text \defineblank[extractdistance][3pt] \definestartstop[extract][ before={ \blank[extractdistance,force] \setupnarrower[left=1.5pc,right=1.5pc] \startnarrower[left,right] \noindent}, after={\stopnarrower \blank[extractdistance,force] \indenting

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] Alignment for narrower text

2016-04-03 Thread Wolfgang Schuster
prevent protrusion as can be seen in the following example. \definefontfeature[default][default][protrusion=quality] \setupbodyfont[modern-designsize] \starttext “\vl Text\par \vl Text \startnarrower “\vl Text\par \vl Text \stopnarrower \blank[3*line]\setupalign[hanging] “\vl Text\par \vl

  1   2   3   4   5   >