From bc8b2ddf7302c20c873c74c1b736cad041607990 Mon Sep 17 00:00:00 2001 From: NT Date: Thu, 16 Sep 2021 16:58:30 +0200 Subject: [PATCH] minor tweaks --- fixup-latex.py | 9 ++++++--- intro.md | 7 ++++--- make-pdf.sh | 4 ++++ 3 files changed, 14 insertions(+), 6 deletions(-) diff --git a/fixup-latex.py b/fixup-latex.py index e48df5c..c0dcb1e 100644 --- a/fixup-latex.py +++ b/fixup-latex.py @@ -89,11 +89,11 @@ rect.append( " " ) # fix backslashes... saves at least typing a few of them! still needs manual \ -> \\ , could be done better tt =( 'hrule\n' + - '\\vspace{4cm}\n' + + '\\vspace{3cm}\n' + '\\begin{center}\n' + '\\sphinxstylestrong{\\Huge \\textsf{Physics-based Deep Learning}} \\\\ \\vspace{0.5cm} \n' + - '\\sphinxstylestrong{\\LARGE \\textsf{\\url{http://physicsbaseddeeplearning.org}}} \\\\ \\vspace{3cm} \n' + - '\\noindent\\sphinxincludegraphics[height=220\\sphinxpxdimen]{{teaser}.jpg} \\\\ \\vspace{2cm} \n' + + '\\sphinxstylestrong{\\LARGE \\textsf{\\url{http://physicsbaseddeeplearning.org}}} \\\\ \\vspace{2cm} \n' + + '\\noindent\\sphinxincludegraphics[height=420\\sphinxpxdimen]{{logo-xl}.jpg} \\\\ \\vspace{1cm} \n' + '\\textsf{\\large N. Thuerey, P. Holl, M. Mueller, P. Schnell, F. Trost, K. Um} \n' + '\\end{center}\n' ) @@ -103,6 +103,9 @@ recBST1t = '\\\\\\\\' tt = recBST1.sub( recBST1t, tt ) # replace all #print(tt); exit(1) +# skip html version logo-xl , todo: remove figure env around it, move divider-mult image above "Coming up" para +reSkip.append( re.compile(r"noindent.sphinxincludegraphics..logo-xl..jpg" ) ); reSCnt.append( 1 ) + # insert instead of sphinx version recs.append( re.compile(r"sphinxmaketitle") ) rect.append( tt ) diff --git a/intro.md b/intro.md index f67ee3c..dab9441 100644 --- a/intro.md +++ b/intro.md @@ -56,10 +56,11 @@ Plus, Jupyter notebooks are great because they're a form of [literate programmin This _book_, where "book" stands for a collection of digital texts and code examples, is maintained by the -[TUM Physics-based Simulation Group](https://ge.in.tum.de). Feel free to contact us -if you have any comments, e.g., via [old fashioned email](mailto:i15ge@cs.tum.edu). +[Physics-based Simulation Group](https://ge.in.tum.de) at [TUM](https://www.tum.de). +Feel free to contact us if you have any comments, e.g., via [old fashioned email](mailto:i15ge@cs.tum.edu). If you find mistakes, please also let us know! We're aware that this document is far from perfect, -and we're eager to improve it. Thanks in advance 😀! Btw., we also maintain a [link collection](https://github.com/thunil/Physics-Based-Deep-Learning) with recent research papers. +and we're eager to improve it. Thanks in advance 😀! +Btw., we also maintain a [link collection](https://github.com/thunil/Physics-Based-Deep-Learning) with recent research papers. ```{figure} resources/divider-mult.jpg diff --git a/make-pdf.sh b/make-pdf.sh index 5ac0a79..0065c3f 100755 --- a/make-pdf.sh +++ b/make-pdf.sh @@ -1,5 +1,9 @@ # source this file with "." in a shell +# note this script assumes the following paths/versions +# python3.7 +# /Users/thuerey/Library/Python/3.7/bin/jupyter-book + echo echo WARNING - still requires one manual quit of first pdf/latex pass, use shift-x to quit echo