This files is intended to customize dblatex to conversion DocBook to LaTeX with layout required for educational works (reports, articles, etc) in Russian institutes.
The standard algorithm of preparing educational documents in MS Word has some advantages:
-
It allows quickly create and print documents;
-
Changing in text immediately displays in GUI;
-
There is possibility to automatically generation of ToC, LoT, etc.
But typesetting documents in .docx format has some disadvantages:
-
The difficulty of correcting incorrectly configured styles;
-
The need to customize layout for each new documents;
-
Captions for tables and figures needs to be added manually.
Therefore most peoples choose LaTeX to prepare thesis, because it opens the following possibilities:
-
The document layout is separated from content, that allows reuse layout for more than one document;
-
Sections headers is automatically indexed, and ToC is generated.
-
More easily typesetting mathematical equations.
But typesetting documents in LaTeX has some disadvantages:
-
Bulky syntactic constructions for environments, in-text commands;
-
Compatibility issues with some abandoned packages;
-
The changing in document are not displayed immediately.
There is other decision, that partially solves of thees disadvantages: semantic markup.
First, the document typed in AsciiDoc is converted to DocBook with asciidoctor. Then, docbook document converted to LaTeX file by dblatex with -T gost
option.
To make .pdf from .adoc file: asciidoctor -b docbook5 -o - article.adoc | dblatex -T gost-article -o article.pdf -
.