Slug (typesetting)

Slugs in the Basel Paper Mill museum

In typesetting, a slug is a piece of lead or other type metal, in any of several specific word senses. In one sense, a slug is a piece of spacing material used to space paragraphs. In the era of commercial typesetting in metal type, they were usually manufactured in strips of 6-point lead. In another sense, a slug is one line of Linotype typeset matter, where each line corresponds to one piece of lead.

In modern typesetting programs such as Adobe InDesign, slugs hold printing information, customized color bar information, or displays other instructions and descriptions for other information in the document. Objects (including text frames) positioned in the slug area are printed but will disappear when the document is trimmed to its final page size. [1]

Usage in web publishing

Main article: Slug (web publishing)

More recently this term is also used in web publishing to refer to short article labels that can be used as a part of an URL. Slugs are usually derived from article's title and are limited in length and the set of characters (to prevent percent-encoding, often only letters, numbers and hyphens are allowed).[2]

References

  1. "Using Adobe InDesign CS4". Create new documents. Adobe Systems. Retrieved 2009-10-16.
  2. "Django Glossary". Django Documentation. Django Software Foundation. Retrieved 2009-07-09.

See also

This article is issued from Wikipedia - version of the 11/18/2015. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.