Hello World!

Just the simplest way to get a phrase onto a numbered page.

The page size, font face, margins, and everything else should be the defaults. The only non-default addition to the minimal way to get text on a page is adding a folio in the simplest way possible. The position of the folio may vary depending on defaults, but if an explicit position is required use bottom center.

sile

Download: ( source | pdf )

Input document

\begin{document}
Hello World
\end{document}

Render command

sile -o hello-world-sile.pdf hello-world-sile.sil

typst

Download: ( source | pdf )

Input document

#set page (numbering: "1")

Hello World

Render command

typst compile hello-world-typst.typ hello-world-typst.pdf

xelatex

Download: ( source | pdf )

Input document

\documentclass{article}
\begin{document}
Hello World
\end{document}

Render command

xelatex -interaction=batchmode -halt-on-error -jobname data/hello-world-xelatex hello-world-xelatex.tex

groff

Download: ( source | pdf )

Input document

.ds CF %
.LP
Hello World

Render command

groff -ms -T pdf hello-world-groff.ms > hello-world-groff.pdf

satysfi

Download: ( source | pdf )

Input document

@require: stdjareport

document(|
	title = {};
	author = {};
|) '<
	+p{Hello World}
>

Render command

satysfi hello-world-satysfi.saty -o hello-world-satysfi.pdf

pagedjs

Download: ( source | pdf )

Input document

<html>
	<head>
		<style>
		@page {
			@bottom-center {
				content: counter(page);
			}
		}
		</style>
	</head>
	<p>Hello World</p>
</html>

Render command

pagedjs-cli -i hello-world-pagedjs.html -o hello-world-pagedjs.pdf

weasyprint

Download: ( source | pdf )

Input document

<html>
	<head>
		<style>
		@page {
			@bottom-center {
				content: counter(page);
			}
		}
		</style>
	</head>
	<p>Hello World</p>
</html>

Render command

weasyprint hello-world-weasyprint.html hello-world-weasyprint.pdf