Сделать раздел «Публикации» по тезису

Сделать раздел «Публикации» по тезису

Я хотел бы сделать раздел в своей докторской диссертации, посвященный публикациям (структурированный как глава).

Вот код, который я сейчас использую для своей диссертации (без учета списка пакетов):

\documentclass[a4paper,12pt,twoside,cucitura]{report}
\usepackage[a4paper,outer=3.2cm,bottom=3.5cm,inner=2.2cm,top=2.5cm]{geometry}

\usepackage{booktabs,tabularx}
\newcommand\vn[1]{\mathit{#1}} % how to display variable names
\newcolumntype{C}{>{\centering\arraybackslash$\displaystyle }X<{$}}

\pagestyle{fancy}
\usepackage{hyperref

\hypersetup{%
    pdfpagemode={UseOutlines},
    bookmarksopen,                                                         
    pdfstartview={FitH},
    colorlinks,
    linkcolor={blue},
    citecolor={red},
    urlcolor={blue}
  }
  
\pagenumbering{roman}

\begin{document}\errorcontextlines=9

\interfootnotelinepenalty=10000

\tableofcontents

\fancyhead[RO,LE]{}
\fancyfoot[RO,LE]{}

\newcommand\blankpage{
    \null
    \thispagestyle{empty}
    \addtocounter{page}{-1}
    \newpage
    }

\pagenumbering{arabic}
\input{Chapter1/Chapter1}
\input{Chapter2/Chapter2}
\input{Chapter3/Chapter3}
\input{Chapter4/Chapter4}
\input{Chapter5/Chapter5}

\begin{appendices}
\input{Appendix1/Appendix1}
\input{Appendix2/Appendix2}
\input{Appendix3/Appendix3}
 ()\end{appendices}

\renewcommand{\bibname}{References}
\bibliography{thesisbib}
\bibliographystyle{ieeetr}

\end{document}

Как вставить раздел публикаций?

решение1

В свое время мне удалось сделать это следующим образом biblatex(и я рекомендую вам взять это на вооружение).

Добавьте ключевое слово в записи bibtex вашей публикации, например keywords = {mine}.

Затем для обычных ссылок используйте \printbibliography[notkeyword=mine](чтобы ваши публикации отфильтровывались).

Затем с помощью refcontextсоздайте список публикаций. Я использовал \nocite{}для установки порядка появления, так как refcontextвызывается с помощью [sorting = none]. При использовании \nocite{}предполагается, что ваши работы не упоминаются в тексте, а перечислены только в конце рукописи. Это также причина, по которой notkeywordтребуется на предыдущем шаге.

\begin{refcontext}[sorting=none]
    \defbibnote{myprenote}{If you wish to add explanations}
    \nocite{mypaper1,mypaper2}
    \printbibliography[%
        title        = {List of Publications},
        prenote      = myprenote,
        keyword      = mine,
    ]
\end{refcontext}

MWE — это:

\documentclass[]{book}

\begin{filecontents}{references.bib}
    @book{knuth1997art,
        title={The Art of Computer Programming: Fundamental algorithms},
        author={Knuth, D.E. and Addison-Wesley},
        number={v. 1},
        isbn={9780201896831},
        lccn={97002147},
        series={Addison-Wesley series in computer science and information processing},
        url={https://books.google.it/books?id=B31GAAAAYAAJ},
        year={1997},
        publisher={Addison-Wesley}
    }
\end{filecontents}
\begin{filecontents}{mypublications.bib}
    @book{mypaper1,
        title={The Art of something else},
        author={me},
        % isbn={ },
        % lccn={},
        keywords  = {mine},
        year={2020},
        publisher={the publisher},
    }
    @book{mypaper2,
        title={The Art of something else 2},
        author={me},
        % isbn={ },
        keywords  = {mine},
        % lccn={},
        year={2020},
        publisher={the publisher},
    }
\end{filecontents}

\usepackage[%
    bibstyle     = ieee,
    citestyle    = numeric,
    % isbn         = true,
    % doi          = false,
    % % sorting      = nty,
    % % sorting     = none,
    % % sorting     = debug,
    % url          = false,
    % defernumbers = true,
    % bibencoding  = utf8,
    % backend      = biber
]{biblatex}

\addbibresource{references.bib}
\addbibresource{mypublications.bib}

\begin{document}
\cite{knuth1997art}
\printbibliography[notkeyword=mine]
\begin{refcontext}[sorting=none]
    \defbibnote{myprenote}{If you wish to add explanations}
    \nocite{mypaper1,mypaper2}
    \printbibliography[%
        title        = {List of Publications},
        prenote      = myprenote,
        keyword      = mine,
    ]
\end{refcontext}
\end{document}

На самом деле вам не нужно разделять references.bibих mypublications.bib, но вполне вероятно, что вы будете использовать разные bibфайлы своих статей по отдельности, и быстрее всего будет добавить эти файлы по отдельности, а не объединять их (конечно, если нет дубликатов).

введите описание изображения здесь

Связанный контент