Skip to content

Latest commit

 

History

History
78 lines (47 loc) · 2.74 KB

README.md

File metadata and controls

78 lines (47 loc) · 2.74 KB

Markup UK 2020 Xproc Webinars

This repository contains (or will soon contain) the presentations and example code for some of the XProc webinars for Markup UK 2020.

  • Thursday June 4: XProc 3.0 101 - Part 1
  • Monday June 8: XProc 3.0 101 - Part 2
  • Thursday June 18: XProc 3.0 - Dealing with ZIP documents

Presenter:

Erik Siegel

Xatapult

[email protected]


Preparations:

Example code:

  • Just clone this GIT repository somewhere
  • Check for updates now and then

XProc processor:

  • Make sure you have Java 8 installed and up and running. Morgana doesn't support higher versions (yet)
  • Download the Morgana XProc 3.0 processor at https://www.xml-project.com/
  • Unzip the zip
  • Add the main Morgana directory to your system's path
  • Add a Saxon jar file to the MorganaXProc-IIIse_lib sub-directory. For instance for Saxon 9: saxon9he.jar. The free home edition (HE) is sufficient.
  • Try it: Typing morgana on the command line should now give you some output about it's usage

Usage

If you're using oXygen you can use the oXygen project file markupuk-2020.xpr in the /etc sub-directory.

The presentations are there in PowerPoint and PDF format. You can find them in the presentation sub-directories, for instance in /101-A/presentation

Most if not all examples can be run directly from the command line. For instance (please try this):

  • Change directory (cd) to /101-A/example-1
  • Type: morgana example-1.xpl
  • The output should be something like:
=================================
MorganaXProc-IIIse 0.9.2.9-beta
Copyright 2011-2020 by <xml-project /> Achim Berndzen
=================================

<text timestamp="2020-05-25T08:44:44.94+02:00">Hi there,&#xD;
This is a piece of text to demonstrate XProc 3.0 with.</text>

Important links