LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-17-2007, 02:28 AM   #1
cmk77
Member
 
Registered: May 2006
Location: netherlands
Distribution: debian, rocky, slackware
Posts: 131

Rep: Reputation: 25
Question latex & xdvi gives "ERROR: I can't write on file"


Problem when using latex and xdvi on Ubuntu 6.06:

when viewing the dvi file with xdvi and running latex again, I get the message:

Code:
ERROR: I can't write on file
I have to close xdvi before running latex which is really annoying. It's also contrary to what the man page says and contrary to the behaviour on other distro's. Does anyone have a solution?
 
Old 08-17-2007, 09:12 AM   #2
maroonbaboon
Senior Member
 
Registered: Aug 2003
Location: Sydney
Distribution: debian
Posts: 1,495

Rep: Reputation: 48
Can't reproduce this on Debian either. Are you just running latex and xdvi from the command line, or inside some special environment like an Emacs latex-mode?

Otherwise I can't imagine how TeX knows the file is open. Do you get the same with pdflatex and acroread (or xpdf)?

What if you open the file with another app altogether? e.g. 'od file.dvi | less'. Is latex still blocked?
 
Old 08-17-2007, 03:16 PM   #3
cmk77
Member
 
Registered: May 2006
Location: netherlands
Distribution: debian, rocky, slackware
Posts: 131

Original Poster
Rep: Reputation: 25
thanks for making an effort. Normally I would use emacs and auctex for latex editing, but that isn't the issue, it also happens with command line latex.

I spent some more time and found that the problem only occurs when the latex file is on the file server (samba file sharing between linux and windows). When it's on the local hard disk, no problem.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to write a bash script to replace all "KH" to "K" in file ABC??? cqmyg5 Slackware 4 07-24-2007 09:00 AM
DPKG & "files list file for package `pkg-config' contains empty filename" error :( Angelus Debian 2 04-02-2005 07:34 AM
Grip- "no write access to write encoded file" Alvis Linux - Software 4 01-06-2004 04:18 PM
Getting the error "E297 : Write error in swap file " sudhir_gunda Linux - General 3 12-29-2003 08:07 AM
"E297: Write error in swap file" :-( sudhir_gunda Linux From Scratch 2 12-29-2003 01:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration