https://github.com/transpect/idml2xml-frontend
Converts InDesign IDML to XML
https://github.com/transpect/idml2xml-frontend
docbook idml indesign
Last synced: 11 months ago
JSON representation
Converts InDesign IDML to XML
- Host: GitHub
- URL: https://github.com/transpect/idml2xml-frontend
- Owner: transpect
- License: bsd-2-clause
- Created: 2017-04-05T13:54:15.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2024-06-21T13:59:28.000Z (almost 2 years ago)
- Last Synced: 2025-05-05T23:37:20.291Z (about 1 year ago)
- Topics: docbook, idml, indesign
- Language: Shell
- Homepage:
- Size: 51.8 KB
- Stars: 16
- Watchers: 4
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# idml2xml
Converts InDesign IDML to XML. Based on the transpect module [idml2xml](https://github.com/transpect/idml2xml).
## Introduction
Considering this [hello world example](https://github.com/transpect/idml2xml-frontend/tree/master/sample), idml2xml will generate flat [Hub XML with CSSa XML attributes](http://publishinggeekly.com/wp-content/uploads/2013/01/CSSa.pdf).
```xml
hello world
```
## 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 `--recurse-submodules` option to get the submodules, too:
```
git clone https://github.com/transpect/idml2xml-frontend --recurse-submodules
```
## Invocation
### Bash
For convenient use on command line, we provide a simple Bash script. You can run it in this way:
```
./idml2xml.sh sample/hello-world.idml
```
### Calabash
We provide also Bash and Windows Batch scripts to invoke the XProc pipeline directly:
```
./calabash.sh -o result=sample/hello-world.xml xpl/idml2xml-frontend.xpl idml=sample/hello-world.idml
```
## Include idml2xml in your XProc project
Please refer to this [tutorial](http://transpect.github.io/getting-started.html) for a more extensive documentation.