1
1
mirror of https://github.com/sdiehl/wiwinwlh.git synced 2024-10-26 12:47:46 +03:00

Better REAMDE

This commit is contained in:
sdiehl 2020-02-16 23:43:05 +00:00
parent 93cb187c6d
commit e899024ced

View File

@ -63,16 +63,22 @@ Markdown file which generates all other targets.
[tutorial.md](./tutorial.md)
Compiling
---------
If for some reason you want to compile the HTML page yourself, then you'll need
to compile the preprocessor against Pandoc and then run make to build the page.
To compile the preprocessor run either use Nix, Stack or Cabal to compile the
target in the cabal file.
```bash
$ make
$ firefox tutorial.html
$ stack exec make # Stack
$ cabal exec make # Cabal
$ make run-shell && ghc --make includes.hs # Nix
```
Alternatively a PDF or EPUB file can be generated by one of the following
commands:
After this is built you can build anyone of the available target outputs.
**LaTeX**
@ -100,25 +106,13 @@ $ make docx
$ make epub
```
Preproccssor
-------------
To compile the preprocessor run either use Nix, Stack or Cabal to compile the
target in the cabal file.
```bash
$ stack exec make # Stack
$ cabal exec make # Cabal
$ make run-shell && ghc --make includes.hs # Nix
```
License
-------
Copyright © 2009-2020 Stephen Diehl
This code included in the text is dedicated to the public domain. You can copy,
modify, distribute and perform the work, even for commercial purposes, all
This code included in the text is dedicated to the public domain. You can copy,
modify, distribute and perform the code, even for commercial purposes, all
without asking permission.
You may distribute this text in its full form freely, but may not reauthor or