Columnset error is gone in 2.16 beta -- Thanks, Hans.
But there still seems to be a problem in the output routine:
if I place a font switch like \bf or \ss at the beginning of a
paragraph that falls in the first column of my columnset, that column
is suppressed and only the second column is typeset.
If the switch is in the second column, both columns are output, but
there is extra vertical space at the beginning of the first column.
%%------------------------- START -----------------------------%%
\definecolumnset[body][n=2]
\setupbodyfont[10pt]
\starttext
\showframe
\startcolumnset[body]
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus
scelerisque sapien in tellus mattis sodales. Sed condimentum, arcu sit
amet condimentum adipiscing, eros justo condimentum odio, et dapibus
nisl dolor nec urna. Maecenas ut orci dolor. Fusce non nisl
dolor. Pellentesque non nunc metus, in vehicula nibh. Sed quis tortor
purus. Proin hendrerit posuere nunc, in gravida libero semper
ac. Donec aliquam lorem {\bf non sapien pellentesque volutpat sed ut
mauris. Nulla felis odio, consequat at interdum id, aliquet dictum
lacus. Praesent cursus eros at eros dictum porta. In hendrerit diam
sodales tellus porttitor sit amet fringilla orci posuere. Nunc et ante
eget massa feugiat iaculis eu id nisi.} Ut ac risus sit amet diam
tempor mattis eget sit amet felis. Vestibulum ligula nunc, elementum
ut tincidunt sed, {\ss commodo at dui}.
%\column % TEST: FORCE COLUMN BREAK
%\dorecurse{4}{\input tufte\par} % TEST: PUSH NEXT PARAGRAPH TO SECOND COLUMN
\ss \input tufte\par
\stopcolumnset
\stoptext
%%-----------------------STOP----------------------------%%
On Wed, Feb 15, 2012 at 9:52 AM, Peter Park Nelson
Hans, it still does not work. BTW, is it possible to revert the Context standalone installation to an earlier beta (without going all the way back to the last stable)?
Error below:
(K2.tex
ConTeXt ver: 2012.02.08 21:58 MKIV fmt: 2012.2.15 int: english/english
system > cont-new.mkiv loaded (/home/peter/contextbeta/tex/texmf-context/tex/context/base/cont-new.mkiv system > beware: some patches loaded from cont-new.mkiv ) system > K2.top loaded
system > options > start used options
used options > % runtime options files (command line driven) used options > \unprotect used options > % feedback and basic job control used options > % handy for special styles used options > \startluacode used options > document = document or { } used options > document.arguments={ used options > } used options > document.files={ used options > "K2.tex", used options > } used options > \stopluacode used options > % process info used options > \setupsystem[inputfile=K2.tex] used options > \setupsystem[\c!n=1,\c!m=1] used options > % modes used options > % options (not that important) used options > \startsetups *runtime:options used options > \stopsetups used options > % styles and modules used options > \startsetups *runtime:modules used options > \stopsetups used options > % done used options > \protect \endinput
system > options > stop used options
(K2.top) fonts > latin modern fonts are not preloaded languages > language en is active {/home/peter/contextbeta/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map} fonts > preloading latin modern fonts (second stage) fonts > typescripts > unknown: library 'loc' {/home/peter/contextbeta/tex/texmf/fonts/map/dvips/lm/lm-math.map}{/home/peter/contextbeta/tex/texmf/fonts/map/dvips/lm/lm-rm.map} fonts > virtual math > unable to resolve name mapsfromchar fonts > fallback modern rm 12pt is loaded ! Undefined control sequence.
system > tex > error on line 6 in file K2.tex: Undefined control sequence ...
1 2 \definecolumnset[body][n=2] 3 4 \starttext 5 \startcolumnset[body] 6 >> \input tufte\par 7 \stopcolumnset 8 9 \stoptext
\154>columnset:page_otr_command_routine ...outine
\page_otr_commands_process ...outineparameter {#1} }\ifx \page_otr_specifics_... <inserted text> ...cess {page_otr_command_routine} \page_otr_commands_process... <inserted text> ...eset \the \t_page_otr_commands \let \page_otr_commands_pr... \setup_outputroutine ...\everyswitchoutputroutine \fi \else \let \previousou... <to be read again> \doifelsenothing ... l.6 \input tufte\par ? ! Interruption.
system > tex > error on line 6 in file K2.tex: Interruption ...
1 2 \definecolumnset[body][n=2] 3 4 \starttext 5 \startcolumnset[body] 6 >> \input tufte\par 7 \stopcolumnset 8 9 \stoptext
\page_otr_commands_process ...outineparameter {#1} }\ifx \page_otr_specifics_... <inserted text> ...cess {page_otr_command_routine} \page_otr_commands_process... <inserted text> ...eset \the \t_page_otr_commands \let \page_otr_commands_pr... \setup_outputroutine ...\everyswitchoutputroutine \fi \else \let \previousou... <to be read again> \doifelsenothing \dostartcolumnset ...!columnset ]\doifelsenothing {#1} {\globallet \OTRSETli... ... l.6 \input tufte\par ? ! Emergency stop.
system > tex > error on line 6 in file K2.tex: Emergency stop ...
1 2 \definecolumnset[body][n=2] 3 4 \starttext 5 \startcolumnset[body] 6 >> \input tufte\par 7 \stopcolumnset 8 9 \stoptext
\page_otr_commands_process ...outineparameter {#1} }\ifx \page_otr_specifics_... <inserted text> ...cess {page_otr_command_routine} \page_otr_commands_process... <inserted text> ...eset \the \t_page_otr_commands \let \page_otr_commands_pr... \setup_outputroutine ...\everyswitchoutputroutine \fi \else \let \previousou... <to be read again> \doifelsenothing \dostartcolumnset ...!columnset ]\doifelsenothing {#1} {\globallet \OTRSETli... ... l.6 \input tufte\par End of file on the terminal!
! ==> Fatal error occurred, no output PDF file produced!
On Wed, Feb 15, 2012 at 3:40 AM, Hans Hagen
wrote: On 15-2-2012 06:56, Peter Park Nelson wrote:
Updated to Feb. 8 beta, now none of my documents with columnsets will compile. Without the columnset, the example below works fine:
\definecolumnset[body][n=2] \starttext \startcolumnset[body] \input tufte\par \stopcolumnset \stoptext
you can try the following patch in page-set.mkiv
\page_otr_set_routine -> \page_otr_set_command_routine
\s!page_otr_command_set_hsize=\page_one_command_set_hsize,
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
-- Peter Park Nelson peter.park.nelson@gmail.com
-- Peter Park Nelson peter.park.nelson@gmail.com