{"id":20079623,"url":"https://github.com/transpect/docx2hub-frontend","last_synced_at":"2025-05-05T23:30:33.687Z","repository":{"id":63635925,"uuid":"84569763","full_name":"transpect/docx2hub-frontend","owner":"transpect","description":"Frontend project which implements the docx2hub library","archived":false,"fork":false,"pushed_at":"2022-11-22T21:19:45.000Z","size":37,"stargazers_count":6,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2023-03-01T08:31:11.515Z","etag":null,"topics":["docx","mathml","msword","office","ooxml","word"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/transpect.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-03-10T14:46:44.000Z","updated_at":"2022-12-14T22:41:15.000Z","dependencies_parsed_at":"2022-11-22T22:45:37.461Z","dependency_job_id":null,"html_url":"https://github.com/transpect/docx2hub-frontend","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/transpect%2Fdocx2hub-frontend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/transpect%2Fdocx2hub-frontend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/transpect%2Fdocx2hub-frontend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/transpect%2Fdocx2hub-frontend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/transpect","download_url":"https://codeload.github.com/transpect/docx2hub-frontend/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224472486,"owners_count":17316996,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docx","mathml","msword","office","ooxml","word"],"created_at":"2024-11-13T15:23:45.237Z","updated_at":"2024-11-13T15:23:46.142Z","avatar_url":"https://github.com/transpect.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# docx2hub-frontend\nImplements the [docx2hub](https://github.com/transpect/docx2hub) library to convert from docx to XML.\n\n## Introduction\n\nConsidering 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). \n\n```xml\n\u003chub xmlns=\"http://docbook.org/ns/docbook\" \n  xmlns:css=\"http://www.w3.org/1996/css\"\n  xml:base=\"file:///C:/cygwin64/home/kraetke/docx2hub-frontend/sample/hello-word.hub.xml\" \n  xml:lang=\"de\" \n  css:rule-selection-attribute=\"role\"\n  css:version=\"3.0-variant le-tex_Hub-1.2\" \n  version=\"5.1-variant le-tex_Hub-1.2\"\u003e\n  \u003cinfo\u003e\n    \u003ckeywordset role=\"hub\"\u003e\n      \u003c!-- (...) hub format properties --\u003e\n    \u003c/keywordset\u003e\n    \u003ckeywordset role=\"docProps\"\u003e\n      \u003c!-- (...) document properties --\u003e\n    \u003c/keywordset\u003e\n    \u003ccss:rules\u003e\n      \u003ccss:rule layout-type=\"para\" native-name=\"heading 1\" \n        css:font-size=\"14pt\" css:font-family=\"Calibri\" \n        css:page-break-after=\"avoid\" css:margin-top=\"24pt\" \n        css:margin-bottom=\"0pt\" remap=\"h1\" css:font-weight=\"bold\" \n        css:color=\"#365F91\" name=\"berschrift1\"/\u003e\n    \u003c/css:rules\u003e\n  \u003c/info\u003e\n  \u003cpara role=\"berschrift1\"\u003e\u003cphrase css:font-style=\"italic\"\u003eHello Word!\u003c/phrase\u003e\u003c/para\u003e\n\u003c/hub\u003e\n\n```\n\n## Requirements\n\nAt least Java 1.7 is required.\n\n## Clone this project\n\nThis project depends on Git submodules. Therefore you have to clone it with the `--recursive` option to get the submodules, too:\n\n```\ngit clone https://github.com/transpect/docx2hub-frontend --recursive\n```\n\n## Invocation\n\n### Bash\n\nFor convenient use on command line, we provide a simple Bash script. You can run it in this way:\n```\n`./docx2hub.sh sample/hello-word.docx\n```\n\n### Calabash\n\nWe provide also Bash and Windows Batch scripts to invoke the XProc pipeline directly:\n\n```\n./calabash.sh -o result=sample/hello-word.xml xpl/docx2hub-frontend.xpl docx=sample/hello-word.docx\n```\n\n## Include docx2hub in your XProc project\n\nPlease refer to this [tutorial](http://transpect.github.io/getting-started.html) for a more extensive documentation.\n\n\n## Application Support\n\nCurrently docx files from the following applications are supported:\n\n* Microsoft Word\n* LibreOffice\n* Google Docs\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftranspect%2Fdocx2hub-frontend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftranspect%2Fdocx2hub-frontend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftranspect%2Fdocx2hub-frontend/lists"}