relevant parts):
\setuphead[chapter]
[before={\blank[none, preference]\testcolumn[5]},
after={\blank[none, samepage]}]
Well, the problem is that only the Greek text appears at the end of the
first page (no translation is shown at the end of the first or second
page), and all
llel][R][2]
\startsetups balance:example
\balancetopskip\strutht
\balancebottomskip \strutdp
\stopsetups
\setuphead
[chapter]
[before=\blank[2*line]\testcolumn[5],
after=\blank[line,samepage],
page=]
\setuppagenumbering
[alternative=doublesided]
\starttext
section (to add \testcolumn, \blank
etc. to work around no.2). Is there any?
(2)
Page/column breaking is odd in that the preferred breaking point seems to be
one entry too early, i.e. the last entry of one letter end up in the next
column and the previous column is one line too short.
It
}{ \setupinitial[location=text, n=4] \placeinitial \input{ward}
\setupinitial[location=text, n=6] \placeinitial \input{knuth} }
\stopmixedcolumns
\stoptext
Admitedly this example has lots of lettrines. I added some \testcolumn to fix
that, but now some columns are not balanced (page 3)
\starttext
Dear all,
I am using \starthanging to implement dropcaps (with small pdf files). I use
this Inside mixedcolumns (2 columns).
I’d like to know if there is a better way than \testcolumn[N], N being the
number of lines of the dropcap, to prevent the location of dropcap being cut
between end
and{#1}%
>\endgroup
>\blank[\v!samepage]%
>\registerparameter\c!after
>\par
>\nobreak}
>
> That (2) case can be fixed by a small change:
> \testcolumn[3]\registerparameter\c!command{#1}%
>
> But when tested on this MWE, you can see a drawback - t
nge.com/questions/185059/preventing-page-break-after-th
e-first-or-before-the-last-list-item
That solution with \pagecheck looks promising, but it has to be implemented
on ConTeXt/Lua side. It requires adding 'checking' commands to proper
places.
Only ConTeXt knows the item tree, it can cou
Dear All,
the following MWE works fine, but when that 'First line' is uncommented, I
am getting 'Undefined control sequence' error in the console (ConTeXt -
2014.06.22).
\starttext
\startcolumns[n=2]
%First Line
\testcolumn[2]\input{tufte}
\stopcolumns
\stoptext
Any ide
a}#1%
{\registerparameter\c!before
% bugged, why does leftskip gets set:
\vskip\lineheight\goodbreak\vskip-\lineheight
\begingroup
\useregisterstyleandcolor\c!style\c!color
\dontleavehmode
\strut
\iflocation
\dosetdirectpagereference{\currentregister:\v!section:#1}%
\fi
Hi,
The second page of the following document has overlapping text in the
second column (this has been as minimal as I can get):
\setuphead[section][before={\testcolumn[4]},]
\starttext
\startmixedcolumns[align=right, balance=yes, grid=strut,]
\dorecurse{5}{
\startsection
\startitemize
----
\setuphead[section][before={\testcolumn[3]},]
\defineitemgroup[Instructions][inbetween={\blank[.25em]},]
\starttext
\startmixedcolumns[
align=right,
balance=yes,
grid=strut,
]
\dorecurse{5}{
\startsection[title={Section},]
\startInstructions
\item{Preheat the oven to 400°F}\i
On 12/3/2013 4:40 PM, Hans Hagen wrote:
> On 12/3/2013 3:10 PM, Lars Huttar wrote:
>> ...
>> Thanks again for your work on this.
>> We're continually reevaluating whether we can use the beta or need to
>> stick with the stable version. At the moment, it looks like we'll be
>> sticking with the stab
}{\input ward \par}
\testcolumn[10][-1pt] % 10 lines - 1pt slack
\dorecurse{2}{\input ward \par}
\stopmixedcolumns
\stoptext
Ok. It looks like the second parameter to \testcolumn is now required
(it didn't used to be).
i'll fix that
What does this slack value do? Does it mea
\dorecurse{4}{\input ward \par}
>
> \testcolumn[10][-1pt] % 10 lines - 1pt slack
>
> \dorecurse{2}{\input ward \par}
>
> \stopmixedcolumns
>
> \stoptext
Ok. It looks like the second parameter to \testcolumn is now required
(it didn't used to be).
What does this slack value
On 11/29/2013 12:26 PM, Lars Huttar (SIL gmail) wrote:
On 11/28/2013 1:34 PM, Hans Hagen wrote:
That macro was never meant for mixed columns. I made a variant that
works ok in mixed columns which will be in the next beta.
Excellent. I will give it a try.
I see a context-setup-win64 dated 201
On 11/28/2013 1:34 PM, Hans Hagen wrote:
>
> That macro was never meant for mixed columns. I made a variant that
> works ok in mixed columns which will be in the next beta.
>
Excellent. I will give it a try.
I see a context-setup-win64 dated 2013-11-28 19:45. Is that beta? I may
wait for the next
eason 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
e 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 ab
On 11/22/2013 11:37 PM, Lars Huttar wrote:
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,
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 \setupco
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
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
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 heading, we could prevent it b
- Avoid orphans: when starting a new section, if there's not enough room
left in the current column, do a column break before outputting the
section heading. I've tried \testcolumn[n], but it doesn't seem to work
right. What are the units of the argument to \testcolumn?
We also do
at the top
of a column and do a conditional \vskip based on that?(*)
- Avoid orphans: when starting a new section, if there's not enough room
left in the current column, do a column break before outputting the
section heading. I've tried \testcolumn[n], but it doesn't seem to work
ri
ce [4] but couldn't find information about \testpage.
>> Is there a corresponding command to conditionally produce a column break?
>>
>> Thanks,
>> Lars
>
> I just looked at the implementation of \testpage in base/page-ini.tex
> and found \testcolumn.
\testpage.
> Is there a corresponding command to conditionally produce a column break?
>
> Thanks,
> Lars
I just looked at the implementation of \testpage in base/page-ini.tex
and found \testcolumn.
I imagine that should be analogous to \testpage, but hesitate to rely on
an undocumente
>> 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 }
>>>>&
>>
>>>> \starttext
>>>> \section{first}
>>>> \dorecurse{80}{dummy }
>>>> \startcolumns
>>>> \externalfigure[dummy][width=\textwidth]
>>>> \input tufte
>>>> \column
>>>
>>>
lowing
>>> \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 }
>>> \startco
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
>
> \colu
t; \starttext
> \section{first}
> \dorecurse{80}{dummy }
> \startcolumns
> \externalfigure[dummy][width=\textwidth]
> \input tufte
> \column
\column[preference] or \testcolumn[0]
> \input tufte
> \
32 matches
Mail list logo