Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member

Using libraries and snippets

From: Creating Long Documents with InDesign

Video: Using libraries and snippets

If you work with long documents, you probably have at least some recurring design elements that don't always fall into predictable locations on the page. Maybe you need to share elements with someone else in the workflow or maybe you need to use a set of the same design elements across multiple publications. If any of these apply to you, you should be using libraries or snippets. First, let's talk about creating snippets and library items. There are three ways I can create snippets. I can select a page item and I can drag and drop it to my Desktop, and for that, since I'm using the application frame, I'll have to drag InDesign out of the way so I can see my Desktop. And I'll drag it over.

Using libraries and snippets

If you work with long documents, you probably have at least some recurring design elements that don't always fall into predictable locations on the page. Maybe you need to share elements with someone else in the workflow or maybe you need to use a set of the same design elements across multiple publications. If any of these apply to you, you should be using libraries or snippets. First, let's talk about creating snippets and library items. There are three ways I can create snippets. I can select a page item and I can drag and drop it to my Desktop, and for that, since I'm using the application frame, I'll have to drag InDesign out of the way so I can see my Desktop. And I'll drag it over.

And when it appears on the Desktop it's now a snippet. Now, it's named with this sort of garbage file name, but I can quickly just change that. I'll call this featurebox. Now, the other ways I can create a snippet, I can drag and drop it right into Mini Bridge, or I can select it and choose File > Export > Format > InDesign Snippet.

I'll cancel out of there. To create library items you first need a library. So to create a library, go to File > New > Library, and I'll call this CheeseLibrary. And now I can place items into this. So with this box selected, I'll click on the New Library Item button and it's added to the library. To rename it, I'll double- click and I'll call it featurebox.

I can also select an Object Type that I can use to search and filter library items later. You can update library items easily, so if the design of a page element changes, like say if the fill of this box changed, so I go to my Swatches panel, select the Fill and change the Tint from 20% to, say, 50%, then I can select the library item and from the Library panel menu, I'll just choose Update Library Item. And you can see the fill changed inside the library.

I can also add guides as library items as snippets. You can't drag guides into libraries or onto your Desktop like normal page items, but you can add them to libraries by selecting a guide and then clicking on the New Library Item button. So I'll select this guide and just click on the New button and now this is added. I'll double-click and rename it guide. To export a guide as a snippet, press Command+E or Ctrl+E, Format > InDesign Snippet, and give it a name.

Just remember that you can't save guides and page objects into the same snippet or library item, because it's impossible to select both things at the same time. Now, for placing snippets and library items you have some options. You can drag and drop them into the layout. So I can drag this library item into the layout. And actually, I'll delete the original. Or I can place it, by right- clicking on in and choosing Place Item. And when I place it, it goes to the position of the original item.

To place a snippet I'll press Command+D or Ctrl+D for Place. I'll navigate to where I put the snippet and click Open. Now you have the option to place snippets at the same page location as the original or at your cursor, and the default for this preference is set in your File Handling Preferences. Right now, my preferences are set to go to the cursor location, so if I click, this box will go exactly where my cursor is. But I can undo, and I'll delete this frame, and I'll hold Option or Alt, and now the box will go to the position of the original.

Snippets and library items will retain their layer associations if you've selected Paste Remembers Layers in the Layers panel. So let's go over to the Layers panel and just check that. Paste Remembers layers is on, so my snippets and library items for these feature boxes have all gone on the Features layer. If Paste Remembers Layers was turned off, an imported snippet or library item would go to whatever layer was targeted. Another cool use for snippets and library items is as repositories of document resources you might want to reuse in the future.

So what do I mean by document resources? Well, things like styles, all kinds of styles-- paragraph styles, character styles, table styles, cell styles, object styles-- also swatches, strokes, layers, hyperlinks, even XML tags, all those kind of things can be saved in snippets and library items. And when you place snippets and library items into a document, all those resources come with it. So let's see how that works. I'll create a brand-new document with nothing in it. So it has no paragraph styles, a few default swatches, and so forth.

And I'll place the snippet by pressing Command+D or Ctrl+D, and I'll navigate to where I kept the snippet. This is my BaseStyles snippet, and I'll click Open. And you can see I have it at my cursor, but if I look in my Paragraph Styles panel, I can see a whole bunch of paragraph styles have already been loaded. And likewise, there is a character style, and up in my Layers panel there is two new layers that were added to the document: a Text layer and an Art layer. I don't even have to actually place the snippet into the layout because I don't really want all those page items; I just wanted the resources. So I'll just press the Escape key to get rid of the page items and keep all the resources.

So both snippets and libraries are hugely useful in long-document workflows. At some point you're going to need to reuse page objects in a way where you need something more than just a style and something less than a master page. For anything in between, there is snippets and libraries.

Show transcript

This video is part of

Image for Creating Long Documents with InDesign
Creating Long Documents with InDesign

59 video lessons · 16449 viewers

Mike Rankin
Author

 
Expand all | Collapse all
  1. 10m 48s
    1. Welcome
      54s
    2. Using the exercise files and scripts
      1m 51s
    3. Long-document workflow overview
      4m 20s
    4. Analyzing the planned output
      3m 43s
  2. 34m 7s
    1. Using master pages
      9m 34s
    2. Using layers
      7m 23s
    3. Using text variables
      6m 42s
    4. Using section markers
      5m 44s
    5. Synchronizing text
      4m 44s
  3. 26m 16s
    1. Using InDesign templates
      7m 10s
    2. Setting up preferences
      3m 27s
    3. Using Word templates
      5m 50s
    4. InCopy workflows
      5m 17s
    5. Creating a production manual
      4m 32s
  4. 40m 2s
    1. Using Based On styles
      6m 14s
    2. Using nested styles
      5m 56s
    3. Using Next Style
      3m 39s
    4. Using GREP styles
      6m 17s
    5. Using object styles
      2m 48s
    6. Using table and cell styles
      5m 8s
    7. Using swatches
      5m 33s
    8. Using Quick Apply
      4m 27s
  5. 37m 57s
    1. Placing text
      4m 57s
    2. Placing images
      3m 41s
    3. Creating metadata captions
      4m 3s
    4. Using Mini Bridge
      4m 38s
    5. Using libraries and snippets
      6m 4s
    6. Using GREP Find/Change
      5m 5s
    7. Find/Change tips
      5m 21s
    8. Using Layout Adjustment
      4m 8s
  6. 15m 53s
    1. Using Notes
      4m 7s
    2. Tracking changes
      4m 36s
    3. Using CS Review
      7m 10s
  7. 34m 43s
    1. Creating tables of contents
      7m 9s
    2. Alternative uses for the TOC feature
      4m 9s
    3. Creating cross-references
      6m 8s
    4. Creating footnotes
      6m 31s
    5. Importing footnotes
      6m 47s
    6. Creating endnotes
      3m 59s
  8. 33m 50s
    1. Scoping out the index
      2m 19s
    2. Creating index topics and references
      9m 29s
    3. Creating index cross-references
      3m 1s
    4. Creating index references with Find/Change
      3m 31s
    5. Generating an index
      3m 35s
    6. Preserving formatting in an index
      5m 13s
    7. Using third-party indexing tools
      6m 42s
  9. 26m 44s
    1. Using InDesign book files
      4m 37s
    2. Numbering book documents
      5m 46s
    3. Synchronizing book documents
      7m 5s
    4. Preflighting book documents
      3m 49s
    5. Outputting book documents
      5m 27s
  10. 12m 54s
    1. Using conditional text
      5m 1s
    2. Using Smart Text Reflow
      4m 3s
    3. Using object styles for customization
      3m 50s
  11. 25m 17s
    1. Preflighting documents
      6m 56s
    2. Exporting to print PDF
      5m 26s
    3. Exporting to interactive PDF
      5m 36s
    4. Archiving a project
      7m 19s
  12. 48s
    1. Goodbye
      48s

Start learning today

Get unlimited access to all courses for just $25/month.

Become a member
Sometimes @lynda teaches me how to use a program and sometimes Lynda.com changes my life forever. @JosefShutter
@lynda lynda.com is an absolute life saver when it comes to learning todays software. Definitely recommend it! #higherlearning @Michael_Caraway
@lynda The best thing online! Your database of courses is great! To the mark and very helpful. Thanks! @ru22more
Got to create something yesterday I never thought I could do. #thanks @lynda @Ngventurella
I really do love @lynda as a learning platform. Never stop learning and developing, it’s probably our greatest gift as a species! @soundslikedavid
@lynda just subscribed to lynda.com all I can say its brilliant join now trust me @ButchSamurai
@lynda is an awesome resource. The membership is priceless if you take advantage of it. @diabetic_techie
One of the best decision I made this year. Buy a 1yr subscription to @lynda @cybercaptive
guys lynda.com (@lynda) is the best. So far I’ve learned Java, principles of OO programming, and now learning about MS project @lucasmitchell
Signed back up to @lynda dot com. I’ve missed it!! Proper geeking out right now! #timetolearn #geek @JayGodbold
Share a link to this course

What are exercise files?

Exercise files are the same files the author uses in the course. Save time by downloading the author's files instead of setting up your own files, and learn by following along with the instructor.

Can I take this course without the exercise files?

Yes! If you decide you would like the exercise files later, you can upgrade to a premium account any time.

Become a member Download sample files See plans and pricing

Please wait... please wait ...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.


Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ .

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.


Mark all as unwatched Cancel

Congratulations

You have completed Creating Long Documents with InDesign.

Return to your organization's learning portal to continue training, or close this page.


OK
Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member ?

Become a member to like this course.

Join today and get unlimited access to the entire library of video courses.

Get started

Already a member?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferences from the dropdown menu.

Continue to classic layout Stay on new layout
Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

Learn more, save more. Upgrade today!

Get our Annual Premium Membership at our best savings yet.

Upgrade to our Annual Premium Membership today and get even more value from your lynda.com subscription:

“In a way, I feel like you are rooting for me. Like you are really invested in my experience, and want me to get as much out of these courses as possible this is the best place to start on your journey to learning new material.”— Nadine H.

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.