= Metanorma Native PDF
image:https://github.com/metanorma/mn-native-pdf/workflows/ubuntu/badge.svg["Build Status", link="https://github.com/metanorma/mn-native-pdf/actions?workflow=ubuntu"] image:https://github.com/metanorma/mn-native-pdf/workflows/macos/badge.svg["Build Status", link="https://github.com/metanorma/mn-native-pdf/actions?workflow=macos"] image:https://github.com/metanorma/mn-native-pdf/workflows/windows/badge.svg["Build Status", link="https://github.com/metanorma/mn-native-pdf/actions?workflow=windows"]
The experimental PDFs are available here:
== Purpose
This repository pilots native PDF capabilities of Metanorma using XML-FO via Apache FOP.
== Installing Build Tools
You will need mn2pdf
, envsubst
, make
and a number of fonts.
=== On macOS
envsubst
brew install gettext brew link --force gettext
export RENAME_FONTS=false curl -Ls https://raw.githubusercontent.com/metanorma/vista-fonts-installer/master/vista-fonts-installer.sh | bash
Generating XSLT layouts (will be created under xslt/
):
Building the document is then easy:
make all
=== On Ubuntu Linux
sudo apt-get -y install gettext-base cabextract wget
sudo apt-get -y install software-properties-common
echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | sudo debconf-set-selections sudo apt-get install ttf-mscorefonts-installer
Generating XSLT layouts (will be created under xslt/
):
Building the document is then easy:
make update-init update-modules
== Copyright
Ribose Inc.