TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to typeset (with XeLaTeX) a simple Tufte-LaTeX example (http://tufte-latex.googlecode.com/files/Week5Lecture.tex) and getting an error message like the following:

/usr/local/texlive/2011/texmf-dist/tex/latex/amsmath/amsmath.sty:2496: LaTeX Er
ror: Unable to properly define \@@eqno; primitive \eqno no longer primitive.

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

l.2496 \@saveprimitive\eqno\@@eqno

Is it obvious to an expert what the problem might be? Or should I supply more information?

Edit: The minimum nonworking example is:


The [bidi] is significant, I suspect this means bidirectional and provides support for right to left Hebrew.

share|improve this question

closed as not constructive by egreg, Marco Daniel, percusse, yo', Claudio Fiandrino Aug 28 '12 at 7:03

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.If this question can be reworded to fit the rules in the help center, please edit the question.

Welcome to TeX.SX! Some more information in the form of a MWE or, in this case, a minimal non working example would be handy for studying the question. – egreg May 9 '12 at 14:48
There are also many other errors, which are caused by loading bidi too early. It's a bug in tufte-common.def, I believe. – egreg May 9 '12 at 15:00
Oh well, I don't think I need bidi anyway. Thanks! – Kurt May 9 '12 at 15:03
And I don't need amsmath either. – Kurt May 9 '12 at 15:30
up vote 5 down vote accepted

The tufte-common.def file does many wrong things about package loading when XeLaTeX and the [bidi] option are used.

The bidi package should be loaded last, while the file providing common structure to the tufte classes does it in a wrong way.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.