# [tex-live] Illegal parameter number in definition of \@preamblecmds

Sun Oct 4 13:35:11 CEST 2009

Narrowed it down.  Not really sure which was causing the \@preamblecmds,
but I figured out the conflict (or at least one of them).  Below are two
examples.  Both compile.... but the second one has some random garbage
output at the top of the PDF (using pdflatex.. not sure about others).
It has a bunch of what appear to be settings.....

Working....
<code>
%% Document Class
\documentclass[12pt,english]{article}

\usepackage{floatrow}
\usepackage{float}

\usepackage[varioref=false]{chemstyle}

%% Document
\begin{document}
test
\end{document}
<code>

Not Working....
<code>
%% Document Class
\documentclass[12pt,english]{article}

\usepackage{float}
\usepackage{floatrow}

\usepackage[varioref=false]{chemstyle}

%% Document
\begin{document}
test
\end{document}
</code>

-Eric

Zdenek Wagner wrote:
> 2009/10/2 Eric Faden <efaden at brynmawr.edu>:
>
>> I just updated to Tex Live 2009 - Using Mac Pretest.... since then I am now
>> getting the following error....
>>
>> "Illegal parameter number in definition of \@preamblecmds"
>>
>>
> Something conflicts in a bad way with the LaTeX kernel. You should
> make a minimum file demonstrating that problem, otherwise nobody can
> help.
>
>
>> I think it has something to do with mhchem, rotfloat, float, and/or
>> floatrow... not sure where to go from here?  Any ideas what this could be?
>>
>> -Eric
>>
>>
>
>
>
>