How to utilize Dynamic Templates and Multivalent: Example 1 - January 2008 classic booklet (2-up, duplex)

At the risk of tooting my own horn, I have provided a great set of tools here for folks to use. At least that's what a lot of the feedback says :)

At the same time, there is a certain amount of grumbling and confusion, so I thought I would show some specific examples of what you can do with these tools.

For this example, I created pages to cover the month of January with DIY_Two_Page_Week (Attachment: 4 weeks)

This is 10 pages. When you are making 2-up, duplex documents, each sheet of paper is 4 pages, so I need two more pages -- a front and back cover.

For the back, I created a 2008-2009 reference calendar with DIY_Two_Year_Ref (Attachment: 2 year ref sheet). For the front, I split up the PDF file in the classic covers using the Multivalent Split command like this:

This goes all on one line
java -classpath .\Multivalent20060102.jar tool.pdf.Split -verbose -1 diyp3_core_cl.pdf


and then picked out the large monkey cover (my favorite) and renamed it for easy use (Attachment: monkey cover)

Now for the Black Magic:

  1. Merge the three documents together using Multivalent-Merge

    This goes all on one line
    java -classpath .\Multivalent20060102.jar tool.pdf.Merge -verbose diyp3_cover_cl-monkey-large.pdf Weeks-2008-01.pdf 2007-2008.pdf


    The result was a file named "diyp3_cover_cl-monkey-large-m.pdf"

  2. I wanted to keep the file, so I renamed it to "diyp-2008-01-booklet-a.pdf"
  3. Rearrange the page order and set the pages 2-up so this can be printed duplex on letter paper

    This goes all on one line
    java -classpath .\Multivalent20060102.jar tool.pdf.Impose -verbose -dim 2x1 -paper 11x8.5in -page 12,1,2,11,10,3,4,9,8,5,6,7 diyp-2008-01-booklet-a.pdf


    The page number sequence is something I worked out and whipped up a bit of source code to do the grunt work for me. See How to Arrange Pages for 2-Up Duplex Printing for details.

The resulting file, "diyp-2008-01-booklet-a-up.pdf" is attached -- (Finished Booklet). It was printed out onto letter size paper, double sided, flipping on the short side. The resulting 3 sheets were folded in half, together, to form a nice booklet for the month of January.

Multivalent is found here with complete documentation.

As always, holler if you have questions.

AttachmentSize
Finished Booklet390.68 KB
Monkey cover127.29 KB
4 weeks167.18 KB
2 year ref sheet104.51 KB
Syndicate content

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Is Multivalent compatible with Windows???

Ygor, does Multivalent work on Windows? (Pls excuse but I know you prefer Mac's so I suspect it wouldn't). I looked at the home page and it looks interesting but not at all informative. If it will work with Win then I'll download it and start playing with it.

Thanks,
Glenda

It is Java. It works anywhere

I did these examples on my work-WinDoze laptop
-----------------------------------
"I think the surest sign that there is intelligent life out there in the universe is that none of it has tried to contact us." (Calvin and Hobbes/Bill Waterson)

Yep

It's java, so it's portable. Just need java on your Windows box. The homepage should let you know what versions work.

I have it on my XP box. The one oddity I have is that running as a non-admin, I had some issues with either multivalent or pdfsam. I think the latter, but I'm not sure.

HTH,
Jason
-- Coffee and Books, the pleasures of life

Link to this excellent article

If it hasn't been done already, can the sys admin link to this article from within the "templates" page?