elfs: (Default)
[personal profile] elfs
One of the things that I've been wracking my brains over is simply, how am I going to convert The Journal Entries into a collection of PDFs, or a compiled PDF? I thought about attacking it old-school, by actually doing all of the wrapper work in LaTeX[?], but converting and embedding fonts and styles and, especially, sidebars and decorations is such a pain in the neck, especially since I don't know LaTeX all that well.

But... I can do WYSIWG[?] programming, and I know Python[?]. Enter Scribus, a fully scriptable and externally drivable program that can easily handle all of the commands I want to issue as commands, not some freakin' "memorize what I do" macros that then have to be edited in some language nobody understands.

Better yet, the text frames are linkable and will tell you when you've ceased overflow. So it's possible to cast alternating pages succesfully, and detect when you've cast the last page, adjust it appropriately, and see if there's enough room for the copyright notice and colophon and, if so, fit it in or generate a new page for the material. And it's all in python, so it'll be straightforwrd for me to code.

Sweet! Put it in a loop and leave it all night (believe me, it'll take a while to do this for all the stories) and viola', sexy PDFs ready to go.

Now, I just have to code it up. "Just." Yeah, right.

Note that I tend to believe that PDFs are primarily for printing. Given that, are there any PDF documents you've seen that you've really enjoyed reading? That, from a design perspective, made you happy to print and read them?

Date: 2006-09-01 10:14 pm (UTC)
From: [identity profile] dossy.livejournal.com
"(a) I have linux, not one of those fancy-schmancy Macintoshes,"

Then you have Ghostscript. Presumably your Linux-based browser, if it has printing capability, can probably generate PostScript. Then, use Ghostscript to convert PostScript to PDF.

"(b) won't it just look like a web page then? Scribus has the same features, with some nifty templating besides."

You can do templating in a web environment (SSI, CGI, PHP, etc.) ... ?

But, yes, it will look like a web page, then. Make an attractive looking web page for reading your content ... ?

Profile

elfs: (Default)
Elf Sternberg

December 2025

S M T W T F S
 12345 6
78910111213
14151617181920
21222324252627
28293031   

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Dec. 31st, 2025 03:02 pm
Powered by Dreamwidth Studios