https://github.com/transpect/docx2hub-frontend
Frontend project which implements the docx2hub library
https://github.com/transpect/docx2hub-frontend
docx mathml msword office ooxml word
Last synced: 5 months ago
JSON representation
Frontend project which implements the docx2hub library
- Host: GitHub
- URL: https://github.com/transpect/docx2hub-frontend
- Owner: transpect
- License: bsd-2-clause
- Created: 2017-03-10T14:46:44.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2022-11-22T21:19:45.000Z (almost 3 years ago)
- Last Synced: 2023-03-01T08:31:11.515Z (over 2 years ago)
- Topics: docx, mathml, msword, office, ooxml, word
- Language: Shell
- Size: 36.1 KB
- Stars: 6
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# docx2hub-frontend
Implements the [docx2hub](https://github.com/transpect/docx2hub) library to convert from docx to XML.## Introduction
Considering this [hello word example](https://github.com/transpect/docx2hub-frontend/tree/master/sample), docx2hub will generate flat [Hub XML with CSSa XML attributes](http://publishinggeekly.com/wp-content/uploads/2013/01/CSSa.pdf).
```xml
Hello Word!```
## Requirements
At least Java 1.7 is required.
## Clone this project
This project depends on Git submodules. Therefore you have to clone it with the `--recursive` option to get the submodules, too:
```
git clone https://github.com/transpect/docx2hub-frontend --recursive
```## Invocation
### Bash
For convenient use on command line, we provide a simple Bash script. You can run it in this way:
```
`./docx2hub.sh sample/hello-word.docx
```### Calabash
We provide also Bash and Windows Batch scripts to invoke the XProc pipeline directly:
```
./calabash.sh -o result=sample/hello-word.xml xpl/docx2hub-frontend.xpl docx=sample/hello-word.docx
```## Include docx2hub in your XProc project
Please refer to this [tutorial](http://transpect.github.io/getting-started.html) for a more extensive documentation.
## Application Support
Currently docx files from the following applications are supported:
* Microsoft Word
* LibreOffice
* Google Docs