rds,
>
> Dalyoung
>
> >
> > \setuplayout[grid=yes]
> > \emptylines[...] % see the command \emptylines in ConTeXtgarden
> > \setupcolumnsetstart[...][...][...][...] % see the manual COLUMNS, page 9
> > \setupcolumnsetlines[...][...][...][...] % see the manua
there is a solution.
Thank you for your concern.
Best regards,
Dalyoung
>
> \setuplayout[grid=yes]
> \emptylines[...] % see the command \emptylines in ConTeXtgarden
> \setupcolumnsetstart[...][...][...][...] % see the manual COLUMNS, page 9
> \setupcolumnsetlines[...][...][...][...] %
Dear Jeong Dal,
I use the following functions to control the start and end of columns in a
columnset:
\setuplayout[grid=yes]
\emptylines[...] % see the command \emptylines in ConTeXtgarden
\setupcolumnsetstart[...][...][...][...] % see the manual COLUMNS, page 9
\setupcolumnsetlines
I thought I understood the mechanism, but I found another instance where
\setupcolumnsetlines does not give the desired result:
%%%
\definecolumnset[Two][n=2]
\starttext
Test
%\page
\setupcolumnsetlines[Two][1][1][9]
\startcolumnset[Two]
\input knuth
Wolfgang wrote:
> The settings for the second columnset work when the first columnset goes over
> of two or more pages.
Thank you, now I understand the mechanism: only if the first columnset extends
to more than one page, the next \setupcolumnsetlines will work properly. Is
this
clear to me.
If \setupcolumnsetlines has to be specified before \starttext and if the second
parameter denotes the absolute page number of the column to be limited, then
the following example still does not work correctly for the second page (ouput
consists of two pages).
\definecolumn
Denis Maier schrieb am 17.08.2019 um 17:49:
Ok.
With this I don't get the empty page. But the setupcolumnsetlines has
still no effecgt for the second environment.
===
\definecolumnset[One][n=2]
\setupcolumnsetlines[One][1][1][9]
\definecolumnset[Two][n=2]
\setupcolumnsetlines[Two][1][1][5
Denis Maier schrieb am 17.08.2019 um 16:45:
Ok. So no need to load the module first. Good.
So the second argument is an absolute pagenumber, not relative to
where to columnset starts... But then, this here should work:
No, you set relative numbers (I checked it) but the first columnset
]
\setupcolumnsetlines[One][1][1][9]
\setupcolumnsetlines[One][1][2][9]
\setupcolumnsetlines[One][2][1][9]
\setupcolumnsetlines[One][2][2][9]
\definecolumnset[Two][n=2]
\setupcolumnsetlines[Two][1][1][9]
\setupcolumnsetlines[Two][1][2][9]
\setupcolumnsetlines[Two][2][1][9]
\setupcolumnsetlines[Two][2][2][9
This here works for the first columnset, but not for the second one:
=
\usemodule[newcolumnsets]
\definecolumnset[One][n=2]
\setupcolumnsetlines[One][1][1][9]
\setupcolumnsetlines[One][1][2][9]
\setupcolumnsetlines[One][2][1][9]
\setupcolumnsetlines[One][2][2][9
Ok, have tried it now. No change ...
Am Sa., 17. Aug. 2019 um 13:33 Uhr schrieb Denis Maier :
> Also, what about \setupcolumnsetlines[Two][2][1][9]?
>
> Denis Maier schrieb am Sa., 17. Aug. 2019, 13:32:
>
>> If I am remembering correctly, the documentation has \setupcolumn
Also, what about \setupcolumnsetlines[Two][2][1][9]?
Denis Maier schrieb am Sa., 17. Aug. 2019, 13:32:
> If I am remembering correctly, the documentation has \setupcolumnsetlines
> before \starttext.
>
> Sytse Knypstra schrieb am Sa., 17. Aug. 2019,
> 12:59:
>
>>
If I am remembering correctly, the documentation has \setupcolumnsetlines
before \starttext.
Sytse Knypstra schrieb am Sa., 17. Aug. 2019,
12:59:
> In an effort to balance columns in a columnset layout, I found that in the
> following minimal example this effect is not obtained.
&
\startcolumnset[Two]
\input knuth
\stopcolumnset
\page
\setupcolumnsetlines[Two][1][1][9]
\startcolumnset[Two]
\input knuth
\stopcolumnset
\stoptext
Thank you for your suggestions,
Sytse Knypstra
verlayBox withcolor \MPcolor{color-1} ;
>> \stopuniqueMPgraphic
>>
>> \startuniqueMPgraphic{contrast}
>> fill OverlayBox withcolor \MPcolor{color-2} ;
>> \stopuniqueMPgraphic
>>
>> \defineoverlay[frame] [\uniqueMPgraphic{frame}]
>> \defineoverlay[
; \defineoverlay[frame] [\uniqueMPgraphic{frame}]
> \defineoverlay[contrast][\uniqueMPgraphic{contrast}]
>
> \definecolumnset[example][n=2]
>
> %\setupcolumnsetstart[example][1][1][2]
> %\setupcolumnsetstart[example][1][2][4]
> %\setupcolumnsetlines[example][1][1][-5]
> %\setupcolumnsetl
]
%\setupcolumnsetstart[example][1][2][4]
%\setupcolumnsetlines[example][1][1][-5]
%\setupcolumnsetlines[example][1][2][-5]
\definecolumnsetspan[wide] [n=2,
background=contrast,
color=white,
]
\starttext
\startcolumnset[example]
\startcolumnsetspan[wide]
\subject{Einleitung}
{\tfx\setupinterlinespace\em
\setupcolumnsetlines[cset-1][1][1][18]
\setupcolumnsetlines[cset-1][1][2][18]
\setupcolumnsetlines[cset-1][1][3][18]
\startcolumnset[cset-1]\dorecurse{2}{\column\fakewords{25}{50}}\stopcolumnset
\setupcolumnsetstart[cset-2][1][1][20]
\setupcolumnsetstart[cset-2][1][2][20]
\setupcolumnsetstart[cset-2][1][3
]
\definecolumnset[cset-2][n=3,balance=yes]
\definecolumnset[cset-3][n=3,balance=yes] %% ???
\starttext\showgrid
\setupcolumnsetlines[cset-1][1][1][18]
\setupcolumnsetlines[cset-1][1][2][18]
\setupcolumnsetlines[cset-1][1][3][18]
\startcolumnset[cset-1]\dorecurse{2}{\column\fakewords{25}{50}}\stopcolumnset
we couldn't get column balancing
to work in columnsets).
However one thing we do miss from columnsets is the control over widows
orphans in two ways: \testcolumn, and \setupcolumnsetlines.
\testcolumn[n] allowed us to do a conditional column break, so when we
were about to start a new subsection
in two ways: \testcolumn, and \setupcolumnsetlines.
\testcolumn[n] allowed us to do a conditional column break, so
when we
were about to start a new subsection heading, we could prevent it
being
an orphan at the bottom of the column; and when starting a paragraph
with a hangaround graphic
, and \setupcolumnsetlines.
\testcolumn[n] allowed us to do a conditional column break, so when we
were about to start a new subsection heading, we could prevent it being
an orphan at the bottom of the column; and when starting a paragraph
with a hangaround graphic framed flushright and bottom, we could
similarly use
On 11/20/2013 11:12 PM, Lars Huttar wrote:
On 11/20/2013 4:47 PM, Lars Huttar wrote:
However one thing we do miss from columnsets is the control over widows
orphans in two ways: \testcolumn, and \setupcolumnsetlines.
\testcolumn[n] allowed us to do a conditional column break, so when we
were
On 11/22/2013 4:59 PM, Hans Hagen wrote:
On 11/20/2013 11:12 PM, Lars Huttar wrote:
On 11/20/2013 4:47 PM, Lars Huttar wrote:
However one thing we do miss from columnsets is the control over widows
orphans in two ways: \testcolumn, and \setupcolumnsetlines.
\testcolumn[n] allowed us to do
in columnsets).
However one thing we do miss from columnsets is the control over widows
orphans in two ways: \testcolumn, and \setupcolumnsetlines.
\testcolumn[n] allowed us to do a conditional column break, so when we
were about to start a new subsection heading, we could prevent it being
an orphan
On 11/20/2013 4:47 PM, Lars Huttar wrote:
However one thing we do miss from columnsets is the control over widows
orphans in two ways: \testcolumn, and \setupcolumnsetlines.
\testcolumn[n] allowed us to do a conditional column break, so when we
were about to start a new subsection heading, we
that are placed in the flow of text via hangarounds. We manually tweak
our column lengths on each page (e.g.
\setupcolumnsetlines[columnset10][1][1][42]), in order to avoid the
worst of the widows and orphans. As you say, balancing requires manual
tweaks too, but it's not that big a burden, since we're
hangarounds. We manually tweak
our column lengths on each page (e.g.
\setupcolumnsetlines[columnset10][1][1][42]), in order to avoid the
worst of the widows and orphans. As you say, balancing requires manual
tweaks too, but it's not that big a burden, since we're already doing
\setupcolumnsetlines
like
\setupcolumnsetlines[columnsetbibliography][1][1][-1]
\setupcolumnsetlines[columnsetbibliography][1][2][-1]
with various values for the last parameter, but nothing helps.
Below is a small, self-contained sample.
Thanks for any help you can give.
Lars
Version information:
This is XeTeX
to be true even with
different page and font sizes.
Can anyone tell us a way to get rid of the gap? We've tried things like
\setupcolumnsetlines[columnsetbibliography][1][1][-1]
\setupcolumnsetlines[columnsetbibliography][1][2][-1]
with various values for the last parameter, but nothing helps
]
// //
// // \setupcolumnsetlines[abbcolumn][1][1][60]
// // \setupcolumnsetlines[abbcolumn][1][2][60]
// /
// the 60 exceeds the number of lines
//
// Hans, thanks for responding.
//
// I don't understand the above statement. What number of lines does 60
// exceed? Is there a hard-coded limit? (We didn't seem
On /Fri Apr 19 21:36:41 CEST 2013 /Hans Hagen wrote:
On 4/18/2013 11:13 PM, Lars Huttar wrote:
/ \definecolumnset [abbcolumn] [n=2,distance=5mm,balancing=yes]
//
// \setupcolumnsetlines[abbcolumn][1][1][60]
// \setupcolumnsetlines[abbcolumn][1][2][60]
/
the 60 exceeds the number
On 4/22/2013 4:24 PM, Lars Huttar wrote:
On /Fri Apr 19 21:36:41 CEST 2013 /Hans Hagen wrote:
On 4/18/2013 11:13 PM, Lars Huttar wrote:
/ \definecolumnset [abbcolumn] [n=2,distance=5mm,balancing=yes]
//
// \setupcolumnsetlines[abbcolumn][1][1][60]
// \setupcolumnsetlines[abbcolumn
On 4/18/2013 11:13 PM, Lars Huttar wrote:
\definecolumnset [abbcolumn] [n=2,distance=5mm,balancing=yes]
\setupcolumnsetlines[abbcolumn][1][1][60]
\setupcolumnsetlines[abbcolumn][1][2][60]
the 60 exceeds the number of lines
\starttext
\startcolumnset[abbcolumn]
foo
Hello,
I've got a Missing number error, treated as zero. I've whittled the
problem code down to this minimal example:
\definecolumnset [abbcolumn] [n=2,distance=5mm,balancing=yes]
\setupcolumnsetlines[abbcolumn][1][1][60]
\setupcolumnsetlines[abbcolumn][1][2][60]
\starttext
]
\setupcolumnset [test-2] [balance=yes]
\setupcolumnsetlines[test-1][1][1] [8]
\setupcolumnsetlines[test-1][1][2][10]
\startcolumnset [test-1] \dorecurse {1}{\input tufte \par} \stopcolumnset
\startcolumnset [test-2] \dorecurse {2}{\input ward \par} \stopcolumnset
of the argument to \testcolumn?
We also do manual column balancing using \definecolumnset,
\setupcolumnset, and \setupcolumnsetlines. My concern is, does this
apply after other layout is performed, so that any test performed above
(*) regarding position within the column would fail to reflect these
column
\definecolumnset,
\setupcolumnset, and \setupcolumnsetlines. My concern is, does this
apply after other layout is performed, so that any test performed above
(*) regarding position within the column would fail to reflect these
column balancing adjustments and therefore could give wrong results
. Any thoughts?
One way around this is to use \setupcolumnsetlines[][][] to balance the
columns. With a 1200 page publication: no fun.
Jelle
___
If your question is of interest to others as well, please add an entry
]
\definecolumnset [example-2] [n=3,balance=yes]
\starttext \showgrid
\setupcolumnsetlines[example-1][1][1] [8]
\setupcolumnsetlines[example-1][1][2][10]
\setupcolumnsetstart[example-2][1][1][29]
\setupcolumnsetstart[example-2][1][2][29]
\setupcolumnsetstart[example-2][1][3][29]
\startcolumnset [example-1
,OverlayHeight) ;
draw lrcorner p -- urcorner p ;
setbounds currentpicture to p ;
\stopuseMPgraphic
\defineoverlay[columnrule][\useMPgraphic{columnrule}]
\setupcolumnset[example][1,2][background=columnrule]
\setupcolumnsetlines[example][2][1][-26]
\setupcolumnsetlines[example][2][2][-26
[columnrule][\useMPgraphic{columnrule}]
\setupcolumnset[example][1,2][background=columnrule]
\setupcolumnsetlines[example][2][1][-26]
\setupcolumnsetlines[example][2][2][-26]
\setupcolumnsetlines[example][2][3][-26]
\starttext
\startcolumnset[example]
\dorecurse{10}{\input knuth}
\stopcolumnset
;
\stopuseMPgraphic
\defineoverlay[columnrule][\useMPgraphic{columnrule}]
\setupcolumnset[example][1,2][background=columnrule]
\setupcolumnsetlines[example][2][1][-26]
\setupcolumnsetlines[example][2][2][-26]
\setupcolumnsetlines[example][2][3][-26]
\starttext
\startcolumnset[example]
\dorecurse
\lineheight\relax) -- urcorner p ;
setbounds currentpicture to p ;
\stopuseMPgraphic
\defineoverlay[columnrule][\useMPgraphic{columnrule}]
\setupcolumnset[example][1,2][balance=yes,background=columnrule]
\setupcolumnsetlines[example][1][1][-35]
\setupcolumnsetlines[example][1][2][-35
on the right side (3rd column).
\definecolumnset[example][n=3]
\setupcolumnsetlines[example][1][3][-50] % From Page 1, Column 3,
% remove 50 lines
% I will put the TOC
columnsets (see manual columns.pdf from PRAGMA) to
typeset my newsletter. I am using a 3 column layout and want a column
containing the Table of Contents on the right side (3rd column).
\definecolumnset[example][n=3]
\setupcolumnsetlines[example][1][3][-50] % From Page 1, Column 3
driven (yet)
OK.
* balancing: only manually by setting:
\setupcolumnsetlines[columnset_id][columnset_page][column][line]
! Not so painful if it not occures next: If there are many
floats near balancing place they sometimes disappear or cause ignoring
balancing - even if they can fit
-cont contains my local settings, abbreviations and
some macro patches related to current instalation; vg05-general contains
Czech hyphenation exceptions and balancing definitions like:
\setupcolumnsetlines[Rok-2][4][1][45]
\setupcolumnsetlines[Rok-2][4][2][45]
). In closer view you will find
possible, so remind me when you need it again
(\OTRSETprepareforcolumnslot permits log/middle/high handling but it's
not keyword driven (yet)
* balancing: only manually by setting:
\setupcolumnsetlines[columnset_id][columnset_page][column][line]
! Not so painful if it not occures next
}]
for bottom float \placeongrid[{broad,low}]
to be vertically align with text on the rest of column(s)
* balancing: only manually by setting:
\setupcolumnsetlines[columnset_id][columnset_page][column][line]
! Not so painful if it not occures next: If there are many
floats near
+ floats insertion with specifying place
? for top float: automatically setting \placeongrid[{broad,high}]
for bottom float \placeongrid[{broad,low}]
to be vertically align with text on the rest of column(s)
* balancing: only manually by setting:
\setupcolumnsetlines
]
\showgrid
\definecolumnset[A][n=2,balance=yes]
\setupcolumnsetlines[A][1][1][21]
\setupcolumnsetlines[A][1][2][21]
\definecolumnset[B][n=2,balance=yes]
\starttext
\startcolumnset[A]
\section{Knuth}
\dorecurse{2}{\input knuth \endgraf}
\stopcolumnset
\placeongrid{\hairline}
\startcolumnset[B
,balance=yes]
\setupcolumnsetlines[A][1][1][21]
\setupcolumnsetlines[A][1][2][21]
\definecolumnset[B][n=2,balance=yes]
\starttext
\startcolumnset[A]
\section{Knuth}
\dorecurse{2}{\input knuth \endgraf}
\stopcolumnset
\placeongrid{\hairline}
\startcolumnset[B]
\section{Zapf}
\dorecurse{1
\definecolumnset[A][n=2,balance=yes]
\setupcolumnsetlines[A][1][1][21]
\setupcolumnsetlines[A][1][2][21]
\definecolumnset[B][n=2,balance=yes]
\starttext
\startcolumnset[A]
\section{Knuth}
\dorecurse{2}{\input knuth \endgraf}
\stopcolumnset
\placeongrid{\hairline}
\startcolumnset[B
} \stopcolumnset
\startcolumnset [test-2] \dorecurse {2}{\input ward \par} \stopcolumnset
\page
\setupcolumnset [test-1] [balance=yes]
\setupcolumnset [test-2] [balance=top]
\setupcolumnsetlines[test-1][1][1] [8]
\setupcolumnsetlines[test-1][1][2][10]
\startcolumnset [test-1] \dorecurse {1}{\input
this with columnsets?
well, it involves some manual tweaking (numbers and such) and is not yet
100% ok
the next code shows a bit of balancing and columnstart/height manipulations
\starttext
\showgrid
\definecolumnset [two] [n=2,balance=top]
\definecolumnset [three] [n=3,balance=top]
\setupcolumnsetlines[two][1
=yes]
\setupcolumnsetlines[test-1][1][1] [8]
\setupcolumnsetlines[test-1][1][2][10]
\startcolumnset [test-1] \dorecurse {1}{\input tufte \par} \stopcolumnset
\startcolumnset [test-2] \dorecurse {2}{\input ward \par} \stopcolumnset
\page
\setupcolumnsetlines[test-1][1][1] [8]
\setupcolumnsetlines
columnset part):
\setupcolumnsetlines[whatever][2][1][3]
\setupcolumnsetlines[whatever][2][2][5]
\setupcolumnsetlines[whatever][2][3][10]
[page in sequence] [column] [lines]
Hans
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman
58 matches
Mail list logo