Non-contiguous text selection

Ask a Question related to Adobe Indesign Windows, Design and Development.

  1. #1

    Default Non-contiguous text selection

    I'm using InDesign CS on a Windows 2000 machine.

    I'm doing a lot of science writing, using InDesign to prepare manuals that contain both text and graphics. Many of the characters in the text require formatting as bold, italic, symbol font, subscript and/or superscript. It's rare to have more than one character or word require the different format at a time, and all of these can be required throughout a story.

    For example, in the equation H2SO4 + H2O -> H3O+ + HSO4-, all the numbers need to be subscripted, and the "+" and "-" on the right need to be superscripted. It's faster to type the equation in without the formatting, and then do all of the formatting afterwards.

    Is there a way to select all of the numbers, and then apply the subscripting, rather than doing each character individually?

    Thanks!
    Peter_Marrs@adobeforums.com Guest

  2. Similar Questions and Discussions

    1. #39947 [NEW]: preg_replace failed to replace contiguous char
      From: dlanoire at neuf dot fr Operating system: Windows XP SP2 PHP version: 5.2.0 PHP Bug Type: PCRE related Bug...
    2. Recognising a Text Selection
      Good Afternoon I'm having a problem I have a Dynamic text field and it's selectable activated I have a Button too Now when I press this button...
    3. Text selection
      I'm trying to build a mini lash based word processor in a projector file. I'm trying to find out if it's possible for a user to type in a paragraph...
    4. text selection color?
      Does anyone know of a way to set the color of the field surrounding editable text when the user selects it? (on my comp, for instance, it is...
    5. Flow text around selection. How?!
      "Zdeto" webforumsuser@macromedia.com wrote: Hi Zdeto, You can attach text to a path in Fireworks, but it can't be done with blocks of text....
  3. #2

    Default Re: Non-contiguous text selection

    No, but it could be scripted. Post this in the scripting forum to see if
    anything exists.

    Bob

    Bob_Levine Guest

  4. #3

    Default Re: Non-contiguous text selection

    Depending on what else is around the equations you could select a block of
    text and use find/replace to change attributes of the numbers.

    k


    Ken_Grace@adobeforums.com Guest

  5. #4

    Default Re: Non-contiguous text selection

    Try what Bob and Ken suggest, especially is you have lots of these. Invest
    the time now. If it's not that big a project, it's time for Keyboard
    Shortcuts. <cue the music>

    Let's go with H2SO4. With the text cursor in front of the 2, do Ctrl-right
    arrow to select the character. Then do Shift-Ctrl-Alt-= to make the
    character superscript. Use the right arrow to put the cursor in front of the
    4, hit Ctrl and another right arrow to select is, and so on. Once you've
    done a bit of this, first you'll remember the shortcut for subscript, next
    you'll want to change it to something easier, and you'll do it pretty
    quickly.

    -John O


    JohnO@adobeforums.com Guest

  6. #5

    Default Re: Non-contiguous text selection

    I had a further thought.

    Assuming that you will be subscripting all the numbers in these formulae you
    could make 'formula' paragraph style and apply that to all the formulae as
    you compile. Then do a find replace to subscript all numbers with that
    paragraph style.

    If only some of the numbers need subscripting. You could make a character
    style and apply that to the appropriate chunks of formulae, and , again, use
    find/replace to subscript the numbers.

    The paragraph style option would be marginally easier to apply in that you
    wouldn't have to be too careful about selecting the right text.

    Obviously, the 'formula' style would have identical definitions to the type
    styles you would otherwise be using.

    k


    Ken_Grace@adobeforums.com Guest

  7. #6

    Default Re: Non-contiguous text selection

    Many thanks. I'll look into the scripting idea. I hadn't thought of the formula style, and may also give that a try. As John noted, I've learned the shortcuts very quickly (and have made them easier too!). Fortunately, the keyboard shortcuts work while typing in InDesign, so that speeds up the entry of new material.

    Cheers!
    Peter_Marrs@adobeforums.com Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139