An open API service indexing awesome lists of open source software.

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

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