this is for holding javascript data
David Koes restore subsection
over 8 years ago
Commit id: c21af76e8571350e4d5be8780a5d05aa3e6db2ae
deletions | additions
diff --git a/layout.md b/layout.md
index 775a576..5007ab6 100644
--- a/layout.md
+++ b/layout.md
...
section_Results_Consistent_with_previous__.tex
figures/cathg.f3/cathg.f3.png
figures/cathg.f3.time/cathg.f3.time.png
subsection_Cathepsin_G_Virtual_screening__.tex
figures/eralpha_pot.f2/eralpha_pot.f2.png
figures/eralpha_pot.f2.time/eralpha_pot.f2.time.png
figures/eralpha.f3/eralpha.f3.png
...
figures/rho.f/rho.f.png
figures/rho.f.time/rho.f.time.png
Results.tex
Discussion.tex
diff --git a/local_build.py b/local_build.py
index 381ab13..a3fe4cb 100755
--- a/local_build.py
+++ b/local_build.py
...
\includegraphics[width=\linewidth]{}
\end{minipage}
\end{figure}
""".replace('{', '{{').replace('}', '}}').replace('<', '{').replace('>', '}')
...
figfn = os.path.join(figdir, figfnbase)
figfn = os.path.abspath(figfn)
bigcaption = ''
capfn = os.path.join(figdir, 'caption.tex')
template = FIGURE_TEMPLATE
if os.path.exists(capfn):
...
sc = re.search(r'sidecap (\S+)',captext,flags = re.MULTILINE)
stfig = re.search(r'startfig (\S+)',captext,flags = re.MULTILINE)
endfig = re.search(r'endfig (\S+)',captext,flags = re.MULTILINE)
if m:
template = WRAPFIGURE_TEMPLATE
wrapoptions = m.group(1)
...
figwidth = endfig.group(1)
elif re.search(r'%nofig',captext):
template = ''
fullfig = re.search(r'fullfig',captext,flags = re.MULTILINE)
if fullfig:
template = template.replace("{figure}","{figure*}")
bigcap = re.search(r'%bigcap',captext,flags = re.MULTILINE)
if bigcap:
bigcaption = caption
caption = ''
nocap = re.search(r'%nocap',captext,flags = re.MULTILINE)
if nocap:
caption = ''
else:
caption = ''
diff --git a/preamble.tex b/preamble.tex
index 7a6872c..b408a69 100644
--- a/preamble.tex
+++ b/preamble.tex
...
\usepackage{longtable}
\usepackage{multirow,booktabs}
\usepackage{amsfonts,amsmath,amssymb}
\usepackage{natbib} %\usepackage{natbib}
\usepackage{url}
\usepackage{hyperref}
\hypersetup{colorlinks=false,pdfborder={0 0 0}}