Skip to content

Commit

Permalink
Add refsection tests
Browse files Browse the repository at this point in the history
  • Loading branch information
zepinglee committed Jul 6, 2024
1 parent 64b3277 commit 5e74b03
Show file tree
Hide file tree
Showing 8 changed files with 8,305 additions and 0 deletions.
46 changes: 46 additions & 0 deletions tests/latex/luatex-1/refsection.lvt
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
\input{regression-test}

\documentclass{article}

\input{csl-test}

\usepackage{citation-style-language}

\cslsetup{
regression-test = true,
style = IEEE,
}
\addbibresource{test.json}

\usepackage{hyperref}


\begin{document}

\START
\showoutput

\section{Title of first section}
\begin{refsection}
This is just filler text \cite{ITEM-1}.\par
This is just filler text \cite{ITEM-2}.\par
\printbibliography[heading=subbibliography]
\end{refsection}

\section{Title of second section}
\begin{refsection}
This is just filler text \cite{ITEM-1}.\par
\printbibliography[heading=subbibliography]
\end{refsection}

\section{Title of third section}
\begin{refsection}
This is just filler text \cite{ITEM-3}.\par
This is just filler text \cite{ITEM-4}.\par
\printbibliography[heading=subbibliography]
\end{refsection}

\clearpage
\OMIT

\end{document}
Loading

0 comments on commit 5e74b03

Please sign in to comment.