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

How to find duplicate paragraphs?

Participant ,
Mar 11, 2021 Mar 11, 2021

Copy link to clipboard

Copied

For example, identical text in footnotes need to be styled as Ibid.

In this case, they are consecutive.*
How to get them? Thanks

 

BVC. Annual Report. December /1916

BVC. Annual Report. December /1916

BVC. Annual Report. December /1916

 

* Also, it is possible to find them in diffent locations?

TOPICS
How to

Views

1.5K

Translate

Translate

Report

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 1 Correct answer

Guide , Mar 12, 2021 Mar 12, 2021

… Or, without taking in account a "last" carriage-return:

 

Find:  ^((.+)\r)\1*\2

Replace by:  $2

 

[surely very tired for writing such a grep code! Time to go to sleep!  =D ]

 

(^/)

Votes

Translate

Translate
Community Expert ,
Mar 11, 2021 Mar 11, 2021

Copy link to clipboard

Copied

Perhaps I'm not understanding, but you can do it with Edit > Find/Change as shown below. I set "Ibid" to italic by using the Change Format category. The ^p metacharacter stands for End of Paragraph and can be chosen from the @ menu.

 

Screen Shot 2021-03-11 at 12.09.00 PM.png

Votes

Translate

Translate

Report

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 ,
Mar 11, 2021 Mar 11, 2021

Copy link to clipboard

Copied

To answer your other question, the instances do not have to be consecutive.

Votes

Translate

Translate

Report

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
Enthusiast ,
Mar 11, 2021 Mar 11, 2021

Copy link to clipboard

Copied

Steve

Why italics for Ibid.?

Votes

Translate

Translate

Report

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 ,
Mar 11, 2021 Mar 11, 2021

Copy link to clipboard

Copied

I'm not an expert. "Ibid" is an abbreviation for the Latin word ibīdem, meaning "in the same place", commonly used in an endnote, footnote, bibliographycitation, or scholarly reference to refer to the source cited in the preceding note or list item.

 

When I was reading books like this "ibid" was italicized because it's based on Latin. However, the Wikipedia entry says "Some academic publishers now prefer that "ibid." not be italicised, as it is a commonly found term." I included it so I could show how you could use Find/Change to change the word to italics.

Votes

Translate

Translate

Report

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
Enthusiast ,
Mar 11, 2021 Mar 11, 2021

Copy link to clipboard

Copied

No problem Steve I agree it used to be italicized but normal practise is to not italicize it. The Chicago style guide says:

If you consecutively cite the same source two or more times in a note (complete or shortened), you may use the word “Ibid” instead. Ibid is short for the Latin ibidem, which means “in the same place”. If you’re referencing the same source but different page, follow ‘Ibid’ with a comma and the new page number(s).

Examples

          1. Newton N. Minow and Craig L. LaMay, Inside the Presidential Debates: Their Improbable Past and Promising Future (Chicago: University of Chicago Press, 2008), 24-25.

          2. Minow and LaMay, Presidential Debates, 24-25.

          3. Ibid.

          4. Ibid, 28-30.

Votes

Translate

Translate

Report

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
Participant ,
Mar 11, 2021 Mar 11, 2021

Copy link to clipboard

Copied

Hi. This is not a post about editing...
Chicago, Oxford, Cambridge have guides.

Here is a problem to find duplicates...

Votes

Translate

Translate

Report

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
Participant ,
Mar 11, 2021 Mar 11, 2021

Copy link to clipboard

Copied

Steve:

The idea is to identify with grep those identical and consecutive entries (not visually, as we have 516 footnotes) to replace those consecutively repeated (no matter is it is ibid. ibidem, op, cit, etc...)

 

Thanks.

Votes

Translate

Translate

Report

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 ,
Mar 11, 2021 Mar 11, 2021

Copy link to clipboard

Copied

Sorry, that wasn't clear in your original posting. I'm not a GREP expert so others may have to step in to help you.

 

Votes

Translate

Translate

Report

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
Participant ,
Mar 11, 2021 Mar 11, 2021

Copy link to clipboard

Copied

Yes, sorry.

Word has a script to do this. But I would like to work it in ID.

 

Thanks

Votes

Translate

Translate

Report

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 ,
Mar 12, 2021 Mar 12, 2021

Copy link to clipboard

Copied

^(.+\r)\1

That should do it.

 

But - I am having mixed results, for example on the ME version on the Mac it finds differently.

On the English version on my PC it finds differently.

 

How odd? 

Votes

Translate

Translate

Report

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
Participant ,
Mar 12, 2021 Mar 12, 2021

Copy link to clipboard

Copied

No, it doesn'work. It stops after the first finding.
Thanks.

 

 

Screen Shot 2021-03-12 at 3.41.04 PM.png

Votes

Translate

Translate

Report

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
Guide ,
Mar 12, 2021 Mar 12, 2021

Copy link to clipboard

Copied

Adding a carriage-return at the end of the last para (if not):

 

Find:  ^(.+\r)\1+

Replace by:  $1

 

(^/)  The Jedi

Votes

Translate

Translate

Report

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
Guide ,
Mar 12, 2021 Mar 12, 2021

Copy link to clipboard

Copied

… Or, without taking in account a "last" carriage-return:

 

Find:  ^((.+)\r)\1*\2

Replace by:  $2

 

[surely very tired for writing such a grep code! Time to go to sleep!  =D ]

 

(^/)

Votes

Translate

Translate

Report

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
Participant ,
Mar 12, 2021 Mar 12, 2021

Copy link to clipboard

Copied

LATEST

Again I am writing the defense of your correct answer as it seems is lost.
A little make-up was enough to achieve a perfect solution.

Thanks for your time, interest and real solution. 

 

 

Untitled-3.jpg

 

 

Untitled-32.jpg

  

Votes

Translate

Translate

Report

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