Hi,

I need to take a template ( written in latex ) and fill it with data,
then send it through pdflatex to get the pdf output, and return it to
the user. Django makes this easy, but not quite as smooth as an html
template.

I use render_to_string and output this to a file, then run pdflatex on
that file - i know this is not ideal (should really be done in memory)
so any advice on how to do this would be appreciated.

However the point of this email is that characters in the data such as
&, #, \, $ and some others are special latex characters and have to be
escaped, so i wrote a templatetag called escapelatex (i saw someone
has written escapejs, so i followed the naming convention) - my
question is where should i post this tag so others can critique it,
improve it, and possibly add it to contribs for all to use?

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-develop...@googlegroups.com.
To unsubscribe from this group, send email to 
django-developers+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en.

Reply via email to