Jump to content

Recommended Posts

I have lots of text for a book that has the straight line apostrophes. 

Is there a simple find and replace option to change them all to curved apostrophes?

Word has this function, but I'd love to skip that whole operation if Publisher already has it.

Share this post


Link to post
Share on other sites

Publisher can convert straight quotes/apostrophes to typographic quotes/apostrophes as you type the text; it's part of the Auto-Correct preferences. However, that applies only to text as you type it, and if you're getting the text into a document in some other way (copy/paste, Place, etc.) it does not apply.

If you already have them as straight apostrophes, you can use Text > Find... to find them and change them to the form you want. Note that this can be tricky, especially if you have a mix of straight quotes and straight apostrophes. But it can be done.


-- Walt

Windows 10 Home, version 2004 (19041.388),
   Desktop: 16GB memory, Intel Core i7-6700K @ 4.00GHz, GeForce GTX 970
   Laptop:  8GB memory, Intel Core i7-3625QM @ 2.30GHz, Intel HD Graphics 4000 or NVIDIA GeForce GT 630M
Affinity Photo 1.8.5.703 and 1.9.0.852 Beta   / Affinity Designer 1.8.5.703 and 1.9.0.852 Beta  / Affinity Publisher 1.8.5.703 and 1.9.0.850 Beta.

Share this post


Link to post
Share on other sites

@walt.farrell When I type: The man said: "Watch out!", autocorrect inserts lower opening apostrophes and upper closing apostrophes.

image.png.fb4e96adcd44e58fd14f2127c364d214.png

In Dutch language opening and closing apostrophes are both of type upper.
Is there a way to setup autocorrect such that it inserts user defined opening and closing quotes?

Share this post


Link to post
Share on other sites
1 hour ago, StephanP said:

In Dutch language opening and closing apostrophes are both of type upper.
Is there a way to setup autocorrect such that it inserts user defined opening and closing quotes?

It should be automatic if you have the proper spelling language specified for the text. If you put the text cursor in that text, and look in the Character panel, what Spelling language do you have selected?


-- Walt

Windows 10 Home, version 2004 (19041.388),
   Desktop: 16GB memory, Intel Core i7-6700K @ 4.00GHz, GeForce GTX 970
   Laptop:  8GB memory, Intel Core i7-3625QM @ 2.30GHz, Intel HD Graphics 4000 or NVIDIA GeForce GT 630M
Affinity Photo 1.8.5.703 and 1.9.0.852 Beta   / Affinity Designer 1.8.5.703 and 1.9.0.852 Beta  / Affinity Publisher 1.8.5.703 and 1.9.0.850 Beta.

Share this post


Link to post
Share on other sites

There is no Dutch language spelling checking, so I left it at default English.

Is there a way to create one's own spelling checking configuration?
I could start with setting the desired typographic quotation marks and add common typo's as I go.

Share this post


Link to post
Share on other sites

BTW, I did a small experiment where I added an autocorrect to the English language: replace „ with “
But this did not change a thing.

Apparently the autocorrect into typographic quotes is executed after the autocorrect from the list.

Share this post


Link to post
Share on other sites
4 hours ago, StephanP said:

There is no Dutch language spelling checking, so I left it at default English.

Is there a way to create one's own spelling checking configuration?
I could start with setting the desired typographic quotation marks and add common typo's as I go.

You'll need to install a set of Dutch dictionaries. There's a FAQ article about that:

 


-- Walt

Windows 10 Home, version 2004 (19041.388),
   Desktop: 16GB memory, Intel Core i7-6700K @ 4.00GHz, GeForce GTX 970
   Laptop:  8GB memory, Intel Core i7-3625QM @ 2.30GHz, Intel HD Graphics 4000 or NVIDIA GeForce GT 630M
Affinity Photo 1.8.5.703 and 1.9.0.852 Beta   / Affinity Designer 1.8.5.703 and 1.9.0.852 Beta  / Affinity Publisher 1.8.5.703 and 1.9.0.850 Beta.

Share this post


Link to post
Share on other sites

I've got the Dutch spelling checking in place now according to FAQ, but the typographic quotes are stil wrong.

image.png.16f036a2a0e364d84bdef2e8df9b12e7.png

If this is something that could be fixed in the editable .aff file, then I'd be happy to learn.

Edit: Note that I in fact completely lost the typographic quotes.

Edit2: Correction. The typographic quotes are there alright. it's the Arial font that doesn't have 'sexy' quotes.

Share this post


Link to post
Share on other sites
4 hours ago, StephanP said:

I've got the Dutch spelling checking in place now according to FAQ, but the typographic quotes are stil wrong.

And you have Dutch specified for that text, and showing up in the Character panel


-- Walt

Windows 10 Home, version 2004 (19041.388),
   Desktop: 16GB memory, Intel Core i7-6700K @ 4.00GHz, GeForce GTX 970
   Laptop:  8GB memory, Intel Core i7-3625QM @ 2.30GHz, Intel HD Graphics 4000 or NVIDIA GeForce GT 630M
Affinity Photo 1.8.5.703 and 1.9.0.852 Beta   / Affinity Designer 1.8.5.703 and 1.9.0.852 Beta  / Affinity Publisher 1.8.5.703 and 1.9.0.850 Beta.

Share this post


Link to post
Share on other sites

Yep, once Preferences - Spelling checking is set to Dutch language, Dutch is also the set language in the Character panel. "It's all Dutch to me"

I suspect a bug and opened a new query, as this thread initially started about search and replace in existing text.

Share this post


Link to post
Share on other sites
25 minutes ago, StephanP said:

once Preferences - Spelling checking is set to Dutch language

There is no Preferences setting for Spelling, Stephan. The Preferences setting are for the UI Language, though you're right that if you have a particular UI language set, and its dictionary is available, it may will also become a default for the Spelling language. (There are also the Auto-correct settings, but they do not influence the Spelling language at all.)


-- Walt

Windows 10 Home, version 2004 (19041.388),
   Desktop: 16GB memory, Intel Core i7-6700K @ 4.00GHz, GeForce GTX 970
   Laptop:  8GB memory, Intel Core i7-3625QM @ 2.30GHz, Intel HD Graphics 4000 or NVIDIA GeForce GT 630M
Affinity Photo 1.8.5.703 and 1.9.0.852 Beta   / Affinity Designer 1.8.5.703 and 1.9.0.852 Beta  / Affinity Publisher 1.8.5.703 and 1.9.0.850 Beta.

Share this post


Link to post
Share on other sites
On 6/5/2020 at 1:28 PM, walt.farrell said:

Publisher can convert straight quotes/apostrophes to typographic quotes/apostrophes as you type the text; it's part of the Auto-Correct preferences. However, that applies only to text as you type it, and if you're getting the text into a document in some other way (copy/paste, Place, etc.) it does not apply.

If you already have them as straight apostrophes, you can use Text > Find... to find them and change them to the form you want. Note that this can be tricky, especially if you have a mix of straight quotes and straight apostrophes. But it can be done.

Hi Walt

Can you please expand on 'it's tricky but it can be done'? I am working on a document which has texted copied & pasted from a variety of different sources and have a mix of straight and typographic. I would like to find/replace all the straight with typographic but am not sure how.

Share this post


Link to post
Share on other sites
25 minutes ago, SarahB said:

Can you please expand on 'it's tricky but it can be done'?

The problem lies in the ambiguity about whether a straight quote or apostrophe should become an opening or closing form.

It's easy, usually, for a human to recognize. And it's possible, usually, for a special program to recognize. But it's harder to get it right using Find/Replace, and will take multiple operations to get all the cases.

A " preceded by a space is probably an opening quote mark. One followed by a space is probably a closing quote.

The same is true for the ' character, but becomes more complex when you consider that it might be either a single quote or an apostrophe.

Some cases are obvious: letter ' letter should be an apostrophe. 

But a ' preceded or followed by a space might be an apostrophe, as in 'tis, or it might be an opening single quote mark. And for that case they need to point in different directions.


-- Walt

Windows 10 Home, version 2004 (19041.388),
   Desktop: 16GB memory, Intel Core i7-6700K @ 4.00GHz, GeForce GTX 970
   Laptop:  8GB memory, Intel Core i7-3625QM @ 2.30GHz, Intel HD Graphics 4000 or NVIDIA GeForce GT 630M
Affinity Photo 1.8.5.703 and 1.9.0.852 Beta   / Affinity Designer 1.8.5.703 and 1.9.0.852 Beta  / Affinity Publisher 1.8.5.703 and 1.9.0.850 Beta.

Share this post


Link to post
Share on other sites
19 minutes ago, walt.farrell said:

The problem lies in the ambiguity about whether a straight quote or apostrophe should become an opening or closing form.

It's easy, usually, for a human to recognize. And it's possible, usually, for a special program to recognize. But it's harder to get it right using Find/Replace, and will take multiple operations to get all the cases.

A " preceded by a space is probably an opening quote mark. One followed by a space is probably a closing quote.

The same is true for the ' character, but becomes more complex when you consider that it might be either a single quote or an apostrophe.

Some cases are obvious: letter ' letter should be an apostrophe. 

But a ' preceded or followed by a space might be an apostrophe, as in 'tis, or it might be an opening single quote mark. And for that case they need to point in different directions.

Of course! I'm aware of all the possible iterations, but it is very useful to have a reminder, thank you.

How about the mechanics of doing the searches? Will typing ' or " in Find find both straight and typographic, or is there some way of distinguishing between the two? Does Publisher use the same wildcards as Word? This is the first time I have used F&R in Publisher.

Share this post


Link to post
Share on other sites
48 minutes ago, SarahB said:

How about the mechanics of doing the searches? Will typing ' or " in Find find both straight and typographic, or is there some way of distinguishing between the two? Does Publisher use the same wildcards as Word? This is the first time I have used F&R in Publisher.

You're welcome.

If you type a ' that's all it will find. Similarly " will only find the straight version. If you wanted to find one of the typographic ones I think you would need to figure out a keyboard sequence to type it, or copy one from the text and paste it into the box in the dialog.

Publisher has a standard Perl-compatible regular expression processor (from Boost), but some of the handling is a bit tailored for Publisher-specific usages(break characters, end-of-line and paragraph, etc.). I'm not sure how it might differ from Word, as there are several similar but not quite identical Regular Expression engines used in different programs.


-- Walt

Windows 10 Home, version 2004 (19041.388),
   Desktop: 16GB memory, Intel Core i7-6700K @ 4.00GHz, GeForce GTX 970
   Laptop:  8GB memory, Intel Core i7-3625QM @ 2.30GHz, Intel HD Graphics 4000 or NVIDIA GeForce GT 630M
Affinity Photo 1.8.5.703 and 1.9.0.852 Beta   / Affinity Designer 1.8.5.703 and 1.9.0.852 Beta  / Affinity Publisher 1.8.5.703 and 1.9.0.850 Beta.

Share this post


Link to post
Share on other sites
13 hours ago, walt.farrell said:

If you type a ' that's all it will find. Similarly " will only find the straight version. If you wanted to find one of the typographic ones I think you would need to figure out a keyboard sequence to type it, or copy one from the text and paste it into the box in the dialog.

This is an unfortunate state and will hopefully improve in future versions. When "smart quotes" are enabled, straight double and single quotes should preferrably match all regional versions, and then there should be specific meta symbols for straight quotes. This is how this works in InDesign, and it makes replacing straight and wrong quotes with proper regional typographical ones easy:

a) InDesign: search double quotes, replace with double quotes. All alternates are found, and replaced with correct regional versions depending on the language formatting of found text:

find_replace_smartquotes_01.jpg.32625fe4f69b90aa07bd181fce562743.jpg find_replace_smartquotes_02.jpg.849040ccbff06a380b4ef5c183cd6813.jpg

 

b) Publisher, "Replace all" clicked. Literal search is performed, so Publisher only finds straight double quotes and replaces them with straight double quotes:

find_replace_notsosmartquotes.jpg.737dc405a4bff5eb7e081f79651559b9.jpg

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

Please note the Annual Company Closure section in the Terms of Use. These are the Terms of Use you will be asked to agree to if you join the forum. | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.