View Single Post
Old 01-09-2010, 11:25 PM   #13
frabjous
Wizard
frabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameter
 
frabjous's Avatar
 
Posts: 1,213
Karma: 12890
Join Date: Feb 2009
Location: Amherst, Massachusetts, USA
Device: Sony PRS-505
OK, I'm pretty sure I did everything OK.

I have to confess, Lazarus looks pretty intimidating to someone whose programming skills are as minimal and amateurish as mine. I haven't done more than the occasional bash script or easy javascript (and some easy stuff with AutoHotKey when I still used Windows, such as my GUI for soPDF). Otherwise, I stick to LaTeX and HTML markup. The last time I did anything with PASCAL was... Turbo Pascal 5.5 for DOS, perhaps? But all I needed to do is change SoPDF.exe to sopdf in the code, right?

Well, I couldn't have been all wrong, since it works. I will note, however, that if you don't use the default system fonts (which I don't), the GUI doesn't look perfect (the bottoms of the words get cut off--as you'll see the in the screenshot), though it's good enough. Switching back to the default fonts, and there's no problem at all.

Obviously, sopdf needs to be in the searched path for executables.

Let me know if I included anything you didn't want in the rar files, or failed to include anything I should have. Thanks again to Nathan for the GUI.

P.S. Where'd you get the list of categories? My degree is in philosophy, so I missed the philosophy category...

P.P.S. Added later. The binary included with these was compiled with and for 64-bit linux systems. It may not work for 32 bit systems. (Sorry)
Attached Thumbnails
Click image for larger version

Name:	Screenshot-soPDF-GUI.png
Views:	1084
Size:	41.4 KB
ID:	43033  
Attached Files
File Type: rar soPDF_Linux_GUI_src.rar (3.77 MB, 810 views)
File Type: rar soPDF_Linux_Bundle.rar (3.11 MB, 911 views)
File Type: rar soPDF_Linux_Frontend.rar (2.74 MB, 785 views)

Last edited by frabjous; 01-11-2010 at 08:00 AM.
frabjous is offline   Reply With Quote