server side pdf viewer

Hey,
I really like ruby on rails, but I do not know how to render a .pdf
file on the server side. My aim is to publish .pdf files, but the
reader should not feel the difference ! I do not want the .pdf files
to be opened in the browsers .pdf reader. I want them to be integrated
in the text. They should look like normal text, but with the style and
all the formatting I designed on the .pdf. I tried different .pdf to
html renders on the web, but they all do not render LATEX code inside
the .pdf the write way.

So I am looking for an .pdf render which could be integrated in an
ruby on rails application.