ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Troubles with columnsets and MacTeX 2009
@ 2009-11-15 19:19 No?
  2009-11-29 10:26 ` Mojca Miklavec
  0 siblings, 1 reply; 4+ messages in thread
From: No? @ 2009-11-15 19:19 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 7328 bytes --]

Hi,

I've been having issues with columns and \start(stop)bodymatter statements
since I updated MacTeX to 2009.

Here is a sample of code which works fine on MacTeX 2008 (tlmgr update'ed)
version, and which crashes on MacTeX 2009.

In both cases, the code was compiled using TeXShop in "ConTeXT" mode. This
was tested on another Mac and the results are the same.

Note that if you comment out the \start(stop)bodymatter statements in the
TeX code, it actually compiles, but the text is missing (that is, only the
titles of the sections show up in the PDF!).

In the end:
# Scenario 1: MacTeX 2008: everything is fine
# Scenario 2: MacTeX 2008, *bodymatter statements commented out: everything
is fine
# Scenario 3: MacTeX 2009: code won't compile. Error message listed below
# Scenario 4: MacTeX 2009, *bodymatter statements commented out: compilation
OK, but no text in the PDF except for the section titles

I am running Snow Leopard, and I have been using MacTeX for ages, and up to
now, everything was fine with ConTeXT.

I would really appreciate help! I hope the information I included is
sufficient.

Thank you very much!
Nauhaie

### TeX code ###

\useencoding[ffr]
\mainlanguage[fr]
\enableregime[utf-8]

\definecolumnset[deuxcolonnes][n=2,balance=yes,distance=26pt]
\starttext

\startbodymatter


\startcolumnset[deuxcolonnes]

\section{Introduction}

The text here. The text here. The text here. The text here. The text here.
The text here. The text here. The text here. The text here. The text here.
The text here. The text here.

The text here. The text here. The text here. The text here. The text here.
The text here. The text here. The text here. The text here. The text here.
The text here. The text here.

\stopcolumnset

\section{Annexes}

\startcolumnset[deuxcolonnes]

The text here. The text here. The text here. The text here. The text here.
The text here. The text here. The text here. The text here. The text here.
The text here. The text here.

The text here. The text here. The text here. The text here. The text here.
The text here. The text here. The text here. The text here. The text here.
The text here. The text here.

\stopcolumnset

\stopbodymatter
\stoptext


### Error returned with MacTeX 2009 ###

MTXrun | kpse fallback with progname 'context' initialized in 0.13 seconds
TeXExec | processing document 'rapport_spectroscopie_optique.tex'
TeXExec | no ctx file found
TeXExec | tex processing method: context
TeXExec | TeX run 1
TeXExec | writing option file rapport_spectroscopie_optique.top
TeXExec | using randomseed 96
TeXExec | tex engine: pdftex
TeXExec | tex format: cont-en
This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009)
 (/usr/local/texlive/2009/texmf/web2c/natural.tcx)
entering extended mode
(./rapport_spectroscopie_optique.tex

ConTeXt  ver: 2009.08.19 17:10 MKII  fmt: 2009.11.13  int: english/english

system          : cont-new loaded
(/usr/local/texlive/2009/texmf-dist/tex/context/base/cont-new.tex
systems         : beware: some patches loaded from cont-new.tex
(/usr/local/texlive/2009/texmf-dist/tex/context/base/cont-new.mkii))
system          : cont-fil loaded
(/usr/local/texlive/2009/texmf-dist/tex/context/base/cont-fil.tex
loading         : ConTeXt File Synonyms
)
system          : cont-sys loaded
(/usr/local/texlive/2009/texmf-config/tex/context/user/cont-sys.tex
(/usr/local/texlive/2009/texmf-dist/tex/context/base/type-tmf.tex
(/usr/local/texlive/2009/texmf-dist/tex/context/base/type-tmf.mkii))
(/usr/local/texlive/2009/texmf-dist/tex/context/base/type-siz.tex
(/usr/local/texlive/2009/texmf-dist/tex/context/base/type-siz.mkii))
(/usr/local/texlive/2009/texmf-dist/tex/context/base/type-one.tex
(/usr/local/texlive/2009/texmf-dist/tex/context/base/type-one.mkii)))
system          : rapport_spectroscopie_optique.top loaded
(./rapport_spectroscopie_optique.top)
bodyfont        : 12pt rm is loaded
language        : patterns nl->texnansi:texnansi->1->2:2 nl->ec:ec->2->2:2
us->
ec:ec->3->2:3 de->texnansi:texnansi->4->3:3 de->ec:ec->5->3:3
da->ec:ec->6->2:2
 sv->ec:ec->7->2:2 gb->ec:ec->8->2:2 fr->texnansi:texnansi->9->2:2
fr->ec:ec->1
0->2:2 es->ec:ec->11->2:2 ca->ec:ec->12->2:2 it->texnansi:texnansi->13->2:2
it-
>ec:ec->14->2:2 la->ec:ec->15->2:2 pt->texnansi:texnansi->16->2:2
pt->ec:ec->17
->2:2 ro->ec:ec->18->2:2 pl->pl0:pl0->19->2:2 pl->ec:ec->20->2:2
pl->qx:qx->21-
>2:2 cs->il2:il2->22->2:2 cs->ec:ec->23->2:2 sk->il2:il2->24->2:2
sk->ec:ec->25
->2:2 hr->ec:ec->26->2:2 sl->ec:ec->27->2:2 tr->ec:ec->28->2:2
agr->agr:agr->30
->2:2 fi->ec:ec->31->2:2 hu->ec:ec->32->2:2 ru->t2a:t2a->34->2:2
uk->t2a:t2a->3
5->3:3 loaded
specials        : dvips loaded
systems         : system commands are disabled
language        : language en is active
specials        : loading definition file tpd
(/usr/local/texlive/2009/texmf-dist/tex/context/base/spec-tpd.mkii
specials        : loading definition file fdf
(/usr/local/texlive/2009/texmf-dist/tex/context/base/spec-fdf.mkii))
encoding        : coding ffr is loaded
(/usr/local/texlive/2009/texmf-dist/tex/context/base/enco-ffr.mkii
system          : module tryout loaded
(/usr/local/texlive/2009/texmf-dist/tex/context/base/m-tryout.tex)
language        : language specific options [ec-fr] seamless appended
language        : language specific options [ec-fr] seamless appended
) (./rapport_spectroscopie_optique.tuo
system          : new version of utility file, second pass needed
) (./rapport_spectroscopie_optique.tuo)
(./rapport_spectroscopie_optique.tuo)
(./rapport_spectroscopie_optique.tuo) (./rapport_spectroscopie_optique.tuo)
(./rapport_spectroscopie_optique.tuo) (./rapport_spectroscopie_optique.tuo)
(./rapport_spectroscopie_optique.tuo) (./rapport_spectroscopie_optique.tuo)
(./rapport_spectroscopie_optique.tuo) (./rapport_spectroscopie_optique.tuo)
(./rapport_spectroscopie_optique.tuo)
systems         : begin file rapport_spectroscopie_optique at line 6
structure       : begin of sectionblock bodymatter
section         : 1 Introduction
section         : 2 Annexes
structure       : end of sectionblock bodymatter
fonts           : resetting map file list
{/usr/local/texlive/2009/texmf-dist/fonts/map/pdftex/context/original-empty.map
}
fonts           : using map file: original-base
{/usr/local/texlive/2009/texmf-dist/fonts/map/pdftex/context/original-base.map}
fonts           : using map file: original-ams-base
{/usr/local/texlive/2009/texmf-dist/fonts/map/pdftex/context/original-ams-base.
map}
fonts           : using map file: original-public-lm
{/usr/local/texlive/2009/texmf-dist/fonts/map/pdftex/context/original-public-lm
.map}
fonts           : using map file: lm-ec
{/usr/local/texlive/2009/texmf-dist/fonts/map/dvips/lm/lm-ec.map}
fonts           : using map file: lm-math
{/usr/local/texlive/2009/texmf-dist/fonts/map/dvips/lm/lm-math.map}
fonts           : using map file: lm-rm
{/usr/local/texlive/2009/texmf-dist/fonts/map/dvips/lm/lm-rm.map}
fonts           : using map file: original-ams-euler
{/usr/local/texlive/2009/texmf-dist/fonts/map/pdftex/context/original-ams-euler
.map} (/usr/local/texlive/2009/texmf-dist/tex/context/base/sort-def.mkii)
(/usr/local/texlive/2009/texmf-dist/tex/context/base/sort-lan.mkii) [1.1]
! Missing } inserted.
<inserted text>
                }
<to be read again>
                   \endgroup
l.31 \stopbodymatter

?

[-- Attachment #1.2: Type: text/html, Size: 9518 bytes --]

[-- Attachment #2: Type: text/plain, Size: 486 bytes --]

___________________________________________________________________________________
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/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Troubles with columnsets and MacTeX 2009
  2009-11-15 19:19 Troubles with columnsets and MacTeX 2009 No?
@ 2009-11-29 10:26 ` Mojca Miklavec
  2009-11-29 12:48   ` Hans Hagen
  2009-11-29 14:20   ` Hans Hagen
  0 siblings, 2 replies; 4+ messages in thread
From: Mojca Miklavec @ 2009-11-29 10:26 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Sun, Nov 15, 2009 at 20:19, No? wrote:
> Hi,
> I've been having issues with columns and \start(stop)bodymatter statements
> since I updated MacTeX to 2009.
> Here is a sample of code which works fine on MacTeX 2008 (tlmgr update'ed)
> version, and which crashes on MacTeX 2009.

Here's a simplified example that doesn't work with the latest ConTeXt
version either. It seems like bug in "balance=yes" inside columnsets
(might be just a missing \egroup) that only affects mkii (mkiv works
fine, but not on TL 2009 :)

\definecolumnset
	[deuxcolonnes]
	[balance=yes]

\starttext
%\startbodymatter

\startcolumnset[deuxcolonnes]
\input tufte
\stopcolumnset

%\stopbodymatter
\stoptext

I leave it as an exercise to the others to spot the missing delimiter
in mkii sources.

Mojca
___________________________________________________________________________________
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/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Troubles with columnsets and MacTeX 2009
  2009-11-29 10:26 ` Mojca Miklavec
@ 2009-11-29 12:48   ` Hans Hagen
  2009-11-29 14:20   ` Hans Hagen
  1 sibling, 0 replies; 4+ messages in thread
From: Hans Hagen @ 2009-11-29 12:48 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Mojca Miklavec wrote:
> On Sun, Nov 15, 2009 at 20:19, No? wrote:
>> Hi,
>> I've been having issues with columns and \start(stop)bodymatter statements
>> since I updated MacTeX to 2009.
>> Here is a sample of code which works fine on MacTeX 2008 (tlmgr update'ed)
>> version, and which crashes on MacTeX 2009.
> 
> Here's a simplified example that doesn't work with the latest ConTeXt
> version either. It seems like bug in "balance=yes" inside columnsets
> (might be just a missing \egroup) that only affects mkii (mkiv works
> fine, but not on TL 2009 :)
> 
> \definecolumnset
> 	[deuxcolonnes]
> 	[balance=yes]
> 
> \starttext
> %\startbodymatter
> 
> \startcolumnset[deuxcolonnes]
> \input tufte
> \stopcolumnset
> 
> %\stopbodymatter
> \stoptext
> 
> I leave it as an exercise to the others to spot the missing delimiter
> in mkii sources.

balancing in columnsets does not work anyway


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Troubles with columnsets and MacTeX 2009
  2009-11-29 10:26 ` Mojca Miklavec
  2009-11-29 12:48   ` Hans Hagen
@ 2009-11-29 14:20   ` Hans Hagen
  1 sibling, 0 replies; 4+ messages in thread
From: Hans Hagen @ 2009-11-29 14:20 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Mojca Miklavec wrote:
> On Sun, Nov 15, 2009 at 20:19, No? wrote:
>> Hi,
>> I've been having issues with columns and \start(stop)bodymatter statements
>> since I updated MacTeX to 2009.
>> Here is a sample of code which works fine on MacTeX 2008 (tlmgr update'ed)
>> version, and which crashes on MacTeX 2009.
> 
> Here's a simplified example that doesn't work with the latest ConTeXt
> version either. It seems like bug in "balance=yes" inside columnsets
> (might be just a missing \egroup) that only affects mkii (mkiv works
> fine, but not on TL 2009 :)
> 
> \definecolumnset
> 	[deuxcolonnes]
> 	[balance=yes]
> 
> \starttext
> %\startbodymatter
> 
> \startcolumnset[deuxcolonnes]
> \input tufte
> \stopcolumnset
> 
> %\stopbodymatter
> \stoptext
> 
> I leave it as an exercise to the others to spot the missing delimiter
> in mkii sources.

ok, i figured it out

- when i split the code in mkii and mkiv i merged page-new.tex into 
page-set without noticing that the balancing code was just experimental 
and not even working currently

- so, the balancing code in page-set is just a hook

- in mkiv i had actually nilled the code so no error there

we can do some manual balancing, like:


\setupcolumnset [test-1] [balance=yes]
\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



-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-11-29 14:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-15 19:19 Troubles with columnsets and MacTeX 2009 No?
2009-11-29 10:26 ` Mojca Miklavec
2009-11-29 12:48   ` Hans Hagen
2009-11-29 14:20   ` Hans Hagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).