Adobe InDesign CS4 Uživatelský manuál Strana 162

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 717
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 161
154
USING INDESIGN CS4
Text
You can use the Found Text expressions to refer to these groupings. For example, $0 refers to all found text, and $2
refers to only the second grouping. By inserting $2 in the Change To field and specifying a character style in the Change
Format field, you can search for a word within quotation marks, and then replace the word with a character style.
Because only $2 is specified, the $1 and $3 groupings are removed. (Specifying $0 or $1$2$3 in the Change To field
would apply the character style to the quotation marks as well.)
GREP example
A. Finds all word characters enclosed in quotation marks B. The character style is applied to the second grouping (the word) while the first two
groupings (open and close quotes) are removed C. Character style specified
This example searches only for single words enclosed in quotation marks. If you want to search for phrases enclosed
in parentheses, add wildcard expressions, such as (\s*.*\w*\d*), which looks for spaces, characters, word characters,
and digits.
Example 2: Phone numbers
InDesign includes a number of search presets that you can choose from the Queries menu. For example, you can
choose the Phone Number Conversion query, which looks like this:
\(?(\d\d\d)\)?[-. ]?(\d\d\d)[-. ]?(\d\d\d\d)
Phone numbers in the United States can appear in a variety of formats, such as 206-555-3982, (206) 555-3982,
206.555.3982, and 206 555 3982. This string looks for any of these variations. The first three digits (\d\d\d) of the phone
number may or may not be enclosed in parentheses, so a question mark appears after the parentheses: \(? and \)?. Note
that the backslash \ indicates that the actual parenthesis is being searched for and that it’s not part of a subexpression.
The brackets [ ] locate any character within them, so in this case, [-. ] finds either a hyphen, a period, or a space. The
question mark after the brackets indicate that the items within it are optional in the search. Finally, the digits are
enclosed in parentheses, which signify groupings that can be referred to in the Change To field.
You can edit the grouping references in the Change To field to suit your needs. For example, you could use these
expressions:
206.555.3982 = $1.$2.$3
206-555-3982 = $1-$2-$3
(206) 555-3982 = ($1) $2-$3
A
B
C
Updated 18 June 2009
Zobrazit stránku 161
1 2 ... 157 158 159 160 161 162 163 164 165 166 167 ... 716 717

Komentáře k této Příručce

Žádné komentáře

Sagem MY400X manuals

Owner’s manuals and user’s guides for Mobile phones Sagem MY400X.
We providing 1 pdf manuals Sagem MY400X for download free by document types: User's Guide






More products and manuals for Mobile phones Sagem

Models Document Type
SG341I User's Guide   Sagem SG341I User guide [en] , 92 pages
MY411C User Manual   Sagem MY411C User manual, 69 pages
MY 304X User Manual   MY 302X MY 304X - Instructions Manuals, 66 pages
MY500C User's Guide   Sagem MY500C User guide, 72 pages
MY401C User Manual   Sagem MY401C User manual, 72 pages
MY210X User Manual   Sagem MY210X User manual, 96 pages
MYC-3 User's Guide   Sagem MYC-3 User guide, 72 pages
MY901C User Manual   Sagem MY901C User manual, 72 pages
Puma Phone User Manual   Sagem Puma Phone User manual, 77 pages
912 User Manual   Universal Mega-Box - without cables PROMOTION - GSM, 7 pages
MY300C User's Guide   Sagem MY300C User guide [fr] , 96 pages
My X-5 User Manual   INTRODUCTION, 49 pages
MYZ-55 User's Guide   Sagem MYZ-55 User guide, 87 pages
MYV-65 User Manual   251394239, 91 pages
MY200X User's Guide   Sagem MY200X User guide [en] , 84 pages
MY200X User Manual   Descargar Manual, 92 pages
MYC2-3M User's Guide   Sagem MYC2-3M User guide, 72 pages
MY213X User's Guide   Sagem MY213X User guide, 84 pages
D70V User Manual   D70H DECT - Assistance [pl] [ro] [sk] [ua] , 33 pages
MW 302X User's Guide   Sagem MW 302X User guide, 44 pages