Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I am finalising my PhD thesis that I have composed with LaTeX.

I have a section in which I list my own publications and the whole list of references at the very end of the document. This list is rather long and I decided to include back references to ease the reading. I used a combination of natbib, multibib and backref. Unfortunately, this enabled them on the secondary bibliography containing my own publications as well.

How am I supposed to disable back references for publications and enables them for the bibliography? I think I burnt my brain and I can not find a solution on my own! Anyway, please find attached a minimal working example.

Bonus question: I included my own works in publications.bib and I repeated them in biblio,bib (the main bibliography DB) adding a copy suffix to their keys, not to mess with them. Is there a more clever way than the one I pursued to cite them and list them in the Publications paragraph of the thesis, and list them in the main bibliography with all the back references but those in the Publications paragraph?

main.tex

\documentclass{scrreprt}

\usepackage[english]{babel}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}

\usepackage[square,numbers,sort&compress]{natbib}
\usepackage[resetlabels]{multibib}
\newcites{publications}{\null}

\usepackage[pdftex]{hyperref}
\usepackage[hyperpageref]{backref}
\usepackage{bookmark}

\newcommand{\backrefnotcitedstring}{\relax} %(Not cited.)
\newcommand{\backrefcitedsinglestring}[1]{\\\textsmaller{(Cited on page~#1)}}
\newcommand{\backrefcitedmultistring}[1]{\\\textsmaller{(Cited on pages~#1)}}
\renewcommand{\backreftwosep}{ and~} % separate 2 pages
\renewcommand{\backreflastsep}{, and~} % separate last of longer list
\renewcommand*{\backref}[1]{}  % disable standard
\renewcommand*{\backrefalt}[4]{\ifcase #1 \backrefnotcitedstring \or \backrefcitedsinglestring{#2} \else \backrefcitedmultistring{#2} \fi}

\begin{document}
    \chapter*{Publications}
    Some ideas and figures have previously and partially appeared in \citep{me2012a,me2012b}.
    \begingroup     
        \let\clearpage\relax    
        \vspace{-6ex}
        \nocitepublications{*}
        \bibliographystylepublications{abbrvnat}
        \bibliographypublications{publications}
    \endgroup

    \chapter{Introduction} 
    In this thesis I take some of the concepts that I introduced in \citep{me2012acopy,me2012bcopy} and I quote others proposed in \citep{he2011,she2011,them2011}.

    \appendix   
    \bibliographystyle{abbrvnat}
    \bibliography{biblio}
\end{document}

publications.bib

@article {me2012a,
  author = {Me, I},
  title = {Title 1},
  journal = {A Journal},
  journaltitle = {A Journal},
  year = {2012}
}

@article {me2012b,
  author = {Me, I},
  title = {Title 2},
  journal = {A Journal},
  journaltitle = {A Journal},
  year = {2012}
}

biblio.bib

@article {me2012acopy,
  author = {Me, I},
  title = {Title 1},
  journal = {A Journal},
  journaltitle = {A Journal},
  year = {2012}
}

@article {me2012bcopy,
  author = {Me, I},
  title = {Title 2},
  journal = {A Journal},
  journaltitle = {A Journal},
  year = {2012}
}

@article {he2011,
  author = {He, Author},
  title = {Title He},
  journal = {A Journal},
  journaltitle = {A Journal},
  year = {2011}
}

@article {she2011,
  author = {She, Author},
  title = {Title She},
  journal = {A Journal},
  journaltitle = {A Journal},
  year = {2011}
}

@article {them2011,
  author = {Them, Authors},
  title = {Title Them},
  journal = {A Journal},
  journaltitle = {A Journal},
  year = {2011}
}
share|improve this question
1  
Adding \renewcommand{\backrefcitedsinglestring}[1]{} \renewcommand{\backrefcitedmultistring}[1]{} between your \begingroup...\endgroup for the Publications part (but before \bibliographypublications) seems to solve the first (easiest) part of your question. –  cyberSingularity Apr 10 '13 at 21:48
    
Hi, thanks for replying! Weird, it solves the problem in the minimal example, but not the whole thesis... In fact it is the first thing I tried myself! I'll investigate the other things that I stripped from the project to get the MWE. Thanks anyway! –  Stefano Bragaglia Apr 11 '13 at 6:55
    
Oh dear! My fault! I simply made a typo (\backrefS* instead of \backref*) and I was too tired to notice it... Thanks so much and sorry for wasting everybody's time! :-P –  Stefano Bragaglia Apr 11 '13 at 7:11
    
Happy to help. Perhaps now you'd like to edit your question so that the focus is on the 'bonus' part, as it is still an interesting question? –  cyberSingularity Apr 11 '13 at 9:09
    
You don't need to copy all the entries from publications.bib, \bibliography{biblio,publications} in the appendix should suffice. –  mafp Jun 19 '13 at 9:40
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.
http://tex.stackexchange.com/questions/107952/disabling-backref-in-secondary-multibib-bibliography-with-natbib
tex.stackexchange.com
crawl=CC-MAIN-2014-15
68466
application/http; msgtype=response
sha1:Z2NAWJJJ5JECTJIOOWZWZX7NTY5XJCLC
<urn:uuid:f8c3f01e-b935-4da7-b00c-5943fa2eb1f6>
2014-04-19T22:27:27Z
198.252.206.140
sha1:RJAQIGXPTZD2DFROLDEFZSCWZKJKB2WM
<urn:uuid:4efe0345-647c-4eff-a367-39a805ec63ea>
http://tex.stackexchange.com/questions/107952/disabling-backref-in-secondary-multibib-bibliography-with-natbib
response
<urn:uuid:4b42a11a-72d8-47f6-90b9-77f212b18129>
robots: classic
hostname: ip-10-147-4-33.ec2.internal
software: Nutch 1.6 (CC)/CC WarcExport 1.0
isPartOf: CC-MAIN-2014-15
operator: CommonCrawl Admin
description: Wide crawl of the web with URLs provided by Blekko for April 2014
publisher: CommonCrawl
format: WARC File Format 1.0
conformsTo: http://bibnum.bnf.fr/WARC/WARC_ISO_28500_version1_latestdraft.pdf