Page 1 of 1

Kantlipsum on Ubuntu

Posted: Thu Jul 18, 2019 4:03 am
by peter_b
In the past, I've used an online Python generator for creating random text in Immanuel Kant style, every now and then.

Here's how to include this so called "Kant Lipsum" text in e.g. Markdown - generated by Pandoc when rendering to an output format! :shock: 8)

First, here's the LaTeX template code.
Save this to "kant.tex":

Code: Select all




Second, here's the Markdown template.
Save this to "":

Code: Select all

# Testing Kant


Command to generate the output:

Code: Select all

$ pandoc --template=kant.tex --latex-engine=xelatex -s -o kant.pdf

The "\kant" command can be parametrized and there are other commands available too.
See Kantlipsum package documentation "Commands" for details.

Related links:

Optional: some Kantlpsum markdown examples.

Posted: Thu Jul 18, 2019 4:30 am
by peter_b
Some optional Markdown input examples:

Code: Select all

# Only certain paragraphs

## First paragraph only:


## Second to fourth:


# Same. Without paragraphs: