Back

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

  • You must be logged in to reply to this topic.Login

Indesign doesn't find left indent

Return to Member Forum

  • Author
    Posts
    • #1179797

      I’ve placed a .doc file in my project and I’d like to search for all paragraphs that contains the value 1,2488 cm set in the first line left indent box and change it to 0,5 cm.

      I’m trying to use the option “Find format/change format” in the find/change dialog box (ctrl+f).

      However, Indesign won’t find any paragraph. I think it’s a bug because when I tried to edit the paragraph left indent value to 1cm and tried to search again, it worked fine. But since all paragraphs are set to 1,2488 cm, I can’t go through one by one.

      Do you know any other way I could work this issue out?

      screenshot
      https://we.tl/t-xDltv23CBS

    • #14324323
      David Blatner
      Keymaster

      I’m not sure. One idea is to copy the text from the field in the Control panel and then paste it into the Find/Change dialog box. Another option is to switch from cm to points or picas or something and see if that works.

    • #14324322

      InDesign is far more accurate than the paltry 4 or 5 dgitis you see on screen. See https://forums.adobe.com/thread/2485366 on how to copy the “actual” value into Find Format — it only takes a single line of JavaScript:

      app.findTextPreferences.leftIndent = app.selection[0].leftIndent;

    • #14324321

      — ah, that is Left Indent. For First Line use

      app.findTextPreferences.firstLineIndent = app.selection[0].firstLineIndent;

    • #14324320
      David Blatner
      Keymaster

      WOW. That’s awesome. Sometimes these one-liner scripts just blow my mind.

      Allan, if you’re not sure what to do with that, see this:
      https://indesignsecrets.com/how-to-install-a-script-in-indesign-that-you-found-in-a-forum-or-blog-post.php

    • #14324317
      Dhafir Photo
      Participant
    • #14324015

      InDesign’s measurements are far (far, far!) more accurate than the paltry 4 or 5 digits shown in the control panel and the rest of the interface. It can handle differences as small as 0.00001pt (uh, probably even smaller!). David’s trick of switching to another measurement unit may work well. Usually such indents are logically based on, say, 1/6th of an inch – which can only translate to lots of invisible decimals when converted to millimeters. (And the other way around too.)

      But there is another factor at play: the initial accuracy of the conversion from (presumably) a Word document to InDesign. At that point it is possible that some rounding introduces a small difference at the umpteenth position, and what is reported on-screen as “1.25pt” may internally be stored as “1.24999999435pt”.

      For such cases I use a one-line script that copies the actual value of such an indent into the Find formatting field:

      See also this older post of mine in the Adobe forum (which pretty much says the same): https://forums.adobe.com/thread/2485366

Viewing 6 reply threads
  • The forum ‘General InDesign Topics (CLOSED)’ is closed to new topics and replies.
Forum Ads