DocOnce supports a variety of Bootstrap styles for HTML
documents. To get the journal
Bootswatch style, for instance, run
Terminal> doconce format html mydoc --html_style=bootswatch_journal
The title, optionally with authors, date, table of contents, abstract and/or a short introduction is typeset using the Jumbotron environment from Bootstrap, resulting in large fonts on a gray background.
If a !split
command is used before the first section heading or
TOC: on
instruction, a button with Read...
and a link to the next
page is inserted if the document is split using doconce split_html
.
This construction results in a short Bootstrap main page that has
become very popular on web. The --html_bootstrap_jumbotron=value
option can be used to adjust the jumbotron: value
can be on
(default), off
(to turn the gray background and large fonts off), or
h2
(to replace the large font in the document title by a smaller
font).