Tell me more ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Minimum example in LaTeXit text mode

\begin{equation} \label{1} 
x^2 
\end{equation} 
\eqref{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
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 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 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 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 at 3:26
show 1 more comment

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.