{"id":15,"date":"2016-09-09T15:11:42","date_gmt":"2016-09-09T14:11:42","guid":{"rendered":"https:\/\/blogs.ncl.ac.uk\/miscellany\/?p=15"},"modified":"2018-04-11T11:21:31","modified_gmt":"2018-04-11T10:21:31","slug":"fixing-brokencorrupted-endnote-citations","status":"publish","type":"post","link":"https:\/\/blogs.ncl.ac.uk\/miscellany\/2016\/09\/fixing-brokencorrupted-endnote-citations\/","title":{"rendered":"Fixing broken\/corrupted EndNote citations"},"content":{"rendered":"<p>Uh oh! EndNote citations that look active, but some have stopped responding to EndNote at all? Won&#8217;t format into a new style nor appear in the references and won&#8217;t convert into unformatted citations? But if you view field codes, they look okay? Mysterious and frustrating?<\/p>\n<p>I think\u00a0this\u00a0is caused\u00a0by editing on other word processors, but I&#8217;m also suspicious of Track Changes and the copy &amp; pasting of\u00a0formatted citations.<\/p>\n<p>Solution?\u00a0There doesn&#8217;t seem to be any way to fix these broken citations\u00a0directly. Best straightforward(ish) option: unformat citations, remove field codes from the document (turning the broken ones into plain text), then go through and reinsert them from EndNote\u00a0manually.<\/p>\n<p>If you&#8217;d been using an author-date style, you can\u00a0automate this slightly\u00a0by changing EndNote&#8217;s temporary citation delimiters to round brackets,\u00a0meaning EndNote will go through and pick up on all the defunct\u00a0citations. However, it&#8217;ll also pick up on <em>anything<\/em> <em>else<\/em> in a bracket, plus it won&#8217;t match the citations\u00a0directly with the EndNote library (et als, no record numbers), so you&#8217;ll need to\u00a0select &amp; insert each citation.<\/p>\n<p>Not ideal!\u00a0What if you&#8217;ve got\u00a0loads\u00a0of these corrupted citations? And you&#8217;ve got loads of other stuff in brackets and\/or you&#8217;ve used a numbered style?<\/p>\n<p>THERE IS SOMETHING THAT CAN BE DONE.<\/p>\n<p>This is it:<\/p>\n<p>Convert all still-functional citations to unformatted citations.<\/p>\n<p>Press Alt+F9\u00a0(display field codes in the document) and\u00a0you should see the broken citations as field codes, including a load of data about the reference &#8211; this is what can be used.<\/p>\n<p>Press Alt+F9 to switch back. Unfortunately getting the actual text of the field codes is not straightforward. But someone has made\u00a0something that\u00a0will do\u00a0it:<\/p>\n<p>http:\/\/www.gmayor.com\/export_field.htm<\/p>\n<p>(I can&#8217;t guarantee that this isn&#8217;t some kind of cunning virus thing, but I&#8217;m\u00a0fairly confident that\u00a0that&#8217;s not the case.)<\/p>\n<p>Once you&#8217;ve downloaded it,\u00a0then installed it,\u00a0you can access it from the &#8216;Developer&#8217; tab in Word.<\/p>\n<p>Go through the document, highlighting it and running the\u00a0converter\u00a0in chunks\u00a0(I think it can only process a certain amount of text at a time). (Also: avoiding headings and other non-standard text, as it&#8217;ll clear the formatting).<\/p>\n<p>So, your broken EndNote citations will now be weird long field code text. But you can modify them (with Word&#8217;s Find\/Replace function &#8211; Ctrl+H)\u00a0so that EndNote thinks they&#8217;re unformatted citations!<\/p>\n<p>Semi-colons in multiple citations are\u00a0a hurdle\u00a0and a\u00a0few of these\u00a0Find\/Replaces\u00a0are for dealing with them. The others are designed to clean up at least the start of each field code so EndNote will pick them up.<\/p>\n<p>Find\/Replace these, in this order\u00a0(if &#8216;?&#8217; is\u00a0used, activate wildcards for that search, otherwise don&#8217;t)<\/p>\n<p>19??; <em><strong>WITH<\/strong> <\/em>~CHECK DATE~<\/p>\n<p>20??; <em><strong>WITH<\/strong> <\/em>~CHECK DATE~<\/p>\n<p>&lt;\/Cite&gt;&lt;Cite&gt;&lt;Author&gt; <em><strong>WITH<\/strong> <\/em>}{<\/p>\n<p>ADDIN EN.CITE &lt;EndNote&gt;&lt;Cite&gt;&lt;Author&gt;\u00a0<em><strong>WITH NOTHING<\/strong><\/em><\/p>\n<p>&lt;\/Author&gt;&lt;Year&gt; <em><strong>WITH COMMA SPACE<\/strong><\/em><\/p>\n<p>&lt;\/Year&gt;&lt;RecNum&gt; <em><strong>WITH\u00a0SPACE HASH<\/strong><\/em><\/p>\n<p>&lt;\/RecNum&gt; <em><strong>WITH<\/strong> <\/em>@@<\/p>\n<p>&amp;???;\u00a0 <em><strong>WITH NOTHING<\/strong><\/em><\/p>\n<p>&amp;apos; <em><strong>WITH NOTHING<\/strong><\/em><\/p>\n<p>{ADDIN EN.CITE.DATA} <em><strong>WITH<\/strong> <\/em>~BROKEN CITATION~<\/p>\n<p>&nbsp;<\/p>\n<p>(That last one is for totally unrecoverable ones that don&#8217;t have\u00a0full field code data\u00a0&#8211; they&#8217;ll need to be searched for later and reinserted manually.)<\/p>\n<p>Then &#8216;Update Citations &amp; Bibliography&#8217; and cross your fingers.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Uh oh! EndNote citations that look active, but some have stopped responding to EndNote at all? Won&#8217;t format into a new style nor appear in the references and won&#8217;t convert into unformatted citations? But if you view field codes, they look okay? Mysterious and frustrating? I think\u00a0this\u00a0is caused\u00a0by editing on other word processors, but I&#8217;m &hellip; <a href=\"https:\/\/blogs.ncl.ac.uk\/miscellany\/2016\/09\/fixing-brokencorrupted-endnote-citations\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Fixing broken\/corrupted EndNote citations&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1915,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[16,17,4,18],"class_list":["post-15","post","type-post","status-publish","format-standard","hentry","category-endnote","tag-broken-citations","tag-corrupted-citations","tag-endnote","tag-in-text-citations"],"_links":{"self":[{"href":"https:\/\/blogs.ncl.ac.uk\/miscellany\/wp-json\/wp\/v2\/posts\/15","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.ncl.ac.uk\/miscellany\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.ncl.ac.uk\/miscellany\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.ncl.ac.uk\/miscellany\/wp-json\/wp\/v2\/users\/1915"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.ncl.ac.uk\/miscellany\/wp-json\/wp\/v2\/comments?post=15"}],"version-history":[{"count":8,"href":"https:\/\/blogs.ncl.ac.uk\/miscellany\/wp-json\/wp\/v2\/posts\/15\/revisions"}],"predecessor-version":[{"id":28,"href":"https:\/\/blogs.ncl.ac.uk\/miscellany\/wp-json\/wp\/v2\/posts\/15\/revisions\/28"}],"wp:attachment":[{"href":"https:\/\/blogs.ncl.ac.uk\/miscellany\/wp-json\/wp\/v2\/media?parent=15"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.ncl.ac.uk\/miscellany\/wp-json\/wp\/v2\/categories?post=15"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.ncl.ac.uk\/miscellany\/wp-json\/wp\/v2\/tags?post=15"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}