Tutorial#
This tutorial will guide you through the process of creating a new Chirun package, and processing it with the web frontend.
We’ll start by writing a short LaTeX file, called notes.tex
:
\documentclass[a4paper]{report}
\usepackage{chirun}
\begin{document}
This is my LaTeX document!
\end{document}
Go to the Chirun web frontend, and click on Create a new package.
The first thing to do is to upload the source files you’ve got - in this case, just the above LaTeX file.
Drag notes.tex
on to the Files input, and click Upload.
You’re then shown the configuration editor. Chirun needs to know the structure of your course - one you’ve got several pieces of material, it needs to know how to group them and how they should each be presented.
The first screen of the editor, Package settings, contains settings that apply to the whole package. Fill in a title for the package and your name. You can leave the rest blank for now.
Then click Add an item.
The LaTeX file will be a chapter in the course: leave the Type field set to “Chapter”, then click on the Source field and select notes.tex
.
Leave all the other settings as they are, and click the Save button at the top of the page.
Note
It’s our intention to automatically come up with a default configuration when you create a new package, for example adding an item for each .tex
or .md
file you upload.
For now, you have to do it yourself!
The package will then be built: Chirun will process the source material and produce HTML and PDF versions of the notes we provided.
Once it’s complete, click on View the generated content.
This takes you to the management page for your package. Access to the package is granted only by knowing the address of this page, so bookmark it! The URL is shown at the top of the management page so you can copy it.
Under View this package’s content, click on the Introduction link to see the top level of the output. There’s not much on that page, just the title, your name, and a link to the notes chapter.