Skip to content

Commit

Permalink
use lua filter for pdf
Browse files Browse the repository at this point in the history
  • Loading branch information
agahkarakuzu committed Nov 26, 2024
1 parent f9bd8e9 commit 2714fbd
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 16 deletions.
2 changes: 2 additions & 0 deletions data/defaults/neurolibre.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ filters:
path: self-citation.lua
- type: lua
path: neurolibre-handle-crowd.lua
- type: lua
path: conditional-archives.lua

variables:
# styling options
Expand Down
24 changes: 8 additions & 16 deletions data/templates/neurolibrenew.tex
Original file line number Diff line number Diff line change
Expand Up @@ -473,26 +473,18 @@
{\bfseries Reproducibility Assets}
\begin{itemize}
\setlength\itemsep{0em}
$if(repository_doi)$
$if(repository_doi)$$if(repository_doi = "N/A")$$else$
$if(include_repository_doi)$
\item \href{https://doi.org/$repository_doi$}{\color{red}{Repository}} \ExternalLink
$endif$$endif$
$endif$
$if(data_doi)$
$if(data_doi)$$if(data_doi = "N/A")$$else$
$endif$
$if(include_data_doi)$
\item \href{https://doi.org/$data_doi$}{\color{red}{Dataset}} \ExternalLink
$endif$$endif$
$endif$
$if(book_doi)$
$if(book_doi)$$if(book_doi = "N/A")$$else$
$endif$
$if(include_book_doi)$
\item \href{https://doi.org/$book_doi$}{\color{red}{Jupyter Book}} \ExternalLink
$endif$$endif$
$endif$
$if(docker_doi)$
$if(docker_doi)$$if(docker_doi = "N/A")$$else$
$endif$
$if(include_docker_doi)$
\item \href{https://doi.org/$docker_doi$}{\color{red}{Container}} \ExternalLink
$endif$$endif$
$endif$
$endif$
\end{itemize}
\vspace{1mm}
Expand Down

0 comments on commit 2714fbd

Please sign in to comment.