LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 07-23-2004, 01:28 AM   #1
goofyheadedpunk
Member
 
Registered: Aug 2003
Distribution: Arch Linux
Posts: 140

Rep: Reputation: 15
LaTeX2html images.tex permission difficulties


I've recently begun to use LaTeX to typeset my mathematics work and hoped to use latex2html to convert the tex files for a website I'm putting togethter. It compiles and installs perfectly but upon running it I am told that
Code:
Fatal (syswait): exec " ./images.tex" failed: Permission denied
 at /usr/local/bin/latex2html line 3785
If I go nuts and chmod everything in images.tex directory 777 I get a long (very long) string of errors that at various places in the code of images.tex there were syntax errors. Also images.log is not created.

If I try to open up the html file that is created it looks very proffessional and orderly. It lacks only one vital thing. Equations.

I've found very many places with google that have information on this error, but no one ever has an answer.

I am trying to use latex2html-2002-2-1 but I have also tried latex2html-2002 with the same results. Does anyone have any idea why this error occurs and then how I could fix it?
 
Old 08-01-2004, 12:44 AM   #2
goofyheadedpunk
Member
 
Registered: Aug 2003
Distribution: Arch Linux
Posts: 140

Original Poster
Rep: Reputation: 15
Alright, having more time to look at why this doesn't work I noticed that in the configure output I get this

Code:
checking for tex... no
checking for latex... no
Warning: Will not be able to generate images due to above failure.
Why I didn't look here first I can only attribute to being rushed. I apologize.

I assumed then that at configure time latex2html was looking for the binaries of both tex and latex. They are, for the sake of brevity, installed to /foo. /foo had only been a subset of directories in my PATH, so I decided to add it explicitly. Didn't help. Same error.

So, looking at the help file for configure, I decided to pass the location of both tex and latex at configure time. I usd this
Code:
./configure --with-latex=/usr/local/teTeX/bin/i686-pc-linux-gnu/latex --with-tex=/usr/local/teTeX/bin/i686-pc-linux-gnu/tex
And it only half did what I expected. Next configure time tex was found, but latex was not. So I decided to make a sym link from /foo/latex to /usr/bin/latex, which I know for certain is in my PATH. That worked perfectly.

So, what did I learn here? Sym links are beautiful. I obviously don't know enough about adding things to my PATH. Read EVERYTHING before you ask someone else a question. The only hard part with that last lesson is that sometimes there's just not enough time to read everything. Oh well. I live, I learn, and thus get better at what I suck at.
 
  


Reply



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
TeX can't find tex.fmt jrdioko Linux - Software 0 11-14-2005 05:34 PM
emacs and TeX pfaendtner Linux - Newbie 2 10-19-2004 08:54 AM
latex2html japanese patch disable legolin Linux - Software 2 08-21-2004 01:48 PM
Tex eis Linux - Newbie 4 05-24-2004 08:29 AM
images with *.tex extension kingka Linux - General 1 12-09-2003 01:28 PM

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

All times are GMT -5. The time now is 08:14 AM.

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