Conversion from LibreOffice to ASCIIDOC

65 views
Skip to first unread message

Leslie Satenstein

unread,
Apr 14, 2020, 8:08:40 PM4/14/20
to asciidoc
Is there a way to convert a LibreOffice markup / clear document to ASCIIDOC?

The LibreOffice change tracking and collaboration allows one to markup a document and to have others (in succession) accept, reject, modify, delete, comment
on the document.

I have attached a 200 page LibreOffice document and would like a way to port it to asciidoc.

Even if it is not 100 portable, at least have the majority of work completed.




installguide.tar

Eduard Lucena

unread,
Apr 14, 2020, 8:48:44 PM4/14/20
to asci...@googlegroups.com

--
You received this message because you are subscribed to the Google Groups "asciidoc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to asciidoc+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/asciidoc/8cfd2af2-f6a0-4a4e-8074-860d25ba4212%40googlegroups.com.


--
Eduard Lucena
Móvil: +56962318010
GNU/Linux User #589060
Ubuntu User #8749
Fedora Marketing Representative

leslie.s...@gmail.com

unread,
Apr 14, 2020, 8:51:56 PM4/14/20
to asci...@googlegroups.com
Thank you

It is what I am looking for.

Gmail Backup

unread,
Apr 14, 2020, 9:47:19 PM4/14/20
to asci...@googlegroups.com
The option in Word is no called something like "Save as Filtered HTML”. It still has a bunch of Word-isms but is much better. It’s mostly correct HTML, but uses many deprecated features.

Worst part of the conversions I did were bulleted lists. The documents I needed to convert had 6 level deep lists where the nesting was semantically important. It also had lists that skipped levels and other unnatural things. I was converting to HTML so didn’t need the pandoc stuff so your mileage will vary.


Steve Glaser
sgl...@sglaser.com

Marco Ciampa

unread,
Apr 15, 2020, 3:28:56 AM4/15/20
to asci...@googlegroups.com
On Tue, Apr 14, 2020 at 06:47:10PM -0700, Gmail Backup wrote:

> The option in Word is no called something like "Save as Filtered HTML”.
> It still has a bunch of Word-isms but is much better. It’s mostly correct
> HTML, but uses many deprecated features.
>
> Worst part of the conversions I did were bulleted lists. The documents
> I needed to convert had 6 level deep lists where the nesting was
> semantically important. It also had lists that skipped levels and other
> unnatural things. I was converting to HTML so didn’t need the pandoc
> stuff so your mileage will vary.


I successfully converted the KiCad manuals into Asciidoc format using a
more convoluted but more precise method: I converted the odt into rest
with a friend of mine python script:

https://pypi.org/project/metapensiero.odt2sphinx/

and then using pandoc for the rest to asciidoc conversion...

Good luck!

--

Saluton,
Marco Ciampa

Marco Ciampa

unread,
Apr 16, 2020, 4:14:41 AM4/16/20
to asci...@googlegroups.com
On Wed, Apr 15, 2020 at 12:27:12PM +0000, leslie.s...@gmail.com wrote:
> Hi Marco
> Thank you for some history and your challenges with the conversion of
> word to asciidoc. 
[..]
> Again, I very much appreciate your converter and if you wish, will
> provide feedback about my success.

Hope you don't mind if I bounce the thread again into the asciidoc
mailing list...

The thing is: using _any_ lightweight markup language is preferable
against an apparently simpler and more ubiquitous ODT format for many
reasons:

- is revision control aware
- is easily translatable via po4a (https://github.com/mquinson/po4a)
- different translations are manageable all at the same time
- there is a separation between format and content that easy the
translation efforts
- the tasks of authors and translators are separate and independent
- the production of different kind of documents are automatic
- you can check the document validity before commits

See here:

https://gitlab.com/kicad/services/kicad-doc

Feel free to ask any question...

--

Saluton,
Marco Ciampa
Reply all
Reply to author
Forward
0 new messages