Nested Style possibility?

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

  1. #1

    Default Nested Style possibility?

    Is it possible to make a Nested Style which changes my font whenever a
    digit is encountered from "The Sans Plain" to "The Sans Caps"?

    --
    Regards Nina Storm
    Nina_Storm@adobeforums.com Guest

  2. Similar Questions and Discussions

    1. PDF to Text possibility thru clipboard
      I have been trying to convert PDF to text and I thank the Acrobat team for the help which was more like an instant chat :) I realize one way to do...
    2. Nested Paragraph Style Question
      Hi, the manual is pretty vague about some of the specifics of handling nested paragraph styles. I'm seeing if they will help me in a catalog. I...
    3. Trying to figure out a nested style sheet or other solution for formatting.
      Hi Guys Im doing a directory of resources for seniors and each entry is as follows: 1) NAME OF SERVICE 250 554-4587 2) textual explanation of...
    4. End Nested Style in Tagged Text
      How can I include the End Nested Style character in a tagged text file? There doesn't seem to be a code for it in the Tagged Text.PDF file.
    5. Possibility to insert textboxes???
      Hi I just wanna know if it is possible to insert a textbox on a webpage that i am currently making with photoshop and imageready.... I wanted it to...
  3. #2

    Default Re: Nested Style possibility?

    Yes. Make a character style for the digit. Set the other font in the paragraph style and then use two (or more) nested styles:

    None up to 1 digit
    NewStyle through 1 word

    Or however long you want it to go -- if you want the second style to run to the end of the paragraph, then use "through 1 End Nested Style Character.

    Dave
    Dave_Saunders@adobeforums.com Guest

  4. #3

    Default Re: Nested Style possibility?

    Dave,

    It's a nice thought, but won't work completely well in the real world.

    What if the "digit" is actually two digits? The nested style setting won't work then.

    It would be better to do a Find/Change for any digit and then apply a character style.
    Sandee_Cohen@adobeforums.com Guest

  5. #4

    Default Re: Nested Style possibility?

    I don't care how long the "digit" is. It all depends on the nature of the paragraphs.

    The way I have it set up, it'll run either to the end of the word (any number of digits) or the end of the paragraph. If you want to switch back after the "word" you'll need more nested styles.

    Dave
    Dave_Saunders@adobeforums.com Guest

  6. #5

    Default Re: Nested Style possibility?

    Yes it works perfectly well, although it is a pain to set up.
    If exactly the digits are to be formatted you define a rule up to ^9 applying [none] and a second rule up to ^$ applying "cstyle ". That way the character directly after the digit can be anything, not only a space.
    Repeat as many times as necessary, you can define 40 rules per paragraph.

    Gerald
    Gerald_Singelmann@adobeforums.com Guest

  7. #6

    Default Re: Nested Style possibility?

    Thank you, it is a very important issue to us, as we use this in heavy
    catalogues produced twice a year!

    However I cannot make it function just now. I'll have to experiment a
    bit. But very nice to know that it shoul be possible.

    All digits have to be Caps not Plain, and the digits occur in different
    lengths in no systematic way among text.

    Gerald, what do you mean by "up to ^9" and "up to ^$" - just an example
    of digits and characters?

    I am so impressed of the help and knowledge in this forum.

    --
    Regards Nina Storm
    Nina_Storm@adobeforums.com Guest

  8. #7

    Default Re: Nested Style possibility?

    Gerald's speaking Find/Change. ;-) Those are the wildcard codes you have to use to search for "any digit" (^9) and "any letter" (^$).

    But in Nested Styles, you'd choose "Digit" or "Letter" from the dropdown menu for the stop character. You could enter those codes but ID converts them to the words Digit or Letter as soon as you tab out of the field.

    I'm finding that the "up to 1 digit" works fine but the "up to 1 letter" does not. Using those results in no character styles being applied at all to the numbers. It should, I think, but I can't figure out why it won't.

    However what does work is entering a string of characters for when you want the character style to stop being applied. I typically use " .,;:!?" for normal text flow. (space, period, comma, semicolon, colon, exclamation point and question mark). If your numbers are sometimes immediately followed by other characters you could add them too ... like @.

    InDesign stops applying the character style as soon as it encounters any of the characters in the string (it's a "Boolean OR").

    Also, to make a style apply to the end of the paragraph ... like you want No Style to apply to the end in this example ... I usually use "up to 1 Section Marker" (choosing Section Marker from the drop-down menu). Section Markers typically *never* appear in body text (where you're normally applying a paragraph style with nested elements), so they work.

    Better than End Nested Style characters because sometimes you want to use them in the main text for what they're intended for ... to stop applying the nested style (like if you wanted a particular number not to get the character style applied).

    AM
    Anne-Marie Concepcion Guest

  9. #8

    Default Re: Nested Style possibility?

    Upi can use those codes in nested styles. You just have to remember them, though.

    Dave
    Dave_Saunders@adobeforums.com Guest

  10. #9

    Default Re: Nested Style possibility?

    Upi = "You" but fingers are one letter to the right?

    Or are you talking to someone from Michigan's Upper Peninsula ...

    ;-)
    Anne-Marie Concepcion Guest

  11. #10

    Default Re: Nested Style possibility?

    Ah, look what happens when I touch-type in a hurry!

    Dave
    Dave_Saunders@adobeforums.com Guest

  12. #11

    Default Re: Nested Style possibility?



    Gerald's speaking Find/Change. Those are the wildcard codes you have to
    use to search for "any digit" (^9) and "any letter" (^$).




    No, Gerald has a german InDesign and "Ziffer" and "Buchstaben" just wouldn't help, would they? No easy way of finding out what they are called in an english InDesign.
    ^9 and ^$ are international.
    The joys of a global village ;)

    Perhaps it should be clarified that "Letter" includes all characters from a to z including international letters like ä but no spaces and no symbols like §.
    Anne-Marie's suggestion to just enter all characters that can come after a number is more work but also more precise.

    Thanks
    Gerald
    Gerald_Singelmann@adobeforums.com Guest

  13. #12

    Default Re: Nested Style possibility?



    No, Gerald has a german InDesign and "Ziffer" and "Buchstaben" just wouldn't
    help, would they?




    LOL ... sorry about that!

    But interesting to learn that they're called Ziffer and Buchstaben!

    AM
    Anne-Marie Concepcion 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