Re: [NTG-context] blank line and signals

2010-03-14 Thread Hans Hagen
[subsection][before=\TestSpace] \starttext \startcolumns \section{Section} \subsection{Subsection} \dorecurse{50}{some text, } \stopcolumns \stoptext If one removes the blank line after \section{Section} the output is correct, otherwise \TestSpace is ignored … I'm quite sure it worked a couple

Re: [NTG-context] columns and whitespace

2010-03-08 Thread Hans Hagen
On 4-3-2010 23:56, James Fisher wrote: There was a thread about columns and whitespace ~ 2 weeks ago, but I wasn't a subscriber then. I've just come across it independently myself. I'm not sure what conclusion was come to. From a few tests, I'd characterize the problem code in \startcolumns

[NTG-context] columns and whitespace

2010-03-04 Thread James Fisher
There was a thread about columns and whitespace ~ 2 weeks ago, but I wasn't a subscriber then. I've just come across it independently myself. I'm not sure what conclusion was come to. From a few tests, I'd characterize the problem code in \startcolumns as: if whitespace has been set to more

Re: [NTG-context] columns and whitespace

2010-03-04 Thread Wolfgang Schuster
in \startcolumns as: if whitespace has been set to more than none, set whitespace to 'line'. ConTeXt does this to keep the lines on the grid. \setupwhitespace[medium] \starttext \startcolumns \input knuth \stopcolumns \startcolumns[blank=medium] \input knuth \stopcolumns \stoptext Wolfgang

[NTG-context] Occasional words sticking out from flush-right

2010-03-03 Thread James Fisher
IV: \mainlanguage[en] \usetypescript[palatino] \setupbodyfont[palatino,11pt] \setuppapersize[A4][A4] \setuphead[title][header=empty] \starttext \title{Personal statement} \startcolumns[n=2] This heavily-hyphenated jauntily-formatted flush-left flush-right justified-text paragraph set in a two

Re: [NTG-context] Occasional words sticking out from flush-right

2010-03-03 Thread Wolfgang Schuster
it. To reproduce what I mean, compile this with Mark IV: \mainlanguage[en] \usetypescript[palatino] \setupbodyfont[palatino,11pt] In this case you don't need \usetypescript. \setuppapersize[A4][A4] \setuphead[title][header=empty] \starttext \title{Personal statement} \startcolumns[n=2

Re: [NTG-context] Occasional words sticking out from flush-right

2010-03-03 Thread James Fisher
it. To reproduce what I mean, compile this with Mark IV: \mainlanguage[en] \usetypescript[palatino] \setupbodyfont[palatino,11pt] In this case you don't need \usetypescript. \setuppapersize[A4][A4] \setuphead[title][header=empty] \starttext \title{Personal statement} \startcolumns[n=2

Re: [NTG-context] LuaTeX error main ctx instance:1: 'name' expected near '\'.

2010-02-23 Thread Hans Hagen
} \def\stopC{\egroup} \setupinteraction[state=start] \setuppapersize[S6][S6] \setupwhitespace[big] \starttext \startcolumns\placelist[chapter]\stopcolumns \startC bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla \stopC \stoptext the problem, is that the catcodes are changes in the main

[NTG-context] \groupedcommand missing bracket

2010-02-19 Thread Steffen Wolfrum
Hi, does someone know what's going wrong here? \definestartstop[Literature] [before={\startcolumns[n=1]},after={\stopcolumns}] \define\Colorit% {\groupedcommand{\color[blue]\em}\/} \starttext This works: test \Colorit{color} text. This dont't: \startLiterature test \Colorit{color} text

Re: [NTG-context] \groupedcommand missing bracket

2010-02-19 Thread Aditya Mahajan
On Fri, 19 Feb 2010, Steffen Wolfrum wrote: Hi, does someone know what's going wrong here? \definestartstop[Literature] [before={\startcolumns[n=1]},after={\stopcolumns}] \define\Colorit% {\groupedcommand{\color[blue]\em}\/} \starttext This works: test \Colorit{color} text. This dont't

Re: [NTG-context] LuaTeX error main ctx instance:1: 'name' expected near '\'.

2010-02-18 Thread Peter Münster
] \setuppapersize[S6][S6] \setupwhitespace[big] \starttext \startcolumns\placelist[chapter]\stopcolumns \startC bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla \stopC \stoptext Cheers, Peter -- Contact information: http://pmrb.free.fr/contact

Re: [NTG-context] columns and whitespace

2010-02-16 Thread Wolfgang Werners-Lucchini
Hallo Wolfgang, Neither \setupwhitespace[halfline]nor \setupcolumns[blank=halfline]is working. Grid is off by default, isn't it? Set the whitespace after \startcolumns. This works, but shouldn't be the whitespace a global setting? I found an other ?solution? When BOTH

Re: [NTG-context] columns and whitespace

2010-02-15 Thread Wolfgang Schuster
Am 15.02.10 13:56, schrieb Wolfgang Werners-Lucchini: Neither \setupwhitespace[halfline]nor \setupcolumns[blank=halfline]is working. Grid is off by default, isn't it? Set the whitespace after \startcolumns. Wolfgang

Re: [NTG-context] \showmathcharacters problems with TeXlive 2009 on Win 7 64bit

2010-02-10 Thread Hans Hagen
\showmathmodern\or\advance\dimen2 4em\fi \divide \dimen0 by \dimen2 \advance\dimen0 1sp \edef\enccols{\number\dimen0} \startcolumns[\c!n=\enccols,\c!distance=2em] \def\dodefinemathsymbol[##1][##2][##3][##4][##5][##6]% {%\localcolortrue %\color

[NTG-context] Footnotes in columns causing layout problem

2010-02-09 Thread Andreas Harder
] % columnsets|twocolumns \starttext \doifmode{twocolumns}{\startcolumns} \doifmode{columnsets}{\startcolumnset[two]} \dorecurse{2}{\input knuth}\footnote{\input tufte} \dorecurse{2}{\input knuth} \doifmode{twocolumns}{\stopcolumns} \doifmode{columnsets}{\stopcolumnset} \stoptext Thank you

Re: [NTG-context] Footnotes in columns causing layout problem

2010-02-09 Thread Hans Hagen
\definecolumnset[two][n=2] \enablemode[twocolumns] % columnsets|twocolumns \starttext \doifmode{twocolumns}{\startcolumns} \doifmode{columnsets}{\startcolumnset[two]} \dorecurse{2}{\input knuth}\footnote{\input tufte} \dorecurse{2}{\input knuth} \doifmode{twocolumns}{\stopcolumns} \doifmode{columnsets

[NTG-context] First page of chapter

2010-02-02 Thread Tom
#2{ \startcolumns[n=2] \placefigure[left]{none}{\externalfigure[chief]} \column \switchtobodyfont[26pt] {\ss\bf\sl #1} \blank[large]\blank[large] {\ss\bf #2} \stopcolumns} \setuphead[chapter] [command=\ChapterTop, header=high,footer=pagenumber

Re: [NTG-context] First page of chapter

2010-02-02 Thread Andreas Harder
\ChapterTop#1#2{ \startcolumns[n=2] \placefigure[left]{none}{\externalfigure[chief]} \column \switchtobodyfont[26pt] {\ss\bf\sl #1} \blank[large]\blank[large] {\ss\bf #2} \stopcolumns} \setuphead[chapter] [command=\ChapterTop, header=high

Re: [NTG-context] First page of chapter

2010-02-02 Thread Tom
treating the chapter number and title as text with startfiguretext. It works but I can't format the chapter titles to fit properly. Any suggestions for a ConTeXt beginner?     \def\ChapterTop#1#2{     \startcolumns[n=2]         \placefigure[left]{none}{\externalfigure[chief]}     \column

[NTG-context] Bogus columns with footnotes

2010-02-01 Thread Andreas Harder
Hi all, can anyone confirm a bogus column output with the following test document? \setupnote[footnote][location=lastcolumn] \starttext \startcolumns \dorecurse{2}{\input knuth}\footnote{\input tufte} \dorecurse{2}{\input knuth} \stopcolumns \stoptext Greetings Andreas

Re: [NTG-context] Columns within a layer

2010-01-01 Thread Oliver Buerschaper
] \startcolumns \input knuth \stopcolumns \stopstreamlayer \setlayerframed [columns] [x=2cm, y=3cm] [width=12cm, height=8cm, align=normal, offset=none, framecolor=gray] {\placestreamlayer[columns]} %\setlayer %[columns] %[x=1cm, % y=10cm

Re: [NTG-context] Columns within a layer

2009-12-26 Thread Oliver Buerschaper
\usemodule[streams] \definestreamlayer[test][method=overlay] \setupbackgrounds[page][background=test] \starttext \startstreamlayer[test] \startcolumns \input knuth \stopcolumns \stopstreamlayer \setlayer[test][x=5cm,y=10cm]{\placestreamlayer[test]} \stoptext Many thanks

Re: [NTG-context] Columns within a layer

2009-12-26 Thread Wolfgang Schuster
Am 26.12.2009 um 12:50 schrieb Oliver Buerschaper: \usemodule[streams] \definestreamlayer[test][method=overlay] \setupbackgrounds[page][background=test] \starttext \startstreamlayer[test] \startcolumns \input knuth \stopcolumns \stopstreamlayer \setlayer[test][x=5cm,y=10cm

[NTG-context] Columns within a layer

2009-12-25 Thread Oliver Buerschaper
Dear all, how can I get columns within a layer? I tried --- \setupbackgrounds [page] [background=text] \definelayer [text] [width=\paperwidth, height=\paperheight] \startbuffer[test] \startcolumns[n=2] \input zapf \stopcolumns \stopbuffer \starttext

Re: [NTG-context] Columns within a layer

2009-12-25 Thread Wolfgang Schuster
Am 25.12.2009 um 20:25 schrieb Oliver Buerschaper: Dear all, how can I get columns within a layer? I tried --- \setupbackgrounds [page] [background=text] \definelayer [text] [width=\paperwidth, height=\paperheight] \startbuffer[test] \startcolumns[n=2] \input

[NTG-context] Contextual spacing

2009-12-17 Thread Andreas Harder
\startcolumns \section{Section} \input tufte \par \subsection{Subsection} \input tufte \par \column \section{Section} % \vskip-1.25\lineheight \subsection{Subsection} \input tufte \par \input tufte \par \stopcolumns \stoptext Thanks in advance Andreas

Re: [NTG-context] Contextual spacing

2009-12-17 Thread Wolfgang Schuster
interesting because it works in MkII when i add \setupinterlinespace[...] to the preamble \subject{Space from the \tex{blockquote}-environment} % \vskip-\lineheight \startblockquote \input tufte \stopblockquote \input tufte \startblockquote \input tufte \stopblockquote \startcolumns

Re: [NTG-context] Contextual spacing

2009-12-17 Thread Andreas Harder
\startblockquote \input tufte \stopblockquote \startcolumns \section{Section} \input tufte \par \subsection{Subsection} \input tufte \par \column \section{Section} % \vskip-1.25\lineheight \subsection{Subsection} \input tufte \par \input tufte \par \stopcolumns \stoptext see http

[NTG-context] Problems with wide floating tables in context mkIV

2009-11-24 Thread Massimiliano Lambertini
and cut off by its page margin or overwritten by the neighbouring column text. I define column sections by using the \startcolumns...\stopcolumns directives. Do I have to switch to columnsets? A sample of the problem I depicted here can be found at: http://www.lambertini.org/testfloats.zip

Re: [NTG-context] Problems with wide floating tables in context mkIV

2009-11-24 Thread luigi scarso
two columns. When I use the LuaTeX engine, the table is placed in the middle of a column and cut off by its page margin or overwritten by the neighbouring column text. I define column sections by using the \startcolumns...\stopcolumns directives. Do I have to switch to columnsets? Can

Re: [NTG-context] framedtext in naturaltables

2009-10-02 Thread Xan
[alternative=b] % Start the text \starttext %\startcolumns[n=2] \startalignment[middle] {\scb Roques i Minerals} \stopalignment \smallskip \placefigure [here,none] [fig:taula-roques-i-minerals] {Característiques de roques i minerals} {\bTABLE[frame=off,align={middle}] %\setupTABLE[1,2][1

[NTG-context] columns with unequal width

2009-09-11 Thread Vyatcheslav Yatskovsky
Hello, Can I create columns with unequal width with \startcolumns? (Say, first column is 75% and second is 25%) Regards, Vaytcheslav ___ If your question is of interest to others as well, please add an entry

Re: [NTG-context] columns with unequal width

2009-09-11 Thread Aditya Mahajan
On Sat, 12 Sep 2009, Vyatcheslav Yatskovsky wrote: Hello, Can I create columns with unequal width with \startcolumns? (Say, first column is 75% and second is 25%) AFAIK, no. To create columns with different widths, you need to use columsets. Aditya

[NTG-context] Bug in footnotes in columns

2009-08-21 Thread Aditya Mahajan
Hi, \setupfootnotes [location=columns] \starttext \startcolumns \input knuth \stopcolumns \stoptext gives ! Undefined control sequence. argument \currentbackupnoteins \doaddtototalnoteheight #1-\ifdim \ht #1 \zeropoint \advance \totalnoteheig

Re: [NTG-context] Bug in footnotes in columns

2009-08-21 Thread Hans Hagen
Aditya Mahajan wrote: Hi, \setupfootnotes [location=columns] \starttext \startcolumns \input knuth \stopcolumns \stoptext gives ! Undefined control sequence. argument \currentbackupnoteins you can comment that line (for the moment) \def\docalculatetotalnoteheight {\ifcase

Re: [NTG-context] Bug in footnotes in columns

2009-08-21 Thread Aditya Mahajan
On Sat, 22 Aug 2009, Hans Hagen wrote: Aditya Mahajan wrote: Hi, \setupfootnotes [location=columns] \starttext \startcolumns \input knuth \stopcolumns \stoptext gives ! Undefined control sequence. argument \currentbackupnoteins you can comment that line (for the moment) \def

[NTG-context] Multicol float vertical spacing (MkII)

2009-05-20 Thread Thomas Floeren
and the following text (= after the float) is way too big. I put the floats with force; with here its even worse: I get an additional empty space *above* the float. Concerning the different column methods i noticed the following: \startcolumns: I can influence the vertical space (in general) with e.g

Re: [NTG-context] header at page bottom example

2009-05-19 Thread Jos van Gisbergen
am a bit confused* about their coexistence. Is this purposeful or necessary (or is it simply historical)? Is \startcolumns simply an unnamed, default columnset? columns and columnset are two different mechanism two produce a document with text and two or more columns. the columns

Re: [NTG-context] columns(ets) and itemize[columns]

2009-05-18 Thread Wolfgang Schuster
. Is this purposeful or necessary (or is it simply historical)? Is \startcolumns simply an unnamed, default columnset? columns and columnset are two different mechanism two produce a document with text and two or more columns. the columns mechanism is the older one with limited control about

Re: [NTG-context] columns(ets) and itemize[columns]

2009-05-18 Thread Alan BRASLAU
)? Is \startcolumns simply an unnamed, default columnset? columns and columnset are two different mechanism two produce a document with text and two or more columns. the columns mechanism is the older one with limited control about the placement of figures but allows you to mix one column

Re: [NTG-context] columns(ets) and itemize[columns]

2009-05-18 Thread Hans Hagen
Alan BRASLAU wrote: Great! This is somewhat what I suspected (columns mechanism is the older one). older but also conceptually different Is there good reason to keep both mechanisms? That is, does the startcolumns mechanism have advantages? Can't one mix one column and multicolumns text

[NTG-context] columns(ets) and itemize[columns]

2009-05-17 Thread Alan BRASLAU
historical)? Is \startcolumns simply an unnamed, default columnset? (*and the wiki page needs to be clarified...) Second question, maybe a bug? \startitemize[columns] does not interact well: I suspect that it could or should use paragraphs internally rather than columns so as to work within a column

[NTG-context] hangaround in right side of column?

2009-03-23 Thread Jelle Huisman
{\flushnextbox\hskip\@@hadistance}% \getboxheight\scratchdimen\of\box\nextbox \getnoflines\scratchdimen \nextboxdp\strutdp \nextboxht\strutht \hangindent\nextboxwd \hangafter-\noflines \rlap{\flushnextbox}\ignorespaces} \hbox} \startcolumns[n=2,balance=yes] \dorecurse{2

Re: [NTG-context] problem with two columns on a page

2009-03-13 Thread Hans Hagen
Jelle Huisman wrote: Hi, I'm typesetting a dictionary using \startcolumns[n=2,balance=yes] to get balanced columns. I have 26 balanced columns with simple headers in between and a lot of situations with two columns on one page. (see example). As long as the number of lines of the first

Re: [NTG-context] problem with two columns on a page

2009-03-13 Thread Jelle Huisman
in a column that triggers the OTR, so that I could tweak that? Or is it hard coded and will it break everything? where did you put the penalty? Right before \stopcolumns, as you suggested. \starttext \showgrid \startalignment[center] AA \stopalignment\blank \startcolumns[n=2,balance=yes] %\dorecurse

Re: [NTG-context] problem with two columns on a page

2009-03-13 Thread Hans Hagen
of lines allowed in a column that triggers the OTR, so that I could tweak that? Or is it hard coded and will it break everything? where did you put the penalty? Right before \stopcolumns, as you suggested. \starttext \showgrid \startalignment[center] AA \stopalignment\blank \startcolumns[n=2

Re: [NTG-context] problem with two columns on a page

2009-03-13 Thread Jelle Huisman
Hans Hagen wrote: \starttext \showgrid \startalignment[center] AA \stopalignment\blank \startcolumns[n=2,balance=yes] %\dorecurse{40}{a a a a a a a a a a a a a a a a a a a a a } % this works \dorecurse{42}{a a a a a a a a a a a a a a a a a a a a a } % this pushes columns (BB) to the next

[NTG-context] problem with two columns on a page

2009-03-12 Thread Jelle Huisman
Hi, I'm typesetting a dictionary using \startcolumns[n=2,balance=yes] to get balanced columns. I have 26 balanced columns with simple headers in between and a lot of situations with two columns on one page. (see example). As long as the number of lines of the first columns (AA) is fewer than

Re: [NTG-context] specific document layout with ConTeXt

2008-12-28 Thread Aditya Mahajan
] \setups[IEEE:headerandfooters] \setups[IEEE:interaction] \startcolumns \appendtoks \stopcolumns \to \everystoptext} \definestartstop[abstract] [before={\bgroup\blank[small]\setups[IEEE:abstract:setup] \bold\bgroup{\bolditalic \labeltext{abstract}}---\,}, after={\egroup

Re: [NTG-context] setupwhitespace

2008-11-13 Thread Wolfgang Schuster
environment. Any suggestions? \startcolumns \setupwhitespace[...] bla bla bla ... \stopcolumns Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context

Re: [NTG-context] setupwhitespace

2008-11-13 Thread richard . stephens
? \startcolumns \setupwhitespace[...] bla bla bla ... \stopcolumns Wolfgang Thanks Wolfgang, that works a treat! What else changes when I switch over to columns? Do I need a whole new environment within columns

Re: [NTG-context] setupwhitespace

2008-11-13 Thread Wolfgang Schuster
of the columns environment. Any suggestions? \startcolumns \setupwhitespace[...] bla bla bla ... \stopcolumns Wolfgang Thanks Wolfgang, that works a treat! What else changes when I switch over to columns? Do I need a whole new environment within columns? \setupwhitespace should

Re: [NTG-context] setupwhitespace

2008-11-13 Thread richard . stephens
What else changes when I switch over to columns? Do I need a whole new environment within columns? \setupwhitespace should be enough but you could define a new environment and hide the setup in the environment file. \definestartstop [mycolumns] [before=\startcolumns, after

Re: [NTG-context] misbehaving \column

2008-10-06 Thread Henning Hraban Ramm
{80}{dummy } \startcolumns \externalfigure[dummy][width=\textwidth] \input tufte \column \input tufte \stopcolumns \input tufte \stoptext I'm complaining since about 2002 that \column does nothing (at least not reliably) within \startcolums ... \stopcolumns. Finally I resorted to column

[NTG-context] misbehaving \column

2008-10-03 Thread Mojca Miklavec
Hello, The \column command does not want to obey me ... The text following \column simply jumps to the next page. This time I cannot think of any workaround :( Well, in the worst case I can still insert a table. \starttext \section{first} \dorecurse{80}{dummy } \startcolumns \externalfigure

Re: [NTG-context] misbehaving \column

2008-10-03 Thread Wolfgang Schuster
} \dorecurse{80}{dummy } \startcolumns \externalfigure[dummy][width=\textwidth] \input tufte \column \column[preference] or \testcolumn[0] \input tufte \stopcolumns \input tufte \stoptext Wolfgang ___ If your

Re: [NTG-context] misbehaving \column

2008-10-03 Thread Mojca Miklavec
the bottom of the page. Mojca This time I cannot think of any workaround :( Well, in the worst case I can still insert a table. \starttext \section{first} \dorecurse{80}{dummy } \startcolumns \externalfigure[dummy][width=\textwidth] \input tufte \column \input tufte \stopcolumns \input

Re: [NTG-context] misbehaving \column

2008-10-03 Thread Mojca Miklavec
can still insert a table. \starttext \section{first} \dorecurse{80}{dummy } \startcolumns \externalfigure[dummy][width=\textwidth] \input tufte \column \column[preference] or \testcolumn[0] But I would need \column[verybigpreference] then. It doesn't make a columnt break at all. Mojca

Re: [NTG-context] misbehaving \column

2008-10-03 Thread Wolfgang Schuster
think of any workaround :( Well, in the worst case I can still insert a table. \starttext \section{first} \dorecurse{80}{dummy } \startcolumns \externalfigure[dummy][width=\textwidth] \input tufte \column \column[preference] or \testcolumn[0] But I would need \column[verybigpreference

Re: [NTG-context] misbehaving \column

2008-10-03 Thread Mojca Miklavec
\column simply jumps to the next page. This time I cannot think of any workaround :( Well, in the worst case I can still insert a table. \starttext \section{first} \dorecurse{80}{dummy } \startcolumns \externalfigure[dummy][width=\textwidth] \input tufte \column \column[preference

Re: [NTG-context] misbehaving \column

2008-10-03 Thread Wolfgang Schuster
does not want to obey me ... The text following \column simply jumps to the next page. This time I cannot think of any workaround :( Well, in the worst case I can still insert a table. \starttext \section{first} \dorecurse{80}{dummy } \startcolumns \externalfigure[dummy][width=\textwidth

[NTG-context] Some layout questions

2008-08-26 Thread Ulrich Dirr
{#1. } \setupfootnotedefinition[location=normal] This does not work as expected. I want footnotes in the last column of a two column format at the *bottom*. Both standard twocolumn (via \startcolumns[n=2]) format fails and also column sets: if I use column sets (defined with \definecolumnset[example

[NTG-context] Footnotes

2008-07-20 Thread Ulrich Dirr
. } \starttext \startcolumns[n=2,tolerance=verytolerant] Hasselt is an old Hanseatic City, situated 12~km north of Zwolle at the river Zwartewater. The city has a long history since obtaining the city charter around 1252. Part and parcel of this history can be traced back to a large number of monuments

Re: [NTG-context] Indexing problem solved. Makeindex works with Context!

2008-07-19 Thread John Culleton
item!secondary item} %two level item ... \idx{resorted [EMAIL PROTECTED] item''} %prints index item in quotes ... \input book.ind %prints index For that last line I substituted: -- \title{Index} \writetolist[chapter]{}{Index} \tfx \startcolumns[n=2

Re: [NTG-context] active characters in mkiv (and mkii)

2008-07-07 Thread Hans Hagen
] % % \definefont[MySerif][SerifPlus at 10pt] % % \startcolumns[n=6] % \MySerif % \dostepwiserecurse {0} {65000} {1} { % \iffontchar\font\recurselevel % {\tttf\uchexnumbers\recurselevel:} \char\recurselevel\par % \fi % } % \stopcolumns so, you define a fallbackfont

[NTG-context] error: Attempt to node.insert_before() a non-existing node

2008-06-21 Thread Khaled Hosny
{فهرس آخر} ... \subsection{ثاني مسألة} ... كلام ... \section{ثالث باب} ... كلام ... \chapter{فصل آخر} ... كلام ... \chapter[lastchapter]{آخر فصل} ... كلام ... \startcolumns[n=2,tolerance=verytolerant] طَرَحَتْنِي النَّوَى مَطَارِحَهَا حَتّى إذَا وَطِئْتُ جُرْجَان الأَقْصى. فاسْتَظْهَرْتُ عَلَى

Re: [NTG-context] frames and columns

2008-05-20 Thread Wolfgang Schuster
On Mon, May 19, 2008 at 7:37 PM, Hans van der Meer [EMAIL PROTECTED] wrote: When I enclose columns in a frame then the columns are not formed. See the minimal example: \starttext \startframedtext \startcolumns[n=2] COLUMN 1 \column COLUMN 2 \stopcolumns \stopframedtext \stoptext

Re: [NTG-context] frames and columns

2008-05-20 Thread Hans van der Meer
. For \startcolumns .. \stopcolumns this is not a solution: an error message about \prevdepth appears. \starttext % bare columns \leftaligned{\em simplecolumns:}\blank \startsimplecolumns[n=2] COLUMN 1\crlf COLUMN 1.1\crlf \column COLUMN 2\crlf \stopsimplecolumns \blank % this does not work

Re: [NTG-context] frames and columns

2008-05-20 Thread Wolfgang Schuster
. For \startcolumns .. \stopcolumns this is not a solution: an error message about \prevdepth appears. Normal columns need the output routine and won't work inside of a box, streams are a way to invoke the output routine. Simplecolumns are simpler and don't need the output routine, it's just a simple

Re: [NTG-context] frames and columns

2008-05-20 Thread Aditya Mahajan
, the last framedtext has two columns inside. For \startcolumns .. \stopcolumns this is not a solution: an error message about \prevdepth appears. Normal columns need the output routine and won't work inside of a box, streams are a way to invoke the output routine. Simplecolumns are simpler

[NTG-context] frames and columns

2008-05-19 Thread Hans van der Meer
When I enclose columns in a frame then the columns are not formed. See the minimal example: \starttext \startframedtext \startcolumns[n=2] COLUMN 1 \column COLUMN 2 \stopcolumns \stopframedtext \stoptext Commenting out the \startframedtext,\stopframedtext typesets two columns

[NTG-context] feature request: TABLEs in columns

2008-05-12 Thread Peter Münster
Hello, It would be very nice, if one could put splitted TABLEs in columns (or column-sets) without restrictions: text before columns \startcolumns[n=X] some text spanning 1 or more columns, 1 or more pages \bTABLE[split=repeat] \bTABLEhead \bTR \bTH Head \eTH \eTABLEhead \bTABLEbody

Re: [NTG-context] feature request: TABLEs in columns

2008-05-12 Thread Hans Hagen
Peter Münster wrote: Hello, It would be very nice, if one could put splitted TABLEs in columns (or column-sets) without restrictions: text before columns \startcolumns[n=X] some text spanning 1 or more columns, 1 or more pages \bTABLE[split=repeat] \bTABLEhead \bTR \bTH Head

Re: [NTG-context] TOC columns

2008-05-07 Thread Hans Hagen
of what I'm trying to achieve: \midaligned{Section1} \startcolumns[n=2] Subsection1 \stopcolumns \midaligned{Section2} \startcolumns[n=2] Subsection1 \stopcolumns Does anyone know how to automate this for a table of contents? % \setuplist % [chapter] % [after

Re: [NTG-context] TOC columns

2008-05-07 Thread Paul Gideon Dann
} \startcolumns[n=2] Subsection1 \stopcolumns \midaligned{Section2} \startcolumns[n=2] Subsection1 \stopcolumns Does anyone know how to automate this for a table of contents? % \setuplist % [chapter] % [after={\startcolumns\placelist[section]\stopcolumns

Re: [NTG-context] TOC columns

2008-05-07 Thread Wolfgang Schuster
. The followings works for me, give us a example. \setuplist [chapter] [after={\startcolumns\placelist[section]\stopcolumns}] \starttext \placelist[chapter] \dorecurse{3} {\chapter{Chapter} \dorecurse{4}{\section{Section}}} \stoptext Wolfgang

Re: [NTG-context] TOC columns

2008-05-07 Thread Wolfgang Schuster
][chapter] \setuplist[chapter][after={\startcolumns\placelist[section]\stopcolumns}] \placecontent \starttext \dorecurse{3} {\chapter{Chapter} \dorecurse{4}{\section{Section}}} \stoptext Hi Paul, I could reproduce the problem also with a recent ConTeXt, replace \placecontent

Re: [NTG-context] TOC columns

2008-05-07 Thread Paul Gideon Dann
: The same example produces the problem for me. Maybe I have an older version? I got MacTex pretty recently (two weeks ago), but the version is: 2007.01.12 15:56. Here's the exact source: \definecombinedlist[content][chapter] \setuplist[chapter][after={\startcolumns\placelist[section

Re: [NTG-context] TOC columns

2008-05-07 Thread Paul Gideon Dann
The same example produces the problem for me. Maybe I have an older version? I got MacTex pretty recently (two weeks ago), but the version is: 2007.01.12 15:56. Here's the exact source: \definecombinedlist[content][chapter] \setuplist[chapter][after={\startcolumns\placelist[section

Re: [NTG-context] problem with columns and TABLE

2008-05-05 Thread Wolfgang Schuster
On Sat, May 3, 2008 at 9:04 PM, Peter Münster [EMAIL PROTECTED] wrote: Hello, In the following example, the bottom of the table is outside the page. How could this be solved? \starttext \input tufte \startcolumns[2] ^^^ n=2 \bTABLE[split=yes] \dorecurse{50

[NTG-context] problem with columns and TABLE

2008-05-03 Thread Peter Münster
Hello, In the following example, the bottom of the table is outside the page. How could this be solved? \starttext \input tufte \startcolumns[2] \bTABLE[split=yes] \dorecurse{50}{\bTR\bTD bla\eTD\eTR} \eTABLE \stopcolumns \stoptext TIA for any help! Cheers, Peter -- http://pmrb.free.fr

Re: [NTG-context] columns and \definemakeup

2008-04-30 Thread Wolfgang Schuster
is the wrong way to go here altogether (/me is still a novice to ConTeXt). Not within \definelayout but see below. Same as for the fontsize -- can I demand two columns from within the \definelayout block instead of always putting \startcolumns[n=2] respectively \stopcolumns in the actual source

Re: [NTG-context] columns and \definemakeup

2008-04-29 Thread Wolfgang Schuster
| | % --- | | \startstandardmakeup[doublesided=no, page=left] | \stopstandardmakeup | | | \stopcomponent ` Now I want the text to be in columns -- two that is ... However, I tried with , | \startcolumns[n=2] | my text goes here | \stopcolumns ` and , | \definecolumnset[example][n

Re: [NTG-context] columns and \definemakeup

2008-04-29 Thread Wolfgang Schuster
with , | \startcolumns[n=2] | my text goes here | \stopcolumns ` and , | \definecolumnset[example][n=2] | | \starttext | \startcolumnset[example] | \dorecurse{15}{\fakewords{100}{200}\par} | \stopcolumnset | \stoptext ` but I just get one column in both

Re: [NTG-context] columns and \definemakeup

2008-04-29 Thread Suno Ano
\startcolumns[n=2] respectively \stopcolumns in the actual source? ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman

[NTG-context] Footnotes set outside of columns when using columnsets

2008-04-12 Thread Elliot Clifton
[twocolumn] \dorecurse{4}{\input knuth \footnote[footnote]{footnote}\par} \stopcolumnset \stoptext It produces footnotes in columns which isn't what I want. The behaviour I want is the that produced by this example using \startcolumns: \starttext \startcolumns

[NTG-context] Background color spaning columns.

2008-03-03 Thread Bart Wise
][ before={\starttextbackground[highlight]}, after=\stoptextbackground] \starttext \subject{Problem 1} \startcolumns It was a· \starthighlight dark· and stormy night; the rain fell in torrents --- except at occasional intervals, when it was checked by a· violent\stoptextbackground~ gust of wind

Re: [NTG-context] trouble with indices

2008-02-17 Thread Wolfgang Schuster
} {\chardef\collapseregisterpages\zerocount}% % TH: disable next line % \raggedright % /TH \startcolumns [\c!n=\registerparameter\c!n, \c!balance=\registerparameter\c!balance, \c!align=\registerparameter\c!align, tolerance=stretch]% \dontcomplain

Re: [NTG-context] \placeregister[index][compress=yes] BROKEN ??

2008-01-29 Thread Taco Hoekwater
[\currentregister][#2]% \doifelse{\registerparameter\c!compress}\v!yes % new {\chardef\collapseregisterpages\plusone} {\chardef\collapseregisterpages\zerocount}% \raggedright \startcolumns [\c!n=\registerparameter\c!n, \c!balance=\registerparameter

Re: [NTG-context] many columns and then one column on the same page

2008-01-12 Thread Yvon Henel
with renewed attention! The answer is: use \startcolumns \stopcolumns. And I say to myself: RTFM, RTFM,... sorry for the noise :-( -- Yvon Henel signature.asc Description: This is a digitally signed message part

Re: [NTG-context] ConTeXt-ifying Kile

2008-01-02 Thread Matija Šuklje
\startbuffer[name] \stopbuffer \startcolor[name] \stopcolor \startcolumns[settings] \stopcolumns \startcombination[matrix] \stopcombination \startcomment[name][settings] \stopcomment \startcomponent file \stopcomponent \startdescription{text} \stopdescription \startdocument[name] \stopdocument

Re: [NTG-context] itemize and math

2007-10-30 Thread Wolfgang Schuster
the \column help with the first formula? Because itemize use for the columns key the multicolumns envrionment where you can force a new column with the \column command. The internal work for this case is something like in the following example: \starttext \startcolumns $a_n=\frac{(-1)^n}{\sqrt{n

Re: [NTG-context] itemize and math

2007-10-30 Thread Wolfgang Werners-Lucchini
Height of formula 2: \the\ht\scratchbox Ahhh! The HEIGHT (not the width) ist the problem!? So: \startcolumns \dontleavehmode \vphantom{$a_n=\frac{(-1)^n}{\sqrt{n}}-3$}$a_n=2+\frac{1}{n+1}$% $a_n=\frac{(-1)^n}{\sqrt{n}}-3$ \stopcolumns works too. Is there something like an \mathstrut macro

Re: [NTG-context] definewhitespace

2007-10-05 Thread Wolfgang Schuster
\startcolumns \setupwhitespace[...] % local value text in columns \stopcolumns more text \stoptext You can not only use dimension for \setuwhitespace, you can also use skip values like \setupwhitespace[3pt plus 2pt minus 1pt]. Wolfgang

Re: [NTG-context] definewhitespace

2007-10-05 Thread Wolfgang Schuster
\startcolumns \setupwhitespace[...] % local value text in columns \stopcolumns more text \stoptext You can not only use dimension for \setuwhitespace, you can also use skip values like \setupwhitespace[3pt plus 2pt minus 1pt]. Wolfgang

[NTG-context] placefigure[hang] in columns

2007-10-01 Thread Christof Meigen
, the text doesn't float around the picture when using two or more columns, so when I do -- \starttext \startcolumns[n=2] \placefigure[left,hang]{none}{\externalfigure[somepic][width=1.6cm]} sometext \stopcolumns \stoptext -- sometext appears in the second column, instead of next

Re: [NTG-context] balancing colums

2007-08-30 Thread Wolfgang Schuster
could use TeX's halign primitive because this did still work. It is also easy to write a simple wrapper around this this emulate ConTeXt's table syntax. \starttext \startcolumns[rule=on] \halign{\strut#\quad\hfil#\cr one: text \cr two: text \cr three: text \cr four: text \cr five: text \cr

[NTG-context] balancing colums

2007-08-29 Thread Jörg Hagmann
\startcolumns[rule=on] \starttabulate[|l|r|] \NC one: \NC text \NC\NR \NC two: \NC text \NC\NR \NC three: \NC text \NC\NR \NC four: \NC text \NC\NR \NC five: \NC text \NC\NR \NC six: \NC text \NC\NR \NC seven: \NC text \NC\NR \NC eight: \NC text \NC\NR \stoptabulate \stopcolumns \stoptext Thanks, Jörg

Re: [NTG-context] Columns and colour background [urgent]

2007-07-25 Thread Saji Njarackalazhikam Hameed
this for a scientific poster which is due rather soon ... Please share your valuable advice with me :-) Oliver Consider this: --- \setupcolors [state=start] \setupcolumns [background=color, backgroundcolor=red] \starttext \startcolumns[n=2

[NTG-context] Columns and colour background [urgent]

2007-07-24 Thread Oliver Buerschaper
=start] \setupcolumns [background=color, backgroundcolor=red] \starttext \startcolumns[n=2] \dorecurse{4}{\input tufte} \stopcolumns \framed[background=color,backgroundcolor=red]{Test} \stoptext --- Shouldn't the background of my columns be painted red? According

<    1   2   3   4   5   6   7   >