MySQL, Perl, and LaTeX: Looping through results by day to get custom PDF
I have written a Perl script (shown below) to loop through my MySQL
database and then output a .tex file, as a sort of programmed custom
report. As it stands, it works rather well.
However, I'd like to "separate" each individual day (as a section in
LaTeX), so that I can eventually add a table of contents and see l day per
section (there can be many entries a day).
Here's what the script looks like now (I know it's a little ugly, feel
free to give me pointers on anything weird you might notice); it's too
large for pretty display on stackoverflow, so here's the link to pastebin
(hope you don't mind):
http://pastebin.com/YH8qcWXb
Please let me know if you have any ideas/suggestions or need more
information.
No comments:
Post a Comment