3

I have some local LaTeX files in Dropbox and have not been able to make LaTeX recognize them. It does find my local texmf folder, but that doesn't help me. I am working under Fedora 17 and uname -r returns: 3.4.4-3.fc17.x86_64, however I do not have admin access.

I suspect this may have something to do with setting paths, but despite several attempts I have not managed to do it. Could anybody please help me solve this? Under Windows with MiKTeX I have managed to get this to work.

Added: I've tried to add the following to my .login and .cshrc

export TEXMFHOME='~/Dropbox/Local TeX Files':
setenv TEXMFHOME='~/Dropbox/Local TeX Files':

and same thing with TEXINPUTS. However, none of this has worked for me. I know that the .login and .cshrc are read when I login, but either I have the variables wrong, the syntax, or there is an issue with assigning paths to Dropbox folders at startup.

6
  • Welcome to TeX.sx! You should mention the TeX distribution you're using on Fedora (is it TeXlive? have you installed it from Fedora packages?). Also, are those local files packages (.sty)?
    – henrique
    Oct 9, 2012 at 14:53
  • I think it is TeX Live. The local files are .sty and .bib.
    – Bok
    Oct 9, 2012 at 15:56
  • What's your default shell?
    – egreg
    Oct 11, 2012 at 12:14
  • See tex.stackexchange.com/q/5162/1402 Oct 11, 2012 at 12:18
  • egreg: echo $SHELL returns /bin/tcsh.
    – Bok
    Oct 11, 2012 at 12:42

1 Answer 1

4

I'm writing a document between Windows 7 and Fedora 17 using LaTeX and Dropbox. My solution is to use a LaTeX distribution which supports both systems (TeXLive 2012) and make sure both have been updated at roughly the same time, as to avoid package version problems. The files that LaTeX needs to compile and produce the document are stored in the Dropbox folder. So far the document compiles identically on both systems and I can switch whenever necessary.

A path had to be added to a bash file (.bash_profile) in my home folder to allow tlmgr and texdoc to work under Fedora 17 but other than that is was very straight forward. This path is specific to TeXLive 2012 and a 32-bit Fedora installation.

PATH=/usr/local/texlive/2012/bin/i386-linux:$PATH 

(from http://www.tug.org/texlive/quickinstall.html)

Also, you will need to install an editor, such as TeXWorks, as I don't think the linux download comes with one. http://www.tug.org/texworks/#Getting_TeXworks

Not having root privileges might be a problem. You will need to see if your system manager can install it or give you sudo privileges, as the install and tlmgr need to higher privileges than a normal user.

I hope this helps.

P.S. I'm fairly new to linux and managed to get it working so it is possible :)

7
  • "A path had to be added to a bash file in my home folder": this is my problem since I don't know which file to edit and which path variable to change.
    – Bok
    Oct 9, 2012 at 15:58
  • Ok, the answer has been modified. To make fedora use a folder when looking for things that would normally be in the bash folder you need to edit the .bash_profile file which is hidden in your home directory.
    – Darling
    Oct 9, 2012 at 17:02
  • If any of my comments have been useful you can increase the score of the answer. If it solves your problem you can accept it as the solution with the tick. :)
    – Darling
    Oct 9, 2012 at 17:09
  • Also, download texlive from the above website and not using yum. The fedora repos are going to be out of date.
    – Darling
    Oct 9, 2012 at 22:22
  • 1
    In order to make TeX and BibTeX/Biber look for files in some non standard directory one has also to set TEXINPUTS and BIBINPUTS
    – egreg
    Oct 9, 2012 at 22:45

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .