Chapter 12. Libraries and Snippets

Back when I worked in advertising, I noticed that the art directors would stick little bits and pieces of type and logos on their mechanical board, drafting table, lamp, and wall. This made it easy to grab an often-used logo or piece of art.

Similarly, when you work with electronic page layouts, you use certain elements over and over. For instance, if you’re working on a magazine, you might want to have a series of different-sized frames to hold frequently used ads.

Rather than copying and pasting the frames from one part of the document to another, you can use InDesign’s libraries or snippets to hold the elements you use repeatedly.

Then, when you need to use an item from the library or the saved snippet file, you can simply drag it onto the page.

Storing Items in a Library

A library allows you to store elements, such as text frames, images, or empty frames. When elements are in a library, they can be dragged easily into open documents. Libraries are especially useful when you need to use the same element in many different places.

Tip

Libraries appear as panels that float above the open InDesign documents. Libraries are available to use with any InDesign document.

To create a library:

  1. Choose File > New > Library. This opens the New Library dialog box.
  2. Use this dialog box to name the library file and select its location.

    Tip

    The name of the library file appears in the tab of the Library panel.

  3. Click Save. The library appears as a floating panel image.

    image

    image A new Library panel does not contain any items.

To add items to a library:

  1. With a library open, select the item you want to insert in it.
  2. Click the Add Item button at the bottom of the Library panel.

    or

    Drag the item into the library image. The item appears in the Library panel.

    image

    image You can add items to a library by dragging them from the page into the Library panel.

    or

    Choose Add Item from the Library panel menu image.

    image

    image The Library panel menu contains the commands for working with a library.

    Tip

    Multiple objects are always entered as a single library item. If you want individual objects, you need to select and add them to the library one by one.

You can also add all the items on the current page to a library.

To add a page to a library:

  1. With a library open, move to the page you want to add to the library.
  2. Choose Add Items on Page [number] from the Library panel submenu.

    Tip

    The Add Items on Page [number] command automatically labels the entry as a single page in the library Item Information dialog box.

Instead of the Add Items on Page [number] command, you may want to add all the items on a page as individual library entries. Instead of dragging them one by one into the Library panel, you can add the items as separate elements.

To add all the items on a page separately:

  1. With a library open, move to the page that contains all the items that you want to add to the library.
  2. Choose Add Items on Page [number] as Separate Objects from the Library panel menu.

To delete items from a library:

  1. Select the item in the library.
  2. Click the Delete Item icon.

    or

    Choose Delete Item(s) from the Library panel menu.

  3. A dialog box appears asking for confirmation that you want to delete the items. Click Yes.

    Tip

    Hold the Opt/Alt key to bypass the dialog box when you delete a library item.

Applying Library Items to a Page

Libraries can be opened and the elements in the libraries dragged onto any InDesign documents.

To add library items to a document:

  1. Select the item in the library.

    Tip

    Shift-click to select multiple contiguous entries in the Library panel.

    Tip

    Cmd/Ctrl-click to select multiple non-contiguous entries in the Library panel.

  2. Drag the items from the library onto the page image.

    image

    image Items can be dragged from a library onto a document.

    or

    Choose Place Item(s) from the Library panel menu.

    Tip

    The Place Item(s) command adds the library item in the same position it was in when first defined.

You may want to modify an item in a library with a new object, text, or image. The Update Library Item command makes this easy to do.

To update an item in a library:

  1. Select the item on the page that you want to use as the replacement in the library.
  2. Select the item in the library that needs to be updated.
  3. Choose Update Library Item from the Library panel menu. The library thumbnail updates to display the new item.

Setting the Library Display

If you have many items in a library, you may want to change how the items are displayed.

To change the library display:

• Choose List View in the Library panel menu to see the item name and an icon that indicates the type of item image.

image

image The List View shows the name of the item and an icon that shows the type of item.

or

Choose Thumbnail View or Large Thumbnail View to see the name and a preview of the item image.

image

image The Thumbnail View shows the name of the item and a preview of the item.

You can also add information such as file type and keywords that makes it easy to search for library entries.

To modify the library item information:

  1. Select the item.
  2. Click the Library Item Information icon.

    or

    Choose Item Information from the Library panel menu. This opens the Item Information dialog box image.

    image

    image The Item Information dialog box lets you change the information assigned to each item.

  3. Enter the name in the Item Name field.
  4. Use the Object Type list to choose one of following categories image:

    Text contains text frames.

    Image contains raster images.

    Page is an entire page.

    Structure contains XML elements.

    EPS contains EPS files.

    PDF contains PDF files.

    InDesign contains InDesign files.

    Geometry includes frames and rules that do not contain images or text.

    image

    image Use the Object Type list to apply a label for the library element.

    Tip

    InDesign assigns a category when items are entered into a library. You can change that listing to any category you want.

  5. Enter a description for the item.

Searching and Sorting Libraries

If you have many items in a library, you may find it difficult to find specific library entries. InDesign has a powerful search feature that makes it easy to locate specific items in a library.

To search within a library:

  1. Click the Show Library Subset icon.

    or

    Choose Show Subset from the Library panel menu. This opens the Subset dialog box image.

    image

    image The Subset dialog box lets you find specific library items.

  2. Choose Search Entire Library to search all entries in the library image.

    image

    image The search criteria in the Subset dialog box let you specify where to search in the library.

    or

    Choose Search Currently Shown Items to search through only those items currently displayed in the library.

  3. Use the Parameters menu and fields to set the search criteria image.

    image

    image The Parameters menu lets you choose which part of the item information is searched.

  4. Click More Choices to add up to five choices to the parameters list.
  5. Choose Match All to choose only those items that match all the search parameters image.

    image

    image The match criteria in the Subset dialog box control how the search items are matched.

    or

    Choose Match Any One to find items that meet at least one of the search parameters.

  6. Click OK to display the items that meet the search criteria.

    Tip

    Use the Back or Forward button to move through the search settings in the Subset dialog box.

Once you have sorted a library, you may need to show all the items at some other time.

To display all the library entries:

• Choose Show All from the Library panel submenu.

You can also control the order in which the library items are displayed. This makes it easier to find items in large libraries.

To sort library entries:

• Choose one of the Sort Items options from the Library panel menu:

By Name arranges the items in alphabetical order.

By Newest arranges the items in the order they were added, with the newest items first.

By Oldest arranges the items in the order they were added with the oldest items first.

By Type arranges the items in groups according to their categories.

Creating and Using Snippets

Snippets are exactly what they sound like—little bits of a page that you snip off to use somewhere else.

To create snippets using the Export command:

  1. Select the items on the page that you want to turn into a snippet.
  2. Choose File > Export.
  3. In the Export dialog box choose InDesign Snippet from the Format list image.

    image

    image The Export dialog box lets you save items as InDesign snippets.

    Tip

    You cannot drag portions of text as a snippet, only the entire frame.

  4. Name and save the file. The snippet icon appears in the directory.

To create snippets by dragging:

  1. Select and drag the items that you want to turn into a snippet onto the desktop. The Snippet icon appears with a bizarre temporary name.
  2. Change the name to something more understandable.

Once you have created snippets, you can drag them onto a page.

To drag snippets onto a page:

  1. Select the snippet on the desktop or in the file directory.
  2. Drag the Snippet icon onto the InDesign document page.

    Tip

    Use the Snippets Import setting in the Preferences > File Handling dialog to choose whether the snippet appears at its original coordinates or the cursor position image.

    image

    image The Snippet Import setting in the File Handling Preferences lets you control where snippets appear when dragged onto a page.

    Tip

    Snippets also can be dragged from the Adobe Bridge onto a page.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.145.86.183