Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
7

GREP French or Strait quotes into to Smart or Curly quotes

Engaged ,
Oct 03, 2023 Oct 03, 2023

Hi people!
Which is the GREP command to turn the French Quotations or i guess they are also called strait quotes into Smart or Curly Quotes? 

I do have click on Typographic Quotes into Preferences, but even though the imported text came with this non curly quotes. This is the sample of the actual text. I want those quotes to be converted to the regular and most modern curly format. 
Captura de Pantalla 2023-10-03 a la(s) 19.39.59.png

Thanks for your help and good advice,
Cheers

TOPICS
Feature request , How to , Scripting , Type
1.4K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 2 Correct answers

Community Expert , Oct 03, 2023 Oct 03, 2023

When I tested this, it worked only when the language was marked as a language that should have typographer's quotes. If I have text marked as Arabic, and have "Use Typographer's Quotes" turned on in the Preferences, and tried the Find/Change query you specified, Mark (turning left double-chevron quotes into straight quotes), then the double-chevron quotes remained. Because, if Typographer's Quotes are turned on in the Preferences, that is what a straight quote should look like in Arabic. 

 

Fort

...
Translate
Community Expert , Oct 03, 2023 Oct 03, 2023

In InDesign’s Preferences > Dictionary you can set up the correct typographic quotation marks for each language separately. 
In preferences you can also switch to typographic quotation marks. 

If you have done that, you can replace " with " and you get as result the correct quotation marks. 

Translate
Community Expert ,
Oct 03, 2023 Oct 03, 2023

Hi @SebastiaoV, I don't know of an automatic way—there may be one!—but you can at least do a simple find/change:

Screenshot 2023-10-04 at 10.53.15.png

 

You have to search for the opening quotes first, and change them, and then do the same for the closing quotes. If you have trouble typing anything you can use the Glyphs Panel, and search for "quotation" (assuming unicode names appear in English?) and you will see all the different quotation glyphs.

 

Sorry if I have missed your point.

- Mark

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 03, 2023 Oct 03, 2023

When I tested this, it worked only when the language was marked as a language that should have typographer's quotes. If I have text marked as Arabic, and have "Use Typographer's Quotes" turned on in the Preferences, and tried the Find/Change query you specified, Mark (turning left double-chevron quotes into straight quotes), then the double-chevron quotes remained. Because, if Typographer's Quotes are turned on in the Preferences, that is what a straight quote should look like in Arabic. 

 

Fortunately for you, SebastioV, InDesign believes that Spanish should have "curly" quotes, and not double chevrons. So if your text is marked as Spanish (or English, or a wide variety of other languages) then Mark's Find/Change query should work perfectly. This would make my entire post seem useless, but if your text is coming in with double chevron quotes because it's marked in InDesign as French (or Arabic, or one of the smaller list of languages that use double chevron quotes), then the Find/Change query Mark suggested won't work. 

 

Additionally, you don't need to run two queries for the left and right facing double chevron quotes, if you do a GREP search for 

«|»

(that's "left double chevron quote OR right double chevron quote")

 

and replace with a straight double quote

"

 

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 03, 2023 Oct 03, 2023

Excellent! Thanks @Joel Cherney.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Oct 03, 2023 Oct 03, 2023

Thanks for the good help! 
You are right the quote will be language dependent sometimes. 
Unfortunately, if the original text was in French it would use chevrons and either converting it to Spanish in InDesign, not Word, would sometimes have a hard time making the change to curly quotes.

I will try your solution which seems a good one too.

Best,

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 03, 2023 Oct 03, 2023
LATEST

In InDesign’s Preferences > Dictionary you can set up the correct typographic quotation marks for each language separately. 
In preferences you can also switch to typographic quotation marks. 

If you have done that, you can replace " with " and you get as result the correct quotation marks. 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines