Back

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

Forum Replies Created

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • in reply to: Perfect binding – pictures across the spine #116520
    Marc Autret
    Member

    Hi all,

    Just to mention a similar tool for those who need to seamlessly fill the BLEED area:
    https://indiscripts.com/post/2018/03/fill-bleed-fix-image-frames-so-they-meet-bleed-edge

    (Free script.)

    Best,
    Marc

    Marc Autret
    Member

    Jongware said:

    Marc, you are a sly devil ;)

    But can you make it ignore the space if possible as well?


    OK, you win ;-)

    However, I'm quite sure it would be possible to deal with spaces by refining the GREP rules, but I confess I have not the courage to try…

    @+

    Marc

    Marc Autret
    Member

    Jongware said:

    Since you can only apply one color (or char style) at a time using GREP (…)


    This is not quite true. In fact, alternating colors can be done through GREP styles, as demonstrated here:

    https://www.indiscripts.com/pos…..rep-styles

    Hope that helps.

    @+

    Marc

    in reply to: Batch opening multiple text boxes in InDesign CS 5.5 #61679
    Marc Autret
    Member

    frankdesign305 said:

    Do you have a fix for this?


    Try this code instead:

    //===================================
    var FO = FitOptions.FRAME_TO_CONTENT,
    tfs = ([]).concat.apply([], app.activeDocument.stories.everyItem().textContainers),
    t, i = tfs.length;
    while( i-- ) (t=tfs[i]).overflows && ( t.locked || t.fit(FO) );
    //===================================


    (Note that the native fit() method can only treat single column frames.)


    @+


    Marc

    in reply to: Proper noun list for index #61536
    Marc Autret
    Member

    Ann_Camilla said:

    […] I've looked at IndexMatic 2 but I don't think it does anything simple like this.

    IndexMatic bypasses the native InDesign index feature so it can't help you if you need a pure ID index.

    Anyway, the script can generate an independent index from any document or book, including footnotes if required. To retrieve proper nouns, you can target all words which start with an uppercase letter. Use then the Single Query mode and send the following query:

    /[A-Z]w+/I

    To also grab composite terms such as “Battle of Arras”, or “Marshal Joffre”, use rather the following query:

    /[A-Z]w+( w{1,2})?( [A-Z]w+)?/I

    Note that this pattern will also collect capitalized common names located at the beginning of sentences–like “The” in: “The cat meows.” So if you run the above query, you probably should generate an intermediate wordlist through the “Hit Report” feature, which allows you to prepare an explicit Query List.

    Also, note that the IndexMatic's Query List mode supports simple wordlists. Just paste the items in the Query Editor—or directly open the text file within—and press “Build Index.”

    Please refer to the user's guide for advanced topics:

    https://www.indiscripts.com/blo…..Manual.pdf

    Regards,

    Marc

    in reply to: Model Number Index #60115
    Marc Autret
    Member

    Thanks for mentioning IndexMatic :-)

    Note that with the new version—IndexMatic2—you no longer need to 'pre-style' the targets in InDesign since the script allows you to capture any desired pattern through a regular expression.

    In frikinelmo's example, one can directly achieve the index using a single query. Something like:

    /(CAd+[A-Z]+)t/ => $1

    See IndexMatic2 user's guide for further details:

    https://www.indiscripts.com/pos…..er-s-guide

    Regards,

    Marc

Viewing 6 posts - 1 through 6 (of 6 total)