Hi Craig, Thanks for the comprehensive answer, there is some useful stuff here for me and my team to help us make a decision on our style.
Do a recall correctly that you have a background in technical authorship? Do you have a favourite set of conventions of typography? On 25 April 2010 22:42, Craig in Calgary <[email protected]> wrote: > Alex, > > It is most regrettable that I didn't see your last post before > completing my research. For anyone interested I will post it here > anyway. > > Alex, > > First, I'm confused by apparently contradictory statements: > >> Some requests for from the group have included; >> *double space after paragraphs >> *no curly quotes >> >> It appears that >> *TW removes double spaces from texts cut and pasted from Word >> *word processors change all your quotes to curly for you, but when you >> cut and paste into TW, the curly quotes revert to straight ones. >> >> The problem for me is that I find myself in a loop where corrections >> are being made on my TW document using Word. I cut and paste the exact >> text, yet to the proof reader, it appears that no change has been >> made. >> >> It would be nice if the TW version could output a singe spaced and >> curly quoted document paper document... > > The group has requested no curly quotes but you're asking for curly > quotes. I copied some curly-quoted text from Word into a tiddler and > it remained curly-quoted. When copied back into Word it still > maintained the curly quotes, i.e. the round-trip didn't convert curly > quotes ({{{‘}}} = HEX {{{%91}}}, {{{’}}} = HEX {{{%92}}}, {{{“}}} = > HEX {{{%93}}}, and {{{”}}} = HEX {{{%94}}}) into straight quotes. > > I believe the confusion comes from the last sentence in the Typography > for Lawyers article, "Before you exclaim “that won’t do anything!”, > try it. When Word or WP replaces each quote mark, it also performs the > straight-to-curly conversion." This "conversion" is a configuration > option (AutoCorrect Options) which can be changed. In Word 2007, > select the Office Button (upper left corner), select the Word Options > command button next to the Exit Word command button, select the > Proofing topic (third down the left-side list), select the AutoCorrect > Options button in the AutoCorrect options section, then select the > AutoFormat As You Type tab. In the Replace as you type section there > is a checkbox for "Straight quotes" with "smart quotes". Because this > option is selected by default, people assume that Word will always do > this for them. With this option selected, when you type, single and > double straight quotes are converted to curly quotes. If you disable > (unselect) the checkbox, whatever kind of single or double quote you > type will not be changed to its curly equivalent. What the author of > the article didn't test is what Word does with ''pasted'' text. > Whether this option is selected or not, Word does ''not'' convert > pasted text. If you perform a search and replace (Ctrl+H) and type the > same single or double quote character into both the Find what combo > box and the Replace with combo box, Word will convert the straight > quotes to curly quotes for you. > > Regarding "double space after paragraphs", the trick here is to modify > the paragraph style in both TiddlyWiki and Word. > > In TiddlyWiki: From [[Suppress blank lines (crlf) in rendered tiddler > content|http://groups.google.com/group/tiddlywiki/t/ef902f93b917345/ > a4f4c079492e3ce8]] I obtained > http://a-pm-experimental.tiddlyspot.com/#LineBreakHack. > This plugin will remove all the extra crlfs from tiddler content > before rendering the tiddler in the TiddlyWiki. I do not know how to > modify the code to wikify all linebreaks into two (2) <br>'s (which > would render your tiddler content with a double-space between > paragraphs). However, the presence of this plugin ''will'' allow your > editors to place an extra crlf in their content for readability during > editing. If you implement this plugin, I would suggest that when you > want to port a tiddler's content to Word, select the text to copy into > the clipboard from the rendered tiddler, not from the tiddler in edit > mode. That way no extra crlfs will be introduced into Word. > > In Word: > #Create a paragraph Style (mine is named SpaceAfterParagraph). > #Select the Format command button and select Paragraph from the > dropdown. > #On the Indents and Spacing tab of the Paragraph dialog: > **Set Line spacing to Single > **Set Spacing After to 24 pt. Assuming your default font size is 12 > pt, 24 pt represents a double space. > #Save your changes to the Paragraph dialog and the new paragraph > Style. > #Apply this style to all appropriate paragraphs. > > Following is a macro I created that: > *pastes the contents of the clipboard into the Word document > *performs a search and replace on single quotes throughout the entire > document (quotes which are curly will remain so) > *performs a search and replace on double quotes throughout the entire > document (quotes which are curly will remain so) > *performs a search on the Normal paragraph style (which is what should > be coming from the clipboard from your tiddler) throughout the entire > document and replaces it with my SpaceAfterParagraph style. > > Code (beware of Google Groups introducing crlf's that could break the > code): > {{{ > Option Explicit > > Sub LawyerStyle() > > 'Replace single quotes > Selection.PasteAndFormat (wdPasteDefault) > Selection.Find.ClearFormatting > Selection.Find.Replacement.ClearFormatting > With Selection.Find > .Text = "'" > .Replacement.Text = "'" > .Forward = True > .Wrap = wdFindContinue > .Format = False > End With > Selection.Find.Execute Replace:=wdReplaceAll > > 'Replace double quotes > Selection.Find.ClearFormatting > Selection.Find.Replacement.ClearFormatting > With Selection.Find > .Text = """" > .Replacement.Text = """" > .Forward = True > .Wrap = wdFindContinue > .Format = False > End With > Selection.Find.Execute Replace:=wdReplaceAll > > 'Replace Normal style > Selection.Find.ClearFormatting > Selection.Find.Replacement.ClearFormatting > Selection.Find.Style = ActiveDocument.Styles( _ > "Normal") > Selection.Find.Replacement.Style = ActiveDocument.Styles( _ > "SpaceAfterParagraph") > With Selection.Find > .Text = "" > .Replacement.Text = "" > .Forward = True > .Wrap = wdFindContinue > .Format = True > End With > Selection.Find.Execute Replace:=wdReplaceAll > > End Sub > }}} > > This macro will automate the process of moving content from your > TiddlyWiki into a Word document: > #Select the content in your TiddlyWiki which you want to port over to > Word and copy it to the clipboard (Ctrl+C). > #In the Word document, place your cursor at the insertion point for > your content. > #Execute the macro. > > If the style SpaceAfterParagraph does not exist, the macro will crash. > You can edit the code to rename the style if necessary. > > I'm using MS Word 2007. These changes can be made in previous versions > (2003, 2002, 2000, etc.) but I don't know where to look in the menus. > > Take care. > > Craig > > -- > You received this message because you are subscribed to the Google Groups > "TiddlyWiki" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/tiddlywiki?hl=en. > > -- http://www.multiurl.com/g/64 -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.

