NAME
muse-compile.pl -- format your muse document using Text::Amuse
SYNOPSIS
muse-compile.pl [ options ] file1.muse [ file2.muse , .... ]
This program uses Text::Amuse to produce usable output in HTML, EPUB, LaTeX and PDF format.
By default, all formats will be generated. You can specify which format you want using one or more of the following options:
- --html
-
Full HTML output.
- --epub
-
Full EPUB output.
- --bare-html
-
HTML body alone (wrapped in a
div
tag) - --tex
-
LaTeX output
- --zip
-
Pack the tex, the source and the html with the attachments in a zip file.
-
PDF output.
- --a4-pdf
-
PDF imposed on A4 paper, with a variable signature in the range of 40-80
- --lt-pdf
-
As above, but on Letter paper.
- --ttdir
-
The directory with the templates.
- --output-templates
-
Option to populated the above directory with the built-in templates.
- --log <file>
-
A file where we can append the report failures
- --extra key:value
-
This option can be repeated at will. The key/value pairs will be passed to every template we process, regardless of the type, even if only the built-in LaTeX template support them.
Example:
muse-compile --extra site=http://anarhija.net \ --extra papersize=a6 --extra division=15 --extra twoside=true \ --extra bcor=10mm --extra mainfont="Charis SIL" \ --extra sitename="Testsite" \ --extra siteslogan="Anticopyright" \ --extra logo=mylogo file.muse
Keep in mind that in this case
mylogo
has to be or an absolute filename (not reccomended, because the full path will remain in the .tex source), or a basename (even without extension) which can be found bykpsewhich
.