PDA

View Full Version : [SOLVED] tex file through SSH in Kile



rohan000
August 3rd, 2007, 12:57 AM
I'm trying to edit a tex file which is on an SSH server through Kile. I was able to open the file with "fish://user@server:22/home/user/filename.tex".

But I can't compile it through Kile: Kile thinks that it's on the local filesystem and tries to compile a file called "/home/user/filename.tex".

Has anyone compiled files through SSH? How do I get it to send the right file to Latex?

finer recliner
August 3rd, 2007, 08:33 PM
so you're using kile on the local machine to open a remote file via ssh? sounds like your using ssh for an unintended purpose. i suggest either FTPing the file to the local machine to work on, and then upload it back when done. or you set up a samba server to share the partition on the remote machine with the local one. another option is to set up your remote machine for remote desktoping (not practical if its just text editing though)

if you insist on using ssh, i suggest enabling X-Forwarding and launch kile from the remote machine via command line. OR use another a text editor that doesnt use a GUI (i.e. emacs/vi/pico). you would then compile the tex document on the command line as well.

choose your poison! enjoy

willdex
August 8th, 2007, 02:28 AM
Hey, is there an equivalent of Kile for Ubuntu [Gnome]?

mali2297
August 8th, 2007, 12:55 PM
Hey, is there an equivalent of Kile for Ubuntu [Gnome]?

My choice of LaTeX editor is Emacs with AUCTeX. It isn't equivalent to Kile, but perhaps an alternative.

apetresc
August 8th, 2007, 08:32 PM
Hey, is there an equivalent of Kile for Ubuntu [Gnome]?

The LaTeX plugin for Gedit (http://live.gnome.org/Gedit/LaTeXPlugin) is very comprehensive, and though not quite as good as Kile, it's darn close.

As for Rohan's problem, if this is the path you want to follow, you should definitely mount the remote drive as an sshfs. More info on that here: http://fuse.sourceforge.net/sshfs.html