-
Notifications
You must be signed in to change notification settings - Fork 8
/
README.txt
47 lines (32 loc) · 1.13 KB
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
== ydocx by ywesee GmbH
* https://github.com/zdavatz/ydocx
* Parsing docx files with Ruby and output them as HTML and XML.
== Supports
* Tables
* Uppercase letters, numbers
* Lowercase letters, numbers
* Umlaute
* bold, italic, underline
* Images
** wmf requires imagemagick and is only partially supported due to imagemagick
** png files are copied 1:1
* works on Windows as well.
== Usage
* Usage: docx2html file [options]
-f, --format Format of style and chapter {(fi|fachinfo)|(pi|patinfo)|(pl|plain)|none}, default fachinfo.
-h, --help Display this help message.
-l, --lang Language option for templates {de|fr}
-v, --version Show version.
== Using the great libraries
* rubyzip (< 1.0.0)
* nokogiri
* htmlentities
* rmagick
Install them using bundle install.
Requires Ruby >= 1.9.2.
== TODO
For unknown reason the gem fails to parse properly the Présentation for sinovial_fr.
Failing spec is: ydocx should convert sinovial_FR to xml
Failure/Error: doc.xpath('//chapters/chapter[contains(heading, "Présentation")]').size.should > 0
== License GPLv3.0
* http://www.gnu.org/licenses/gpl.html