Skip to content

Commit

Permalink
added pdf file
Browse files Browse the repository at this point in the history
  • Loading branch information
mhjensen committed Nov 24, 2024
1 parent 9cdc8dd commit cf51af5
Show file tree
Hide file tree
Showing 6 changed files with 57 additions and 18 deletions.
32 changes: 18 additions & 14 deletions doc/pub/week48/html/week48-bs.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Contents <b class="caret"></b></a>
<ul class="dropdown-menu">
<!-- navigation toc: --> <li><a href="._week48-bs001.html#week-48-november-25-29-2024" style="font-size: 80%;">Week 48, November 25-29, 2024</a></li>
<!-- navigation toc: --> <li><a href="#week-48-november-25-29-2024" style="font-size: 80%;">Week 48, November 25-29, 2024</a></li>

</ul>
</li>
Expand All @@ -68,7 +68,6 @@
</div> <!-- end of navigation bar -->
<div class="container">
<p>&nbsp;</p><p>&nbsp;</p><p>&nbsp;</p> <!-- add vertical space -->
<a name="part0000"></a>
<!-- ------------------- main content ---------------------- -->
<div class="jumbotron">
<center>
Expand All @@ -89,20 +88,25 @@ <h4>Week 48, November 25-29</h4>
</center> <!-- date -->
<br>



<p><a href="._week48-bs001.html" class="btn btn-primary btn-lg">Read &raquo;</a></p>


<!-- potential-jumbotron-button -->
</div> <!-- end jumbotron -->

<p>
<!-- navigation buttons at the bottom of the page -->
<ul class="pagination">
<li class="active"><a href="._week48-bs000.html">1</a></li>
<li><a href="._week48-bs001.html">2</a></li>
<li><a href="._week48-bs001.html">&raquo;</a></li>
</ul>
<!-- !split -->
<h2 id="week-48-november-25-29-2024" class="anchor">Week 48, November 25-29, 2024 </h2>
<ol>
<li> Thursday:
<ol type="a"></li>
<li> Short repetition from last week</li>
<li> How to write your own coupled-cluster theory code, pairing model example</li>
<li> Coupled cluster theory, singles and doubles excitations, diagrammatic expansion</li>
</ol>
<li> Firday:
<ol type="a"></li>
<li> Coupled cluster theory for singles and doubles excitations using a diagrammatic derivation</li>
<li> Summary of course and discussion of final oral exam</li>
</ol>
<li> Lecture material: Lecture notes and Shavitt and Bartlett chapters 9 and 10. See also slides at <a href="https://github.com/ManyBodyPhysics/FYS4480/blob/master/doc/pub/week48/pdf/cc.pdf" target="_self"><tt>https://github.com/ManyBodyPhysics/FYS4480/blob/master/doc/pub/week48/pdf/cc.pdf</tt></a></li>
</ol>
<!-- ------------------- end of main content --------------- -->
</div> <!-- end container -->
<!-- include javascript, jQuery *first* -->
Expand Down
Binary file modified doc/pub/week48/ipynb/ipynb-week48-src.tar.gz
Binary file not shown.
6 changes: 3 additions & 3 deletions doc/pub/week48/ipynb/week48.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "markdown",
"id": "932ed5bd",
"id": "fbc1ab02",
"metadata": {
"editable": true
},
Expand All @@ -14,7 +14,7 @@
},
{
"cell_type": "markdown",
"id": "62d519ef",
"id": "e687d25a",
"metadata": {
"editable": true
},
Expand All @@ -27,7 +27,7 @@
},
{
"cell_type": "markdown",
"id": "cf88ef2e",
"id": "1268050a",
"metadata": {
"editable": true
},
Expand Down
Binary file added doc/pub/week48/pdf/week48.pdf
Binary file not shown.
12 changes: 12 additions & 0 deletions doc/src/week48/beamerthemered_plain.sty
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
\mode<presentation>
\usecolortheme[rgb={0.8, 0.2, 0}]{structure}
\usefonttheme[onlysmall]{structurebold}

\setbeamertemplate{navigation symbols}{}
%\setbeamertemplate{footline}[frame number]

\usepackage{tikz}
\usetikzlibrary{arrows,shapes,backgrounds,decorations,mindmap}

\mode
<all>
25 changes: 24 additions & 1 deletion doc/src/week48/make.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,19 +44,34 @@ system doconce split_html $html.html --method=space10
# Bootstrap style
html=${name}-bs
system doconce format html $name --html_style=bootstrap --pygments_html_style=default --html_admon=bootstrap_panel --html_output=$html $opt
system doconce split_html $html.html --method=split --pagination --nav_button=bottom
#system doconce split_html $html.html --method=split --pagination --nav_button=bottom

# IPython notebook
system doconce format ipynb $name $opt


# LaTeX Beamer slides
beamertheme=red_plain
system doconce format pdflatex $name --latex_title_layout=beamer --latex_table_format=footnotesize $opt
system doconce ptex2tex $name envir=minted
# Add special packages
doconce subst "% Add user's preamble" "\g<1>\n\\usepackage{simplewick}" $name.tex
system doconce slides_beamer $name --beamer_slide_theme=$beamertheme
system pdflatex -shell-escape ${name}
system pdflatex -shell-escape ${name}
cp $name.pdf ${name}.pdf
cp $name.tex ${name}.tex


# Publish
dest=../../pub
if [ ! -d $dest/$name ]; then
mkdir $dest/$name
mkdir $dest/$name/pdf
mkdir $dest/$name/html
mkdir $dest/$name/ipynb
fi
cp ${name}*.pdf $dest/$name/pdf
cp -r ${name}*.html ._${name}*.html reveal.js $dest/$name/html

# Figures: cannot just copy link, need to physically copy the files
Expand All @@ -77,3 +92,11 @@ EOF
tar czf ${ipynb_tarfile} README.txt
fi
cp ${ipynb_tarfile} $dest/$name/ipynb








0 comments on commit cf51af5

Please sign in to comment.