fixing bug reported by Markus Henke, dfgprojpapers now only shows featured papers

This commit is contained in:
Michael Kohlhase 2018-07-06 16:36:26 +02:00
parent 7ca12d9a5e
commit d1cb9d3507
3 changed files with 5 additions and 5 deletions

View File

@ -2567,13 +2567,13 @@ joint&\multicolumn{\the@site}{l|}{\jpub $\hat=$ publication, \jpro $\hat=$ proje
% \begin{macrocode} % \begin{macrocode}
\defbibheading{empty}{} \defbibheading{empty}{}
% \end{macrocode} % \end{macrocode}
% We define an internal macro that prints a publication list of a given {bib\TeX} entry % We define an internal macro |\prop@ppl| that prints a publication list of a given
% type and title for convenience. It also adds a |notype=| to the token register % {bib\TeX} entry type and title for convenience. It also adds a |notype=| to the token
% |\prop@rl| to deal with the unclassified entries from the list. % register |\prop@rl| to deal with the unclassified entries from the list.
% \begin{macrocode} % \begin{macrocode}
\newif\if@allpapers\@allpaperstrue \newif\if@allpapers\@allpaperstrue
\newcommand\prop@ppl[3][]{\@allpapersfalse\message{ppl processing: #2}% \newcommand\prop@ppl[3][]{\@allpapersfalse\message{ppl processing: #2}%
\printbibliography[heading=subbibliography,type=#2,title=#3#1]% \printbibliography[category=featured,heading=subbibliography,type=#2,title=#3#1]%
\@ifundefined{prop@rl}{\xdef\prop@rl{#2}}{\xdef\prop@rl{\prop@rl, #2}}} \@ifundefined{prop@rl}{\xdef\prop@rl{#2}}{\xdef\prop@rl{\prop@rl, #2}}}
% \end{macrocode} % \end{macrocode}
% The following code does not work yet, it would have been nice to be able to just add a % The following code does not work yet, it would have been nice to be able to just add a

Binary file not shown.

View File

@ -1032,7 +1032,7 @@ joint&\multicolumn{\the@site}{l|}{\jpub $\hat=$ publication, \jpro $\hat=$ proje
\defbibheading{empty}{} \defbibheading{empty}{}
\newif\if@allpapers\@allpaperstrue \newif\if@allpapers\@allpaperstrue
\newcommand\prop@ppl[3][]{\@allpapersfalse\message{ppl processing: #2}% \newcommand\prop@ppl[3][]{\@allpapersfalse\message{ppl processing: #2}%
\printbibliography[heading=subbibliography,type=#2,title=#3#1]% \printbibliography[category=featured,heading=subbibliography,type=#2,title=#3#1]%
\@ifundefined{prop@rl}{\xdef\prop@rl{#2}}{\xdef\prop@rl{\prop@rl, #2}}} \@ifundefined{prop@rl}{\xdef\prop@rl{#2}}{\xdef\prop@rl{\prop@rl, #2}}}
\newcommand\prop@prl[1]{\message{unclassified: #1}% \newcommand\prop@prl[1]{\message{unclassified: #1}%
\printbibliography[heading=subbibliography,title=Unclassified,#1]}% \printbibliography[heading=subbibliography,title=Unclassified,#1]}%