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

Two kinds of curly quotes in my doc

Return to Member Forum

  • Author
    Posts
    • #83757

      Hi everyone,

      A document I’m working on appears to be applying two different kinds of quote marks. They’re both ‘curly’ marks, but one is curlier than the other. I’m using Alegreya sans in my doc.

      When I hover over one of the less curly marks I get the pop up option to change it with what looks like a glyph panel. Then I checked my glyphs for the font and can see both quote mark styles.

      My problem is that it looks bad to have two quote mark styles throughout and I’m looking to replace all to be like just the curlier style. I’m guessing it’s an opentype thing, but I haven’t had any experience in that area and I’m not quite sure what to be doing. I’ve tried a replace all quote marks with quote marks to hope it would pick one style, which hasn’t worked. It’s a 300+ page doc, so doing it individually is not efficient at all. Any suggestions on how to replace all the quote marks to one style would really help.

    • #83758
      Ari Singer
      Member

      I could help you with a simple GREP query, but for that I want you to provide me with some info.

      Please select the quotation mark that you don’t want, and open the Glyphs panel. The quotation mark that you selected should be highlighted there. Hover your mouse over that glyph in the Glyphs panel and a small popup should appear with some info. In it you’ll find the word ‘Unicode’ followed by a 4 digit number. Please provide me with that number. Then do the same for the other quotation mark (which you do want to be used, and provide me that Unicode value as well.

    • #83760

      Could there be more than one language specified in the character attributes for the different locations?
      If I type ” I get different quote marks depending on which language is set (low opening then high closing for German, double chevrons/guillemets for French for example).
      Then if I globally replace ” with the same thing, the different quote marks remain.

      Good luck,
      Chris.

    • #83805

      Both of the quote marks are in the one paragraph and character style, so I don’t think there’s a language issue. The whole book is in English.

      I had tried to use the find and replace in the glyph section, but it kept saying none found, even though I had used the correct codes. The unicode for the incorrect glyph is 0027, and the correct glyph is 2019.

    • #83807
      Ari Singer
      Member

      Do a GREP Find/Change like this:

      Find What: \x{0027}
      Change To: \x{2019}

    • #83811

      Thanks Ari. That’s not worked unfortunately. I can’t seem to identify the wrong quotation mark, even though I know the unicode.

    • #83814
      Ari Singer
      Member

      Would you mind to please send me one page of the document so I can check it out? I should be able to find the problem fast.

    • #83843
      Ari Singer
      Member

      Make sure that:

      You’re using GREP Find/Change. Not Text or Glyph.

      The ‘scope’ of the search is set up correctly to entire story.

      There are no settings in the Find Format field.

    • #83888

      Hi Ari,

      I was definitely using the GREP field. How can I send you one page?

    • #83889
      Ari Singer
      Member

      Copy one page of text (from a page that has the problematic quotes), paste it into a new document with the formatting retained, and save the new InDesign file. Then upload it to Google Drive or Dropbox or any file hosting server that you like and share the link to this document on this post. If you’re concerned with privacy you can set up so that anyone wanting to see the file has to get permission from you.

    • #83897

      The steps are:

      1. Make sure “Use Typographer’s Quotes” is ON in Preferences > Type.

      2. Using regular text Find & Change, search for ^'.

      3. Change it to '

      4. This usually works because ^' looks for *exactly* the ‘straight’ quote, and replacing it with a single straight quote in “Typographer’s Quote” mode makes InDesign kick in its own smart quote replacement.

      .. but (surprise surprise!) … in this case it does not work!

      Now hold on (I said to myself), I am sure it works. So I changed the font to Times New Roman and it did. Changing the font back to Alegreya Sans made it Not Work.

      Inspecting the font itself revealed why: it actually <i>is</i> “an OpenType thing”! In the Standard Ligatures set, Alegreya Sans <b>always</b> replaces the closing quote in a combination closing-quote (any letter) with the Straight Up Quote! This is done with an OpenType feature, and so there is nothing wrong with your attempts or with InDesign – it works “the way the font creator intended”.

      [I also discovered a few other strange combinations. Type “<arriba>”, “<square>”, “<izquierda>”, “<ht>” amongst another few phrases, to see what I mean. Also, ~i gets automatically translated to ?, and a few more “tilde” codes.]

      The only way to get rid of it is to disable the OpenType Feature that enables it: Ligatures. Now you don’t want to do that for all of your text (there is nothing wrong with its “fi”, “fl”, and other ‘common’ ligatures) so I suggest the following:

      1. Make sure “Use Typographer’s Quotes” is ON in Preferences > Type.

      2. Using regular text Find & Change, search for '.

      3. Change it to ' <i>and</i> make sure “Ligatures” is switched OFF in the Change Format (Basic Formatting) field.

      • #83903
        Ari Singer
        Member

        I was afraid from the beginning that it’s a font problem, but I don’t have said font to try it out.

        By the way, I have better luck when using the ’em’ tag instead of ‘i’, and ‘strong’ instead of ‘b’. Look closely on your post and you’ll see what I mean…

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