drutex

Events happening in the community are now at Drupal community events on www.drupal.org.

Image conversion

Posted by Daimon on September 5, 2010 at 4:48am

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 more
1 attachment Categories: , , , ,

How to use CCK custom fields on DruTeX

Posted by Rubio on March 29, 2009 at 10:42am

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 more
Categories:

Next Version

Posted by steven jones on April 18, 2008 at 6:00pm

Ideas for the next version of DruTeX at: http://drupal.org/node/248364

Read more
Categories:

Issues on the PDF and TeX generation

Posted by franqui on November 9, 2007 at 5:52pm

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 more
1 comment Categories: , ,

PDF Generation error

Posted by franqui on November 9, 2007 at 3:48pm

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
1 comment Categories: , , ,
Subscribe with RSS Syndicate content

AltStyle によって変換されたページ (->オリジナル) /