Hi Chris,<br><br><div><span class="gmail_quote">On 8/23/06, <b class="gmail_sendername">Chris Bergstresser</b> <<a href="mailto:chris@subtlety.com">chris@subtlety.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On 8/22/06, Tom Schneider <<a href="mailto:toms@ncifcrf.gov">toms@ncifcrf.gov</a>> wrote:<br>> > I'm writing a package which has to put a lot of stuff in specific<br>> > places on a page, and TeX is proving to be near impossible to work
<br>> > with.<br>><br>> One way is to use pstricks. With the appropriate commands you can set<br>> up a nice coordinate system and then place whatever you want whereever<br>> you want.<br><br> It seems like this is a better way to go than trying to recreate
<br>the forms I'm trying to fill in. I can include the background form as<br>an image and place text in the specific places on top.<br> Unfortunately, pstricks only works with DVI output, not PDF. And<br>I'm using the graphicsx package and .png graphics files, so I need a
<br>different way of placing text in specific locations.<br> Anyone know of a package that will do this, that's compatible with<br>PDF output?</blockquote><div><br>There is pdftricks at CTAN://macros/latex/contrib/pdftricks/ which allows PSTricks (or at least a lot of it) to work nicely with pdflatex. Just install pdftricks if your TeX-installation doesn't have it yet (most do, I think), and include pdftricks with a
<br><br>\usepackage{pdftricks}<br></div><br>instead of including the pstricks packages the usual way, include all of them within a special environment, like this:<br><br>\begin{psinputs}<br>\usepackage{pstricks}<br>\usepackage{color}
<br>\usepackage{pstcol}<br>\usepackage{pst-plot}<br>\usepackage{pst-tree}<br>\usepackage{pst-eps}<br>\usepackage{multido}<br>\usepackage{pst-node}<br>\usepackage{pst-eps}<br>...<br>\end{psinputs}<br><br>And make sure you put each pspicture environment _inside_ a pdfpic environment, along with any other macros. See the documentation for more info.
<br><br>This way you can still make use of pdflatex, which may be necessary depending on your purpose or other packages you may be using, and yet make use of the advantages PSTricks offer for your specific purpose.<br><br>
Good luck,<br>Yuri.<br><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">-- Chris<br>_______________________________________________<br>TeX FAQ:
<a href="http://www.tex.ac.uk/faq">http://www.tex.ac.uk/faq</a><br>Mailing list archives: <a href="http://tug.org/pipermail/texhax/">http://tug.org/pipermail/texhax/</a><br>More links: <a href="http://tug.org/begin.html">
http://tug.org/begin.html</a><br><br>Automated subscription management: <a href="http://tug.org/mailman/listinfo/texhax">http://tug.org/mailman/listinfo/texhax</a><br>Human mailing list managers: <a href="mailto:postmaster@tug.org">
postmaster@tug.org</a><br></blockquote></div><br>