Image conversion
I have just successfully installed Drutex on a shared server. As it turned out, for whatever reason my host does not support dvipng, but they do support ImageMagick. However, the convert binary does not accept a dvi input, and so a third program is required to run after latex and before convert. Luckily the binary dvips is included with the texlive package my host installed, making this not a very big hurdle. After creating the custom commands for Drutex the latex finally rendered correctly.
Read moreHow to use CCK custom fields on DruTeX
Hi.
I just installed TeXlive and DruTeX on a VPS and they're working fine.
I even tweaked the DruTeX template to get the layout I need, but I can't figure out how to render to LaTeX custom fields created by CCK.
I need to render some text input by the user along with some headers and titles hardcoded in the template, son I need at least 15 fields to be filled by the user and render by DruTeX.
I don't know enough Drupal or PHP to fully understand the code, but I found some clues in the -- drutex.pdf.inc -- file, but I don't know how to tell drutex which CCK field to use.
Read moreNext Version
Ideas for the next version of DruTeX at: http://drupal.org/node/248364
Read moreIssues on the PDF and TeX generation
I found two disturbing issues when creating a PDF or a Tex file from a node.
First, the PDF is not updated, once it is created the first time. The reason is this test located in the drutex_node2pdf_wrapper function:
if (!is_file("$pdf_dir/{$node->nid}.pdf")) {
drutex_node2pdf($nid);
}I just commented the test in my site. PDF should be generated each time it is requested, as node might have been updated in the meanwhile.
Read morePDF Generation error
Hi folks:
I've been playing around with the module, and I found an error when converting html tags to latex commands (more precisely, when converting the tag <em> to the \emph{} command).
For some reason I got a "\" before the opening curly bracket, so the command - \emph{ whatever } - was not properly recongized.
Read more