Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion NASA-TM/appendix.tex
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ \subsection{Heat Exchanger Design} \label{app:heatX}
Further calculations for the multipass heat exchanger can be found in the source code.

\crefalias{section}{appsec}
\crefalias{subsection}{appsec}
\Appendix{Sample Source Code and External Contributions} \label{app:2}

\subsection{Github}
Expand Down Expand Up @@ -204,4 +205,4 @@ \subsection{Usage Example}
\inputminted[fontsize=\tiny]{python}{code/example4.py} %[linenos]
%\end{adjustwidth}

\end{document}
\end{document}
19 changes: 13 additions & 6 deletions NASA-TM/build.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,18 @@
#!/bin/bash
#build pdf (with bibtex)
"/usr/texbin/pdflatex" -synctex=1 -shell-escape -interaction=nonstopmode heading.tex
set -e

# Build the PDF with the TeX tools available on PATH.
command -v pdflatex >/dev/null || {
echo "error: pdflatex is required and must be available on PATH" >&2
exit 1
}

pdflatex -synctex=1 -shell-escape -interaction=nonstopmode heading.tex
bibtex heading.aux
makeindex heading.nlo -s nomencl.ist -o heading.nls
"/usr/texbin/pdflatex" -synctex=1 -shell-escape -interaction=nonstopmode heading.tex
"/usr/texbin/pdflatex" -synctex=1 -shell-escape -interaction=nonstopmode heading.tex
makeindex heading.nlo -s nomencl.ist -o heading.nls
pdflatex -synctex=1 -shell-escape -interaction=nonstopmode heading.tex
pdflatex -synctex=1 -shell-escape -interaction=nonstopmode heading.tex

mv heading.pdf hyperloop.pdf

. clean.sh
bash clean.sh
3 changes: 2 additions & 1 deletion NASA-TM/heading.tex
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@

%reference appendix
\crefname{appsec}{Appendix}{Appendices}
\Crefname{appsec}{Appendix}{Appendices}
\begin{document}

\setcounter{secnumdepth}{1}
Expand All @@ -85,4 +86,4 @@

\subfile{appendix}

\end{document}
\end{document}