fixing dfg paper list

This commit is contained in:
Michael Kohlhase 2016-06-12 19:03:28 +09:00
parent 377a22f1e8
commit 227d5bbc55
8 changed files with 14 additions and 18 deletions

View File

@ -2444,15 +2444,18 @@ joint&\multicolumn{\the@site}{l|}{\jpub $\hat=$ publication, \jpro $\hat=$ proje
% \end{macro} % \end{macro}
% %
% \begin{macro}{\prop@paperlist} % \begin{macro}{\prop@paperlist}
% We generate a subsection with a |refsection| (this makes a separate bibliography for % |\prop@paperlist{|\meta{keys}|}{|\meta{refs}|}| generates a paper list from a list
% this section) and activate the keys via |\nocite|. Then we just print the bibliography % \meta{keys} of bibliography keys. It makes some local adaptions to the appearance of
% with the empty header we created before. % the bibliography, and then adds \meta{refs} to the citable papers marks them as
% |featured|. Then it uses |\printbibliography| to make a bibliography of the cited
% papers. Note that these are not cited again in the main bibliography\ednote{MK: we may
% want to make this optional controlled by a package option eventually.}
% \begin{macrocode} % \begin{macrocode}
\newcommand\prop@paperlist[2][]{% \newcommand\prop@paperlist[2][]{%
\let\biboldfont\bibfont% \let\biboldfont\bibfont%
\renewcommand{\bibfont}{\footnotesize}% \renewcommand{\bibfont}{\footnotesize}%
\renewcommand{\baselinestretch}{.9} \renewcommand{\baselinestretch}{.9}%
\def\do##1{\addtocategory{featured}{##1}}\docsvlist{#2}% \nocite{#2}\def\do##1{\addtocategory{featured}{##1}}\docsvlist{#2}%
\setkeys{paperlist}{#1} \setkeys{paperlist}{#1}
\@ifundefined{prop@rl}{}{\@latex@warning{some papers are not classified!}} \@ifundefined{prop@rl}{}{\@latex@warning{some papers are not classified!}}
\if@allpapers\printbibliography[category=featured,heading=empty]\fi% \if@allpapers\printbibliography[category=featured,heading=empty]\fi%

View File

@ -133,12 +133,9 @@
% %
% Since August 2010, DFG requests list of ``project-related papers'' as section 2.2. We % Since August 2010, DFG requests list of ``project-related papers'' as section 2.2. We
% use the |biblatex| package to automate this. We only need to use % use the |biblatex| package to automate this. We only need to use
% \DescribeMacro{\dfgprojpapers}|\dfgprojpapers{|\meta{keys}|}|, where \meta{keys} is a % \DescribeMacro{\dfgprojpapers}|\dfgprojpapers[|\meta{keys}|]{|\meta{refs}|}|, where
% comma-separated list of keys from the bibTeX database used in the proposal. Note that % \meta{keys} that specify what papers are selected and \meta{refs} is a comma-separated
% you will have to run |bibtex -min-crossrefs=999 proposal1-blx.aux| to generate file % list of bibtex keys from the bibTeX database used in the proposal.
% |proposal1.bbl| that generates the bibliography list. To automate this (at least on Unix
% systems), we have added the field |Makefile.template|, which allows you do do any
% necessary steps by just typing |make|.
% %
% The papers listed in |\dfgprojpapers| are put into a special bib\LaTeX category % The papers listed in |\dfgprojpapers| are put into a special bib\LaTeX category
% \DescribeMacro{featured}|featured|, and can thus be excluded from the general % \DescribeMacro{featured}|featured|, and can thus be excluded from the general

View File

@ -16,8 +16,7 @@ TARGET.aux = $(TARGET:%.tex=%.aux) # their aux files.
PDATA = $(PROPOSAL:%.tex=%.pdata) # the proposal project data PDATA = $(PROPOSAL:%.tex=%.pdata) # the proposal project data
SRC = $(filter-out $(TARGET),$(shell ls *.tex)) # included files SRC = $(filter-out $(TARGET),$(shell ls *.tex)) # included files
PDFLATEX = pdflatex -interaction batchmode -file-line-error PDFLATEX = pdflatex -interaction batchmode -file-line-error
BBL.base = 1 BBL = $(PROPOSAL:%.tex=%.bbl)
BBL = $(PROPOSAL:%.tex=%.bbl) $(BBL.base:%=$(PROPOSAL:%.tex=%)%-blx.bbl)
PROPCLS.dir = $(PROP.dir)/base PROPCLS.dir = $(PROP.dir)/base
PROPETC.dir = $(PROP.dir)/etc PROPETC.dir = $(PROP.dir)/etc
DFGPROPCLS.dir = $(PROP.dir)/dfg DFGPROPCLS.dir = $(PROP.dir)/dfg

Binary file not shown.

View File

@ -8,7 +8,6 @@
\usepackage[utf8]{inputenc} \usepackage[utf8]{inputenc}
\input{../lib/WApersons} \input{../lib/WApersons}
\begin{document} \begin{document}
\begin{center}\color{red}\huge \begin{center}\color{red}\huge

View File

@ -37,10 +37,9 @@
publications so far. publications so far.
\end{todo} \end{todo}
\subsubsection{Peer-Reviewed Articles} \subsubsection{Peer-Reviewed Articles}\label{sec:peer-rev}
\dfgprojpapers{Kohlhase:pdpl10,providemore} \dfgprojpapers{Kohlhase:pdpl10,providemore}
\ednote{Anmerkung Jens: Ein nützliches Feature wäre hier, wenn das Paket eine (eventuell \ednote{Anmerkung Jens: Ein nützliches Feature wäre hier, wenn das Paket eine (eventuell
über Optionen der Dokumentklasse unterdrückbare) Warnung ausgeben würde, wenn zu viele über Optionen der Dokumentklasse unterdrückbare) Warnung ausgeben würde, wenn zu viele
Publikationen entsprechend DFG-Richtlinien angegeben werden. Die Anzahl ist sehr eng Publikationen entsprechend DFG-Richtlinien angegeben werden. Die Anzahl ist sehr eng

View File

@ -16,8 +16,7 @@ TARGET.aux = $(TARGET:%.tex=%.aux) # their aux files.
PDATA = $(PROPOSAL:%.tex=%.pdata) # the proposal project data PDATA = $(PROPOSAL:%.tex=%.pdata) # the proposal project data
SRC = $(filter-out $(TARGET),$(shell ls *.tex)) # included files SRC = $(filter-out $(TARGET),$(shell ls *.tex)) # included files
PDFLATEX = pdflatex -interaction batchmode -file-line-error PDFLATEX = pdflatex -interaction batchmode -file-line-error
BBL.base = 1 BBL = $(PROPOSAL:%.tex=%.bbl)
BBL = $(PROPOSAL:%.tex=%.bbl) $(BBL.base:%=$(PROPOSAL:%.tex=%)%-blx.bbl)
PROPCLS.dir = $(PROP.dir)/base PROPCLS.dir = $(PROP.dir)/base
PROPETC.dir = $(PROP.dir)/etc PROPETC.dir = $(PROP.dir)/etc
DFGPROPCLS.dir = $(PROP.dir)/dfg DFGPROPCLS.dir = $(PROP.dir)/dfg

Binary file not shown.