On Thu, 21 May 2020, context@vivaldi.net wrote:
Hello,
at least a short reaction would be appreciated - is it possible to get the desired with ConTeXt?
- I need to typeset a column-shaped document with a colofon in the bottom of the page, so my interest is not academical but very practical; and the code presented bellow is a minimalistic version ("abcd" stands for colofon).
Best regards,
Lukas
On 2020-05-20 16:38, context@vivaldi.net wrote:
Hello,
suppose the minimal example:
---- \showboxes \starttext \startcolumns[n=2,balance=no,] \input knuth \stopcolumns \vfill abcd \stoptext ----
This produces two page document with columns on the first page and text "abcd" on the second.
It is not clear to me why you are using columns here. If you want balanced columns, you could use: \starttext \startsimplecolumns[n=2] \input knuth \stopsimplecolumns \vfill abcd \stoptext
But - I want the text "abcd" to be placed to the bottom of the same page as columns are (thus I attempted to put \vfill into the code, but it doesn't work), so to get one page document looking like:
+------ page width -----+ Column text | (unused) column text | column text | column text | column text | column text |
(some vertical space)
abcd +----- end of page -----+
- How to achieve this?
If you just want a narrower one column output (since using balance=no and \vfill after that only makes sense if the length of the content is less than a single column), you can use \setupnarrower[right=0.5\textwidth] \startnarrower[right] \input knuth \stopnarrower or to get right frame: \startframedtext[width=0.45\textwidth,frame=off, rightframe=on, roffset=0.5em] \input knuth \stopframedtext Aditya