At least back in old days There was "save as html" and "save as rtf"
available that worked somewhat well. Except HTML was something awful.
AFAIK there is limited ability to paste text from word to that WYSIWYG
editor while keeping formating.
--
Jani Tiainen
>
> At least there exists a Word2MoinMoin converter (http://moinmo.in/
> MicrosoftWordConverter) and a Moin2trac script (http://trac-hacks.org/
> wiki/MoinToTracScript).
> I've never used it and it's probably not very comfortable, but you can
> try.
>
> BR,
> Simon
>
>
I was over at Maluke.com to look at their S3 backup soln and saw they have a
Word to HTML converter that apparently can run in batch mode.
I bet its python.
Its not a free app, but it appears to ba a soln.
Steve
Instructions:
# Open Word.
# Open the Visual Basic Editor (Alt+F11).
# Select File → Import File... (Ctrl+M) and select Word2Trac.bas.
# Open a document in Word.
# Run the macro: Tools → Macros → Macros (Alt-F8), select the macro, and press Run.
# The conversion will modify the document in-place (don't save it!) and automatically copy the results to the clipboard.
# Paste the markup into Trac and clean up the markup in whatever way necessary.
I've also used the TracWysiwygPlugin to copy/paste the document. It works decently with most formatting, although it generates horrible and often broken wiki where it adds extra BRs for no reason, adds loads of extra spaces (which doesn't affect output but affects source), and sometimes deletes the spaces between words making a huge runon word.
I usually use the wysiwyg plugin to paste and then correct the output by hand, but I use the macro too sometimes, which works usually perfectly for the content that it supports.
Jason
--‾--‾---------‾--‾----‾------------‾-------‾--‾----‾
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-...@googlegroups.com
To unsubscribe from this group, send email to trac-users-...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-‾----------‾----‾----‾----‾------‾----‾------‾--‾---
Also I have no clue why the last mail came out as HTML when I sent
plaintext. I apologize for that.
Jason Winnebeck
Well I didn't write the original macro, and another member of my team
(who is no longer with us) modified it, just to output Trac format wiki.
I'm not sure the error you are getting with "ThisDocument", but I have
converted many documents and never seen this problem.
I did your example with the macro and it converted it to the following
wiki:
* listitem1. Text is blabla
* listitem2. Text is blablabla.
This means:
* listitem2.1
* listitem2.2
and moreover bababaa
* listitem3
It does not seem to recognize the beginning indent (or any method of
doing blockquote). I tried to convert the sample to Word how I thought
you meant it. It does handle lists without newlines in them with
multiple levels.
Jason
--
Evolution: Taking care of those too stupid to take care of themselves.
Jason
The developer's comments on the script:
"a partial, non-working attempt to make wvWare output Trac-Wiki-friendly
text, but there were some problems with lists and whitespace I could not
overcome (all bulleted lists would have to be manually corrected, and
vertical whitespace would need to be manually or automatically
corrected)."
For Excel, I noticed that when you copy/paste from or to Excel, that it
works with tab separated values. I wrote a Python macro (used as a wiki
processor) so you can paste an Excel doc or CSV file and it would format
it. There are CSV macros out there already but ours allows for Trac
formatting in the fields. The limitation is that the copy/paste only
works for things where you would expect a CSV to work, a rectangular
table. No Excel formatting nor things like graphs and charts are
preserved. What I mean when I say that it allows for Trac formatting is
that if you put "This is some cell content that has ''italics'' and
links to TracGuide", the italics and TracGuide will come out formatted.
Jason
-----Original Message-----
From: trac-...@googlegroups.com [mailto:trac-...@googlegroups.com]
On Behalf Of AmanKow
Sent: Saturday, March 22, 2008 1:43 PM
To: Trac Users
Subject: [Trac] Re: .doc to wiki page ?
For going out of Trac, I just copy/paste or "save webpage as" and use
the normal HTML loading features of Office. It's horrible.
Jason
-----Original Message-----
From: trac-...@googlegroups.com [mailto:trac-...@googlegroups.com]
On Behalf Of AmanKow
Sent: Monday, March 24, 2008 11:59 AM
To: Trac Users
Subject: [Trac] Re: .doc to wiki page ?