Back

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

Forum Replies Created

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • in reply to: import hyphenation excepts from file? #80132
    redbook
    Member

    thank you, I am able to replace the hyphens in the word list with double tildes, and then paste into the dictionary. Slow but sure, all 200+ words. This is a one time project, but still an idea I thought worth pursuing, since it is casting off at 1354 pages. I just hate checking line endings :-).

    But I DO appreciate your response.

    in reply to: import hyphenation excepts from file? #80124
    redbook
    Member

    and I see that just by posting the sanskrit word here, I lost the a-macrons, the dot under the n, now just questions marks. Hard to illustrate my point, but I hope someone understands.

    in reply to: find: any italic letter followed by any roman paren? #77640
    redbook
    Member

    thanks very much Ariel! another helpful script you’ve written (I have the LineNumber script as well).

    Lori Holland (aka redbook)

    in reply to: find: any italic letter followed by any roman paren? #77547
    redbook
    Member

    :-( is right, I was so hopeful!!

    in reply to: Superscript (endnote) reference problem #77503
    redbook
    Member

    I think that would have best been corrected in Word before importing, where you can control a: endnotes or footnotes, and b: start numbering at each section, or continuous from start of document. THEN import. Once in Indesign, I don’t know that there is any way to fix other than manual renumbering.

    Perhaps there is a script someone has written for this?

    in reply to: script to close up 3 em dashes in bibliography #76444
    redbook
    Member

    Nevermind! I got it, I had accidentally applied the character style to the entire sentence, rather than letting the grep expression do the work. Now all good, and my thanks again!

    Jongware

    I tried the grep style, and it did not cancel after the em dashes, all the type following also had the -120 tracking.

    What I did:

    In “rf” paragraph style, I pasted the expression from your response (?<!~_)~_~_(?=~_(?!~_)) into the find box of the grep style window, and applied character style “3 em dash”. “3 em dash” character style has -120 tracking.

    why is it kerning the whole sentence? I have screen shots to show(jpg) but do not know how to include here in my response.

    sorry I’m so daft!

    in reply to: script to close up 3 em dashes in bibliography #76442
    redbook
    Member

    Many, many thanks both! I can’t believe that after all these years I still struggle with these simple tasks (always knowing there must be better way). In my next life I’m going to be a brilliant programmer and make lots more money than compositors do :-).

    in reply to: GREP to cut text and paste in separate text box? #34100
    redbook
    Member

    I’m happy, too, that we both got the answer we needed!

    in reply to: GREP to cut text and paste in separate text box? #34078
    redbook
    Member

    I also needed to adjust the boxes and positioning, that is the part I did as a search and replace using the “find” menu (find, object, object format options,anchored object options/chose “custom” in the top box). I replaced with my anchored box object style, so all the boxes are exactly the same size, exactly in 12 pts in the margins, etc. All you need to do is specify your custom object style and it should change all the anchored boxes, and place them where you want them and apply the tint.

    I do wish I knew how to put all that into the script, but I don’t. At least it works this way, and even though an extra step, it only takes a minute or so.

    Javascript training . . . on my list of to dos!

    in reply to: GREP to cut text and paste in separate text box? #34068
    redbook
    Member

    I recently asked nearly the same question (see my post “Marginal line numbers extracted from text” at the top of the forum).

    Jongware replied with this nifty script he wrote that does the trick for me. Be sure to make all of the quote marks straight quotes (retype them so they look straight). And you’ll need to paste in your grep expression in line 2 to replace mine: “[d+]”;

    Keep the quotes and the final semicolon, my grep expression starts with the first slash and ends with the close bracket.

    once done, the anchored boxes weren’t quite in the right position, so I searched for all anchored boxes (using “object” in the find menu) with custom positioning, and changed to an object style I had created that positioned them 12 pts into the outside margin, base aligned with the anchor point. If I knew java, I could probably finesse the script to do that as well, but it was easy enough as a separate search.

    good luck!

    app.findGrepPreferences = null;
    app.findGrepPreferences.findWhat = ?[d+]?;
    numberList = app.activeDocument.findGrep(true);

    for (i=0; i<numberList.length; i++)
    {
    tf = numberList[i].textFrames.add({anchoredObjectSettings:{anchoredPosition:AnchorPosition.ANCHORED, anchorXoffset:?1mm?}});
    tf.geometricBounds = [“0mm”,”0mm”,”10mm”, “50mm” ];
    numberList[i].move(LocationOptions.AT_BEGINNING, tf.texts[0]);
    tf.fit (FitOptions.FRAME_TO_CONTENT);
    }

    in reply to: Marginal line numbers extracted from text #34048
    redbook
    Member

    Nevermind!!! I got it to work (the quotes had turned into open and closed instead of straight, that was the problem.

    thanks so much, I can adjust to my exact needs now.

    YOU ARE GENIUS!

    in reply to: Marginal line numbers extracted from text #34047
    redbook
    Member

    wow, that was really fast!

    I copied and pasted both versions (this one on the forum, and also the one you emailed) into a new java script. Both give syntax errors when I try to run them. The email version in line 9 (the semicolon after “length” possibly, and in the forum version, line 2.

    I appreciate any insight you can give.

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