Thus, after the document is finished, I need to set References to
"Chicago" and convert the citations to static text (to be able to keep
the format and to move the parentheses where necessary). ("APA" gives
"(name, date, p. page)".) But this can't be automated with Find/
Replace; there is no way to put "Convert to Static Text" into the
Replace box. So this is what I hope a macro can be made to do. It
seems like it ought to be a very simple Find and Act sequence.
(Then, after there are no more linked Citations, I change the
Reference style to "APA" and change the bibliography to Static Text in
order to do the sort, to insert the 3-em dashes for repeated author
name, to restore authors' first names, to deitalicize the journal
volume number (why does "APA" put spaces before the commas?), and
within a Book Section reference to move the volume editors after the
edited volume title.)
Important discovery: If the same author's name is typed in one
reference directly into the "Author" box on the New Sources panel, and
in another using the "Edit" button next to that box, Word does not
recognize them as the same person. Authors shouild thus always be
entered using the "Edit" button (since for multiple authors you need
to use it anyway).
I also once discovered that one of the listed styles will include the
"Comments" in the bibliography entry -- that's where I put Book Series
information, which is very important but not provided for at all by
Word -- but otherwise it was not compatible with Chicago style.
Yves
--
http://bibword.codeplex.com
"grammatim" <gram...@verizon.net> wrote in message
news:44bb9864-1415-498a...@b6g2000pre.googlegroups.com...
On Apr 28, 9:16 am, "Yves Dhondt" <yves.dho...@gmail.com> wrote:
> This might be of help:http://bibword.codeplex.com/Wiki/View.aspx?title=Styles_FAQ#Q10
>
> Yves
> --http://bibword.codeplex.com
>
> "grammatim" <gramma...@verizon.net> wrote in message
> > Word -- but otherwise it was not compatible with Chicago style.-
> > > Word -- but otherwise it was not compatible with Chicago style.--
Sub CitationsToStaticText()
Dim fld As Field
For Each sr In ActiveDocument.StoryRanges
' Find all citation fields and convert them to static text.
For Each fld In sr.Fields
If fld.Type = wdFieldCitation Then
fld.Select
WordBasic.BibliographyCitationToText
End If
Next
Next
End Sub
Yves
--
http://bibword.codeplex.com
"grammatim" <gram...@verizon.net> wrote in message
news:b41cab44-9e84-4363...@z8g2000prd.googlegroups.com...
Are you saying to replace the existing macro text with the text below?
On Apr 28, 5:37 pm, "Yves Dhondt" <yves.dho...@gmail.com> wrote:
> Footnotes are in a different story than the main text. Just loop over the
> different stories to handle them as well.
>
> Sub CitationsToStaticText()
> Dim fld As Field
>
> For Each sr In ActiveDocument.StoryRanges
> ' Find all citation fields and convert them to static text.
> For Each fld In sr.Fields
> If fld.Type = wdFieldCitation Then
> fld.Select
> WordBasic.BibliographyCitationToText
> End If
> Next
> Next
>
> End Sub
>
> Yves
> > > > Word -- but otherwise it was not compatible with Chicago style.---
A Word document consists of different 'layers', called stories. You have
separate ones for the main document, headers, footers, footnotes, endnotes,
textframes, ...
In the first macro, ActiveDocument.Fields would only list the fields in the
main story, not those you put in the footnotes or endnotes. Going over each
story, as the new macro does, should solve the problem.
Yves
"grammatim" <gram...@verizon.net> wrote in message
news:e63d3efc-d9c1-426b...@y33g2000prg.googlegroups.com...
If the old one works on one story at a time, why doesn't it work on
the footnotes story when I'm in the footnotes? Various operations need
to be repeated in the footnotes after being done in the main text
(such as Find/Replace), so why shouldn't this one work the same way?
On Apr 29, 4:52 am, "Yves Dhondt" <yves.dho...@gmail.com> wrote:
> Yes replace it.
>
> A Word document consists of different 'layers', called stories. You have
> separate ones for the main document, headers, footers, footnotes, endnotes,
> textframes, ...
>
> In the first macro, ActiveDocument.Fields would only list the fields in the
> main story, not those you put in the footnotes or endnotes. Going over each
> story, as the new macro does, should solve the problem.
>
> Yves
>
> > > > > Word -- but otherwise it was not compatible with Chicago style.----
Yves
"grammatim" <gram...@verizon.net> wrote in message
news:5bc4d53c-b883-4301...@d25g2000prn.googlegroups.com...