8

When attempting to print references in a block, there are no reference numbers to link to the citations.

main.tex

\documentclass[25pt, portrait, margin=0in, innermargin=1in, colspace=1in, subcolspace=1in, blockverticalspace=1in]{tikzposter}

\usepackage[backend=bibtex,style=numeric,sorting=none]{biblatex}
\addbibresource{references.bib}

\title{\textbf{Title}}
\author{Person Name}
\institute{Institution Name}

\usetheme{Wave}

\begin{document}
\maketitle

\block{Introduction}{       
    blah blab \cite{mycitation1}. blah blah blaaaaah \cite{mycitation2}. bleeeep blooooop \cite{mycitation3}
}

\block{References}{
    \printbibliography[heading=none]    
}

\end{document}

references.bib

@article{mycitation1,
    author = {some guy},
    title = {paper name 1},
    journaltitle = {some journal},
    date = {2013},
}

@article{mycitation2,
    author = {some guy2},
    title = {paper name 2},
    journaltitle = {some journal2},
    date = {2014},
}

@article{mycitation3,
    author = {some guy},
    title = {paper name 3},
    journaltitle = {some journal3},
    date = {2015},
}

Where I should see a bibliography like this:

[1] My citation1. (2013).

[2] My citation2. (2014).

[3] My citation3. (2015).

I only see a citation like this

[1] My citation1. (2013).

My citation2. (2014).

My citation3. (2015).

Any ideas? Thanks in advance!

  • 1
    I cannot reproduce this, please provide a minimal working example. – Johannes_B May 7 '15 at 15:54
  • Added an example. Should do the trick. – The Guy May 7 '15 at 16:25
11

After some gray hairs with TikZ, all boils down to this simple example

\documentclass{article}
\usepackage[backend=bibtex]{biblatex}
\addbibresource{biblatex-examples.bib}
\begin{document}
    \cite{ctan,companion} \cite{aristotle:physics}
\begin{center}
    \printbibliography[heading=none]
\end{center}
\end{document}

A list within a list. The behaviour can be resolved, though:

\documentclass{article}
\usepackage[backend=bibtex]{biblatex}
\addbibresource{biblatex-examples.bib}
\begin{document}
    \cite{ctan,companion} \cite{aristotle:physics}
\begin{center}\mbox{}\vspace{-\baselineskip}
    \printbibliography[heading=none]
\end{center}
\end{document}

Why does it work? David Carlisle tells us in our chat room:

because it you add \tracingmacros=1 and then ediff the files (a useful emacs feature) you find it starts to go wrong at \if@inlabel \@noparitemtrue, i.e. the bibliography is being set at the point LaTeX has just seen \item but hasn't yet set that item. So things are held back to (e.g.) add a bullet point at the start of the next paragraph. The \mbox{} just gets that out of the way so the references start in the second paragraph of the center environment, not the first.


I am not quite sure about the benefits of this center-environment that is introduced by the class, i have dropped the teamm a note. Hopefully, an update is on CTAN soon.

In the meantime, i made a fork and removed the center environment. Bitbucket Tikzposter Fork

  • 1
    The pull request provided by Johannes is now available in TikZposter. – Dirk May 28 '15 at 8:19
  • As of today the tikzposter version on CTAN (ctan.org/pkg/tikzposter) dates back to 2014 and does not have the fix applied. – moewe Sep 13 '18 at 9:41
  • @Dirk On the offchance that you are involved in tikzposter development. If not, please ifgnore. Is there any chance that the updated version goes to CTAN any time soon? The issue came up again in tex.stackexchange.com/q/450384/35864 – moewe Sep 13 '18 at 9:44
  • I have to admit that I currently have no time to support this project and I didn't hear anything from the other developers. – Dirk Sep 13 '18 at 13:55
  • 1
    @Dirk Not sure if marmot will see this here. Users normally only get notifications in comments if they are in some way involved in the post. Try the chatroom: chat.stackexchange.com/rooms/41/tex-latex-and-friends – moewe Sep 14 '18 at 9:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.