summaryrefslogtreecommitdiff
path: root/Master/texmf-dist
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2015-01-05 23:21:26 +0000
committerKarl Berry <karl@freefriends.org>2015-01-05 23:21:26 +0000
commit799587c8bece3420f45708d9435194a50a72cfa2 (patch)
treebb97f03d439d899fe9b8cd2b43c0b6c928f4b886 /Master/texmf-dist
parentf052079af026affd843a303f9b943c07942a66b1 (diff)
jumplines (5jan15)
git-svn-id: svn://tug.org/texlive/trunk@35965 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r--Master/texmf-dist/doc/latex/jumplines/README35
-rw-r--r--Master/texmf-dist/doc/latex/jumplines/jumplines_example.pdfbin0 -> 111979 bytes
-rw-r--r--Master/texmf-dist/doc/latex/jumplines/jumplines_example.tex50
-rw-r--r--Master/texmf-dist/doc/latex/jumplines/jumplinesdoc.pdfbin0 -> 133629 bytes
-rw-r--r--Master/texmf-dist/doc/latex/jumplines/jumplinesdoc.tex284
-rw-r--r--Master/texmf-dist/tex/latex/jumplines/jumplines.sty248
6 files changed, 617 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/jumplines/README b/Master/texmf-dist/doc/latex/jumplines/README
new file mode 100644
index 00000000000..8e988154a2a
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/jumplines/README
@@ -0,0 +1,35 @@
+%% LaTeX package jumplines - version 0.1 (2015/01/05)
+%%
+%% -------------------------------------------------------------------------------------------
+%% Copyright (c) 2015 by Dr. Christian Hupfer <christian dot hupfer at yahoo dot de>
+%% -------------------------------------------------------------------------------------------
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+%%
+%% This work has the LPPL maintenance status `author-maintained'.
+%%
+%% This work consists of all files listed in README
+%%
+
+The package jumplines provides an easy way of displaying (newspaper) articles or non-floating
+content, break it at some specified height, continue it later on and have forward and backward
+links to it.
+
+Since breaks can happen inside of coloured content, currently only lualatex provides the correct
+colour maintenance of the broken boxes.
+
+
+
+Directory listing:
+
+ jumplinesdoc.pdf 133629 01/05/15 02:24:09
+ jumplinesdoc.tex 8945 01/05/15 02:23:54
+jumplines_example.pdf 111979 01/05/15 02:24:08
+jumplines_example.tex 1647 01/05/15 02:23:54
+ jumplines.sty 7542 01/05/15 02:24:09
diff --git a/Master/texmf-dist/doc/latex/jumplines/jumplines_example.pdf b/Master/texmf-dist/doc/latex/jumplines/jumplines_example.pdf
new file mode 100644
index 00000000000..d43a1e93234
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/jumplines/jumplines_example.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/jumplines/jumplines_example.tex b/Master/texmf-dist/doc/latex/jumplines/jumplines_example.tex
new file mode 100644
index 00000000000..7e49064c6bb
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/jumplines/jumplines_example.tex
@@ -0,0 +1,50 @@
+\documentclass[12pt,a4paper,twocolumn]{article}
+
+
+\usepackage{graphicx}%
+\usepackage{blindtext}%
+\usepackage{jumplines}
+
+\usepackage{hyperref}
+
+
+\begin{document}
+
+\listofarticle
+\listofcontarticle
+
+\clearpage
+
+
+\JumplineArticle[TeaserHeight=2.25in,ArticleHeadline={Breaking News}]{%
+ \Large\textbf{Nothing special on the dark side of the moon}\par
+ \begin{center}\includegraphics[scale=0.3]{example-image-a}\end{center}\par
+ \begin{tabular}{|c|c|}
+ Hello & World\tabularnewline
+ World & Hello \tabularnewline
+ \end{tabular}
+
+ \blindtext[2]
+}
+%
+\JumplineArticle[TeaserHeight=2in,ArticleAuthor={Gandalf},ContinuedOnTopskip=1cm,ContinuedOnBottomskip=2cm,TeaserHeaderContent={A short article}]{\color{red}{\blindtext[10]}}%
+\JumplineArticle[TeaserHeight=2in,ContinuedArticleHeaderContent={More information}]{\textcolor{blue}{\blindtext[1]\textcolor{Green}{Showing}\blindtext[2]}}%
+\JumplineArticle[TeaserHeight=3in,ArticleHeadline={\Huge Breaking News}]{\Huge \sffamily The World is a Globe\par\begin{center}\includegraphics[scale=0.3]{example-image-b}\end{center}\par
+ {\color{violet}{\( E = mc^2\)}}}%
+\JumplineArticle[TeaserHeight=2in]{{{\color{brown}{\blindtext[10]}}}}%
+\JumplineArticle[TeaserHeight=8in]{\textcolor{blue}{\blindtext[10]}}%
+\JumplineArticle[TeaserHeight=2in]{\textcolor{Goldenrod}{\blindtext[10]}}%
+\JumplineArticle[TeaserHeight=2in,ArticleAuthor={\textcolor{violet}{Some guy from the LaTeX3 - team}}]{\Huge \begin{center}\includegraphics[scale=0.2]{example-image-c}\end{center} \centering "I can't wait for \LaTeX3"}
+
+
+
+
+\clearpage
+
+
+\ShipoutArticleTeasers%
+\clearpage
+
+\ShipoutArticleHangingArticles%
+
+\end{document} \ No newline at end of file
diff --git a/Master/texmf-dist/doc/latex/jumplines/jumplinesdoc.pdf b/Master/texmf-dist/doc/latex/jumplines/jumplinesdoc.pdf
new file mode 100644
index 00000000000..ab2bfa6d4a1
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/jumplines/jumplinesdoc.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/jumplines/jumplinesdoc.tex b/Master/texmf-dist/doc/latex/jumplines/jumplinesdoc.tex
new file mode 100644
index 00000000000..3be5c4ec6b8
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/jumplines/jumplinesdoc.tex
@@ -0,0 +1,284 @@
+%% Documentation for jumplines.sty
+%%
+%%
+%%
+%% -------------------------------------------------------------------------------------------
+%% Copyright (c) 2015 by Dr. Christian Hupfer <christian dot hupfer at yahoo dot de>
+%% -------------------------------------------------------------------------------------------
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+%%
+%% This work has the LPPL maintenance status `author-maintained'.
+%%
+%% This work consists of all files listed in README
+%%
+
+
+\documentclass[12pt,paper=a4]{ltxdoc}
+
+\usepackage[lmargin=2cm,rmargin=2cm]{geometry}
+\usepackage{savesym}%
+\usepackage{bbding}%
+\savesymbol{Cross}%
+
+\usepackage{blindtext}%
+\usepackage{imakeidx}%
+
+\usepackage{datetime}%
+
+\usepackage{scrpage2}%
+
+\usepackage{enumitem}%
+
+\usepackage{jumplines}
+
+
+\tcbuselibrary{listingsutf8}%
+\tcbuselibrary{documentation}%
+
+\usepackage{hyperref}%
+\usepackage{bookmark}%
+
+
+\newcommand{\tcolorboxdoclink}{http://mirrors.ctan.org/macros/latex/contrib/tcolorbox/tcolorbox.pdf}
+
+
+
+\newcommand{\packagename}[1]{\textcolor{blue}{\textbf{\Envelope~#1}}\index{Paket!#1}}%
+
+
+\newcommand{\MarkupPackageName}[2][lightgray]{%
+\colorbox{#1}{\textcolor{black}{#2}}%
+}%
+
+\newcommand{\MarkupCounterName}[2][yellow]{%
+\colorbox{#1}{\textcolor{black}{\texttt{#2}}}%
+}%
+
+
+\newtcolorbox{docCommandArgs}[1]{colbacktitle={blue},coltitle={white},title={Description of arguments of command \cs{#1}}}
+
+
+\def\packageversion{0.1}%
+
+\makeindex
+
+\newcommand{\PackageDocName}{jumplines.sty}%
+
+
+
+\begin{document}
+\mmddyyyydate
+
+
+\setlength{\parindent}{0pt}
+
+\thispagestyle{empty}%
+
+\begin{center}
+\begin{tcolorbox}[boxrule=1mm,arc=4mm,colback=yellow!30!white,width=0.8\textwidth]
+\large \bfseries%
+\begin{center}%
+\begin{tabular}{c}%
+\textsc{\PackageDocName} \tabularnewline
+\tabularnewline
+Providing teaser headline articles continued later on \tabularnewline
+\tabularnewline
+Version \packageversion \tabularnewline
+\tabularnewline
+\today \tabularnewline
+\tabularnewline
+\addtocounter{footnote}{2}
+Author: Christian Hupfer\(^\mathrm{\fnsymbol{footnote}}\)% }{\makeatletter christian.hupfer@yahoo.de}
+\tabularnewline
+\end{tabular}
+\end{center}
+\end{tcolorbox}
+\makeatletter
+\renewcommand{\thefootnote}{\fnsymbol{footnote}}%
+\footnotetext{christian.hupfer@yahoo.de}%
+\makeatother
+
+\end{center}
+
+\tableofcontents
+\clearpage
+
+
+
+
+\pagestyle{scrheadings}%
+\setheadsepline{2pt}[\color{blue}]
+
+\setcounter{footnote}{0}
+
+
+\section{Introduction}
+
+The aim of this package is to provide support for writing teaser articles which are common in newspapers, starting for example on the frontpage and are continued on another page, with some reference on which page this continuation happens.
+
+\JumplineArticle[ArticleHeadline={Something to know},TeaserHeight=0.5in]{%
+This is the first teaser, which is broken after some dummy text,\textcolor{blue}{\blindtext}\textcolor{red}{\blindtext}}%
+
+\JumplineArticle[TeaserHeight=1.5in,ArticleHeadline={And another useless article}]{%
+This is the second teaser headline, which is broken after some dummy text also\blindtext[1]}%
+
+\ShipoutArticleTeasers%
+
+
+
+\ShipoutArticleHangingArticles%
+
+
+\section{Package options}%
+
+As of version \packageversion~ the package has no options so far.
+
+
+
+\section{Requirements and incompatibilities}%
+
+\subsection{Required packages}
+
+\begin{itemize}
+\item \packagename{etex}
+\item \packagename{etoolbox}
+\item \packagename{xkeyval}
+\item \packagename{xparse}%
+\item \packagename{tcolorbox}%
+\item \packagename{luacolor}%
+\end{itemize}
+
+\subsection{Incompatibilities}
+
+This package does \textbf{not} work with floating contents \textbf{inside} of the articles, however, floats outside of such articles are possible.
+\section{Documentation of Macros}
+\tcbset{color command={blue}}
+
+
+\begin{docCommand}{JumplineArticle}{\oarg{options}\marg{article content}}
+
+This provides the main command for typesetting a jumpline article. All of the article content is specified in the (2nd) mandatory argument.
+
+\begin{docCommandArgs}{JumplineArticle}%
+
+ \begin{enumerate}[label={\textcolor{blue}{\#\arabic*}}]
+ \item \oarg{options}:
+
+ \begin{docKey}{TeaserHeight}{=\meta{true/false}}{2in}
+ Sets the cut off value for the height of the teaser -- this is not the height of the shown teaser itself, since this involves the teaser header box and some vertical spacings above and below the heading and the teaser content.
+
+ If the height of the article is smaller than the \refKey{TeaserHeight} value the full article is displayed then and not broken into two pieces.
+ \end{docKey}
+
+ \begin{docKey}{ArticleHeadline}{=\meta{arbitray text}}{no value}
+ This sets an article headline after the article number. Should be enclosed in a \brackets{}-pair
+ \end{docKey}
+
+ \begin{docKey}{TeaserHeaderOptions}{=\meta{options for the teaser header}}{breakable,leftlower=0pt,rightlower=0pt,boxrule=0pt,left=0pt,right=0pt, arc=0pt,auto outer arc,colbacktitle=black,coltitle=white,toptitle=2mm,bottomtitle=2mm}
+ This sets additional options for the display of the teaser header. All options are directly passed to the underlying \cs{tcolorbox}, see the \href{\tcolorboxdoclink}{\packagename{tcolorbox}} documentation on those options.
+ \end{docKey}
+
+ \begin{docKey}{ContinuedArticleHeaderOptions}{=\meta{options for the continued article header}}{breakable,leftlower=0pt,rightlower=0pt,boxrule=0pt,left=0pt,right=0pt, arc=0pt,auto outer arc,colbacktitle=black,coltitle=white,toptitle=2mm,bottomtitle=2mm}
+ This sets additional options for the display of the continued article header. All options are directly passed to the underlying \cs{tcolorbox}, see the \packagename{tcolorbox} documentation for this. This option has the same meaning to the continued article as \refKey{TeaserHeaderOptions} to the teaser of the same article.
+ \end{docKey}
+
+ \begin{docKey}{ArticleAuthor}{=\meta{}}{initially unset}
+ This sets a (list of) the author name(s) -- it will be displayed at the bottom of the teaser only, introduced by ``\textit{By}''.
+ \end{docKey}
+
+
+ \item \marg{article content}
+ This contains arbitrary content, as long no floating objects are involved.
+\end{enumerate}
+\end{docCommandArgs}
+
+\end{docCommand}%
+
+
+\begin{docCommand}{ShipoutArticleTeasers}{}
+This places all teasers consecutively without interruption. If this is placed after \refCom{ShipoutArticleHangingArticles}, the teasers are placed after the lower parts of the articles however.
+\end{docCommand}
+
+\begin{docCommand}{ShipoutArticleHangingArticles}{}
+ This places all continued articles consecutively without interruption from this position. This macro should be placed \textbf{after} \refCom{ShipoutArticleHangingArticles}.
+\end{docCommand}
+
+
+\begin{docCommand}{listofarticle}{}
+ This introduces a table of the articles with reference to starting page of the teaser.
+\end{docCommand}
+
+\begin{docCommand}{listofcontarticle}{}
+ This introduces a table of the continued articles with reference to starting page of the continued article.
+\end{docCommand}
+
+\begin{docCommand}{\listofarticlesname}{}
+ This command holds the name which is displayed as heading of the list of articles. Default value: \textbf{\listofarticlesname}
+\end{docCommand}
+
+\begin{docCommand}{\listofcontinuedarticlesname}
+ This command holds the name which is displayed as heading of the list of continued articles. Default value: \textbf{\listofcontinuedarticlesname}
+\end{docCommand}
+
+
+
+\clearpage
+
+\section{To-Do list}
+
+\begin{itemize}
+\item More options for fine control of the behaviour of teasers and continued articles
+\item Better height management of the articles/placement on pages
+\item Better option handling
+\item Bookmarks
+\item Better behaviour in multicol-environment
+\item Improve documentation
+\end{itemize}
+
+If you
+
+\begin{itemize}
+ \item find bugs
+ \item errors in the documentation
+ \item have suggestions
+ \item have feature requests
+\end{itemize}
+
+don't hesitate and contact me via \makeatletter christian.hupfer@siebenfelsen.de\makeatother
+
+\clearpage
+
+\section{Acknowledgments}
+
+I would like to express my gratitudes to the developpers of fine \LaTeX{} packages and of course
+to the users at tex.stackexchange.com, especially to
+
+\begin{itemize}
+ \item Enrico Gregorio
+ \item Joseph Wright
+ \item David Carlisle
+\end{itemize}
+
+for their invaluable help on many questions on macros.
+
+\vspace{2\baselineskip}
+A special gratitude goes to Prof. Dr. Dr. Thomas Sturm for providing the wonderful \MarkupPackageName{tcolorbox} package which was used to
+write this documentation.
+
+\clearpage
+
+
+\clearpage
+
+%%%% Index of commands
+
+\printindex
+
+\end{document} \ No newline at end of file
diff --git a/Master/texmf-dist/tex/latex/jumplines/jumplines.sty b/Master/texmf-dist/tex/latex/jumplines/jumplines.sty
new file mode 100644
index 00000000000..b63849bbc71
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/jumplines/jumplines.sty
@@ -0,0 +1,248 @@
+\NeedsTeXFormat{LaTeX2e}%
+\ProvidesPackage{jumplines}[2015/01/05 v0.1 -- Teaser/Continued articles with hyperlinks]
+%%%
+%% License: LaTeX Project Public License version 1.3
+%% Copyright (2015) Dr. Christian Hupfer
+%% Author: Christian Hupfer christian.hupfer@yahoo.de
+%%
+%%%%
+
+\RequirePackage{etex}%
+\RequirePackage{etoolbox}[2011/01/03 2.2]%
+\RequirePackage{xparse}%
+\RequirePackage{xkeyval}[2012/10/14 v2.6b]%
+\RequirePackage[svgnames]{xcolor}
+\RequirePackage[breakable]{tcolorbox}%
+
+\RequirePackage{tocloft}
+\RequirePackage{ifluatex}
+
+\ifluatex
+\RequirePackage{luacolor}% Recommended
+\fi
+
+
+%%%% Key - Value definitions
+
+\NewDocumentCommand{\listofarticlesname}{}{List of Articles}%
+\NewDocumentCommand{\listofcontinuedarticlesname}{}{List of continued Articles}%
+\newlistof{article}{art}{\listofarticlesname}%
+\newlistof{contarticle}{cont}{\listofcontinuedarticlesname}%
+
+
+
+
+\define@key{jumpline}{ArticleHeadline}{%
+ \def\JLKVMacroArticleHeadline{#1}%
+}%
+
+\define@key{jumpline}{ArticleAuthor}{%
+ \def\JLKVMacroArticleAuthor{#1}%
+}%
+
+% Length related keys
+
+\define@key{jumpline}{ArticleFullHeight}{%
+ \def\JLKVMacroArticleFullHeight{#1}%
+}%
+
+\define@key{jumpline}{TeaserHeight}[2in]{%
+ \def\JLKVMacroTeaserHeight{#1}%
+}%
+
+\define@key{jumpline}{ContinuedArticleHeight}{%
+ \def\JLKVMacroContinuedArticleHeight{#1}%
+}%
+
+\define@key{jumpline}{ContinuedFromTopskip}{%
+ \def\JLKVMacroContinuedFromTopskip{#1}%
+}%
+\define@key{jumpline}{ContinuedFromBottomskip}{%
+ \def\JLKVMacroContinuedFromBottomskip{#1}%
+}%
+
+\define@key{jumpline}{ContinuedOnTopskip}{%
+ \def\JLKVMacroContinuedOnTopskip{#1}%
+}%
+
+\define@key{jumpline}{ContinuedOnBottomskip}{%
+ \def\JLKVMacroContinuedOnBottomskip{#1}%
+}%
+
+\define@key{jumpline}{ContinuedArticleBottomskip}{%
+ \def\JLKVMacroContinuedArticleBottomskip{#1}%
+}%
+
+% Keys for optional teaser/continued article content and options
+
+\define@key{jumpline}{TeaserHeaderContent}{%
+ \def\JLKVMacroTeaserHeaderContent{#1}%
+}%
+
+\define@key{jumpline}{TeaserHeaderOptions}{%
+ \def\JLKVMacroTeaserHeaderOptions{#1}%
+}%
+
+\define@key{jumpline}{ContinuedArticleHeaderContent}{%
+ \def\JLKVMacroContinuedArticleHeaderContent{#1}%
+}%
+
+
+\define@key{jumpline}{ContinuedArticleHeaderOptions}{%
+ \def\JLKVMacroContinuedArticleHeaderOptions{#1}%
+}%
+
+\presetkeys{jumpline}{TeaserHeight=2in,
+ ContinuedOnTopskip={0.4\baselineskip},
+ ContinuedOnBottomskip={0pt},
+ ContinuedFromTopskip={0.4\baselineskip},
+ ContinuedFromBottomskip={0pt},%
+ ContinuedArticleBottomskip={20pt},%
+ TeaserHeaderContent={},
+ TeaserHeaderOptions={breakable,leftlower=0pt,rightlower=0pt,boxrule=0pt,left=0pt,right=0pt, arc=0pt,auto outer arc,colbacktitle=black,coltitle=white,toptitle=2mm,bottomtitle=2mm},
+ ContinuedArticleHeaderOptions={breakable,leftlower=0pt,rightlower=0pt,boxsep=0pt,boxrule=0pt,left=0pt,right=0pt,arc=0pt,auto outer arc,colbacktitle=black,coltitle=white,toptitle=2mm,bottomtitle=2mm,righttitle=1mm}
+ }{}%
+
+
+
+
+\newcounter{@@jumplines@@internaldocounter}%
+
+\newlength{\@@jumplines@@articleheight}%
+\newlength{\@@jumplines@@teaserboxheight}%
+
+
+\xdef\ContinuedArticleList{}%
+\xdef\TeaserBoxList{}%
+\xdef\JumplineOptionsList{}%
+
+\listcsadd{ContinuedArticleList}{}%
+\listcsadd{TeaserBoxList}{}%
+\listcsxadd{JumplineOptionsList}{}%
+
+
+
+\NewDocumentCommand\JumplineArticle{+o+m}{% Provide later on for a starred version
+ \refstepcounter{article}%
+ \newbox\articlebox%
+ \newbox\teaserbox%
+ \begingroup%
+ \IfValueTF{#1}{%
+ \setkeys{jumpline}{#1}%
+ }{%
+ \typeout{Nothing!}%
+ }%
+ \setlength{\@@jumplines@@teaserboxheight}{\JLKVMacroTeaserHeight}%
+ \global\setbox\articlebox=\vbox{\noindent#2}%
+ \setlength{\@@jumplines@@articleheight}{\the\ht\articlebox}%
+ \global\setbox\teaserbox=\vsplit\articlebox to \@@jumplines@@teaserboxheight% Split the input to teaser box and a continued box
+ \listcsxadd{TeaserBoxList}{\number\teaserbox}%
+ \listcsxadd{ContinuedArticleList}{\number\articlebox}%
+ % Transfer options to the child box handlers
+ \listcsxadd{JumplineOptionsList}{\unexpanded{#1},ContinuedArticleHeight={\the\ht\articlebox},ArticleFullHeight={\the\@@jumplines@@articleheight}}%
+ \endgroup%
+}%
+
+
+\NewDocumentCommand{\DisplayJumplineTeaser}{+m+m}{%
+ \begingroup%
+ \setkeys{jumpline}{#1}%
+ \begin{tcolorbox}[title={Article \thearticle~\ifdef{\JLKVMacroArticleHeadline}{\JLKVMacroArticleHeadline}{}},
+ code={\pgfkeysalsofrom\JLKVMacroTeaserHeaderOptions}]
+ \ifdef{\JLKVMacroTeaserHeaderContent}{%
+ \JLKVMacroTeaserHeaderContent}{}%
+ \end{tcolorbox}%
+ \phantomsection%
+ \label{jlarticle::teaser::\number\value{article}}%
+ \ifdef{\JLKVMacroArticleHeadline}{%
+ \addcontentsline{art}{section}{\thearticle~\JLKVMacroArticleHeadline}
+ }{%
+ \addcontentsline{art}{section}{\thearticle}%
+ }%
+ % Now unbox it
+% \colorlet{saved}{.}
+ \begingroup
+ \noindent\unvbox#2%
+ \endgroup
+% \color{saved}
+ \vskip\JLKVMacroContinuedOnTopskip%
+ \ifdef{\JLKVMacroArticleAuthor}{\raggedleft By \JLKVMacroArticleAuthor\par}{}%
+ \ifdimless{\JLKVMacroArticleFullHeight}{\JLKVMacroTeaserHeight}{%
+ }{%
+ \raggedleft\textit{\bfseries Continued on Page \pageref{jlarticle::\number\value{article}}} % Change later on to be more configurable!
+ }%
+ \vskip\JLKVMacroContinuedOnBottomskip%
+ \endgroup%
+}%
+
+
+
+\NewDocumentCommand{\DisplayContinuedArticle}{+m+m}{%
+ \begingroup%
+ \setkeys{jumpline}{#1}%
+ \ifdimgreater{\JLKVMacroArticleFullHeight}{\JLKVMacroTeaserHeight}{%
+ \begin{tcolorbox}[title={\raggedleft Continued from Article \ref{jlarticle::teaser::\number\value{article}} on page \pageref{jlarticle::teaser::\number\value{article}}},code={\pgfkeysalsofrom\JLKVMacroContinuedArticleHeaderOptions}]%
+ \ifdef{\JLKVMacroContinuedArticleHeaderContent}{%
+ \JLKVMacroContinuedArticleHeaderContent}{%
+ }%
+ \end{tcolorbox}%
+ \phantomsection\label{jlarticle::\number\value{article}}%
+ \ifdef{\JLKVMacroArticleHeadline}{%
+ \addcontentsline{cont}{section}{\thearticle~\JLKVMacroArticleHeadline}%
+ }{%
+ \addcontentsline{cont}{section}{\thearticle}%
+ }%
+ \noindent\unvbox#2%
+ }{}%
+ \endgroup%
+}%
+
+\NewDocumentCommand{\@@jumplines@@showcontinuedarticle}{+m}{%
+ \refstepcounter{article}%
+ \begingroup%
+ \setcounter{@@jumplines@@internaldocounter}{0}%
+ \renewcommand{\do}[1]{%
+ \stepcounter{@@jumplines@@internaldocounter}%
+ \ifnumequal{\value{@@jumplines@@internaldocounter}}{\value{article}}{%
+ \DisplayContinuedArticle{##1}{#1}%
+ \listbreak%
+ }{}}%
+ \dolistcsloop{JumplineOptionsList}%
+ \endgroup%
+}%
+
+\NewDocumentCommand{\@@jumplines@@showteaser}{+m}{%
+ \refstepcounter{article}%
+ \begingroup%
+ \setcounter{@@jumplines@@internaldocounter}{0}%
+ \renewcommand{\do}[1]{%
+ \stepcounter{@@jumplines@@internaldocounter}%
+ \ifnumequal{\value{@@jumplines@@internaldocounter}}{\value{article}}{%
+ \DisplayJumplineTeaser{##1}{#1}%
+ \listbreak%
+ }{%
+ % Do nothing in this case
+ }%
+ }% End of \do definition
+ \dolistcsloop{JumplineOptionsList}%
+ \endgroup%
+}%
+
+
+
+\NewDocumentCommand{\ShipoutArticleTeasers}{}{%
+ % Do it for safety reasons%
+ \setcounter{article}{0}%
+ \forlistcsloop{\@@jumplines@@showteaser}{TeaserBoxList}%
+}%
+
+\NewDocumentCommand{\ShipoutArticleHangingArticles}{}{%
+ \setcounter{article}{0}%
+ \forlistcsloop{\@@jumplines@@showcontinuedarticle}{ContinuedArticleList}%
+}%
+
+
+
+
+
+\endinput \ No newline at end of file