Latex and Ruby

Hi,

I am looking for a library to convert Latex content to png and PDF. Does
anyone know a stable one?

Jean-Etienne

···

--
Posted via http://www.ruby-forum.com/.

Jean-Etienne wrote:

I am looking for a library to convert Latex content to png and PDF. Does anyone know a stable one?

Seems like most folks rely on having the pdflatex executable
laying around.

For example, see the generate_pdf method of lib/rtex/view.rb
in Bruce William's RTex Rails plugin,

  svn co http://codefluency.com/svn/codefluency/rails/plugins/rtex

and the convert_tex_to_pdf method in Instiki's app/controllers/
wiki_controller.rb, which you can see via,

  http://rubyforge.org/cgi-bin/viewcvs.cgi/instiki/?root=instiki

Regards,

···

--
Bil
http://fun3d.larc.nasa.gov

On a slightly related topic: Does anyone know of a good way to show
the differences between 2 PDF documents?

Thanks,
Joe

···

On 5/1/06, Bil Kleb <Bil.Kleb@nasa.gov> wrote:

Jean-Etienne wrote:
>
> I am looking for a library to convert Latex content to png and PDF. Does
> anyone know a stable one?

Seems like most folks rely on having the pdflatex executable
laying around.

For example, see the generate_pdf method of lib/rtex/view.rb
in Bruce William's RTex Rails plugin,

  svn co codefluency.com

and the convert_tex_to_pdf method in Instiki's app/controllers/
wiki_controller.rb, which you can see via,

  http://rubyforge.org/cgi-bin/viewcvs.cgi/instiki/?root=instiki

Regards,
--
Bil
http://fun3d.larc.nasa.gov

--
"For a new software system, the requirements will not be completely
known until after the users have used it." Humphrey's Requirements
Uncertainty Principle.

No, but (even further off-topic) if the original source that the PDFs
are generated from is DocBook XML, you could use Norman Walsh's DiffMk
to generate a version of the document including additional
change-markup, which you can then render to HTML, IIRC.

dave

···

On Mon, May 01, 2006 at 10:43:14PM +0900, Bothari wrote:

On a slightly related topic: Does anyone know of a good way to show
the differences between 2 PDF documents?

--
http://david.holroyd.me.uk/

If it's for the textual content:

pdftotext file1.pdf # maybe with
pdftotext file2.pdf # the -layout option
diff file1.txt file2.txt

···

On Mon, 1 May 2006, Bothari wrote:

On a slightly related topic: Does anyone know of a good way to show
the differences between 2 PDF documents?

--
Wybo