BibTeX, biblatex and bibersquare bracket in references

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
nonplussed
Posts: 5
Joined: Wed Aug 07, 2013 6:53 am

square bracket in references

Post by nonplussed »

My bibliography output for my report is shown in the picture attachment. For some reason, I don't want [Conference Proceedings]to show in my references. Please let me know what's wrong with it.
Ref.png
Ref.png (123.3 KiB) Viewed 16306 times
Last edited by cgnieder on Wed Aug 07, 2013 9:43 am, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

square bracket in references

Post by Johannes_B »

Right now, nobody can tell what the cause of the problem is. Try to prepare a minimal working example. This gives us some code to spot the reason for the described behaviour and test possible solutions. If you do not know how to prepare a MWE, just follow the link.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
nonplussed
Posts: 5
Joined: Wed Aug 07, 2013 6:53 am

square bracket in references

Post by nonplussed »

Code: Select all

% Chapter 2
\documentclass[a4paper, 11pt, oneside]{book} 
% Include any extra LaTeX packages required

\usepackage{verbatim}  % Needed for the "comment" environment to make LaTeX comments
\usepackage{fancyhdr}
\usepackage{titlesec}
\usepackage{apacite}

\begin{document}
\chapter{Related Work} % Write in your own chapter title
\label{Chapter2}
\lhead{Chapter 2. \emph{Related Work}} % Write in your own chapter title to set the page header


\section{Welcome and Thank You}
The books are available for you to \citeA{Benz2010} download for\citeA{Waycott} free. They were originally plain text files but were quickly and easily converted into beautifully typeset and well presented eBooks through \LaTeX{} for you to enjoy.

\bibliographystyle{apacite}
\bibliography{Ref}
\end{document}
Last edited by cgnieder on Wed Aug 07, 2013 9:41 am, edited 1 time in total.
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

square bracket in references

Post by Johannes_B »

Hi, without the bib the example is not compilable and hence the problem cannot be fixed. Please use the code-button next time.
However, modifying BibTeX-styles is complicated.

Using the newer biblatex and the corresponding bibliographyprocessor biber is recommended nowadays. This also gives you complete utf8 support. Take a look at the following example.

Code: Select all

\documentclass{book}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[american]{babel}
\usepackage{csquotes}
\usepackage[backend=biber,style=apa]{biblatex}
\DeclareLanguageMapping{american}{american-apa}
\addbibresource{biblatex-examples.bib}
\begin{document}
\textcite{herrmann}

\cite{herrmann}

\parencite{herrmann}
\printbibliography
\end{document}
If your TeX-Distribution is fairly up-to-date, you can just copy+paste and compile this example.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
nonplussed
Posts: 5
Joined: Wed Aug 07, 2013 6:53 am

Re: square bracket in references

Post by nonplussed »

It works!!!! Thanks for help.
Post Reply