General ⇒ how to make texcentre works with jabref?
how to make texcentre works with jabref?
thank you very much
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
Re: how to make texcentre works with jabref?
\includegraphics{Users/Smith/Documents/Images/myproject/foo.jpg} (absolute path)
\bibliography{./complements/bibfiles/foo} (relative path)
how to make texcentre works with jabref?
Code: Select all
\documentclass[a4paper]{article}
\usepackage[english]{babel}
\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{blindtext,cite}
\begin{document}
safdsaf\cite{Atalay2005}
\bibliography{D:/My Documents/BIB DATABASE/GMI08}
\bibliographystyle{unsrt}
\end{document}
Re: how to make texcentre works with jabref?
Re: how to make texcentre works with jabref?
thanks a lot
how to make texcentre works with jabref?
I agree that white space and weird characters should be avoided in file names for maximum portability, however, file names with spaces are very common on Windows. There are two workarounds for that problem:Juanjo wrote:The problem may be the white space in the path (folders My Documents and BIB DATABASE). In general, spaces (and surely non-standard characters) should be avoided in file or directory names in one wants TeX to accept them. I don't know any workaround.
- use short name format (DOS era 8.3 format - run 'dir /x' command to see it)
- quote the troublesome file name with double quotes, like this "D:/My Documents/BIB DATABASE/GMI08"; works on MiKTeX but I'm not sure about other distributions
Tomek
Re: how to make texcentre works with jabref?
still the same problem.
how to make texcentre works with jabref?
It does work for (pdf)latex but unfortunately not for bibtex. Bibtex always complains about white space (short names contain '~' which is also treated as white space). Sorry, I should be more precise.spiegboy wrote:sorry, man, i use miktex2.6 and texinCentre, neither tricks work for me when i try them.
still the same problem.
Cheers,
Tomek
Re: how to make texcentre works with jabref?
confused, can you paste a mini example that works?
thanks
how to make texcentre works with jabref?
Code: Select all
\documentclass{minimal}
\begin{document}
Test input with white space:
\input{"foo bar.tex"} %this works
Test input with short name:
%\input{foobar~1.tex} %this fails
Test input with short name:
\begingroup\catcode`~=12\input{foobar~1.tex}\endgroup %this works
Test include with white space:
\include{"foo bar.tex"} %this fails but the compilation proceeds
Test include with short name:
%\include{foobar~1.tex} %this fails
Test input with short name:
\begingroup\catcode`~=12\include{foobar~1.tex}\endgroup %this behaves strangely
\end{document}
Cheers,
Tomek
Edit: Tested on MiKTeX 2.7