From a35009383fb6d64c0349947e7decaee7345061ea Mon Sep 17 00:00:00 2001 From: Simon Billinge Date: Mon, 16 Oct 2023 17:14:30 -0400 Subject: [PATCH] first tranche of outputs for publist built with kwargs --- tests/outputs/publist/scopatz_doi_tbd.bib | 14 ++ .../{scopatz_page.tex => scopatz_doi_tbd.tex} | 6 +- .../outputs/publist/scopatz_doi_tbd_ackno.bib | 15 ++ .../outputs/publist/scopatz_doi_tbd_ackno.tex | 137 ++++++++++++++++++ .../publist/scopatz_doi_tbd_nobold.bib | 14 ++ .../publist/scopatz_doi_tbd_nobold.tex | 137 ++++++++++++++++++ .../publist/scopatz_doi_tbd_pandoc.tex | 137 ++++++++++++++++++ tests/outputs/publist/scopatz_page.bib | 29 ---- 8 files changed, 456 insertions(+), 33 deletions(-) create mode 100644 tests/outputs/publist/scopatz_doi_tbd.bib rename tests/outputs/publist/{scopatz_page.tex => scopatz_doi_tbd.tex} (97%) create mode 100644 tests/outputs/publist/scopatz_doi_tbd_ackno.bib create mode 100644 tests/outputs/publist/scopatz_doi_tbd_ackno.tex create mode 100644 tests/outputs/publist/scopatz_doi_tbd_nobold.bib create mode 100644 tests/outputs/publist/scopatz_doi_tbd_nobold.tex create mode 100644 tests/outputs/publist/scopatz_doi_tbd_pandoc.tex delete mode 100644 tests/outputs/publist/scopatz_page.bib diff --git a/tests/outputs/publist/scopatz_doi_tbd.bib b/tests/outputs/publist/scopatz_doi_tbd.bib new file mode 100644 index 000000000..b71240ec0 --- /dev/null +++ b/tests/outputs/publist/scopatz_doi_tbd.bib @@ -0,0 +1,14 @@ +@article{meurer2016nomonth, + ackno = {we acknowledge useful convos with our friends}, + author = {Meurer, Aaron and \textbf{Anthony Scopatz}}, + journal = {PeerJ Computer Science}, + month = {tbd}, + pages = {e103}, + publisher = {PeerJ Inc. San Francisco, USA}, + synopsis = {A pub with month as tbd}, + tags = {nomonth}, + title = {SymPy: Symbolic computing in Python}, + url = {https://doi.org/10.1021/nn501591g}, + volume = {4}, + year = {2017} +} diff --git a/tests/outputs/publist/scopatz_page.tex b/tests/outputs/publist/scopatz_doi_tbd.tex similarity index 97% rename from tests/outputs/publist/scopatz_page.tex rename to tests/outputs/publist/scopatz_doi_tbd.tex index 83b8329c9..1517f7b98 100644 --- a/tests/outputs/publist/scopatz_page.tex +++ b/tests/outputs/publist/scopatz_doi_tbd.tex @@ -112,7 +112,7 @@ % Bibliography -\bibliography{scopatz}{} +\bibliography{scopatz_doi_tbd}{} %\bibliographystyle{plain} \begin{document} @@ -126,14 +126,12 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\resheading{Publication Listing } +\resheading{Publication listing with doi of tbd} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \begin{enumerate} \item \fullcite{meurer2016nomonth} - \item \fullcite{meurer2016sympy} - \end{enumerate} \end{document} \ No newline at end of file diff --git a/tests/outputs/publist/scopatz_doi_tbd_ackno.bib b/tests/outputs/publist/scopatz_doi_tbd_ackno.bib new file mode 100644 index 000000000..110a47241 --- /dev/null +++ b/tests/outputs/publist/scopatz_doi_tbd_ackno.bib @@ -0,0 +1,15 @@ +@article{meurer2016nomonth, + ackno = {we acknowledge useful convos with our friends}, + author = {Meurer, Aaron and Anthony Scopatz}, + journal = {PeerJ Computer Science}, + month = {tbd}, + note = {\newline\newline\noindent Acknowledgement:\newline\noindent we acknowledge useful convos with our friends\newline\newline\noindent }, + pages = {e103}, + publisher = {PeerJ Inc. San Francisco, USA}, + synopsis = {A pub with month as tbd}, + tags = {nomonth}, + title = {SymPy: Symbolic computing in Python}, + url = {https://doi.org/10.1021/nn501591g}, + volume = {4}, + year = {2017} +} diff --git a/tests/outputs/publist/scopatz_doi_tbd_ackno.tex b/tests/outputs/publist/scopatz_doi_tbd_ackno.tex new file mode 100644 index 000000000..c342b696e --- /dev/null +++ b/tests/outputs/publist/scopatz_doi_tbd_ackno.tex @@ -0,0 +1,137 @@ +% (c) 2002 Matthew Boedicker (original author) +% http://mboedick.org +% (c) 2003-2007 David J. Grant http://www.davidgrant.ca +% (c) 2008 Nathaniel Johnston +% http://www.nathanieljohnston.com +% +% This work is licensed under the Creative Commons Attribution-Noncommercial-Share +% Alike 2.5 License. To view a copy of this license, visit +% http://creativecommons.org/licenses/by-nc-sa/2.5/ or send a letter to Creative +% Commons, 543 Howard Street, 5th Floor, San Francisco, California, 94105, USA. + +\documentclass[letterpaper,11pt]{article} +\newlength{\outerbordwidth} +\pagestyle{empty} +\raggedbottom +\raggedright +\usepackage[svgnames]{xcolor} +\usepackage{framed} +\usepackage{tocloft} +\usepackage[backend=bibtex,maxnames=99]{biblatex} +\usepackage{hyperref} +\usepackage[utf8]{inputenc} + +%----------------------------------------------------------- +% Hyperlink setup +\hypersetup{ + colorlinks=true, % false: boxed links; true: colored links + linkcolor=SteelBlue, % color of internal links + citecolor=green, % color of links to bibliography + filecolor=magenta, % color of file links + urlcolor=SteelBlue % color of external links +} + +%----------------------------------------------------------- +%Edit these values as you see fit + +% Width of border outside of title bars +\setlength{\outerbordwidth}{3pt} +% Outer background color of title bars (0 = black, 1 = white) +\definecolor{shadecolor}{gray}{0.75} +% Inner background color of title bars +\definecolor{shadecolorB}{gray}{0.93} + + +%----------------------------------------------------------- +%Margin setup + +\setlength{\evensidemargin}{-0.25in} +\setlength{\headheight}{0in} +\setlength{\headsep}{0in} +\setlength{\oddsidemargin}{-0.25in} +\setlength{\paperheight}{11in} +\setlength{\paperwidth}{8.5in} +\setlength{\tabcolsep}{0in} +\setlength{\textheight}{9.5in} +\setlength{\textwidth}{7in} +\setlength{\topmargin}{-0.3in} +\setlength{\topskip}{0in} +\setlength{\voffset}{0.1in} + + +%----------------------------------------------------------- +%Custom commands +\newcommand{\resitem}[1]{\item #1 \vspace{-2pt}} +\newcommand{\resheading}[1]{\vspace{8pt} + \parbox{\textwidth}{\setlength{\fboxsep}{\outerbordwidth} + \begin{shaded} + \setlength{\fboxsep}{0pt}\framebox[\textwidth][l]{\setlength{\fboxsep}{4pt}\fcolorbox{shadecolorB}{shadecolorB}{\textbf{\sffamily{\mbox{~}\makebox[6.762in][l]{\large #1} \vphantom{p\^{E}}}}}} + \end{shaded} + }\vspace{-5pt} +} + +\newcommand{\ressubheadingshort}[3]{ + \begin{center} + \begin{tabular*}{6.5in}{l@{\extracolsep{\fill}}r} + \multicolumn{2}{c}{\textbf{#1} \cftdotfill{\cftdotsep} #2} \\ + \textit{#3} & \\ + \vphantom{E} + \end{tabular*} + \end{center} + \vspace{-24pt} +} + +\newcommand{\ressubheading}[4]{ + \begin{center} + \begin{tabular*}{6.5in}{l@{\extracolsep{\fill}}r} + \multicolumn{2}{c}{\textbf{#1} \cftdotfill{\cftdotsep} #2} \\ + \multicolumn{2}{c}{\textit{#3} \cftdotfill{\cftdotsep} \textit{#4}} \\ + \vphantom{E} + \end{tabular*} + \end{center} + \vspace{-24pt} +} + +\newcommand{\ressubheadingitems}[5]{ + \begin{center} + \begin{tabular*}{6.5in}{l@{\extracolsep{\fill}}r} + \multicolumn{2}{c}{\textbf{#1} \cftdotfill{\cftdotsep} #2} \\ + \multicolumn{2}{p{6.5in}}{\textit{#3} \cftdotfill{\cftdotsep} \textit{#4}} \\ + \vphantom{E} + \end{tabular*} + \end{center} + \vspace{-32pt} + \begin{itemize}\renewcommand{\labelitemi}{} + \item\begin{itemize} + #5 + \end{itemize} + \end{itemize} +} + +%----------------------------------------------------------- + + +% Bibliography +\bibliography{scopatz_doi_tbd_ackno}{} +%\bibliographystyle{plain} + +\begin{document} + + +\begin{tabular*}{7in}{l@{\extracolsep{\fill}}r} +\textbf{\Large Dr. Anthony Scopatz} & \textbf{\today} \\ +The University of South Carolina & scopatz@cec.sc.edu \\ +\end{tabular*} +\\ + + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\resheading{Publication listing with doi of tbd} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\begin{enumerate} + + \item \fullcite{meurer2016nomonth} + +\end{enumerate} + +\end{document} \ No newline at end of file diff --git a/tests/outputs/publist/scopatz_doi_tbd_nobold.bib b/tests/outputs/publist/scopatz_doi_tbd_nobold.bib new file mode 100644 index 000000000..0f597f5eb --- /dev/null +++ b/tests/outputs/publist/scopatz_doi_tbd_nobold.bib @@ -0,0 +1,14 @@ +@article{meurer2016nomonth, + ackno = {we acknowledge useful convos with our friends}, + author = {Meurer, Aaron and Anthony Scopatz}, + journal = {PeerJ Computer Science}, + month = {tbd}, + pages = {e103}, + publisher = {PeerJ Inc. San Francisco, USA}, + synopsis = {A pub with month as tbd}, + tags = {nomonth}, + title = {SymPy: Symbolic computing in Python}, + url = {https://doi.org/10.1021/nn501591g}, + volume = {4}, + year = {2017} +} diff --git a/tests/outputs/publist/scopatz_doi_tbd_nobold.tex b/tests/outputs/publist/scopatz_doi_tbd_nobold.tex new file mode 100644 index 000000000..09e58ea9b --- /dev/null +++ b/tests/outputs/publist/scopatz_doi_tbd_nobold.tex @@ -0,0 +1,137 @@ +% (c) 2002 Matthew Boedicker (original author) +% http://mboedick.org +% (c) 2003-2007 David J. Grant http://www.davidgrant.ca +% (c) 2008 Nathaniel Johnston +% http://www.nathanieljohnston.com +% +% This work is licensed under the Creative Commons Attribution-Noncommercial-Share +% Alike 2.5 License. To view a copy of this license, visit +% http://creativecommons.org/licenses/by-nc-sa/2.5/ or send a letter to Creative +% Commons, 543 Howard Street, 5th Floor, San Francisco, California, 94105, USA. + +\documentclass[letterpaper,11pt]{article} +\newlength{\outerbordwidth} +\pagestyle{empty} +\raggedbottom +\raggedright +\usepackage[svgnames]{xcolor} +\usepackage{framed} +\usepackage{tocloft} +\usepackage[backend=bibtex,maxnames=99]{biblatex} +\usepackage{hyperref} +\usepackage[utf8]{inputenc} + +%----------------------------------------------------------- +% Hyperlink setup +\hypersetup{ + colorlinks=true, % false: boxed links; true: colored links + linkcolor=SteelBlue, % color of internal links + citecolor=green, % color of links to bibliography + filecolor=magenta, % color of file links + urlcolor=SteelBlue % color of external links +} + +%----------------------------------------------------------- +%Edit these values as you see fit + +% Width of border outside of title bars +\setlength{\outerbordwidth}{3pt} +% Outer background color of title bars (0 = black, 1 = white) +\definecolor{shadecolor}{gray}{0.75} +% Inner background color of title bars +\definecolor{shadecolorB}{gray}{0.93} + + +%----------------------------------------------------------- +%Margin setup + +\setlength{\evensidemargin}{-0.25in} +\setlength{\headheight}{0in} +\setlength{\headsep}{0in} +\setlength{\oddsidemargin}{-0.25in} +\setlength{\paperheight}{11in} +\setlength{\paperwidth}{8.5in} +\setlength{\tabcolsep}{0in} +\setlength{\textheight}{9.5in} +\setlength{\textwidth}{7in} +\setlength{\topmargin}{-0.3in} +\setlength{\topskip}{0in} +\setlength{\voffset}{0.1in} + + +%----------------------------------------------------------- +%Custom commands +\newcommand{\resitem}[1]{\item #1 \vspace{-2pt}} +\newcommand{\resheading}[1]{\vspace{8pt} + \parbox{\textwidth}{\setlength{\fboxsep}{\outerbordwidth} + \begin{shaded} + \setlength{\fboxsep}{0pt}\framebox[\textwidth][l]{\setlength{\fboxsep}{4pt}\fcolorbox{shadecolorB}{shadecolorB}{\textbf{\sffamily{\mbox{~}\makebox[6.762in][l]{\large #1} \vphantom{p\^{E}}}}}} + \end{shaded} + }\vspace{-5pt} +} + +\newcommand{\ressubheadingshort}[3]{ + \begin{center} + \begin{tabular*}{6.5in}{l@{\extracolsep{\fill}}r} + \multicolumn{2}{c}{\textbf{#1} \cftdotfill{\cftdotsep} #2} \\ + \textit{#3} & \\ + \vphantom{E} + \end{tabular*} + \end{center} + \vspace{-24pt} +} + +\newcommand{\ressubheading}[4]{ + \begin{center} + \begin{tabular*}{6.5in}{l@{\extracolsep{\fill}}r} + \multicolumn{2}{c}{\textbf{#1} \cftdotfill{\cftdotsep} #2} \\ + \multicolumn{2}{c}{\textit{#3} \cftdotfill{\cftdotsep} \textit{#4}} \\ + \vphantom{E} + \end{tabular*} + \end{center} + \vspace{-24pt} +} + +\newcommand{\ressubheadingitems}[5]{ + \begin{center} + \begin{tabular*}{6.5in}{l@{\extracolsep{\fill}}r} + \multicolumn{2}{c}{\textbf{#1} \cftdotfill{\cftdotsep} #2} \\ + \multicolumn{2}{p{6.5in}}{\textit{#3} \cftdotfill{\cftdotsep} \textit{#4}} \\ + \vphantom{E} + \end{tabular*} + \end{center} + \vspace{-32pt} + \begin{itemize}\renewcommand{\labelitemi}{} + \item\begin{itemize} + #5 + \end{itemize} + \end{itemize} +} + +%----------------------------------------------------------- + + +% Bibliography +\bibliography{scopatz_doi_tbd_nobold}{} +%\bibliographystyle{plain} + +\begin{document} + + +\begin{tabular*}{7in}{l@{\extracolsep{\fill}}r} +\textbf{\Large Dr. Anthony Scopatz} & \textbf{\today} \\ +The University of South Carolina & scopatz@cec.sc.edu \\ +\end{tabular*} +\\ + + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\resheading{Publication listing with doi of tbd} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\begin{enumerate} + + \item \fullcite{meurer2016nomonth} + +\end{enumerate} + +\end{document} \ No newline at end of file diff --git a/tests/outputs/publist/scopatz_doi_tbd_pandoc.tex b/tests/outputs/publist/scopatz_doi_tbd_pandoc.tex new file mode 100644 index 000000000..09e58ea9b --- /dev/null +++ b/tests/outputs/publist/scopatz_doi_tbd_pandoc.tex @@ -0,0 +1,137 @@ +% (c) 2002 Matthew Boedicker (original author) +% http://mboedick.org +% (c) 2003-2007 David J. Grant http://www.davidgrant.ca +% (c) 2008 Nathaniel Johnston +% http://www.nathanieljohnston.com +% +% This work is licensed under the Creative Commons Attribution-Noncommercial-Share +% Alike 2.5 License. To view a copy of this license, visit +% http://creativecommons.org/licenses/by-nc-sa/2.5/ or send a letter to Creative +% Commons, 543 Howard Street, 5th Floor, San Francisco, California, 94105, USA. + +\documentclass[letterpaper,11pt]{article} +\newlength{\outerbordwidth} +\pagestyle{empty} +\raggedbottom +\raggedright +\usepackage[svgnames]{xcolor} +\usepackage{framed} +\usepackage{tocloft} +\usepackage[backend=bibtex,maxnames=99]{biblatex} +\usepackage{hyperref} +\usepackage[utf8]{inputenc} + +%----------------------------------------------------------- +% Hyperlink setup +\hypersetup{ + colorlinks=true, % false: boxed links; true: colored links + linkcolor=SteelBlue, % color of internal links + citecolor=green, % color of links to bibliography + filecolor=magenta, % color of file links + urlcolor=SteelBlue % color of external links +} + +%----------------------------------------------------------- +%Edit these values as you see fit + +% Width of border outside of title bars +\setlength{\outerbordwidth}{3pt} +% Outer background color of title bars (0 = black, 1 = white) +\definecolor{shadecolor}{gray}{0.75} +% Inner background color of title bars +\definecolor{shadecolorB}{gray}{0.93} + + +%----------------------------------------------------------- +%Margin setup + +\setlength{\evensidemargin}{-0.25in} +\setlength{\headheight}{0in} +\setlength{\headsep}{0in} +\setlength{\oddsidemargin}{-0.25in} +\setlength{\paperheight}{11in} +\setlength{\paperwidth}{8.5in} +\setlength{\tabcolsep}{0in} +\setlength{\textheight}{9.5in} +\setlength{\textwidth}{7in} +\setlength{\topmargin}{-0.3in} +\setlength{\topskip}{0in} +\setlength{\voffset}{0.1in} + + +%----------------------------------------------------------- +%Custom commands +\newcommand{\resitem}[1]{\item #1 \vspace{-2pt}} +\newcommand{\resheading}[1]{\vspace{8pt} + \parbox{\textwidth}{\setlength{\fboxsep}{\outerbordwidth} + \begin{shaded} + \setlength{\fboxsep}{0pt}\framebox[\textwidth][l]{\setlength{\fboxsep}{4pt}\fcolorbox{shadecolorB}{shadecolorB}{\textbf{\sffamily{\mbox{~}\makebox[6.762in][l]{\large #1} \vphantom{p\^{E}}}}}} + \end{shaded} + }\vspace{-5pt} +} + +\newcommand{\ressubheadingshort}[3]{ + \begin{center} + \begin{tabular*}{6.5in}{l@{\extracolsep{\fill}}r} + \multicolumn{2}{c}{\textbf{#1} \cftdotfill{\cftdotsep} #2} \\ + \textit{#3} & \\ + \vphantom{E} + \end{tabular*} + \end{center} + \vspace{-24pt} +} + +\newcommand{\ressubheading}[4]{ + \begin{center} + \begin{tabular*}{6.5in}{l@{\extracolsep{\fill}}r} + \multicolumn{2}{c}{\textbf{#1} \cftdotfill{\cftdotsep} #2} \\ + \multicolumn{2}{c}{\textit{#3} \cftdotfill{\cftdotsep} \textit{#4}} \\ + \vphantom{E} + \end{tabular*} + \end{center} + \vspace{-24pt} +} + +\newcommand{\ressubheadingitems}[5]{ + \begin{center} + \begin{tabular*}{6.5in}{l@{\extracolsep{\fill}}r} + \multicolumn{2}{c}{\textbf{#1} \cftdotfill{\cftdotsep} #2} \\ + \multicolumn{2}{p{6.5in}}{\textit{#3} \cftdotfill{\cftdotsep} \textit{#4}} \\ + \vphantom{E} + \end{tabular*} + \end{center} + \vspace{-32pt} + \begin{itemize}\renewcommand{\labelitemi}{} + \item\begin{itemize} + #5 + \end{itemize} + \end{itemize} +} + +%----------------------------------------------------------- + + +% Bibliography +\bibliography{scopatz_doi_tbd_nobold}{} +%\bibliographystyle{plain} + +\begin{document} + + +\begin{tabular*}{7in}{l@{\extracolsep{\fill}}r} +\textbf{\Large Dr. Anthony Scopatz} & \textbf{\today} \\ +The University of South Carolina & scopatz@cec.sc.edu \\ +\end{tabular*} +\\ + + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\resheading{Publication listing with doi of tbd} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\begin{enumerate} + + \item \fullcite{meurer2016nomonth} + +\end{enumerate} + +\end{document} \ No newline at end of file diff --git a/tests/outputs/publist/scopatz_page.bib b/tests/outputs/publist/scopatz_page.bib deleted file mode 100644 index 1aa434052..000000000 --- a/tests/outputs/publist/scopatz_page.bib +++ /dev/null @@ -1,29 +0,0 @@ -@article{meurer2016nomonth, - ackno = {we acknowledge useful convos with our friends}, - author = {Meurer, Aaron and \textbf{Anthony Scopatz}}, - journal = {PeerJ Computer Science}, - month = {tbd}, - pages = {e103}, - publisher = {PeerJ Inc. San Francisco, USA}, - synopsis = {A pub with month as tbd}, - tags = {nomonth}, - title = {SymPy: Symbolic computing in Python}, - url = {https://doi.org/10.1021/nn501591g}, - volume = {4}, - year = {2017} -} - -@article{meurer2016sympy, - author = {Meurer, Aaron and Smith, Christopher P and Paprocki, Mateusz and {\v{C}}ert{\'\i}k, Ond{\v{r}}ej and Rocklin, Matthew and Kumar, AMiT and Ivanov, Sergiu and Moore, Jason K and Singh, Sartaj and Rathnayake, Thilina and Sean Vig and Brian E Granger and Richard P Muller and Francesco Bonazzi and Harsh Gupta and Shivam Vats and Fredrik Johansson and Fabian Pedregosa and Matthew J Curry and Ashutosh Saboo and Isuru Fernando and Sumith Kulal and Robert Cimrman and \textbf{Anthony Scopatz}}, - doi = {10.1021/nn501591g}, - journal = {PeerJ Computer Science}, - month = {Jan}, - pages = {e103}, - publisher = {PeerJ Inc. San Francisco, USA}, - supplementary_info_urls = {https://google.com, https://nytimes.com}, - synopsis = {The description of symbolic computing in Python}, - tags = {pdf}, - title = {SymPy: Symbolic computing in Python}, - volume = {4}, - year = {2017} -}