Section 3 Publishing Tutorial
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.
A book in Korean can be typeset by XeLaTeX 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 XeLaTeX engine (in the LaTeX system). 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.
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. Hence for books in Korean, download the following file to the folder containing the book source files
and change the first line of
my_book_ko.tex
as follows:
Now typeset the book with XeLaTeX again, and check
my_book_ko.pdf
in natural Korean style.
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.