Skip to content

Commit c430b5b

Browse files
authored
Move testing tex file for draft and delete unused PDFs (#85)
* Move test tex file * Remove test PDFs * Ignore tex publication artifact * Add docs in entrypoint * Update expected publication tex
1 parent 182483c commit c430b5b

File tree

6 files changed

+20
-12
lines changed

6 files changed

+20
-12
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
/example/paper.jats
66
/example/paper.crossref
77
/example/paper.preprint.tex
8+
example/paper.tex
89

910
# JATS schema files
1011
/test/JATS-Publishing-1-2-MathML2-XSD.zip

scripts/entrypoint.sh

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,13 @@ for format in $(printf "%s" "$outformats" | sed -e 's/,/ /g'); do
105105
mkdir -p "jats"
106106
fi
107107

108-
# Note that the output file must be defined in the format's defaults file.
108+
# Notes:
109+
# 1. the output file must be defined in the format's defaults file.
110+
# 2. these assume a different organizational structure than in the
111+
# inara git repo that is created in Docker, in which the contents of
112+
# the resources/ directory is copied into the root directory
113+
# 3. assumes pandoc is in a certain location. Switch `/usr/local/bin/pandoc`
114+
# to just `pandoc` locally
109115
/usr/local/bin/pandoc \
110116
--data-dir="$OPENJOURNALS_PATH"/data \
111117
--defaults=shared \

test/expected-draft/paper.pdf

-994 KB
Binary file not shown.
File renamed without changes.

test/expected-pub/paper.pdf

-988 KB
Binary file not shown.

test/expected-pub/paper.tex

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
pdfpubtype={journal},
2222
pdfvolumenum={},
2323
pdfissuenum={},
24-
pdfdoi={N/A},
25-
pdfcopyright={Copyright (c) 1970, Albert Krewinkel, Juanjo Bazán,
24+
pdfdoi={10.21105/joss.00000},
25+
pdfcopyright={Copyright (c) 2020, Albert Krewinkel, Juanjo Bazán,
2626
Arfon M. Smith},
2727
pdflicenseurl={http://creativecommons.org/licenses/by/4.0/},
2828
colorlinks=true,
@@ -136,9 +136,9 @@
136136
\renewcommand{\footrulewidth}{0.25pt}
137137

138138
\fancyfoot[L]{\parbox[t]{0.98\headwidth}{\footnotesize{\sffamily Krewinkel
139-
et al. (1970). Article Writing with Markdown and the Open Journals
139+
et al. (2020). Article Writing with Markdown and the Open Journals
140140
publishing pipeline. \emph{Journal of Open Source Software},
141-
\emph{¿VOL?}(¿ISSUE?), ¿PAGE? \url{https://doi.org/N/A}}.}}
141+
\emph{0}(5), 00000. \url{https://doi.org/10.21105/joss.00000}}.}}
142142

143143

144144
\fancyfoot[R]{\sffamily \thepage}
@@ -394,15 +394,15 @@
394394
%\hrule
395395
\sffamily\small
396396

397-
{\bfseries DOI:} \href{https://doi.org/N/A}{\color{linky}{N/A}}
397+
{\bfseries DOI:} \href{https://doi.org/10.21105/joss.00000}{\color{linky}{10.21105/joss.00000}}
398398

399399
\vspace{2mm}
400400
{\bfseries Software}
401401
\begin{itemize}
402402
\setlength\itemsep{0em}
403-
\item \href{https://github.com/openjournals}{\color{linky}{Review}} \ExternalLink
404-
\item \href{https://github.com/openjournals}{\color{linky}{Repository}} \ExternalLink
405-
\item \href{https://doi.org/10.5281}{\color{linky}{Archive}} \ExternalLink
403+
\item \href{https://github.com/openjournals/inara/issues}{\color{linky}{Review}} \ExternalLink
404+
\item \href{https://github.com/openjournals/inara}{\color{linky}{Repository}} \ExternalLink
405+
\item \href{https://doi.org/10.5281/zenodo.00000000}{\color{linky}{Archive}} \ExternalLink
406406
\end{itemize}
407407

408408
\vspace{2mm}
@@ -418,12 +418,13 @@
418418
{\bfseries Reviewers:}
419419
\begin{itemize}
420420
\setlength\itemsep{0em}
421-
\item \href{https://github.com/openjournals}{@openjournals}
421+
\item \href{https://github.com/SingleSourcePub}{@SingleSourcePub}
422+
\item \href{https://github.com/IlonaSilverwood}{@IlonaSilverwood}
422423
\end{itemize}
423424
\vspace{2mm}
424425

425-
{\bfseries Submitted:} 01 January 1970\\
426-
{\bfseries Published:} 01 January 1970
426+
{\bfseries Submitted:} 01 January 2020\\
427+
{\bfseries Published:} 23 May 2020
427428

428429
\vspace{2mm}
429430
{\bfseries License}\\

0 commit comments

Comments
 (0)