https://github.com/gerph/riscos-prminxml-staging
PRM-in-XML staging area (uses http://www.princexml.com/ to generate PDFs)
https://github.com/gerph/riscos-prminxml-staging
documentation prminxml riscos
Last synced: 2 months ago
JSON representation
PRM-in-XML staging area (uses http://www.princexml.com/ to generate PDFs)
- Host: GitHub
- URL: https://github.com/gerph/riscos-prminxml-staging
- Owner: gerph
- Created: 2022-01-26T10:49:30.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2026-01-11T05:31:01.000Z (2 months ago)
- Last Synced: 2026-01-11T10:57:13.891Z (2 months ago)
- Topics: documentation, prminxml, riscos
- Language: HTML
- Homepage: https://gerph.github.io/riscos-prminxml-staging/
- Size: 837 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
# RISC OS supplementary documentation
[](https://gerph.github.io/riscos-prminxml-staging/)
## Introduction
This repository hold supplementary documentation in PRM-in-XML format.
It is a staging area for conversions of documentation.
The documents are meant to be generated by the PRM-in-XML tool, which
converts the content to HTML files which can be read more easily.
The [Releases](https://github.com/gerph/riscos-prminxml-staging/releases)
on GitHub include archives of the generated documentation, in addition to the pages
on the [generated website](https://gerph.github.io/riscos-prminxml-staging/).
## Building the examples
The example documents can be generated on a Linux system, although this may
need to install packages.
./build.sh
This will generate the documents in the directory `output`.
If you do not wish to install packages, you may manually build with the
following alternatives.
### Building with the PRM-in-XML tool
To directly generate the documentation, the
[PRM-in-XML tool](https://github.com/gerph/riscos-prminxml-tool)
is required to process these files.
To build them, use a command like:
riscos-prminxml src/acorn/cnp/cut_n_paste.xml
### Building with docker
Building the documentation can be performed on most modern POSIX systems with Docker.
With Docker:
docker run -it --rm -v$PWD:/work -w /work ubuntu:18.04 ./build.sh
This will install all the necessary components and perform the build.
The build will produce results in the `output` directory, as HTML.
For PDF use, you should follow the [PrinceXML licensing](https://www.princexml.com/purchase/license_faq/) terms. For most use, you should be able to use the non-commercial license.
This can be indicated by setting the environment variable `PRINCEXML_I_HAVE_A_LICENSE`, thus:
docker run -it --rm -v$PWD:/work -e PRINCEXML_I_HAVE_A_LICENSE=1 -w /work ubuntu:18.04 ./build.sh