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

Minimum example in LaTeXit text mode

\begin{equation} \label{1} 

Explain how to get \eqref{1} to typeset as (1) rather than (??) and you've solved my problem

I tend to misuse LaTeXit to typeset page-long documents on my mac, the code of which are collected into large proper documents down the line. I would like equation references within these page long previews to appear properly, not appear as "(??)". I figure all you need to do is somehow get LateXit to rerun LateX in the same directory in which it creates the aux file, but with all the Linux based directory shifting LaTeXit does, I lack the nous to make the necessary incision into the code. Interpage references are more rare, so I can live without those, but intrapage references are too common to leave as improperly formatted. Can anyone help me out? Cheers:)

share|improve this question
Welcome to TeX.SX. – Claudio Fiandrino Feb 26 '13 at 9:15
Would be happy too! My problem is I don't know how to compile twice in LaTeXit. Clicking LaTeXit twice doesn't work because the LaTeXit code spits the auxiliary files into temporary directories or something. – Tom Feb 26 '13 at 22:36
In my opinion LaTeXiT is not intended to do so. You just should compile the equations or expressions, not full documents. – Manuel Feb 26 '13 at 22:48
Couldn't agree more @Manuel. But it's really useful to me in a purpose that it wasn't intended for (aware of this I did say in my question 'I tend to misuse LaTeXit...'). If this isn't the place for this kind of question I can move my query to different forum if you think that's more appropriate? – Tom Feb 27 '13 at 2:46
@Tom The question is appropriate here. LaTeXit is a TeX related tool, even if you want to misuse it. :) I tried using arara as the compilation script but that didn't seem to work either. – Alan Munn Feb 27 '13 at 3:26

LaTeXit is intended for typesetting individual equations then using the output in other non-TeX programs. As such, cross-refs and the like are 'outside of scope' for it. Things like cross-refs need a 'full' TeX system: for example you could use the standalone package to generate PDF files for insertion.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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