[Hampshire] Latex running in Virtual on cifs mounted directory

2010-02-15 Thread Philip Stubbs
At work we have a Microsoft Windows setup. I have to have Windows as
my main operating system. However, I do have VirtualBox running with
Ubuntu so that I can do some useful stuff.

My problem is accessing the files on the network. I have the following
line in fstab
//10.10.20.11/dan_data /mnt/danmail cifs
iocharset=utf8,credentials=/home/philip/.smbcredentials,uid=1000,gid=1000,file_mod=0755,dir_mode=0755,noatime
0 0

I can browse the files ok. I can open the files in vi to edit them.
However, if I try and run LaTeX, it complains ! I can't find file
`whatever.tex'.

I have tried mounting the file using the gnome file browser GUI thing,
and that puts the mount point under ~/.gvfs/etc... but it puts a space
in the mount path that causes ghostscript to barf.

Any suggestions as to how I can improve this?

-- 
Philip Stubbs

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] Latex running in Virtual on cifs mounted directory

2010-02-15 Thread Peter Salisbury
On 15 February 2010 15:09, Philip Stubbs phi...@stuphi.co.uk wrote:
 At work we have a Microsoft Windows setup. I have to have Windows as
 my main operating system. However, I do have VirtualBox running with
 Ubuntu so that I can do some useful stuff.

 My problem is accessing the files on the network. I have the following
 line in fstab
 //10.10.20.11/dan_data /mnt/danmail cifs
 iocharset=utf8,credentials=/home/philip/.smbcredentials,uid=1000,gid=1000,file_mod=0755,dir_mode=0755,noatime
 0 0

 I can browse the files ok. I can open the files in vi to edit them.
 However, if I try and run LaTeX, it complains ! I can't find file
 `whatever.tex'.

 I have tried mounting the file using the gnome file browser GUI thing,
 and that puts the mount point under ~/.gvfs/etc... but it puts a space
 in the mount path that causes ghostscript to barf.

 Any suggestions as to how I can improve this?

 --
 Philip Stubbs


Is it a permissions issue? Perhaps LaTex needs rw access? Can you
write to the files in vi? file_mode can't give you more access than
the server is willing to grant.

Is it to do with Windows not preserving the case of file names? Is
LaTex trying to create a temp file with characters the server won't
allow in a file name?

HTH, Peter

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] Latex running in Virtual on cifs mounted directory

2010-02-15 Thread Philip Stubbs
On 15 February 2010 15:51, Peter Salisbury
peterthevi...@users.sourceforge.net wrote:
 Is
 LaTex trying to create a temp file with characters the server won't
 allow in a file name?

Now that is one thing I have not thought about. I will check that tomorrow.

vi can edit the file just fine. For the time being, I have a simple
bash script that will copy the LaTeX file to a /tmp directory, run
LaTeX, dvips and ps2pdf, and then copy the result back. Long winded
but works for now, with simple documents without any includes. Would
rather get the file mounting working properly though.

-- 
Philip Stubbs

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--