title: Is there any ruby gem which converts doc / docx / txt / odt / rtf to pdf?
body: <p>I tried <a href="https://github.com/DocSpring/libreconv" rel="nofollow noreferrer">https://github.com/DocSpring/libreconv</a>, but the template alignment/styling of document is not preserved. So can you suggest me any gem that will do the work.<br>
  Even a java-script library is fine !</p>