Closed (fixed)
Project:
DruTeX
Version:
6.x-1.0-beta1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
31 Aug 2009 at 22:56 UTC
Updated:
15 Sep 2009 at 01:30 UTC
Hello,
I try to make drutex working but i just get 'TeX Embedding failed!'.
Drutex toolbox isn't displaying anything under page admin/settings/drutex
I have tex and co installed on my computer.
Even if i give the custom command with the correct path
cd [TMP_DIR]; TEXINPUTS="[DRUTEX_DIR]//:" /usr/texbin/latex -interaction=batchmode [HASH].tex /usr/texbin/dvipng -o [IMG_FILE] -D [DPI] -T tight [TMP_DIR]/[HASH].dvi
this doesn't change anything.
Any idea ?
Thanks a lot. I need to make this work.
Comments
Comment #1
oz_an commentedWhat is your directory structure: Please note any character especially leftmost slashes
For instance:
I set my directory structure like this after gettin a lot of texEmbed failed errors
Drutex Base TMP_DIR= tmp
IMG_DIR = files/tex
IMG_URL = files/tex
Also you need to look under these directories, is there a tex file (set drutex to debug mode so it doesn't delete the temp files it creates), is there a
dvi file and of course is there a png file.
Which one isn't there gives a lot of clue about what is wrong with your settings
Comment #2
kenjil commentedOk. Strange things occurs.
It seems that whatever value i enter for TMP_DIR, it is overidden by /tmp since i always end up with the drutex-somehash directory in tmp.
I guess the same happens with my custom command. It's overidden somewhere.
I tested with
but testfile isn't created as drutex-somehash is.
What's wrong in my configuration ?
Comment #3
kenjil commentedOk. Fixed.
The error was coming from the fact that i had set a wrong url path for the image directory. I though of the image URL field as a kind of url alias that would point to the images directory. But i was wrong ! It's the path to images directory with respect to drupal directory. Sorry for all this and thanks !
Comment #4
kenjil commented