TITLE: Demonstration of admonition styles in DocOnce
AUTHOR: H. P. Langtangen
DATE: today

The documents below are generated from a common "DocOnce source": "admon.do.txt.html".

======= LaTeX =======

--latex_admon="mdfbox": "admon_mdfbox_blue.pdf" with blue sections and matching admon colors

--latex_admon="mdfbox": "admon_mdfbox_bluestyle.pdf" with light blue background in mdfbox titles

!bc sys
Terminal> doconce format pdflatex admon --latex_code_style=lst --latex_admon=mdfbox --latex_admon_color=bluestyle --latex_section_headings=blue
!ec

% for style in latex_admons.split():
--latex_admon="${style}": "admon_${style}.pdf"

!bc sys
Terminal> doconce format pdflatex admon --latex_code_style=lst --latex_admon=${style}
!ec
% endfor

======= HTML =======

% for style in html_admons1.split():
--html_admon="${style}": "admon_${style}.html"

!bc sys
Terminal> doconce format html admon --html_style=blueish --html_admon=${style} --html_box_shadow
!ec
% endfor

% for style in html_admons2.split():
--html_admon="${style}": "admon_${style}.html"

!bc sys
Terminal> doconce format html admon --html_style=bootswatch_readable --html_admon=${style}
!ec
% endfor

======= IPython notebook =======

% for style in ipynb_admons.split():
--ipynb_admon="${style}": "http://nbviewer.ipython.org/url/hplgit.github.io/doconce/doc/pub/admon/admon_${style}.ipynb"

!bc sys
Terminal> doconce format ipynb admon --ipynb_admon=${style}
!ec
% endfor

======= Sphinx =======

The admon layout depends on the Sphinx theme:
% for theme in "classic agni basicstrap fenics-minimal2 scrolls".split():
"${theme}": "sphinx-${theme}/admon.html"
% endfor

!bc sys
Terminal> doconce format sphin admon
Terminal> doconce sphinx_dir theme=scrolls admon
Terminal> python automake_sphinx.py
!ec
