[NTG-context] Error: \rootfloatparameter has an extra }

2011-10-05 Thread zs
Hello,

trying to recompile older work with recent context, strange error appeared:
! Argument of \rootfloatparameter has an extra }.

I extracted minimal example, see below.

It seems, it has something to do with position of first image.
When the code is slightly changed (removing/adding x or image, font size 
change),
compilation runs well.
Similar error was reported few days ago 
(http://www.mail-archive.com/ntg-context@ntg.nl/msg58816.html), but the patch 
has no effect here.

--- minimal example compiled with context example.tex 

\starttext

\setupbodyfont[rm,13pt]


\subsection[]{x}

\startitemize[]
\item x
\item x
\item x
\stopitemize

\subsection{x}

x

x

x

x

x

\placefigure[][]{}{
\externalfigure[cow][width=\textwidth]
}

x

\placefigure[][]{}{%
\externalfigure[cow][]
}


\placefigure[][]{}{%
\externalfigure[cow][]
}

\placefigure[][]{}{%
\externalfigure[cow][]
}


\subsection[]{S}

x

x

\stoptext
___
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
___


Re: [NTG-context] Error: \rootfloatparameter has an extra }

2011-10-05 Thread luigi scarso
On Wed, Oct 5, 2011 at 12:33 PM, zs zstry...@physics.ujep.cz wrote:
 Hello,

 trying to recompile older work with recent context, strange error appeared:
 ! Argument of \rootfloatparameter has an extra }.

 I extracted minimal example, see below.

 It seems, it has something to do with position of first image.
 When the code is slightly changed (removing/adding x or image, font size 
 change),
 compilation runs well.
 Similar error was reported few days ago 
 (http://www.mail-archive.com/ntg-context@ntg.nl/msg58816.html), but the patch 
 has no effect here.

 --- minimal example compiled with context example.tex 

 \starttext

 \setupbodyfont[rm,13pt]


 \subsection[]{x}

 \startitemize[]
        \item x
        \item x
        \item x
 \stopitemize

 \subsection{x}

 x

 x

 x

 x

 x

 \placefigure[][]{}{
        \externalfigure[cow][width=\textwidth]
 }

 x

 \placefigure[][]{}{%
        \externalfigure[cow][]
 }


 \placefigure[][]{}{%
        \externalfigure[cow][]
 }

 \placefigure[][]{}{%
        \externalfigure[cow][]
 }


 \subsection[]{S}

 x

 x

 \stoptext

no error here with
MTXrun | current version: 2011.01.10 17:55


-- 
luigi
___
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
___

Re: [NTG-context] Error: \rootfloatparameter has an extra }

2011-10-05 Thread zs

 
 no error here with
 MTXrun | current version: 2011.01.10 17:55
 
 


...may be it is platform dependent, I'm running texmf-linux-64.

___
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
___


Re: [NTG-context] Error: \rootfloatparameter has an extra }

2011-10-05 Thread Wolfgang Schuster

Am 05.10.2011 um 12:33 schrieb zs:

 Hello,
 
 trying to recompile older work with recent context, strange error appeared:
 ! Argument of \rootfloatparameter has an extra }.
 
 I extracted minimal example, see below.
 
 It seems, it has something to do with position of first image.
 When the code is slightly changed (removing/adding x or image, font size 
 change),
 compilation runs well.
 Similar error was reported few days ago 
 (http://www.mail-archive.com/ntg-context@ntg.nl/msg58816.html), but the patch 
 has no effect here.

You have to regenerate the format (context --make en) after patching 
page-one.mkiv

Wolfgang
___
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
___


Re: [NTG-context] Error: \rootfloatparameter has an extra }

2011-10-05 Thread zs
On Wed, 5 Oct 2011 12:53:44 +0200
Wolfgang Schuster schuster.wolfg...@googlemail.com wrote:

 You have to regenerate the format (context --make en) after patching 
 page-one.mkiv
 
 Wolfgang


Thank you, that was it.

Can you please explain me (or point me at a document) what the regeneration of 
the format does, or actually what the format is? Why changing the file in the 
tree has no effect?

Zdenek
___
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
___


Re: [NTG-context] Error: \rootfloatparameter has an extra }

2011-10-05 Thread luigi scarso
On Wed, Oct 5, 2011 at 12:41 PM, luigi scarso luigi.sca...@gmail.com wrote:

 no error here with
 MTXrun | current version: 2011.01.10 17:55


 --
 luigi

sorry I mean
current version: 2011.10.03 12:59
(with patch from wolfgang)

-- 
luigi
___
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
___