which LaTex distro is correct prereq for this module?

schwa - January 12, 2007 - 16:19
Project:DruTeX
Version:HEAD
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed
Description

Non-math drupal admin person here trying to get some form of TeX input working for a professor using Drupal in math classes.

My issues:

1) nowhere in the DruTeX documentation is it specified that LaTex itself must first be independently installed on the server (this is surely intuitive to anyone who is a regular user; not so much for non-math Drupallers who'd never heard of Tex and thought this was a simple conversion filter). You might want to consider adding this fact to the install documentation.

2) There appear to be a plethora of releases, viz. this list. Which is/are the correct release(es) that will work with this module? We're on a simple 'nix box running red hat; there's a prefab package called tetex-latex I'm assuming might work, but could use confirmation, since some googling reveals this distro might be deprecated.

Many thanks for any insights/aid!

#1

vyvee - January 13, 2007 - 02:57

In fact, most latex distributions work, as long as the program 'latex' is able to execute and produce dvi files properly. I also use the tetex-latex distribution on Fedora Core, and it works fine. Tetex has not been updated for a few years, but the package has been very stable.

To work with the tetex distribution, you may need to modify the template file modules/drutex/templates/render/default.tex (or a copy of it). In particular, the following lines for UTF-8 support may need to be omitted:

  \usepackage{ucs}
  \usepackage[utf8x]{inputenc}

These packages are not included in at least some versions of tetex-latex. If you really need UTF-8 support, download and install these packages in an appropriate directory (can install them in a local directory too). If it still doesn't work, enable the drutex's verbose debugging mode and examine the intermediate files generated.

#2

Steven Jones - September 24, 2007 - 20:52
Status:active» closed
 
 

Drupal is a registered trademark of Dries Buytaert.