login

Section 3 Publishing Tutorial

Using LaTeX
Create a new folder
my_book
in the shelf folder. Then download to the folder the file
Typeset this file by the LaTeX system on the personal computer. If typeset successfully, then open and check the generated
my_book.pdf
file.
Now open the terminal, and run the command
mp publish
to upload the files to MathPage. Then in the author menu, add a new book
My Book
, and check the published book in MathPage.
Publishing in Korean
A book in Korean can be typeset by XeLaTeX or LuaLaTeX engine. Create a new folder
my_book_ko
in the shelf folder. Into the new foler, download one of the following files for your platform
Typeset this file using the XeLaTeX engine. After typesetting, check the generated
my_book_ko.pdf
.
Now use the command
mp publish
to publish to MathPage. In the author menu, create a new book
My Korean Book
. Choose Korean as the language of the book. Finally check the new book in MathPage.
Using a Korean book style
If you look into the book
my_book_ko.pdf
carefully, you would find English expressions such as “Chapter” or “Section” unfit in the book in Korean language. This is because of the document class file
book.cls
, which is designed for English books. To adopt Korean language styles, add the following lines to
my_book_ko.tex
:
    \usepackage{polyglossia}
    \setdefaultlanguage{korean}
Now typeset the book with XeLaTeX again, and check
my_book_ko.pdf
in natural Korean style.
Writing in LaTeX
A large subset of LaTeX is supported by MathPage. On the other hand, MathPage extends LaTeX to support media and interactive contents. Refer to Chapter 5 for further information.