@@ -27,48 +27,29 @@ opt="--no_mako"
2727rm -f * .aux
2828
2929
30- html=${name} -reveal
31- system doconce format html $name --pygments_html_style=perldoc --keep_pygments_html_bg --html_links_in_new_window --html_output=$html $opt
32- system doconce slides_html $html reveal --html_slide_theme=beige
33-
34- # Plain HTML documents
35-
36- html=${name} -solarized
37- system doconce format html $name --pygments_html_style=perldoc --html_style=solarized3 --html_links_in_new_window --html_output=$html $opt
38- system doconce split_html $html .html --method=space10
39-
40- html=${name}
41- system doconce format html $name --pygments_html_style=default --html_style=bloodish --html_links_in_new_window --html_output=$html $opt
42- system doconce split_html $html .html --method=space10
43-
44- # Bootstrap style
45- html=${name} -bs
46- system doconce format html $name --html_style=bootstrap --pygments_html_style=default --html_admon=bootstrap_panel --html_output=$html $opt
47- # system doconce split_html $html.html --method=split --pagination --nav_button=bottom
4830
4931# IPython notebook
5032system doconce format ipynb $name $opt
5133
52- # Ordinary plain LaTeX document
53- system doconce format pdflatex $name --minted_latex_style=trac --latex_admon=paragraph $opt
34+
35+ # LaTeX Beamer slides
36+ beamertheme=red_plain
37+ system doconce format pdflatex $name --latex_title_layout=beamer --latex_table_format=footnotesize $opt
5438system doconce ptex2tex $name envir=minted
5539# Add special packages
5640doconce subst " % Add user's preamble" " \g<1>\n\\ usepackage{simplewick}" $name .tex
57- doconce replace ' section{ ' ' section*{ ' $name .tex
58- pdflatex -shell-escape $name
59- pdflatex -shell-escape $name
60- mv -f $name .pdf ${name} .pdf
41+ system doconce slides_beamer $name --beamer_slide_theme= $beamertheme
42+ system pdflatex -shell-escape ${ name}
43+ system pdflatex -shell-escape ${ name}
44+ cp $name .pdf ${name} .pdf
6145cp $name .tex ${name} .tex
6246
6347
64-
65-
6648# Publish
6749dest=../../pub
6850if [ ! -d $dest /$name ]; then
6951mkdir $dest /$name
7052mkdir $dest /$name /pdf
71- mkdir $dest /$name /html
7253mkdir $dest /$name /ipynb
7354fi
7455cp ${name} * .pdf $dest /$name /pdf
@@ -96,3 +77,7 @@ cp ${ipynb_tarfile} $dest/$name/ipynb
9677
9778
9879
80+
81+
82+
83+
0 commit comments