Back

If your email is not recognized and you believe it should be, please contact us.

Forum Replies Created

Viewing 15 posts - 481 through 495 (of 498 total)
  • Author
    Posts
  • in reply to: Grep style #67104
    Masood Ahmad
    Participant

    Hi, I think this will help you…

    GREP Find What:
    \+\d+\+

    Change Format:
    Icons character style

    The code will find all the digits whether 1 or many before and after the plus sign.

    in reply to: Character Style Automation for Foreign words #67100
    Masood Ahmad
    Participant

    I think the question was asked by Damayanto and we mistakenly acknowledge to Abbas :)

    in reply to: Character Style Automation for Foreign words #67099
    Masood Ahmad
    Participant

    Abbas, I have been working with Right to Left Languages from the past 15 years. I’m a linguistic operator by profession. I too cam across the same problem while working in InDesign. I am working with InDesign ME (Middle East) since CS2. InDesign lacks the ability to define two fonts for the same paragraph. The “https://s13.postimg.org/9ggyhsfnr/word_para.gif” shows the screen grab from MS Word which has this feature since its beginning (with Language support). The ‘Complex Scripts’ font drop-down list controls the font for the Right-to-Left Languages example: Arabic, Urdu, Persian, Dari, Hebrew etc whereas ‘Latin text’ controls the font for the Left-to-Right languages example: English, French, etc. Hope Adobe, will bring some relief to us in his next launch someday; David, please pass this information to Adobe.

    When I come across such problem, I define the main Font for the complex script in my paragraph style and creates a character style for the latin text.
    Secondly, you can change the language of your complex script to something like “Arabic” and then you can easily apply some GREP or Find/Replace for the latin language ‘English UK’.

    David, can you give us some GREP code to apply formatting to a definite language, lets say ‘English UK’. We can use that code in our para style to automatically apply the character style to our latin text or vice-versa.

    in reply to: Script to remove Tracking/Kerning from a Document #67013
    Masood Ahmad
    Participant

    Hurray…. I got it… Here is the script…

    tell application “Adobe InDesign CS5”
    tell active document
    set applied language of every story to “English: UK”
    set tracking of every story to 0
    end tell
    end tell

    in reply to: Text will not print please help #66991
    Masood Ahmad
    Participant

    Have you check whether the text is visible in Preview mode. If not then there could be couple of possibilities, some of which are listed below, please try these:

    1. Uncheck the ‘Nonprinting’ text box attribute from Windows>Output>Attributes.

    or

    2. Check if there is any object on top of the text with ‘Overprint Fill’ attribute. In this case the text will only be visible under Overprint Preview mode.

    Masood Ahmad
    Participant

    Hello, does anyone found something related to this?

    in reply to: GREP – Ignore / Skip particular word from search #64631
    Masood Ahmad
    Participant

    Thanks David, I will try to figure out something from Peter’s expression. Once again Thanks.

    in reply to: GREP – Ignore / Skip particular word from search #64628
    Masood Ahmad
    Participant

    There is no specific text I can give you right now, for instance you can take any text…

    ABC is a US-owned company with over 40 years experience in the creative industries. The company is ISO 9001 certified and employs over 600 designers, graphics artists and editorial production staff at 3 studios in India.

    In the above given text I would like to ignore digits and words like “and”, “ISO” and apply a character style (Bold) to the remaining.

    The idea behind this is that I want to know whether it is possible to skip any particular text using GREP or not.

    in reply to: GREP – Ignore / Skip particular word from search #64623
    Masood Ahmad
    Participant

    Any help …..

    in reply to: Search Text, Replace With Charactor Style #64598
    Masood Ahmad
    Participant

    Mark, in addition to Hopsa, please try this if you do not want to include the brackets []

    (?<=\[)\d+\:\d+(?=\])

    This will work both ways i.e. either with Find/Replace command or with Paragraph/GREP styles.

    in reply to: Adding spaces to large figures ? with GREP? #64597
    Masood Ahmad
    Participant

    It seems I am missing something or unable to understand what Justin is trying to say. I tried both ways i.e. a para ending with or without a punctuation, the grep mentioned by Justin in #34463 “\d(?=(\d\d\d)+\D)” is working fine. Also the Jongware’s expression is giving me the same output both ways.

    Here is my Input and Output:

    Text before Find and Replace command:

    ABC is a US-owned company with over 40 years 12345678 experience in the creative industries. We provide 12345 mission critical, creative production services to 123456 newspaper and magazine publishers, 123456 corporations, catalogue retailers, SME’s, packag 123456789 and 1234567890 pre-media companies 123456789
    58787878

    ABC is a US-owned company with over 40 years 12345678 experience in the creative industries. We provide 12345 mission critical, creative production services to 123456 newspaper and magazine publishers, 123456 corporations, catalogue retailers, SME’s, packag 123456789 and 1234567890 pre-media companies 123456789.
    58787878.

    Text after the Find and Replace command using the expression:

    Find:
    \d(?=(\d\d\d)+\D)
    \d(?=(\d\d\d)+(?!\d))

    Replace with:
    $0 (with space after $0)

    ABC is a US-owned company with over 40 years 12 345 678 experience in the creative industries. We provide 12 345 mission critical, creative production services to 123 456 newspaper and magazine publishers, 123 456 corporations, catalogue retailers, SME’s, packag 123 456 789 and 1 234 567 890 pre-media companies 123 456 789
    58 787 878

    ABC is a US-owned company with over 40 years 12 345 678 experience in the creative industries. We provide 12 345 mission critical, creative production services to 123 456 newspaper and magazine publishers, 123 456 corporations, catalogue retailers, SME’s, packag 123 456 789 and 1 234 567 890 pre-media companies 123 456 789.
    58 787 878.

    I think what finally matters is the output, which has been achieved. Happy GREPing…

    in reply to: Adding spaces to large figures ? with GREP? #34496
    Masood Ahmad
    Participant

    Thanks Justin. I am just a beginner. I checked both the expressions (given below), both are working fine even if the numbers are at the end of a paragraph with or without a period. I tested it both way i.e. with paragraph style and with Find/Change.

    Here is the text I was using for testing purpose:
    ABC is a US-owned company with over 40 years 12345678 experience in the creative industries. We provide 12345 mission critical, creative production services to 123456 newspaper and magazine publishers, 123456 corporations, catalogue retailers, SME?s, packag 123456789 and 1234567890 pre-media companies 123456789.

    Find:
    (\d\d\d)(?=\d)

    Replace:
    $0

    and

    Find:
    \d(?=(\d\d\d)+\D)

    Replace:
    $0 or character style

    in reply to: Adding spaces to large figures ? with GREP? #34491
    Masood Ahmad
    Participant

    Hi Justin,

    I am also trying my hands on the GREP and while checking your code at my end, I found that “(?<=\d)\d\d\d(?!\d)” expression will only find the last three digits from a list of numbers. For example in a number 123456789, the expression will only select 789, i.e. the last three digits and it will then move on for the next search.

    However, if you use your GREP expression shown above “\d(?=(\d\d\d)+\D)” in the Find What panel and replace it with the character style, you just suggested above, then the search will find all the groups of 3 digits starting from the ending position. For example in a number 123456789, it will become 123 456 789.

    Hans, in addition to Justin, I would like to add a GREP expression, in case you need to create a 3 digit group from the beginning of the numbers, For example: 1234567, it will become 123 456 7.

    Grep Find:
    (\d\d\d)(?=\d)

    Grep Replace:
    $0 (please note that there is a space after $0)

    Thanks

    in reply to: Converting existing 8.5 x 11 documents to 4.25 x 5.5 #34490
    Masood Ahmad
    Participant

    Hi Tbone,

    I think Kelly’s suggestion is a lengthy way to convert the document into half. The better solution for your problem is to Select all the objects/text etc on the page, Group it and then scale it down to 50%. You can repeat the steps on each page. In this way all the elements whether it is text or graphic or image will be proportionally reduced to 50%. Just make sure to lock the Scaling X and Y coordinates before making it 50%.

    Hope that will be easy !

    in reply to: Merging Index Entries from Old to New ID File #34180
    Masood Ahmad
    Participant
Viewing 15 posts - 481 through 495 (of 498 total)