Harris: Checked out revision 6378 -- the bundle, support, and plugins. I get the following for citation completion (opt-esc). The info you will see at the bottom is from the first entry in the bib file. I can post the preamble of the tex file if that would help. Özgür
/Library/Application Support/TextMate/Support/lib/LaTeXUtils.rb: 82:in /bin/bash: -c: line 1: unexpected EOF while looking for matching `'' /bin/bash: -c: line 3: syntax error: unexpected end of filemap' from /Library/Application Support/TextMate/Support/lib/LaTeXUtils.rb: 53:in /bin/bash: -c: line 1: unexpected EOF while looking for matching `'' /bin/bash: -c: line 3: syntax error: unexpected end of filecite_scan' from /Library/Application Support/TextMate/Support/lib/LaTeXUtils.rb: 168:in /bin/bash: -c: line 1: unexpected EOF while looking for matching `'' /bin/bash: -c: line 3: syntax error: unexpected end of filerecursive_scan' from /Library/Application Support/TextMate/Support/lib/LaTeXUtils.rb: 139:in /bin/bash: -c: line 1: unexpected EOF while looking for matching `'' /bin/bash: -c: line 3: syntax error: unexpected end of filerecursive_scan' from /Library/Application Support/TextMate/Support/lib/LaTeXUtils.rb: 138:in /bin/bash: -c: line 1: unexpected EOF while looking for matching `'' /bin/bash: -c: line 4: syntax error: unexpected end of filerecursive_scan' from /Library/Application Support/TextMate/Support/lib/LaTeXUtils.rb: 173:in /bin/bash: -c: line 1: unexpected EOF while looking for matching `'' /bin/bash: -c: line 3: syntax error: unexpected end of fileget_citations' from /tmp/temp_textmate.7uvsfX:7 Found citekey: Adanir2001aa Found key: Address Found contents: Boulder Found key: Author Found contents: Fikret Adanır Found key: Booktitle Found contents: Fascism Outside Europe Found key: Date-Modified Found contents: 2006-11-11 01:33:36 +0100 Found key: Editor Found contents: Stein Ulgevik Larsen Found key: Juratitle Found contents: Kemalist Authoritarianism and Fascist Trends in Turkey during the Interwar Period Found key: Pages Found contents: 313--61 Found key: Publisher Found contents: Social Science Monographs Found key: Title Found contents: Kemalist Authoritarianism and Fascist Trends in Turkey during the Interwar Period Found key: Year Found contents: 2001
-- Özgür Gökmen | og@pyromedia.org
Özgür, Helge,
this should be fixed now. The problem in Helge's case is that I was not expecting full paths in the bib file. Özgür if you still have problems let me know how the \bibliography{...} line says in your case. In any case, the error message should now be a bit clearer.
On Dec 21, 2006, at 9:05 PM, Özgür Gökmen wrote:
Harris: Checked out revision 6378 -- the bundle, support, and plugins. I get the following for citation completion (opt-esc). The info you will see at the bottom is from the first entry in the bib file. I can post the preamble of the tex file if that would help. Özgür
/Library/Application Support/TextMate/Support/lib/LaTeXUtils.rb: 82:in /bin/bash: -c: line 1: unexpected EOF while looking for matching `'' /bin/bash: -c: line 3: syntax error: unexpected end of filemap' from /Library/Application Support/TextMate/Support/lib/ LaTeXUtils.rb:53:in /bin/bash: -c: line 1: unexpected EOF while looking for matching `'' /bin/bash: -c: line 3: syntax error: unexpected end of filecite_scan' from /Library/Application Support/TextMate/Support/lib/ LaTeXUtils.rb:168:in /bin/bash: -c: line 1: unexpected EOF while looking for matching `'' /bin/bash: -c: line 3: syntax error: unexpected end of filerecursive_scan' from /Library/Application Support/TextMate/Support/lib/ LaTeXUtils.rb:139:in /bin/bash: -c: line 1: unexpected EOF while looking for matching `'' /bin/bash: -c: line 3: syntax error: unexpected end of filerecursive_scan' from /Library/Application Support/TextMate/Support/lib/ LaTeXUtils.rb:138:in /bin/bash: -c: line 1: unexpected EOF while looking for matching `'' /bin/bash: -c: line 4: syntax error: unexpected end of filerecursive_scan' from /Library/Application Support/TextMate/Support/lib/ LaTeXUtils.rb:173:in /bin/bash: -c: line 1: unexpected EOF while looking for matching `'' /bin/bash: -c: line 3: syntax error: unexpected end of fileget_citations' from /tmp/temp_textmate.7uvsfX:7 Found citekey: Adanir2001aa Found key: Address Found contents: Boulder Found key: Author Found contents: Fikret Adanır Found key: Booktitle Found contents: Fascism Outside Europe Found key: Date-Modified Found contents: 2006-11-11 01:33:36 +0100 Found key: Editor Found contents: Stein Ulgevik Larsen Found key: Juratitle Found contents: Kemalist Authoritarianism and Fascist Trends in Turkey during the Interwar Period Found key: Pages Found contents: 313--61 Found key: Publisher Found contents: Social Science Monographs Found key: Title Found contents: Kemalist Authoritarianism and Fascist Trends in Turkey during the Interwar Period Found key: Year Found contents: 2001
-- Özgür Gökmen | og@pyromedia.org
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
Haris
Charilaos Skiadas <skiadas@...> writes:
this should be fixed now. The problem in Helge's case is that I was not expecting full paths in the bib file. Özgür if you still have problems let me know how the \bibliography{...} line says in your case. In any case, the error message should now be a bit clearer.
Well, at least it's shorter: I get the error "exit" on the minimal example I posted before. Actually if I try it on a more complex example (a paper I'm writing, with my true bib file with 2000+ records) I get the error "Choked on"
Piero
On Dec 22, 2006, at 2:11 AM, Piero D'Ancona wrote:
Well, at least it's shorter: I get the error "exit" on the minimal example I posted before. Actually if I try it on a more complex example (a paper I'm writing, with my true bib file with 2000+ records) I get the error "Choked on"
Hm, I don't know of any error saying "exit". Can you paste the exact error, and send me the true bib file off-list?
Piero
Haris
Charilaos Skiadas <skiadas@...> writes:
Hm, I don't know of any error saying "exit". Can you paste the exact error, and send me the true bib file off-list?
Simply, when I try to complete \cite{dan} with the caret after n, the word exit is inserted: \cite{danexit} This happens with the minimal example I sent you before.
As for the choked on, I get \cite{danChoked on: } and this happens when the bib file begins with the following line (I split it for gmane's sake):
@preamble{"\def\ocirc#1{\ifmmode\setbox0=\hbox{$#1$} \dimen0=\ht0 \advance\dimen0 by1pt \rlap{\hbox to\wd0{\hss\raise\dimen0 \hbox{\hskip.2em $\scriptscriptstyle\circ$}\hss}}#1\else {\accent"17 #1}\fi} "}
So maybe the line will not be reproduced accurately by gmane, but you get the idea. This line is automatically generated at the beginning of the file by BibDesk (and if I remember correctly by some other bib tools too. Something we should get rid of sooner or later...)
Piero
On Dec 22, 2006, at 02:58, Piero D'Ancona wrote:
@preamble{"\def\ocirc#1{\ifmmode\setbox0=\hbox{$#1$} \dimen0=\ht0 \advance\dimen0 by1pt \rlap{\hbox to\wd0{\hss\raise\dimen0 \hbox{\hskip.2em $\scriptscriptstyle\circ$}\hss}}#1\else {\accent"17 #1}\fi} "}
So maybe the line will not be reproduced accurately by gmane, but you get the idea. This line is automatically generated at the beginning of the file by BibDesk (and if I remember correctly by some other bib tools too. Something we should get rid of sooner or later...)
This line is not generated by BibDesk, although we try to preserve existing @preambles.
Adam
On Dec 22, 2006, at 12:58 PM, Piero D'Ancona wrote:
@preamble{"\def\ocirc#1{\ifmmode\setbox0=\hbox{$#1$} \dimen0=\ht0 \advance\dimen0 by1pt \rlap{\hbox to\wd0{\hss\raise\dimen0 \hbox{\hskip.2em $\scriptscriptstyle\circ$}\hss}}#1\else {\accent"17 #1}\fi} "}
So maybe the line will not be reproduced accurately by gmane, but you get the idea. This line is automatically generated at the beginning of the file by BibDesk (and if I remember correctly by some other bib tools too. Something we should get rid of sooner or later...)
Interesting, I use bibdesk also but it doesn't produce such things for me. Perhaps it has to do with what kinds of characters you use in the entries, I tend to stick with english characters. It should be fixed now, I made the parser a bit more lenient, and it just skips anything it does not understand (it was expecting every entry to be a book/article entry, with citekeys etc)
Piero
Haris
Hi!
For one of my examples, it works. But in another example, containing nearly the same code, i get the following error:
\cite{The tex binaries cannot be located!}
example:
\documentclass[]{article} \usepackage[utf8]{inputenc} \usepackage{fullpage} \title{LatexMate 1} \begin{document} \maketitle \section{Introduction} There is no TM_LATEX_MASTER set. And not TM_LATEX_BIB.
\subsection{sub}\label{sub:subs} % (fold)
% subsubsection subs (end)
\section{sec2}\label{sec:sec2} % (fold) \cite{The tex binaries cannot be located!} \ref{sub:subs} \ref{sub:subs} \cite{Merritt1989} \ref{The tex binaries cannot be located!} \cite{The tex binaries cannot be located!} % section sec2 (end)
%\input{example2.tex}
\bibliographystyle{plain} \bibliography{/Users/helge/Desktop/LatexMate/lit}
% comment (end) \end{document}
Charilaos Skiadas schrieb:
�zg�r, Helge,
this should be fixed now. The problem in Helge's case is that I was
not expecting full paths in the bib file. �zg�r if you still have problems let me know how the \bibliography{...} line says in your case. In any case, the error message should now be a bit clearer.
On Dec 22, 2006, at 11:39 AM, Helge Hartmann wrote:
For one of my examples, it works. But in another example, containing nearly the same code, i get the following error:
\cite{The tex binaries cannot be located!}
This is really surprising. The only reason you would see this message is if the command `which kpsewhich` fails, and this should really be independent of which file you try, this has to do with your system I would think.
How are you telling TextMate what the right path to use is? Did you set the PATH variable in environment.plist or in TM, or neither?
Haris
I never entered a PATH in TextMate or environment.plist I set my PATH variable in .bash_profile and never had any problems. I also can compile the Latex project from TextMate, so I think, my system should be allright.
How are you telling TextMate what the right path to use is? Did you set the PATH variable in environment.plist or in TM, or neither?
Haris
On Dec 23, 2006, at 11:42 AM, Helge Hartmann wrote:
How are you telling TextMate what the right path to use is? Did you set the PATH variable in environment.plist or in TM, or neither?
I never entered a PATH in TextMate or environment.plist I set my PATH variable in .bash_profile and never had any problems. I also can compile the Latex project from TextMate, so I think, my system should be allright.
Yes the compilation command never had any problems, because it does not start with a shebang, and consequently TM does a lot of preparation for it, including loading your various profile files. However the other commands in the bundle, most of them in ruby, don't get to see what you've set in any of your profile files, so they have to somehow figure out what your PATH is. It's a long and complicated problem.
(The key detail here is that GUI applications in general don't get to see the shell profile files, I guess for security reasons or something, or just because one assumes they wouldn't need to. Since the ruby scripts we use inherit TextMate's environment, there's not much there to begin with.)
I bet the only reason you do not see it when you use the label completion command is because you were not including another file via \include. The problem with having to use the tex binaries in the other commands occurs only when the script has to figure out where latex would look for the file you are including.
Try again with this latest update, though I'm not sure that it will see your .bash_profile. Where are you tex binaries located by the way? How did you install LaTeX?
Haris