From 7008d592483d3da9822bd41caccf548902c5f41e Mon Sep 17 00:00:00 2001 From: jsta Date: Thu, 17 Nov 2022 19:28:53 -0700 Subject: [PATCH] reviewer response pipeline --- .gitignore | 3 ++- Makefile | 3 +++ manuscript/quote_setup.tex | 12 ++++++++++++ 3 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 manuscript/quote_setup.tex diff --git a/.gitignore b/.gitignore index 186987f..b747eae 100644 --- a/.gitignore +++ b/.gitignore @@ -42,4 +42,5 @@ manuscript/*.docx manuscript/*.bib manuscript/*.bbl manuscript/*.blg -manuscript/eidr.md \ No newline at end of file +manuscript/*.md +manuscript/*.txt \ No newline at end of file diff --git a/Makefile b/Makefile index 3f311ab..6e1172d 100644 --- a/Makefile +++ b/Makefile @@ -307,6 +307,9 @@ manuscript/combined.pdf: manuscript/manuscript.pdf manuscript/supplement.pdf manuscript/eidr.pdf: manuscript/eidr.md pandoc -o $@ $< -V geometry:margin=1in +manuscript/reviewer_comments.pdf: manuscript/reviewer_comments.md + pandoc $< -H manuscript/quote_setup.tex -o $@ + archive.zip: git archive --format zip --output archive.zip main diff --git a/manuscript/quote_setup.tex b/manuscript/quote_setup.tex new file mode 100644 index 0000000..1e81602 --- /dev/null +++ b/manuscript/quote_setup.tex @@ -0,0 +1,12 @@ +% https://tex.stackexchange.com/a/180400/52459 +\usepackage{framed} +\usepackage{tcolorbox} +\let\oldquote=\quote +\let\endoldquote=\endquote + +% \renewenvironment{quote}{% +% \begin{tcolorbox}\begin{oldquote}}{\end{oldquote}\end{tcolorbox}} + +\renewenvironment{quote}{% + \begin{tcolorbox}\list{}{\leftmargin=0in\rightmargin=0in}\item[]}% + {\endlist\end{tcolorbox}} \ No newline at end of file