PDF photo directory scripts

Share discussions around the Classic Local Unit Website (LUWS).
csmayfield
New Member
Posts: 5
Joined: Sat Feb 05, 2011 8:01 am

PDF photo directory scripts

Postby csmayfield » Sat Feb 05, 2011 8:20 am

Here's a Python/LaTeX solution that generates a PDF version of the online photo directory, suitable for double-sided booklet printing (e.g., with Adobe Reader).

http://www.cs.purdue.edu/homes/cmayfiel/photodir.zip

Related topics:

"Provide a way to print a photo directory with selected information"
https://tech.lds.org/wiki/MLS:_Feedback_and_Suggestions

"Add capability to create ward photo directory pre-formatted for booklet printing."
https://tech.lds.org/wiki/LUWS:_Feedback_and_Suggestions

atom88
New Member
Posts: 17
Joined: Sun Jan 02, 2011 7:30 pm

thanks for the python script...

Postby atom88 » Mon Feb 07, 2011 6:41 am

thanks for the python script...I'll have to check it out. My experience is more in java but I've dabbled in python so I'll have to try it out.

I hope the church fixes this bug and allows for printing soon though.

-- Adam

csmayfield wrote:Here's a Python/LaTeX solution that generates a PDF version of the online photo directory, suitable for double-sided booklet printing (e.g., with Adobe Reader).

http://www.cs.purdue.edu/homes/cmayfiel/photodir.zip

Related topics:

"Provide a way to print a photo directory with selected information"
https://tech.lds.org/wiki/MLS:_Feedback_and_Suggestions

"Add capability to create ward photo directory pre-formatted for booklet printing."
https://tech.lds.org/wiki/LUWS:_Feedback_and_Suggestions

coolhandace
New Member
Posts: 1
Joined: Sat Feb 12, 2011 8:00 pm

Help!

Postby coolhandace » Sat Feb 12, 2011 8:03 pm

Nothing seems to happen during "Step 2" When I run each command a black box pops up for a split second and is gone. I see a directory called "photos_files" has been created but I don't know what to do with it? Thank you for the help.:confused:

csmayfield
New Member
Posts: 5
Joined: Sat Feb 05, 2011 8:01 am

Re: Help!

Postby csmayfield » Sun Feb 13, 2011 7:42 am

Having command prompts popping up is the correct behavior. My best guess is you saved the web page as photos.htm, but the program is looking for photos.html (I'll add a fix for that later).

Here is a manual way to run the scripts in case there were other errors:

1. Right click copypics.py, select "Edit with IDLE"

2. From the "Run" menu, select "Run Module" -- copypics.py should create a new directory named "pics" and copy/rename all the jpeg files from photos_files.

3. Right click options.py, select "Edit with IDLE"

4. Read through this file carefully and make any changes applicable to your ward. At a minimum, you should update the CITIES list and replace (or remove) the example names I made up in the tweak_* functions.

5. Right click photodir.py, select "Edit with IDLE"

6. From the "Run" menu, select "Run Module" -- this should create the final photodir.pdf file, along with several other intermediate files.

Good luck,
--Chris

daveisfera
New Member
Posts: 9
Joined: Thu Mar 03, 2011 8:15 pm

Postby daveisfera » Sun Nov 20, 2011 11:07 am

The link appears to be broken now. Is there a copy of this available anywhere else?

Thanks,
Dave

csmayfield
New Member
Posts: 5
Joined: Sat Feb 05, 2011 8:01 am

Postby csmayfield » Mon Nov 21, 2011 7:56 am

Here's the latest version.
Attachments
photodir_1.2.zip
(48.89 KiB) Downloaded 66 times


Return to “Classic Ward & Stake Sites (LUWS)”

Who is online

Users browsing this forum: No registered users and 1 guest