Back

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

Forum Replies Created

Viewing 15 posts - 151 through 165 (of 372 total)
  • Author
    Posts
  • in reply to: Moving pages creates new section #94725

    Hi Emma, it is always difficult, if someone in a forum must guess, what might happen. So please provide a example file (both files). Your behavior isn’t the standard. And yes, if something is possible within CS6, it is also possible in CC 2015.

    Kai

    in reply to: white pages #94654

    Bad code! This has nothing to do with Smart text Reflow. Sometimes the issue are empty paragraphs, empty textframes or css-page-break rules, that can cause a problem.

    Kai

    in reply to: INDD to EPUB Inconsistently Exporting Image Placement #94632

    What is an InDesign CS-document? Which version of InDesign do you use exactly? Can you provide an example of the InDesign-file and the finnished EPUB?

    Michel, a line is determinated at least by a “;” So your short line have 2 lines ;-)

    But: The goal in scripting is, to write readable scripts. If this is your style, putting everything in one line, avoid the use of parentheses, then this is no good practice.

    And: If you work with pageItems.everyItem(), you will not get every items!

    Kai

    This cannot be done with one line.

    var oStyle = app.activeDocument.objectStyles.itemByName("b");
    app.findObjectPreferences = app.changeObjectPreferences = null;
    app.findObjectPreferences.appliedObjectStyles = oStyle;
    var fund = app.activeDocument.findObject();
    app.findObjectPreferences = app.changeObjectPreferences = null;
    
    for (var f = 0; f < fund.length; f++) {
      fund[f].applyObjectStyle(oStyle, true);
    }
    
    in reply to: PreserveLocalFormatting Script #94604

    I haven’t installed CC2017 on my machine, but Daves script isn’t running in CC2015 too. The reason is this part that starts at line 17:

      switch (Number(String(app.version).split(".")[0])) {
        case 3 :
        case 4 :
          processStylesPreCS3(range, myStyles, aDoc);
          processPosnsPreCS3(range, myPosns, aDoc);
          break;
        case 5 :
          processStylesCS3(range, myStyles, aDoc);
          processPosnsCS3(range, myPosns, aDoc);
        }
    

    Change it to (remove everything except):

      processStylesCS3(range, myStyles, aDoc);
      processPosnsCS3(range, myPosns, aDoc);
    

    Nevertheless Preptext and Perfect Preptext seems to be the better solution, cause this will not apply e.g. bold to a headline, when the complete para is bold.

    > And…what happened to the buttons at the bottom of the Scripts panel to run? You have to click at the top and then click on Run.

    I did not understand, what you mean here.

    in reply to: PreserveLocalFormatting Script #94599

    I’m not familiar with Dave’s script, but it sounds like it does the same as Preptext / Perfect Preptext from Peter Kahrel / Jongware?

    What is the error-message with Dave’s version?

    Kai

    Hi Clint,

    this seems to be possible and there are some kind of scripts are available alreday. However: They must be rewritten / adopt to your workflow needs and this can be time consuming.

    Kai

    in reply to: MS Word tracked changes –> character style? #94380
    in reply to: Script to apply Italics to your word choice #94328

    Masood, no problem, but this will not work in a good way with GREP-Styles. The reason is simple: I assume, that Kelli have a long list and if it should work with a Grep-Style, you need a alternation. This can slow down the performance of the doc, so I would do it with find/change. Of couse, this can work with a alternation (Kelli|Masood|Kai) too, but is maybe confusing.

    in reply to: Script to apply Italics to your word choice #94326

    Kelli, this is possible with minor effort. But it’s not good practice (anymore) to call for a script and someone will write it for free. So if you interested in a paid version, mail me at forum@ruebiarts.de

    Kai

    in reply to: Changing Story Order in Galley View #94325

    > But in order for it to be effective, we need them to be in the correct order.

    Why?

    I assume, that is impossible! If you create a assignment, the order is not from top to bottom or left to right. The order is the order in which the textframes are created (cause every textframe has a gets a ID during the creatin). It seems that we can sort the storys in the assignments panel, but this will not affect the order in the story or galley view. However: If you change the order in the galley view, this will have also effect on the story view.

    Normally you use the layout view, check the story out and change the view. If this is really important to you, we must check, if we can manipulate the order by scripting.

    If the order doesn’t matter, then the task seems clear (90% ;-)). Please mail me directly at forum@ruebiarts.de

    Kai

    in reply to: Validation error after changing image #94220

    It’s clear, that you have a typo in the file. Did you use the epubchecker from pagina? > If not, this app shows you exactly the lines where you have problems and you can repair them.

    Kai

    in reply to: Put Index mark before a word in Find/Change #94207

    Hi Guys,

    the short answer:
    this isn’t possible.

    The long answer:
    If you deal with grep expressions, you must distinguish between literals (abc) and metacharacters (e.g. or ~|). As you see, there seems to be a difference in those kind of metacharacters. While everything with a “\” in front is a real regex-metacharacter, everything with a “~” is InDesign-stuff.

    If you search for text or for grep, you search within a string. If there is already an indexed word, you will find an anchor for that word. This anchor is displayed within a string with a InDesign-metacharacter. But from a technical point of view, there is also an index entry generated internally.

    So, if you search for strings, you can only change a string to a string but you cannot generate and index entry! To make things complicated: While you can insert in the change-field e.g. \r you will get a return, but if you insert \u (character-class shortcut for any uppercase letter), you end up with “\u” as literal. Same if you enter “~|”

    We talked in another topic about Peter Kahrels index-script. This is based on a character style, but can also be rewritten to deal with find-results. I dreamed, that we have also scripts, that deal with imported lists.

    Kai

Viewing 15 posts - 151 through 165 (of 372 total)