I'm wondering if anyone else is having problems running LaTeX from Textmate. I am geting curious errors regarding multiply-defined tables and equations, despite the fact that all tables and equations were confirmed not to be multiply defined. Note that running LaTeX from TexShop results in a successful build. I am using the same version of LaTeX for each.
Thanks, C.
I haven't had any problems so far. Can you give us an example of the offending code / a test case? On Oct 18, 2005, at 8:42 PM, Chris Fonnesbeck wrote:
I'm wondering if anyone else is having problems running LaTeX from Textmate. I am geting curious errors regarding multiply-defined tables and equations, despite the fact that all tables and equations were confirmed not to be multiply defined. Note that running LaTeX from TexShop results in a successful build. I am using the same version of LaTeX for each.
Thanks, C.
On 10/19/05, Charilaos Skiadas cskiadas@uchicago.edu wrote:
I haven't had any problems so far. Can you give us an example of the offending code / a test case?
Well, its a long manuscript, so I dont want to send it all, but I get the following errors:
LaTeX Warning: Label `tab:estimates' multiply defined.
LaTeX Warning: Label `tab:estimates' multiply defined.
LaTeX Warning: Label `tab:sim_results' multiply defined.
./14Oct05_fonnesbeck.tex:266: pdfTeX warning (ext4): destination with the same identifier (name{equation.17}) has been already used, duplicate ignored
./14Oct05_fonnesbeck.tex:266: pdfTeX warning (ext4): destination with the same identifier (name{equation.17}) has been already used, duplicate ignored
Including: allmod.jpg LaTeX Warning: Float too large for page by 287.8033pt on input line 736.
Including: S_resid.jpg LaTeX Warning: Float too large for page by 287.8033pt on input line 743.
LaTeX Warning: There were undefined references.
LaTeX Warning: There were multiply-defined labels.
Output written on 14Oct05_fonnesbeck.pdf (25 pages, 491438 bytes). 14Oct05_fonnesbeck.log
Found 2 errors, and 7 warnings in 0 runs
Yet, all the tables are uniquely named, such as:
\begin{longtable}{lcccccl} \caption{Estimates of demographic parameters for model $I_s$ for American black ducks in Canada, 1991-2003} \label{tab:estimates} \ \hline \bf Parameter & \bf Sex & \bf Age & \bf Year & \bf mean & \bf q025 & \bf q975 \ \hline \endhead Age ratio ($A_t$) & & & 1991 & 1.157431 & 0.930915 & 1.493831 \
& & & 1992 & 0.726623 & 0.585997 & 0.911771 \
& & & 1993 & 1.065012 & 0.860516 & 1.343519 \
etc ...
The headers of the LaTeX file are as follows:
\documentclass[12pt]{article} \usepackage{longtable,lscape} \usepackage{graphicx} \usepackage{amssymb} \usepackage{natbib} \usepackage{amsmath} \usepackage{setspace} \usepackage[colorlinks=true]{hyperref}
\def\inputGnumericTable{}
\usepackage[latin1]{inputenc} \usepackage{array} %\usepackage{calc} \usepackage{multirow} \usepackage{hhline} \usepackage{ifthen} \usepackage{rotating}
Not sure what could be causing the errors, given that all the tables have unique names.
C.
On Oct 19, 2005, at 11:37 AM, Chris Fonnesbeck wrote:
On 10/19/05, Charilaos Skiadas cskiadas@uchicago.edu wrote:
I haven't had any problems so far. Can you give us an example of the offending code / a test case?
Well, its a long manuscript, so I dont want to send it all, but I get the following errors:
This seems to me to be a problem with latex itself, not TM. TM just runs the command line latex, ASAIK. You are saying the exact same file, when ran from TexShop, goes through fine? What if you compile from the command line?
Searching for "latex multiply defined labels" found this bug: http://www.latex-project.org/cgi-bin/ltxbugs2html?pr=latex/2615& which has to do with longtables, which I see you are using. Maybe this is what's causing your problems?
LaTeX Warning: Label `tab:estimates' multiply defined.
LaTeX Warning: Label `tab:estimates' multiply defined.
LaTeX Warning: Label `tab:sim_results' multiply defined.
LaTeX Warning: There were undefined references.
LaTeX Warning: There were multiply-defined labels.
Yet, all the tables are uniquely named, such as:
\begin{longtable}{lcccccl} \caption{Estimates of demographic parameters for model $I_s$ for American black ducks in Canada, 1991-2003} \label{tab:estimates} \ \hline \bf Parameter & \bf Sex & \bf Age & \bf Year & \bf mean & \bf q025 & \bf q975 \ \hline \endhead Age ratio ($A_t$) & & & 1991 & 1.157431 & 0.930915 & 1.493831 \
& & & 1992 & 0.726623 &
0.585997 & 0.911771 \
& & & 1993 & 1.065012 &
0.860516 & 1.343519 \
etc ...
Haris
On 10/19/05, Charilaos Skiadas cskiadas@uchicago.edu wrote:
On Oct 19, 2005, at 11:37 AM, Chris Fonnesbeck wrote:
On 10/19/05, Charilaos Skiadas cskiadas@uchicago.edu wrote:
I haven't had any problems so far. Can you give us an example of the offending code / a test case?
Well, its a long manuscript, so I dont want to send it all, but I get the following errors:
This seems to me to be a problem with latex itself, not TM. TM just runs the command line latex, ASAIK. You are saying the exact same file, when ran from TexShop, goes through fine? What if you compile from the command line?
Searching for "latex multiply defined labels" found this bug: http://www.latex-project.org/cgi-bin/ltxbugs2html?pr=latex/2615& which has to do with longtables, which I see you are using. Maybe this is what's causing your problems?
Could be ... thanks. What struck me as odd was that TexShop, using the same LaTeX, compiled the document correctly. I thought that maybe there was an extra/missing command line argument that one or the other was using.
Thanks, C.
According to Chris Fonnesbeck:
I'm wondering if anyone else is having problems running LaTeX from Textmate. I am geting curious errors regarding multiply-defined tables and equations, despite the fact that all tables and equations were
No problem at all running LaTeX from the teTeX 3.0 (i-Installer).