6 December 2013
Adobe InDesign Folio Builder panel and Folio Producer tools
Get the latest Folio Builder panel and Folio Producer tools from the Digital Publishing Suite dashboard.
User level: All
Original publication date: 02/28/2012
Modified: 12/06/2013 (Change log)
By downloading software from the Adobe Web site you agree to the terms of our license agreement. Please read it before downloading.
Note: If you have questions about this article, use the comments feature at the bottom of the article. Please don’t contact technical support with questions about Adobe Developer Connection articles.
Many publishers have vast libraries of publications in PDF file format and would like a quick way to turn these into basic Adobe ® Digital Publishing Suite folios. This tutorial article shows you how to use a sample Adobe InDesign script that automates the process of converting PDF files into InDesign files that are easy to import into Folio Producer. The resulting folios are ready for publication as a Digital Publishing Suite application, including both portrait and landscape orientations.
The following list includes some important details about how the script in this article works:
Check out the following commercially published folios that some developers in the community created using a script, such as the following examples from Source Interlink Media LLC:
Use the following steps to install the sample InDesign script, create_indd.jsx, which you downloaded at the beginning of this article in the Requirements section:
You can use these steps to install any INDD script. Now that you've installed the sample script for this article, use the following steps to try it out with sample files.
Before running the script, you must prepare your input PDF files. The script requires one PDF file per page in your document, which is exactly four cover pages and an even number of body pages, as follows:
Use the following steps to prepare your input PDF files.
You can rename the files using any naming convention you like, as long as the files follow the alphabetical order specified above. The following is a naming convention that we suggest:
Body pages: P###_PUBP-ISSUE#.pdf, where:
For instance, page 3 of the March 2012 issue of "TEST" magazine would be: P003_TEST-120300.pdf
Cover pages: In renaming cover pages, use the same considerations as for the body pages, but start the file name with the following naming conventions:
For example, the sample files provided in this article are as follows, in alphabetical order:
P003_TEST-120300.pdf (Body Page 3) P004_TEST-120300.pdf (Body Page 4) P005_TEST-120300.pdf (Body Page 5) P006_TEST-120300.pdf (Body Page 6) P007_TEST-120300.pdf (Body Page 7) P008_TEST-120300.pdf (Body Page 8) PCN1_TEST-120300.pdf (Front Cover) PCV2_TEST-120300.pdf (Inside Front Cover) PCV3_TEST-120300.pdf (Inside Back Cover) PCV4_TEST-120300.pdf (Back Cover)
In the next section, you'll learn how to run the script against these sample files to create InDesign files.
Before you run the script to create InDesign files, ensure that there is no folder present within your folder of PDF files called "forImport," because the script creates the "forImport" folder when you run it. Follow the steps below to run the script:
Behind the scenes, InDesign runs the script and processes your PDF files into a series of INDD files and a sidecar.xml file. You can see the output of the script in a folder called "forImport" that the script creates within the folder that contained your source PDF files.
For the sample PDF files, the output is six folders, which contain the horizontal and vertical INDD files, with typically two pages per file. Each of these folders will be an "article" in Folio Builder, but they will all combine to form a seamless folio. In the next section, you will import these InDesign files into Folio builder to create a Digital Publishing Suite folio.
To create a Digital Publishing Suite folio from the output of the script, use the Folio Builder's "import" capability.
You can also use the online Folio Producer organizer to publish the folio and test it on a device such as an iPad. Alternatively, read Colin Fleming's article, Self-Signed Adobe Content Viewer: How-To to learn about using USB to preview directly on an iPad without uploading to and publishing from Folio Producer. Either method of previewing directly on a device allows you to view folios created with the default image format set to the PDF option.
This article has shown you how to use a sample script to transform PDF documents into basic Adobe Digital Publishing Suite folios. Depending on your specific needs, you may need to modify the script. One simple modification of the script would be to change the target resolution of the folios to a different size other than 1024x768 for the iPad 1 and 2. See the comments within the script for guidance on this as well as other details.
For more information on Previewing Folios and Articles, see the Help documentation for Using Digital Publishing Suite.
Comments are currently closed as we migrate to a new commenting system. In the interim, please provide any feedback using our feedback form. Thank you for your patience.
12/3/13: Updated script to allow user to force either portrait or landscape orientation, or allow both.