Re: [NTG-context] Adjusting column width dynamically to get rid of orphans and widows

2017-06-23 Thread Henri Menke
o! > > > > On my computer, the first column goes on for two lines more than the > > following column, and it still produces a widow: > > > > %%% document starts here > > [...] > > %%% document ends here > > > > The thing is that there simply isn't a good way

Re: [NTG-context] Adjusting column width dynamically to get rid of orphans and widows

2017-06-23 Thread Thomas Widmann
than the > following column, and it still produces a widow: > > %%% document starts here > [...] > %%% document ends here > > The thing is that there simply isn't a good way to break up a > three-line dictionary entry, and it would be much better to play > around with the

Re: [NTG-context] Adjusting column width dynamically to get rid of orphans and widows

2017-06-23 Thread Thomas Widmann
ing and font expansion are definitely options, but again, >> my real query would be how to trigger them dynamically to avoid a >> widow or an orphan. > > can you make a small example showing the problem Sorry about the delay – here you go! On my computer, the first column goes on for two

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

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

2017-03-22 Thread Mikael P. Sundqvist
t. It is too big. Resulting pdf > is attached. > > What am I doing wrong? Any ideas to solve it (i.e. to be able to > define an environment with narrower smaller text, including a reduced > interlinespace)? > > /Mikael > > \definestartstop[passus][ > before={\startnarro

[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] 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] avoid newline after definestartstop

2016-10-26 Thread Michael Eidenbenz
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[leftquotation] \removeunwantedspaces} \def\stopCitation#1\par% { \removeunwantedspaces \symbol

Re: [NTG-context] avoid newline after definestartstop

2016-10-26 Thread Wolfgang Schuster
tufte \stoptext Here is a alternative version but you need a empty line or \par after \stopCitation. \define\startCitation {\startnarrower[left] \symbol[leftquotation]\ignorespaces} \define\stopCitation {\BeforePar{\removeunwantedspaces\symbol[rightquotation]}% \AfterPar {\endgraf\stopna

Re: [NTG-context] avoid newline after definestartstop

2016-10-24 Thread Thomas A. Schmitz
On 10/24/2016 05:08 PM, Otared Kavian wrote: Hi Michael, Maybe what Wolfgang meant by « putting the marks by hand » is something like: you define \StartCitation and \StopCitation in the following way: % begin quotation-note.tex \define\StartCitation{\startnarrower[left,right]«~} \define[1

Re: [NTG-context] avoid newline after definestartstop

2016-10-24 Thread Wolfgang Schuster
ything after is belongs to a new paragraph. thanks michael \definestartstop[Citation] [before={\startnarrower[left,right]\startquotation}, after={\stopquotation\stopnarrower\dontleavehmode}] You can do the same with a custom quote environment: \definedelimitedtext [Citation] [quotation] [left

Re: [NTG-context] avoid newline after definestartstop

2016-10-24 Thread Michael Eidenbenz
te: > > Hi Michael, > > Maybe what Wolfgang meant by « putting the marks by hand » is something like: > you define \StartCitation and \StopCitation in the following way: > > % begin quotation-note.tex > > \define\StartCitation{\startnarrower[left,right]«~} > \de

Re: [NTG-context] avoid newline after definestartstop

2016-10-24 Thread Otared Kavian
Hi Michael, Maybe what Wolfgang meant by « putting the marks by hand » is something like: you define \StartCitation and \StopCitation in the following way: % begin quotation-note.tex \define\StartCitation{\startnarrower[left,right]«~} \define[1]\StopCitation{~»\footnote{#1}\stopnarrower

Re: [NTG-context] avoid newline after definestartstop

2016-10-24 Thread Michael Eidenbenz
016, at 11:13, Michael Eidenbenz <eidenb...@arch.ethz.ch> wrote: > > hello, > > how can I put the footnote number right after the quotationmarks without > having a newline? > dontleavehmode does not work. > > thanks michael > > > > > \definestart

[NTG-context] avoid newline after definestartstop

2016-10-20 Thread Michael Eidenbenz
hello, how can I put the footnote number right after the quotationmarks without having a newline? dontleavehmode does not work. thanks michael \definestartstop[Citation] [before={\startnarrower[left,right]\startquotation}, after={\stopquotation\stopnarrower

Re: [NTG-context] blockquote oddity

2016-10-19 Thread Alan Bowen
w]hile we may > > \stopblockquote > \stoptext > > seems to fail with the latest beta (ConTeXt ver: 2016.10.14) unless one > replaces the first line with > \[w\]hile we may. > > Better \startblockquote\relax > > The \startblockquote command has a optional argument whi

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

Re: [NTG-context] Me once again, a little bit trouble here

2016-08-22 Thread Ursula Hermann
:"Entwicklung" Behindern?}] \startnarrower[left, right] \en More than half the people of the world are living in conditions approaching misery. Their food is inadequate. They are victims of disease. Their economic life is primitive and stagnant. Their poverty is a handicap and a threat bot

Re: [NTG-context] Me once again, a little bit trouble here

2016-08-19 Thread eidenbenz
] \usebtxdefinitions[apa] \definebtxrendering[allgemeine][apa][dataset=allgemeine] \definebtxrendering[ich][apa][dataset=ich] \setupbtxrendering[continue =yes] \starttext \startchapter[title={Einleitung:"Entwicklung" Behindern?}] \startnarrower[left, right] \en More than half the people of

[NTG-context] Me once again, a little bit trouble here

2016-08-19 Thread Ursula Hermann
[title={Einleitung:"Entwicklung" Behindern?}] \startnarrower[left, right] \en More than half the people of the world are living in conditions approaching misery. Their food is inadequate. They are victims of disease. Their economic life is primitive and stagnant. Their poverty is

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

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

[NTG-context] Increasing the textwidth locally

2016-04-09 Thread joasyannick
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? All the best, Joas

Re: [NTG-context] Alignment for narrower text

2016-04-03 Thread Wolfgang Schuster
rusion 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 Text \startna

Re: [NTG-context] Alignment for narrower text

2016-04-02 Thread Jan Tosovsky
tation to get a narrower block > > > (and as each line is a paragraph each line gets an indent > > > box prepended) you should use leftskip (\startnarrower...) > > > in such cases > > > > I'm lost here (...example...) > > This is a bad exam

Re: [NTG-context] Alignment for narrower text

2016-04-02 Thread Wolfgang Schuster
nt box prepended) .. you should use leftskip (\startnarrower...) in such cases This is a bad example because there is no problem with \leftskip. What he means is that protrusion at the left margin doesn’t at the begin of a paragraph when you use indentation. %%% begin example \definefontfeature[d

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

Re: [NTG-context] Alignment for narrower text

2016-04-01 Thread Hans Hagen
- there is punctuation in the first verse which disrupt optical margin alignment Are there alternative ways? in your example you use indentation to get a narrower block (and as each line is a paragraph each line gets an indent box prepended) .. you should use leftskip (\startnarrower

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

2016-03-26 Thread Hans Hagen
\ward{\cldloadfile{ward}} \starttext \dorecurse{100}{ \hsize\dimexpr\textwidth-#1mm\relax \ward \par \ward \par \startnarrower[left] \ward \par \ward \par \stopnarrower \page } \stoptext try \ward{}okay i.e. a short word at the end

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

2016-03-25 Thread Jan Tosovsky
to be what I was looking for as it covers both cases in my original question: \setupindenting[yes,2em] \newdimen\lastlineminlength \newdimen\lastlinemingap \lastlineminlength=3em \lastlinemingap=1em \parfillskip \lastlinemingap plus \dimexpr\availablehsize-

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

2016-03-25 Thread Hans Hagen
\ward \par \startnarrower[left] \parfillskip 2em plus \dimen0\relax \ward \par \stopnarrower \startnarrower[left] \parfillskip 2em plus \dimen0\relax \ward \par \stopnarrower \page } \stoptext The problem here this settings

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

2016-03-25 Thread Hans Hagen
\dimexpr\textwidth-#1mm\relax \dimen0=\hsize \advance\dimen0 by -8em % 3*em - 2em \parfillskip 2em plus \dimen0\relax \ward \par \parfillskip 2em plus \dimen0\relax \ward \par \startnarrower[left] \parfillskip 2em plus \dimen0\relax \ward

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

2016-03-25 Thread Jan Tosovsky
2em plus \dimen0\relax \ward \par \parfillskip 2em plus \dimen0\relax \ward \par \startnarrower[left] \parfillskip 2em plus \dimen0\relax \ward \par \stopnarrower \startnarrower[left] \parfillskip 2em plus \dimen0\relax \ward \par \s

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

2016-03-24 Thread Jan Tosovsky
he end can be completely swallowed (by negative glue). I've tried it in the following example, but there is another problem from page 58 - blank line. But my TeX interpretation of the above pseudo code may be inappropriate... \showmakeup \starttext \setupindenti

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] 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] Length range control of the last line of paragraph

2016-03-22 Thread Hans Hagen
\par \parfillskip \zeropoint plus \dimexpr\availablehsize- 3\parindent\relax \ward \par \startnarrower[left] \parfillskip \zeropoint plus 1fil\relax \ward \par \stopnarrower \startnarrower[left] \parfillskip \zeropoint plus \dimexpr

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

2016-03-22 Thread Jan Tosovsky
{\cldloadfile{ward}} > > \setupalign[verytolerant,stretch] > > \dorecurse{100}{ > \hsize\dimexpr\textwidth-#1mm\relax > \parfillskip \zeropoint plus 1fil\relax > \ward \par > \parfillskip \zeropoint plus \dimexpr\availablehsize- > 3\parindent\

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

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

2016-03-22 Thread Hans Hagen
\parfillskip \zeropoint plus 1fil\relax \ward \par \parfillskip \zeropoint plus \dimexpr\availablehsize-3\parindent\relax \ward \par \startnarrower[left] \parfillskip \zeropoint plus 1fil\relax \ward \par \stopnarrower \startnarrower[left

Re: [NTG-context] Apply a start/stop command pair to certain subsections

2016-03-10 Thread Andreas Schneider
but not the "text" subsections, I'd appreciate it! I have searched the wiki, read through the "Context: an excursion" document and looked around in the mail archive and stackexchange, but I didn't find exactly what I want. Many thanks for reading, Tom Harrop -

[NTG-context] Apply a start/stop command pair to certain subsections

2016-03-10 Thread Tom Harrop
it! I have searched the wiki, read through the "Context: an excursion" document and looked around in the mail archive and stackexchange, but I didn't find exactly what I want. Many thanks for reading, Tom Harrop ---Example below--- \definestartstop [negindent] [ before={%

Re: [NTG-context] weird behavior of brackets in block quotations

2016-03-07 Thread Alan Bowen
]” gets the error message: > > The \startblockquote command has a optional argument (which is passed to > \startnarrower) > and you have to stop ConTeXt to use [t] as the argument for the command. > > Wolfgang > > > _

Re: [NTG-context] weird behavior of brackets in block quotations

2016-03-07 Thread Wolfgang Schuster
ppears in the output. But, in the block quotation, “[…]” gets the error message: The \startblockquote command has a optional argument (which is passed to \startnarrower) and you have to stop ConTeXt to use [t] as the argument for the command. Wo

Re: [NTG-context] inverse indentation

2015-11-28 Thread Pablo Rodriguez
it does what you want: > > \definestartstop >[exdent] >[before={\startnarrower[left]\setupindenting[-\leftskip,yes]}, > after=\stopnarrower] Many thanks for your reply, Thomas. That was exactly what I needed. Pablo -- http://www.ousia.tk

Re: [NTG-context] inverse indentation

2015-11-24 Thread Thomas A. Schmitz
practice that doesn’t seem to be documented in the wiki. At least, I wasn’t able to find information about this issue. I don't know where this code comes from, but it does what you want: \definestartstop [exdent] [before={\startnarrower[left]\setupindenting[-\leftskip,yes]}, after

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

2015-10-26 Thread Wolfgang Schuster
fails with 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] 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

[NTG-context] Regression with label inright placement

2015-10-25 Thread Rik Kabel
]. \blank \MyLabel[labelname2] This is some text after \in[labelname2]. \blank \startnarrower \MyLabel[labelname1] This is some text after \in[labelname1]. \blank \MyLabel[labelname2] This is some text after \in[labelname2

[NTG-context] Two column layout with footnotes do not work as expected

2015-10-23 Thread Dr. Thomas Möbius
: On the first page, footnotes run into each other. On the second page, footnote runs into text. \setuppapersize[A5][A5] \setupbodyfont[10pt] \definestartstop[abstract] [before={\blank\midaligned{\bf Abstract}\startnarrower[2*middle]}, after={\stopnarrower\blank[big]}] \definecolumnset[TwoColumns

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

[NTG-context] Setup narrower body text for sections

2015-05-14 Thread Kate F
[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 .. \stopnarrower all

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

2015-05-14 Thread Aditya Mahajan
this 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't need to have

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

2015-05-14 Thread Kate F
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 \stopsection But I'd much rather set the left margin (or achieving the effect of \startnarrower by some other means

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-20 Thread Gerben Wierda
[chapter:after]}] \startsetups chapter:before \page[left] \noheaderandfooterlines \startalignment[left,nothyphenated] \startnarrower[4*left] \em \getbuffer[chapter:quote] \stopnarrower \stopalignment \resetsetups[quote:text] \page[right

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

2015-03-16 Thread Gerben Wierda
] \startnarrower[4*left] \em \getbuffer[chapter:quote] \stopnarrower \stopalignment \resetsetups[quote:text] \page[right] \noheaderandfooterlines \blank[force,2*big] \stopsetups \startsetups chapter:after \blank[3*big] \stopsetups \definelist[chaptertext

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

2015-03-15 Thread Gerben Wierda
[chapter:after]}] \startsetups chapter:before \page[left] \noheaderandfooterlines \startalignment[left,nothyphenated] \startnarrower[4*left] \em \getbuffer[chapter:quote] \stopnarrower \stopalignment \resetsetups[quote:text] \page[right

[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

[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

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

Re: [NTG-context] Framed text and page breaks

2014-09-02 Thread Keith McKay
Thank you Aditya! Your hint to using the narrower environment lead me to \startnarrower \stopnarrower on the wiki which was exactly what I was looking for. Thanks again Best Wishes Keith McKay On 02/09/2014 17:22, Aditya Mahajan wrote: If you just want to reduce the width of paragraphs, use

[NTG-context] [doifinset] how it works ?

2014-08-21 Thread Pierre-François Bonnefoi
{\setupbackgrounds[page][background={fond,Auteur,backgraphics,foreground,foregraphics}] \directsetup{slide:start}} \def\stopSlide{\directsetup{slide:stop}} \startsetups slide:start \page \incrementnumber[slide] \switchtobodyfont[14pt] \setupinteractionbar[state=start] \startnarrower[left] \stopsetups

Re: [NTG-context] [doifinset] how it works ?

2014-08-21 Thread Otared Kavian
,foreground,foregraphics}] \directsetup{slide:start}} \def\stopSlide{\directsetup{slide:stop}} \startsetups slide:start \page \incrementnumber[slide] \switchtobodyfont[14pt] \setupinteractionbar[state=start] \startnarrower[left] \stopsetups \startsetups slide:stop \stopnarrower

Re: [NTG-context] [doifinset] how it works ?

2014-08-21 Thread Otared Kavian
{\setupbackgrounds[page][background={fond,Auteur,backgraphics,foreground,foregraphics}] \directsetup{slide:start}} \def\stopSlide{\directsetup{slide:stop}} \startsetups slide:start \page \incrementnumber[slide] \switchtobodyfont[14pt] \setupinteractionbar[state=start] \startnarrower[left] \stopsetups

Re: [NTG-context] [doifinset] how it works ?

2014-08-21 Thread Wolfgang Schuster
[slide] \switchtobodyfont[14pt] \setupinteractionbar[state=start] \startnarrower[left] \stopsetups \startsetups slide:stop \stopnarrower \page \stopsetups \starttext \doifinset{\getnumber[slide]}{\slidelist} { \startSlide \SlideTitleSub{Hello there} What is my number

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

2014-08-20 Thread Wolfgang Schuster
{myindent}, right=\measure{myindent}, middle=\measure{myindent}] \setupitemize[each][margin=\measure{myindent}]%,width=\measure{myindent}] \starttext \input knuth \startitemize \item \input ward \stopitemize \startnarrower \input zapf \stopnarrower \stoptext

Re: [NTG-context] \resetsetups

2014-08-14 Thread Rik Kabel
this from Gerben Wierde: \startsetups chapter:before \page[left] \noheaderandfooterlines \startalignment[left,nothyphenated] \startnarrower[4*left] \em \getbuffer[chapter:quote] \stopnarrower \stopalignment \resetsetups[quote:text

[NTG-context] \resetsetups

2014-08-13 Thread Rik Kabel
] \startnarrower[4*left] \em \getbuffer[chapter:quote] \stopnarrower \stopalignment \resetsetups[quote:text] \page[right] \noheaderandfooterlines \blank[force,2*big] \stopsetups What is the purpose of \resetsetups in this code? I see no different

Re: [NTG-context] \resetsetups

2014-08-13 Thread Wolfgang Schuster
] \noheaderandfooterlines \startalignment[left,nothyphenated] \startnarrower[4*left] \em \getbuffer[chapter:quote] \stopnarrower \stopalignment \resetsetups[quote:text] \page[right] \noheaderandfooterlines \blank[force,2*big] \stopsetups What is the purpose

[NTG-context] Suppressing the page number

2014-08-12 Thread Gerben Wierda
with \startsetups chapter:before \page[left] \noheaderandfooterlines \startalignment[left,nothyphenated] \startnarrower[4*left] \em \getbuffer[chapter:quote] \stopnarrower \stopalignment \resetsetups[quote:text] \page[right] \noheaderandfooterlines

Re: [NTG-context] Suppressing the page number

2014-08-12 Thread Aditya Mahajan
(mostly a quote or so). This is done with \startsetups chapter:before \page[left] \noheaderandfooterlines \startalignment[left,nothyphenated] \startnarrower[4*left] \em \getbuffer[chapter:quote] \stopnarrower \stopalignment \resetsetups[quote:text] \page

Re: [NTG-context] Suppressing the page number

2014-08-12 Thread Gerben Wierda
the chapter starts, but on the opposing page LHS there is something too (mostly a quote or so). This is done with \startsetups chapter:before \page[left] \noheaderandfooterlines \startalignment[left,nothyphenated] \startnarrower[4*left] \em \getbuffer[chapter:quote

Re: [NTG-context] setuphead interlinespace

2014-07-27 Thread Yuri Teixeira
% this is big \startnarrower[left] \setupinterlinespace[small] \input tufte % this is small \stopnarrower \input tufte % this is big again \stoptext 2014-07-27 5:51 GMT-03:00 Otared Kavian ota...@gmail.com: Hi, Have a look at the following wiki page: http://wiki.contextgarden.net

Re: [NTG-context] setuphead interlinespace

2014-07-27 Thread Otared Kavian
found the source of my confusion too: \setupinterlinespace is local inside \start-stopnarrower \setupinterlinespace[5] % this has no effect before \starttext \starttext \input tufte % this is default small, not 5 \setupinterlinespace[big] \input tufte % this is big \startnarrower[left

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

2014-07-23 Thread Gerben Wierda
starts with a quote on the LHS page: \setuphead [chapter] [page=, before={\setups[chapter:before]}, after={\setups[chapter:after]}] \startsetups chapter:before \page[left] \noheaderandfooterlines \startalignment[left,nothyphenated] \startnarrower[4*left] \em

Re: [NTG-context] Bugs in linenumbering ?

2014-04-03 Thread Stéphane Goujet
to (e.g.) -1cm It seems I can indeed get nice results with \setuplinenumbering[location=text] \startnarrower[left] \startlinenumbering Thanks ! i've added support for notes (somewhat tricky) \starttext Here we have a footnote \footnote{% \startlinenumbering \input tufte

Re: [NTG-context] Bugs in linenumbering ?

2014-04-03 Thread Rik Kabel
recent versions (25/03 and 27/03). with respect to text: you need to go narrower or set the distance to (e.g.) -1cm It seems I can indeed get nice results with \setuplinenumbering[location=text] \startnarrower[left] \startlinenumbering Thanks

Re: [NTG-context] Bugs in linenumbering ?

2014-04-03 Thread Stéphane Goujet
Le Thu, 03 Apr 2014 13:01:04 -0400, Rik Kabel cont...@rik.users.panix.com 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

Re: [NTG-context] Bugs in linenumbering ?

2014-04-03 Thread Stéphane Goujet
It seems I can indeed get nice results with \setuplinenumbering[location=text] \startnarrower[left] \startlinenumbering i've added support for notes (somewhat tricky) \starttext Here we have a footnote \footnote{% \startlinenumbering \input tufte A few

[NTG-context] Linenumbering and bidi

2014-03-28 Thread Rik Kabel
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 line \setupdirections[bidi=on,method=two] to Stéphane’s example results

[NTG-context] Linenumbering and startnarrower

2014-03-28 Thread Rik Kabel
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 startnarrower environment

Re: [NTG-context] Linenumbering and bidi

2014-03-28 Thread Hans Hagen
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 line \setupdirections[bidi=on,method

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

[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] narrowered columns on background image?

2014-02-14 Thread Wolfgang Schuster
with inserted narrower environment: \startframed[...] \startnarrower \startboxedcolumns[n=3] ... ... \stopboxedcolumns \stopnarrower \stopframed Many thanks, Wolfgang, for your patient explanation! You helped me so many times! Why do you want to use the narrower environment

Re: [NTG-context] narrowered columns on background image?

2014-02-13 Thread Rudolf Bahr
[...] \startnarrower \startboxedcolumns[n=3] ... ... \stopboxedcolumns \stopnarrower \stopframed Many thanks, Wolfgang, for your patient explanation! You helped me so many times! Rudolf ___ If your question

[NTG-context] narrowered columns on background image?

2014-02-12 Thread Rudolf Bahr
--- \setupexternalfigures [location={local,global,default}] \useexternalfigure[moe][cow.pdf][width=\hsize, height=.4\vsize] \def\txt { \startnarrower \setupcolumns[n=3, rule=off, align=right, distance=10pt] \startcolumns \startcolor[darkred

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

2014-02-07 Thread Jan Tosovsky
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. Please compare two pages w/o this option set: %\definefontfamily

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 j.tosov...@email.cz: 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[palatino

[NTG-context] Alignment for narrower text

2014-01-30 Thread Jan Tosovsky
] % surprisingly it is narrower \startnarrower[left] \setupalign[hz, hanging] % setting this again here has no effect \it this is,\par just sample.\par \stopnarrower \input{tufte} \stoptext Thanks, Jan ___ If your question

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

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

2014-01-23 Thread Rudolf Bahr
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 you for your explanation! Rudolf

<    1   2   3   4   5   >