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] \startnarrower[left, right] \completecontent[pageboundaries={0.1.1.5}] \stopnarrower

2014-01-23 Thread Wolfgang Schuster
2014/1/23 Hans Hagen 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’t think this is an option because it will change the layout of the TOC in

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 pra...@wxs.nl 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

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 pra...@wxs.nl mailto:pra...@wxs.nl On 1/23/2014 10:03 PM, Wolfgang Schuster wrote: 2014/1/23 Hans Hagen pra...@wxs.nl mailto:pra...@wxs.nl mailto:pra...@wxs.nl mailto:pra...@wxs.nl we can do

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

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

[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

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 qu...@quasi.de 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

Re: [NTG-context] ConTeXt Manual Errata

2013-09-21 Thread Marco Patzer
\Procedure{something} \stoptext However, I'd suggest to instead use: \startProcedure [title=something] … \stopProcedure The \startnarrower requires an explanation on how it affects the resulting document. Likewise \startitemnize. Feel free to add some info from the wiki. http

[NTG-context] ConTeXt Manual Errata

2013-09-18 Thread Thangalin
needs to be defined before it is used. For example, \setupsomething - What does something mean? The \defineenumeration[Question] creates a \Question command, but \definehead[Procedure][section] does not create \Procedure command? (Should the capital P not carry forward?) The \startnarrower requires

[NTG-context] Setting section margin

2013-09-05 Thread Lance Larsen
the 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={\startnarrower

Re: [NTG-context] setupnarrower and startnarrower

2013-08-07 Thread Hans Hagen
, 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. Changing the command

[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] \defineannotation

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

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
\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 argument

[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
footnote under the table \startnarrower[left] \placelocalfootnotes[here] \stopnarrower \stoplocalfootnotes \setupnotation[footnote][numberconversion=n,rule=on] % restore footnotes to global \stoptext Slightly modified solution I already wrote three hours ago for another thread regarding

[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

[NTG-context] Framed: Individual background offsets

2013-03-23 Thread Marco Patzer
is applied on all four sides \startfoo \input ward \stopfoo \input knuth %% this is what I'm aiming for \startnarrower [-1cm] \startfoo [backgroundoffset=0cm, loffset=1cm] \input ward \stopfoo \stopnarrower \stoptext Marco signature.asc Description: Digital signature

Re: [NTG-context] Framed: Individual background offsets

2013-03-23 Thread Wolfgang Schuster
, %% there is no backgroundloffset background=screen] \starttext %% backgroundoffset is applied on all four sides \startfoo \input ward \stopfoo \input knuth %% this is what I'm aiming for \startnarrower [-1cm] \startfoo [backgroundoffset=0cm, loffset=1cm] \input ward \stopfoo \stopnarrower

[NTG-context] narrower and whitespace

2013-03-16 Thread 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? Hans van der Meer ___ If your

Re: [NTG-context] narrower and whitespace

2013-03-16 Thread Wolfgang Schuster
Am 16.03.2013 um 12:45 schrieb H. van der Meer h.vanderm...@uva.nl: 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 space before/after

Re: [NTG-context] narrower and whitespace

2013-03-16 Thread Meer H. van der
...@uva.nl: 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 space before/after the environment. \starttext intro text \startnarrower narrow text

[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] \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

[NTG-context] [***SPAM***] Re: \startnarrower and ToC

2013-02-07 Thread Markus Finke
I did not check why it doesn't work. But to add a left margin you can use: \setuplist [margin=3cm] Yes, it’s possible to fix it on this way. But what is the right conversion of 1*left in mm/em? ___ If your

Re: [NTG-context] [***SPAM***] Re: \startnarrower and ToC

2013-02-07 Thread Marco Patzer
Yes, it’s possible to fix it on this way. But what is the right conversion of 1*left in mm/em? left, middle and right depend on the font size: left=1.5\emwidth right=1.5\emwidth which means for your example: \setuplist [margin=7.5em] Marco signature.asc Description: Digital

Re: [NTG-context] \startnarrower and ToC

2013-02-07 Thread Wolfgang Schuster
Am 07.02.2013 um 13:22 schrieb Marco Patzer home...@lavabit.com: 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

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

Re: [NTG-context] simpleslides help needed

2012-07-24 Thread Pavneet Arora
} \startnarrower[3*middle] \quotation{\getbuffer} \stopnarrower \stoptext Wolfgang -- - - Pavneet Arora Waroc Fine Audio + Custom Home Cinema www.waroc.com 416.937.WAROC (9276) ___ If your question

Re: [NTG-context] simpleslides help needed

2012-07-23 Thread Wolfgang Schuster
) sheet’s cells.% \stopbuffer \starttext \startquotation \getbuffer \stopquotation \setupdelimitedtext[quotation][leftmargin=3cm] \startquotation \getbuffer \stopquotation \quotation{\getbuffer} \startnarrower[3*middle] \quotation{\getbuffer} \stopnarrower \stoptext Wolfgang

Re: [NTG-context] ntg-style error

2012-06-06 Thread Taco Hoekwater
{\bf \pagenumber}\quad \cap {maps\ \MapsNumber}}] [\AuHead] \setupfootertexts } \def\fulltextwidth{457pt} \def\startdescription {\blank \bgroup \def\sym##1{\par\noindent\hbox{\bf\kern -16pt ##1}\hskip 12pt} \startnarrower[left] } \def\stopdescription {\par \stopnarrower

[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

Re: [NTG-context] Set a block of content at minimum distance from top of page?

2012-02-03 Thread Peter Park Nelson
the page. (Currently I have wrapped them in \startnarrower...\stopnarrower -- is there a better way?) But this is followed by an Abstract paragraph that uses the full width of the page. I would like to ensure that the full-width text never starts high enough on the page that it encroaches

[NTG-context] Set a block of content at minimum distance from top of page?

2012-02-02 Thread Peter Park Nelson
in \startnarrower...\stopnarrower -- is there a better way?) But this is followed by an Abstract paragraph that uses the full width of the page. I would like to ensure that the full-width text never starts high enough on the page that it encroaches on the upper-right-corner graphic. So, I'm looking

Re: [NTG-context] Set a block of content at minimum distance from top of page?

2012-02-02 Thread Wolfgang Schuster
the way across the page. (Currently I have wrapped them in \startnarrower...\stopnarrower -- is there a better way?) But this is followed by an Abstract paragraph that uses the full width of the page. I would like to ensure that the full-width text never starts high enough on the page

Re: [NTG-context] Set a block of content at minimum distance from top of page?

2012-02-02 Thread Peter Park Nelson
of this graphic are several text elements (Title, Author List, etc.) that don't go all the way across the page. (Currently I have wrapped them in \startnarrower...\stopnarrower -- is there a better way?) But this is followed by an Abstract paragraph that uses the full width of the page. I would

[NTG-context] Footnote marker inside custom list environment - font problem

2012-01-23 Thread Peter Park Nelson
for their affiliations. Since updating, it no longer works as expected; the footnote markers after author names use the document roman font instead of the sans font. Also, if I use this inside a \startnarrower...\stopnarrower block, the environment extends past where it should stop, which didn't happen before

Re: [NTG-context] Footnote marker inside custom list environment - font problem

2012-01-23 Thread Wolfgang Schuster
of the style is only used when nothing is set for the headstyle or textstyle keys but textstyle already has a different value. Also, if I use this inside a \startnarrower...\stopnarrower block, the environment extends past where it should stop, which didn't happen before. Can you show a example

Re: [NTG-context] Footnote marker inside custom list environment - font problem

2012-01-23 Thread Peter Park Nelson
the document roman font instead of the sans font. You have to use the textstyle key, the value of the style is only used when nothing is set for the headstyle or textstyle keys but textstyle already has a different value. Also, if I use this inside a \startnarrower...\stopnarrower block

[NTG-context] TextBackground text area

2011-11-23 Thread Kip Warner
][ location=paragraph, color=color_text, background=color, backgroundcolor=colour_page, framecolor=colour_text, leftoffset=1.0\bodyfontsize, rightoffset=1.0\bodyfontsize, before={ \blank \startnarrower

Re: [NTG-context] TextBackground text area

2011-11-23 Thread Aditya Mahajan
\startnarrower }, after={ \blank \stopnarrower }, style=italic, corner=round, frame=on] Why not just increase the value of leftoffset and rightoffset? \definetextbackground[FramedText][ location=paragraph, color=black

Re: [NTG-context] Font selection ranges

2011-09-30 Thread Wolfgang Schuster
environment when you don’t need syntax highlighting: \setupbodyfont[xits,10pt] \definelines [code] [space=yes, style=mono, before=\startnarrower, after=\stopnarrower] \starttext \showframe \startcode for $∀$i, j $∈$ I do a(i, j) $≔$ b(i, j) \stopcode \stoptext Wolfgang

[NTG-context] \startquotation and citations

2011-05-23 Thread Oliver Buerschaper
the delimitedtext mechanism. --- \long\def\startextendedquotation[#1]#2\stopextendedquotation {\bgroup\par \blank[halfline] \startnarrower[4em] \symbol[leftquotation]% #2\removeunwantedspaces \symbol[rightquotation]#1 \stopnarrower

[NTG-context] header for indented text / blockquote

2011-05-06 Thread R. Ermers
Dear All, In my docbook xml document I have fragments that I want to typeset indented. For this I use the tag blockquote which I map to startnarrower and stopnarrower. Some blockquotes in my document have a header: blockquote titleHow a cow catches a rabbit/title paraText Text/para

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 blockquote which I map to startnarrower and stopnarrower. Some blockquotes in my document have a header: blockquote titleHow

Re: [NTG-context] header for indented text / blockquote

2011-05-06 Thread R. Ermers
to startnarrower and stopnarrower. Some blockquotes in my document have a header: blockquote titleHow a cow catches a rabbit/title paraText Text/para /blockquote I was wondering if the header could be setup just like sections and section headers in the following way: \startnarrower

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

Re: [NTG-context] Itemize not breaking across pages?

2011-03-10 Thread Alasdair McAndrew
The trouble arises when I put my tables into narrower, framedtext so as to be able to force proper indentation: \starttext \startitemize[n] \dorecurse{20}{\item This is a test \startnarrower[left] \startframedtext[frame=off,offset=overlay] \starttables[|l|l|l|l|l|l|l|l|] \NC (a) \NC

[NTG-context] header text for each page of a chapter

2011-03-05 Thread Milton Galo Patricio Inostroza Aguilera
: \startnarrower[3*right] \crlf {\tfd \rightaligned{ CHAPTER_NAME }} \stopnarrower Why I'm doing that?... because I have a lot of framed and I want when they are send to the next page the document shows the name of the chapter that they belong (or the name of the current chapter). am I right with my approach

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 2cm 9/99 Addr Line 1 Street\hfil\break

Re: [NTG-context] Unexpected indentation

2011-02-21 Thread Wolfgang Schuster
Am 21.02.2011 um 11:07 schrieb 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): The narrower environment use

[NTG-context] Unexpected indentation

2011-02-18 Thread Richard Lennox
Addr Line 2\hfil\break \hskip 2cm City\hfil\break \startnarrower[2*left] \startalignment[right] 2/99 addr line 1\hfil\break addr line 2\hfil\break addr line 3 \stopalignment \stopnarrower \stoptext

Re: [NTG-context] Unexpected indentation

2011-02-18 Thread Hans Hagen
Addr Line 1 Street\hfil\break \hskip 2cm Addr Line 2\hfil\break \hskip 2cm City\hfil\break \startnarrower[2*left] \startalignment[right] 2/99 addr line 1\hfil\break addr line 2\hfil\break addr line 3 \stopalignment \stopnarrower \stoptext use \crlf

Re: [NTG-context] Unexpected indentation

2011-02-18 Thread Wolfgang Schuster
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] 2/99 addr line 1\hfil\break addr line 2\hfil\break

Re: [NTG-context] Unexpected indentation

2011-02-18 Thread Richard Lennox
indented as expected: \starttext % define skip before paragraphs (default is no skip) \setupwhitespace[3.5mm] %\setupwhitespace[big] \hskip 2cm 9/99 Addr Line 1 Street\hfil\break \hskip 2cm Addr Line 2\hfil\break \hskip 2cm City\hfil\break \startnarrower[2*left

Re: [NTG-context] delimitedtext, spacebefore and grid

2011-02-14 Thread Oliver Buerschaper
Not sure if there are side effects but this works (requires mkiv and a recent installation): \setuplayout[grid=yes]\showgrid \setupbodyfont[14pt] \usemodule[annotation] \define[2]\ZitatCommand {\topskip\dimexpr\topskip+\lineheight/2\relax \startnarrower “#2”% \stopnarrower

Re: [NTG-context] delimitedtext, spacebefore and grid

2011-02-12 Thread Wolfgang Schuster
installation): \setuplayout[grid=yes]\showgrid \setupbodyfont[14pt] \usemodule[annotation] \define[2]\ZitatCommand {\topskip\dimexpr\topskip+\lineheight/2\relax \startnarrower “#2”% \stopnarrower} \defineannotation [zitat] [alternative=command, command=\ZitatCommand, spacebefore

[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

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

2010-12-16 Thread Philipp Gesang
] \setupcolors[state=start] \setuphead [part][page=right,placehead=yes] \setuplist [chapter] [alternative=d,before=\blank,after=\blank] \setuplist [part][before=\blank,after=\blank] \starttext \startsetups chapter \blank \startnarrower[3*middle] \placecontent[criterium=local] \stopnarrower

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

2010-12-16 Thread Wolfgang Schuster
\startnarrower[3*middle] \placecontent[criterium=local] \stopnarrower \blank \startnarrower[3*middle] \placelist[chapter] \stopnarrower Wolfgang ___ If your question is of interest to others as well, please add

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

2010-12-16 Thread Philipp Gesang
,after=\blank] \starttext \startsetups chapter \blank \startnarrower[3*middle] \placecontent[criterium=local] \stopnarrower \blank \startnarrower[3*middle] \placelist[chapter] \stopnarrower Wolfgang Oha, that was fast! Many thanks, this arguably looks better than my hacking

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

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 the full

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|] \HL

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 before

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 \NC\NR

Re: [NTG-context] definedelimitedtext options

2010-09-01 Thread xancorreu
want to indent more the abstract. What are the options of definedelimitedtext? In the manual there is no mention for that. indenting={yes,big} Is there any way of doing the same as \startnarrower[2*middle,3*middle]? leftmargin=2cm, rightmargin=3cm or whatever value you want

[NTG-context] definedelimitedtext options

2010-08-31 Thread xancorreu
for that. Is there any way of doing the same as \startnarrower[2*middle,3*middle]? Thanks in advance, Xan. ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http

Re: [NTG-context] definedelimitedtext options

2010-08-31 Thread Wolfgang Schuster
of definedelimitedtext? In the manual there is no mention for that. indenting={yes,big} Is there any way of doing the same as \startnarrower[2*middle,3*middle]? leftmargin=2cm, rightmargin=3cm or whatever value you want, by default rightmargin has the same amount as leftmargin Wolfgang

[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.net

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

Re: [NTG-context] width of definetextbackground

2010-07-28 Thread varmaz
the width of the textbackground (see example 1). I also tried other approaches to set the width of a textbackground being larger than the actual text width. So far I solved it using \startnarrower. it's related to the negative rightskip ... i can fix it but i need to think a bit about side

Re: [NTG-context] width of definetextbackground

2010-07-23 Thread varmaz
\startnarrower. However when a page break happens within the textbackground ConTeXt does not set it properly. The dimensions of the defined textbackground are correct. however you will see the color of the background only at the first page but not after the page break. below an example (example

Re: [NTG-context] width of definetextbackground

2010-07-23 Thread Hans Hagen
text width. So far I solved it using \startnarrower. it's related to the negative rightskip ... i can fix it but i need to think a bit about side effects - Hans Hagen | PRAGMA ADE

[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] Keeping margin note on the same line

2010-06-05 Thread Vyatcheslav Yatskovsky
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 \chorus \chorus \inmargin{B}\chorus \stoptext Now B is above CHORUS, I want it to be exactly

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 \chorus \chorus \inmargin{B}\chorus

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

2010-06-05 Thread Vyatcheslav Yatskovsky
No, no, your idea is exactly what I missed! :) Thanks! I somehow feel that this is not what you want: \def\chorus#1{\startnarrower{\itx CHORUS}\doiftext{#1}{\inmargin{#1}}\stopnarrower} \starttext \chorus{} \chorus{B} \stoptext -- Best Regards, Vyatcheslav Yatskovsky

[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] How can one center or align a float?

2010-04-08 Thread Vyatcheslav Yatskovsky
Hi, How is it possible to have a STEPchart be midaligned, or right-aligned, Another way: \startnarrower[6*left] \getbuffer \stopnarrower -- Best Regards, Vyatcheslav Yatskovsky ___ If your question is of interest

Re: [NTG-context] How can one center or align a float?

2010-04-08 Thread Otared Kavian
On 9 avr. 2010, at 00:08, Vyatcheslav Yatskovsky wrote: Hi, How is it possible to have a STEPchart be midaligned, or right-aligned, Another way: \startnarrower[6*left] \getbuffer \stopnarrower -- Best Regards, Vyatcheslav Yatskovsky Thanx Vyatcheslav: your suggestion works

Re: [NTG-context] Hanging indents

2010-04-05 Thread Aditya Mahajan
that does not work? \definestartstop [exdent] [before={\startnarrower[left]\setupindenting[-\leftskip,yes]}, after=\stopnarrower] \starttext \startexdent \dorecurse{10}{Para 1: Some random text to fill space} \dorecurse{10}{Para 2: Some random text to fill space} \dorecurse{10}{Para 3

Re: [NTG-context] Hanging indents

2010-04-05 Thread Tom
[exdent] [before={\startnarrower[left]\setupindenting[-\leftskip,yes]}, after=\stopnarrower] \starttext \chapter{HangingIndent} \startexdent \dorecurse{10}{Para 1: Some random text to fill space} \dorecurse{10}{Para 2: Some random text to fill space} \dorecurse{10}{Para 3: Some random

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

2010-03-30 Thread Torsten Suhling
]% \startnarrower[left]% blockindent only left \startlines% },after={% \stoplines% \stopnarrower% \setuplines[indenting={no}]% must be reseted \endgraf% }] \starttext Three lines, first should be broken: \startverse FIRST---this should

[NTG-context] Hanging indent in startstoplines for poems

2010-03-29 Thread Torsten Suhling
\startnarrower[2em]%% hanging indent \startalignment[flushleft]% % even inter-word-dist. \startlines%% no justification \indenting[first]}% ,after={\stoplines% \stopalignment% \stopnarrower% \endgraf

<    1   2   3   4   5   >