Discover millions of ebooks, audiobooks, and so much more with a free trial

Only $11.99/month after trial. Cancel anytime.

GREP in InDesign
GREP in InDesign
GREP in InDesign
Ebook139 pages29 minutes

GREP in InDesign

Rating: 0 out of 5 stars

()

Read preview

About this ebook

Besides Scripts, GREP is one of the more powerful tools to automate InDesign. Written by a graphic designer, this book shows how to use regular expressions to get InDesign to the next level, allowing apply paragraph and character styles formating with single code.

LanguageEnglish
PublisherIván Gómez
Release dateJun 27, 2022
ISBN9781005515195
GREP in InDesign
Author

Iván Gómez

Soy un diseñador gráfico, apasionado por el diseño y la enseñanza. Actualmente vivo en Colombia. Soy Instructor Certificado por Adobe (ACI) en Photoshop CC, Illustrator CC e InDesign CC. Dicto cursos y talleres sobre corrección de color, automatización en InDesign, técnicas de ilustración en Illustrator y creación de libros electrónicos. Trabajo en diseño parte de mi tiempo y dedico gran parte del año a enseñar que es lo que me apasiona.

Related to GREP in InDesign

Related ebooks

Software Development & Engineering For You

View More

Related articles

Reviews for GREP in InDesign

Rating: 0 out of 5 stars
0 ratings

0 ratings0 reviews

What did you think?

Tap to rate

Review must be at least 10 words

    Book preview

    GREP in InDesign - Iván Gómez

    cover.png

    GREP In InDesign: a practical guide to designers

    By Iván Gómez Sánchez

    eBook version design:

    Iván Gómez S.

    Reviewed by

    Luís Felipe Corullón

    English translation

    Catalina Gómez Valencia

    Ramiro Arango

    2013-2022 Iván Gómez S.

    © All Rights Reserved

    ISBN 978-958-46-3121-3

    To mom, my guide. Wherever you are...

    Contents

    Introduction

    Organization of the manual

    Conventions used in this manual

    Part One

    GREP searches

    Definition

    Text patterns

    Advantages of using GREP searches

    Use of GREP commands

    Some uses of regular expressions:

    Case sensitive

    Metacharacters

    Wildcards

    Negative searches

    Repetitions

    Zero or One time?

    Zero o More times *

    One or more times +

    Repetition - Exact number of times {n}

    Backwards references

    Alternatives

    Locations

    Begining of paragraph ^

    End of paragraph $

    Begining of word\<

    End of word \>

    Word boundary \b

    Beginning of story \A

    End of story \Z

    Match

    Character set []

    GLOBAL SEARCHES

    Positive Lookahead (?=)

    Negative Lookahead (?!)

    Positive Lookbehind (?<=)

    Negative Lookbehind (?

    Part Two

    GREP searches in InDesign

    Find and change in InDesign

    Applying styles

    GREP within Paragraph Styles

    Part Three

    GREP formulas

    GREP Commands in InDesign

    GREP codes in InDesign

    White spaces

    Hyphens

    Line breaks

    Text anchors

    Resources

    About the author

    Introduction

    I find that the most time-consuming tasks in InDesign are applying styles and proofreading. The latter, even though it is not the designer's responsibility, is, in practice, a mandatory task that, besides not involving design, is often not even included in the job costs.

    Searches with Global Regular Expression Parser (GREP) allow you to apply paragraph and character styles, and also find text -such as e-mails or telephone numbers- without having to do it manually.

    This manual shows how to use Regular Expression on InDesign, automating repetitive tasks such as applying styles and making text changes.

    You don't need programming skills or spend long hours writing search-and-replace commands using regular expressions. Due to the widespread use of GREP searches in recent years, it is very easy to find free downloadable libraries on the web. You only need to know the basics of GREP searches to reuse these libraries, or to create search expressions from them to speed up the editing of documents in InDesign.

    Organization of the manual

    This manual is divided into three parts; the first one, GREP Searches, explains the basics of GREP searches by citing practical examples; the second part, GREP Search and Replacement in InDesign, describes the use of GREP commands specifically within InDesign; the third part, GREP Recipes, contains 40 'formulas' – and their explanation – with some of the most commonly used GREP commands in a typical editorial workflow.

    Conventions used in this manual

    Italic text

    Represents a command within InDesign (ex: File>Open)

    Monospaced text

    Indicates the text to be typed in the search.and-replace boxes.

    This is an example

    Texts in a gray box refer to sample text to which the search command is applied.

    B:

    Text or code to be entered in the Find what: field

    C:

    Text or code to be entered in the Change to: field

    Formula 1

    Exercise, Formula title.

    Definition

    First of all, it is important to understand that GREP is not a programming language; GREP is a tool to perform search and replacement of text in any publication. The fundamental difference with traditional text searches – as the ones we do in applications such as Word

    Enjoying the preview?
    Page 1 of 1