On 7/25/2012 12:00 AM, Lex Trotman wrote:
On 25 July 2012 13:55, ping <[email protected]> wrote:
On 7/24/2012 11:43 PM, Lex Trotman wrote:

On 25 July 2012 13:36, ping <[email protected]> wrote:

On 7/24/2012 10:40 PM, ping wrote:


On 7/24/2012 9:02 PM, Lex Trotman wrote:


On 25 July 2012 10:04, Alex Efros <[email protected]> wrote:


Hi!

On Wed, Jul 25, 2012 at 09:57:42AM +1000, Lex Trotman wrote:


Is it possible to convert asciidoc article (one file) into Word
document
format (.doc, .docx, .rtf, etc.)?


Not officially.  You could try the experimental odt backend, load in
libreoffice and save as those.



Thanks. Where I can get this backend?



https://github.com/dagwieers/asciidoc-odf

this looks extremely useful when we have to talk to MicroSoft-world
people. but sadly, I tried that and got errors...

ping@640g-laptop%asciidoc -b odp asciidoctips.txt
asciidoc: WARNING: asciidoctips.txt: line 4: include file not found:
/etc/asciidoc/backends/odp/asciidoc.odp.styles
asciidoc: FAILED: asciidoctips.txt: line 4: illegal [miscellaneous]
subsverbatim: specialcharacters,callouts,replacements3: replacements3

so the -b odp expect to locate:
     /etc/asciidoc/backends/odp/asciidoc.odp.styles
but look at the installation, it actually copied the "backends" folder
into user home dir .asciidoc:

ping@640g-laptop:~/.asciidoc$ ls
backends  filters  themes

ping@640g-laptop:~/.asciidoc/backends/odp$ ls
a2x-backend.py  asciidoc.odp.styles  asciidoc.otp  odp.conf

what is the correct folder to install and to refer? how to solve this
issue? I don't want to make any dirty tricks to ruin out the system
default behavior, unless have to...


ok, I fixed the issue by:

[following work done from a ubuntu machine:]
1) ln ~/.asciidoc/backends/ to /etc/asciidoc/backends
ping@640g-laptop:/etc/asciidoc$ sudo ln -s ~/.asciidoc/backends/ backends

2) upgrade asciidoc from 8.6.7

current issue:

1) although I still get following "warning":
asciidoc: WARNING: asciidoc.txt: line 3155: include file not found:
/data/backup/xnix/asciidoc/customers.csv

I end up with the fodt file generated! amazing! see attached 3 files:
fodt,
doc(converted from fodt in libreoffice), fodp.

[following work done from a windows7 machine]
the fodt and MS-doc file looks nice.but

2) the fodp file I can't open. libreoffice report:
general error/general input/output error.

3) the fodt file generated can be opened from libreoffice, save as word97
(doc) is also good. but saving as office2010 (docx) crashed the
libreoffice...


regards
ping


It might also be wise to use the git version, I think there are
changes in that which are not in the downloads.

thanks lex, I'm trying that now:

ping@640g-laptop:~/bin$ hg --version
Mercurial Distributed SCM (version 1.4.3)

Copyright (C) 2005-2010 Matt Mackall <[email protected]> and others
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
ping@640g-laptop:~/bin$
ping@640g-laptop:~/bin$
ping@640g-laptop:~/bin$ hg clone -r 8.6.8
https://asciidoc.googlecode.com/hg/ asciidoc-8.6.8
hg: command not found

why is that installed hg command "not found"?

Don't know, thats not an asciidoc question :)

And I meant to use the git asciidoc-odf.

Also please reply to the list not to individual posters.


got it.

so this works:
hg clone https://code.google.com/p/asciidoc/
and now I have even the newer asciidoc 8.6.8 :)
I'll try git asciidoc-odf as you mentioned (need to figure out how though).
thanks!

Cheers
Lex


thanks!

regards
ping


Cheers
Lex






--
                           WBR, Alex.











--
You received this message because you are subscribed to the Google Groups 
"asciidoc" 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/asciidoc?hl=en.

Reply via email to