Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
![]()
In order to approximate Chicago style in Word2007, I find that I need
to use "Chicago" for the in-text citations (which gets me "(name date, page)" -- and then where necessary I can manually edit it to "name (date, page)" -- but "Chicago" style for bibliographies is seriously broken, so I need to use "APA" in order to get the date directly after the author, and to get the volume editors and volume number of an edited book in approximately correct positions. I can then convert the bibliography to static text in order to sort the entries (they appear within each author alphabetically by title instead of in date order). 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. |
#2
![]()
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
![]()
This might be of help:
http://bibword.codeplex.com/Wiki/Vie...Styles_FAQ#Q10 Yves -- http://bibword.codeplex.com "grammatim" wrote in message ... In order to approximate Chicago style in Word2007, I find that I need to use "Chicago" for the in-text citations (which gets me "(name date, page)" -- and then where necessary I can manually edit it to "name (date, page)" -- but "Chicago" style for bibliographies is seriously broken, so I need to use "APA" in order to get the date directly after the author, and to get the volume editors and volume number of an edited book in approximately correct positions. I can then convert the bibliography to static text in order to sort the entries (they appear within each author alphabetically by title instead of in date order). 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. |
#3
![]()
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
![]()
Yes, that will do it, thank you.
On Apr 28, 9:16*am, "Yves Dhondt" wrote: This might be of help:http://bibword.codeplex.com/Wiki/Vie...Styles_FAQ#Q10 Yves --http://bibword.codeplex.com "grammatim" wrote in message ... In order to approximate Chicago style in Word2007, I find that I need to use "Chicago" for the in-text citations (which gets me "(name date, page)" -- and then where necessary I can manually edit it to "name (date, page)" -- but "Chicago" style for bibliographies is seriously broken, so I need to use "APA" in order to get the date directly after the author, and to get the volume editors and volume number of an edited book in approximately correct positions. I can then convert the bibliography to static text in order to sort the entries (they appear within each author alphabetically by title instead of in date order). 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.- |
#4
![]()
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
![]()
It works in the main text, but it doesn't affect footnotes (even if
the cursor is placed at the beginning of note 1, or on a Citation). On Apr 28, 10:34*am, grammatim wrote: Yes, that will do it, thank you. On Apr 28, 9:16*am, "Yves Dhondt" wrote: This might be of help:http://bibword.codeplex.com/Wiki/Vie...Styles_FAQ#Q10 Yves --http://bibword.codeplex.com "grammatim" wrote in message ... In order to approximate Chicago style in Word2007, I find that I need to use "Chicago" for the in-text citations (which gets me "(name date, page)" -- and then where necessary I can manually edit it to "name (date, page)" -- but "Chicago" style for bibliographies is seriously broken, so I need to use "APA" in order to get the date directly after the author, and to get the volume editors and volume number of an edited book in approximately correct positions. I can then convert the bibliography to static text in order to sort the entries (they appear within each author alphabetically by title instead of in date order). 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.-- |
#5
![]()
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
![]()
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 -- http://bibword.codeplex.com "grammatim" wrote in message ... It works in the main text, but it doesn't affect footnotes (even if the cursor is placed at the beginning of note 1, or on a Citation). On Apr 28, 10:34 am, grammatim wrote: Yes, that will do it, thank you. On Apr 28, 9:16 am, "Yves Dhondt" wrote: This might be of help:http://bibword.codeplex.com/Wiki/Vie...Styles_FAQ#Q10 Yves --http://bibword.codeplex.com "grammatim" wrote in message ... In order to approximate Chicago style in Word2007, I find that I need to use "Chicago" for the in-text citations (which gets me "(name date, page)" -- and then where necessary I can manually edit it to "name (date, page)" -- but "Chicago" style for bibliographies is seriously broken, so I need to use "APA" in order to get the date directly after the author, and to get the volume editors and volume number of an edited book in approximately correct positions. I can then convert the bibliography to static text in order to sort the entries (they appear within each author alphabetically by title instead of in date order). 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.-- |
#6
![]()
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
![]()
I don't know what "loop over the different stories" means. Clicking
the macro button while in a footnote results in no action. (In the main text, the action was just slow enough to see it happen to each entry.) Are you saying to replace the existing macro text with the text below? On Apr 28, 5:37*pm, "Yves Dhondt" 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. |
#7
![]()
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
![]()
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 "grammatim" wrote in message ... I don't know what "loop over the different stories" means. Clicking the macro button while in a footnote results in no action. (In the main text, the action was just slow enough to see it happen to each entry.) Are you saying to replace the existing macro text with the text below? On Apr 28, 5:37 pm, "Yves Dhondt" 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 --http://bibword.codeplex.com "grammatim" wrote in message ... It works in the main text, but it doesn't affect footnotes (even if the cursor is placed at the beginning of note 1, or on a Citation). On Apr 28, 10:34 am, grammatim wrote: Yes, that will do it, thank you. On Apr 28, 9:16 am, "Yves Dhondt" wrote: This might be of help:http://bibword.codeplex.com/Wiki/Vie...Styles_FAQ#Q10 Yves --http://bibword.codeplex.com "grammatim" wrote in message ... In order to approximate Chicago style in Word2007, I find that I need to use "Chicago" for the in-text citations (which gets me "(name date, page)" -- and then where necessary I can manually edit it to "name (date, page)" -- but "Chicago" style for bibliographies is seriously broken, so I need to use "APA" in order to get the date directly after the author, and to get the volume editors and volume number of an edited book in approximately correct positions. I can then convert the bibliography to static text in order to sort the entries (they appear within each author alphabetically by title instead of in date order). 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.--- |
#8
![]()
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
![]()
Thank you ... I won't be able to test it until the next time I finish
an article, which will be a while. 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" 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 "grammatim" wrote in message ... I don't know what "loop over the different stories" means. Clicking the macro button while in a footnote results in no action. (In the main text, the action was just slow enough to see it happen to each entry.) Are you saying to replace the existing macro text with the text below? On Apr 28, 5:37 pm, "Yves Dhondt" 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 --http://bibword.codeplex.com "grammatim" wrote in message ... It works in the main text, but it doesn't affect footnotes (even if the cursor is placed at the beginning of note 1, or on a Citation). On Apr 28, 10:34 am, grammatim wrote: Yes, that will do it, thank you. On Apr 28, 9:16 am, "Yves Dhondt" wrote: This might be of help:http://bibword.codeplex.com/Wiki/Vie...Styles_FAQ#Q10 Yves --http://bibword.codeplex.com "grammatim" wrote in message ... In order to approximate Chicago style in Word2007, I find that I need to use "Chicago" for the in-text citations (which gets me "(name date, page)" -- and then where necessary I can manually edit it to "name (date, page)" -- but "Chicago" style for bibliographies is seriously broken, so I need to use "APA" in order to get the date directly after the author, and to get the volume editors and volume number of an edited book in approximately correct positions. I can then convert the bibliography to static text in order to sort the entries (they appear within each author alphabetically by title instead of in date order). 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.---- |
#9
![]()
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
![]()
Because it doesn't focus on a specific story but rather just takes
"ActiveDocument.Fields" which is the main story. So even when in the footnotes, I would try to convert the ones in the main text. Yves "grammatim" wrote in message ... Thank you ... I won't be able to test it until the next time I finish an article, which will be a while. 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" 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 "grammatim" wrote in message ... I don't know what "loop over the different stories" means. Clicking the macro button while in a footnote results in no action. (In the main text, the action was just slow enough to see it happen to each entry.) Are you saying to replace the existing macro text with the text below? On Apr 28, 5:37 pm, "Yves Dhondt" 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 --http://bibword.codeplex.com "grammatim" wrote in message ... It works in the main text, but it doesn't affect footnotes (even if the cursor is placed at the beginning of note 1, or on a Citation). On Apr 28, 10:34 am, grammatim wrote: Yes, that will do it, thank you. On Apr 28, 9:16 am, "Yves Dhondt" wrote: This might be of help:http://bibword.codeplex.com/Wiki/Vie...Styles_FAQ#Q10 Yves --http://bibword.codeplex.com "grammatim" wrote in message ... In order to approximate Chicago style in Word2007, I find that I need to use "Chicago" for the in-text citations (which gets me "(name date, page)" -- and then where necessary I can manually edit it to "name (date, page)" -- but "Chicago" style for bibliographies is seriously broken, so I need to use "APA" in order to get the date directly after the author, and to get the volume editors and volume number of an edited book in approximately correct positions. I can then convert the bibliography to static text in order to sort the entries (they appear within each author alphabetically by title instead of in date order). 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.---- |
Reply |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
if statement, if condition not met the show static text instead ofmergefield | Mailmerge | |||
How do I convert auto paragraph numbering to static text numbers? | Microsoft Word Help | |||
Some static text boxes, some free text | New Users | |||
convert bibliography to static text | Microsoft Word Help | |||
Replace Static with Variable but leave alone text between them | Microsoft Word Help |