So I finally got everything working after having to add several packages I never thought I'd have to. Live preview shows a perfect manuscript, but for some reason, when I go to export, I get this error:

/usr/local/texlive/2012/texmf-dist/tex/latex/chemstyle/chemstyle.sty:441: LaTeX Error: Command \c@scheme already defined.
           Or name \end... illegal, see p.192 of the manual.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.

l.441 ...\@nameuse{cst@float@make@\cst@float@pkg}}

When I click on the link (I'm using LaTeXian) it brings me to the chemstyle.sty file, highlighting this line of code:


I'm not sure what to do, as I don't want to ruin the .sty file.

Here's also a typical scheme formatting:



\caption{Proposed mechanism of photochemical cyclization}

Here is my document header:

\documentclass[super,compress]{proposalnsf} %super=superscript citations, compress=compressed citations
\usepackage{chemnum,chemstyle} %chemnum,

\DeclareFontShape{OT1}{psyr}{m}{n}{<-> psyr}{}

%Chemical Equation Formatting



%changing the equation tag appereance when amsmath has been loaded




%figure counting rules

% this handles hanging indents for publications


Any help is much appreciated.

closed as too localized by clemens, barbara beeton, Mensch, Paul Gaborit, Werner Dec 5 '12 at 22:35

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center. If this question can be reworded to fit the rules in the help center, please edit the question.

  • A few remarks: I believe you should use \centering inside the {scheme} environment instead of adding an additional {center} environment. chemstyle loads chemscheme (=no need to load it explicitly). Your use of \schemeref suggests you use chemcompounds (loaded by chemstyle) for the compound numbering. Why do you load chemnum, too? – clemens Dec 4 '12 at 20:08
  • You need to load chemscheme after chemstyle if you want to load it explicitly (then the error should disappear). – clemens Dec 4 '12 at 20:15
  • 1
    Ah okay, there is my error. I just got rid of the explicit call for chemscheme and everything is resolved. – Nucleophilicrxn Dec 4 '12 at 20:31
  • 1
    @Nucleophilicrxn In that case, probably 'too localized' a question – Joseph Wright Dec 4 '12 at 20:40