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

[NTG-context] startnarrower

2009-10-03 Thread Wolfgang Schuster
Hi Hans, here is a new attempt to get a more generalized version of the startnarrower macros, now mkiv only. Wolfgang \unprotect \def\narrowerparameter #1{\csname\donarrowerparameter{\??sl \@@narrower}#1\endcsname} \def\donarrowerparameter #1#2{\ifcsname#1#2\endcsname#1#2\els

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

Re: [NTG-context] \startnarrower

2018-12-20 Thread Wolfgang Schuster
Hans van der Meer schrieb am 20.12.18 um 14:15: Wolfgang, Your solution works, but repeats after every \par. The purpose was to have the very first line only as the one without the indent. I tried several parameters from \definedelimitedtext and from \setupindenting, but could not achieve t

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

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

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

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 s

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 ha

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 seems

Re: [NTG-context] startnarrower and framed?

2019-08-21 Thread Jon Wong
Hi all, Ah, found the solution in TextBackground. At here: https://www.contextgarden.net/TextBackground Can I have a 2-segment (2 vboxes) TextBackground (presumably with 2 TextBackgrounds, zero vspace between them)? For the top segment, I want ro

Re: [NTG-context] startnarrower and framed?

2019-08-21 Thread Jon Wong
Hi all, Ok, last message in this topic, I promise. I’ve crafted a MWE. If I \setupwhitespace[line], the \blank[-0.5em] stops working. I’m sure I need to revise my TeX notes. For now, can somebody give me a little encouragement and tell me the answer? :-P \usecolors[xwi] % \setupwhitespace[line

Re: [NTG-context] startnarrower and framed?

2019-08-21 Thread Jon Wong
Hi all, I’m so so sorry for yet another message in this thread. I’ve solved it, but still don’t quite understand why it works. I post the solution here so that nobody has to spend any time crafting the solution. But I still have 1 key question. Key question: Why does \setwhitespace[line] preve

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: Digital signature _

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 use: > > \setuplist [margin=3cm]

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.com/q/3381/243 ) > > > ---

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 tabulate, I have exa

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 tabulate. > > I am afraid I don't get

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 > > \input knuth > > \starttabulate[|p|p|

Re: [NTG-context] \startnarrower and TABLEs

2010-09-23 Thread Wolfgang Schuster
Am 23.09.2010 um 11:00 schrieb 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. You can use \HR, it has more spacing

Re: [NTG-context] \startnarrower and TABLEs

2010-09-23 Thread Patrick Gundlach
> You can use \HR, it has more spacing before and after the line > but it works correct in narrower text and itemize. Sorry for the stupid question, but how do I use \HR? \starttabulate[|p|p|] \HR \NC \input ward \NC \input zapf \NC\NR \HR \stoptabulate gives me a misplaced noalign. Patrick

Re: [NTG-context] \startnarrower and TABLEs

2010-09-23 Thread Wolfgang Schuster
Am 23.09.2010 um 11:27 schrieb Patrick Gundlach: >> You can use \HR, it has more spacing before and after the line >> but it works correct in narrower text and itemize. > > > Sorry for the stupid question, but how do I use \HR? > > \starttabulate[|p|p|] > \HR > \NC \input ward \NC \input zapf

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

2014-01-22 Thread Rudolf Bahr
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 which both didn't work as expected. 1. attempt with "\startnarrower[left,right] \completecontent[pagebounda

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

2014-01-22 Thread Wolfgang Schuster
Hi Rudolf, what you try doesn’t work because the narrower environment and the list alternative you use try to change the same internal register for the distance from the left margin. What you have to do is to write your own layout for the section entries in the TOC because this way you don’t

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

2014-01-23 Thread Rudolf Bahr
On Wed, Jan 22, 2014 at 11:20:45PM +0100, Wolfgang Schuster wrote: > > Hi Rudolf, > > what you try doesn’t work because the narrower environment and the list > alternative you use try to change the same internal register for the distance > from the left margin. What you have to do is to write

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

2014-01-23 Thread Hans Hagen
On 1/22/2014 11:20 PM, Wolfgang Schuster wrote: Hi Rudolf, what you try doesn’t work because the narrower environment and the list alternative you use try to change the same internal register for the distance from the left margin. What you have to do is to write your own layout for the section

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

2014-01-23 Thread Wolfgang Schuster
2014/1/23 Hans Hagen > > we can do this: > > \startsetups[\??listrenderings:abc] > \endgraf % are we grouped? > \advance\leftskip\listparameter\c!margin % after \endgraf ! > > but it needs testing > I don’t think this is an option because it will change the layout of the TOC in many exi

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

2014-01-23 Thread Hans Hagen
On 1/23/2014 10:03 PM, Wolfgang Schuster wrote: 2014/1/23 Hans Hagen mailto:pra...@wxs.nl>> we can do this: \startsetups[\??__listrenderings:abc] \endgraf % are we grouped? \advance\leftskip\__listparameter\c!margin % after \endgraf ! but it needs testing I don

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

2014-01-23 Thread Hans Hagen
On 1/23/2014 10:24 PM, Wolfgang Schuster wrote: 2014/1/23 Hans Hagen mailto:pra...@wxs.nl>> On 1/23/2014 10:03 PM, Wolfgang Schuster wrote: 2014/1/23 Hans Hagen mailto:pra...@wxs.nl> >> we can do this:

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

2014-01-23 Thread Wolfgang Schuster
2014/1/23 Hans Hagen > On 1/23/2014 10:03 PM, Wolfgang Schuster wrote: > >> 2014/1/23 Hans Hagen mailto:pra...@wxs.nl>> >> >> >> we can do this: >> >> \startsetups[\??__listrenderings:abc] >> >> \endgraf % are we grouped? >> \advance\leftskip\__listparameter\c!margin % a

[NTG-context] \startnarrower as \abstract in LaTeX and bottom "layer" as footnote without markers

2010-08-12 Thread Xan
Hi, I try to duplicate this [http://arxiv.org/abs/0901.1458] article to ConTeXt. The original article was written in LaTeX. I have to troubles in this "duplication": - abstract: I "emulate" LaTeX abstract environment with \startnarrower ... \stopnarrower, as this [http://wiki.contextgarden.

Re: [NTG-context] \startnarrower as \abstract in LaTeX and bottom "layer" as footnote without markers

2010-08-12 Thread Wolfgang Schuster
Am 12.08.10 17:29, schrieb Xan: Hi, I try to duplicate this [http://arxiv.org/abs/0901.1458] article to ConTeXt. The original article was written in LaTeX. I have to troubles in this "duplication": - abstract: I "emulate" LaTeX abstract environment with \startnarrower ... \stopnarrower, as this