BibTeX, biblatex and biber ⇒ \@listctr error
\@listctr error
Dear members,
I'm having problems to make a bibliography inside the article file to a Journal. In my dissertation I did a bibtex file separately.
I get the error undefined control sequence <argument> \@listctr followed by a you can't use 'relax' after 'the'.
Does anyone know how to overcome this?
Thanks in advance!
PS: An enshortened version of my file with an example of my attempt of usage of bibitem is:
\documentclass[a4paper,12pt]{article}
\usepackage{amssymb}
\begin{document}
\vspace{0.3cm}
\renewenvironment{thebibliography}{{\centerline{{\Large\bf R}{\large \bf EFERENCES}}}\begin{description}}
{\end{description}}
\renewcommand{\endthebibliography}{\end{description}}
\begin{thebibliography}
\bibitem{Simpson} Homer J. Simpson. \newblock Evergreen Terrace Printing Co., Springfield, SomewhereUSA, 1998
\end{thebibliography}
\end{document}
I'm having problems to make a bibliography inside the article file to a Journal. In my dissertation I did a bibtex file separately.
I get the error undefined control sequence <argument> \@listctr followed by a you can't use 'relax' after 'the'.
Does anyone know how to overcome this?
Thanks in advance!
PS: An enshortened version of my file with an example of my attempt of usage of bibitem is:
\documentclass[a4paper,12pt]{article}
\usepackage{amssymb}
\begin{document}
\vspace{0.3cm}
\renewenvironment{thebibliography}{{\centerline{{\Large\bf R}{\large \bf EFERENCES}}}\begin{description}}
{\end{description}}
\renewcommand{\endthebibliography}{\end{description}}
\begin{thebibliography}
\bibitem{Simpson} Homer J. Simpson. \newblock Evergreen Terrace Printing Co., Springfield, SomewhereUSA, 1998
\end{thebibliography}
\end{document}
Last edited by feanor22 on Tue Jun 08, 2010 7:45 pm, edited 1 time in total.
NEW: TikZ book now 40% off at Amazon.com for a short time.

- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
\@listctr error
You have a parenthesis where there should be a brace at the end of thebibliography environment. Apart from this typo your code looks correct.
Thorsten
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: \@listctr error
I removed the unnecessary packages and corrected the parenthesis typo.
Thanks for pointing out.
It still doesn't work. Any other guess?
Thanks for pointing out.
It still doesn't work. Any other guess?
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
\@listctr error
I must admit that I only browsed your code. Redefinition of the thebibliography is not that simple. I suggest to use BibTeX with the bibliography style from your thesis. That seems to be the quickest solution.
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: \@listctr error
Dear localghost,
Indeed it would be easier because I'm already familiarized, but the journal wants the enumeration of the names in the paper as a last section.
I emailed my advisor, if he helps me I post here the solution
Thanks
Renato
Indeed it would be easier because I'm already familiarized, but the journal wants the enumeration of the names in the paper as a last section.
I emailed my advisor, if he helps me I post here the solution
Thanks
Renato
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Re: \@listctr error
I can't really follow you. Indeed the bibliography is a section as usual (just unnumbered), whether done with or without BibTeX. If you don't need to cite, you could use a simple list for your references. Useful information is a little bit sparsely in your posts.
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: \@listctr error
In the journal words:
Number the references (numbers in square brackets) in the list in the order in which they appear in the text.
I have to cite them so that a number appears in the text and in the list at the end of the article.
I could order them manually one by one by I'm trying to avoid it.
Number the references (numbers in square brackets) in the list in the order in which they appear in the text.
I have to cite them so that a number appears in the text and in the list at the end of the article.
I could order them manually one by one by I'm trying to avoid it.
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
\@listctr error
In this case it is easy. We have to pick up the necessary code from the »article« class file and modify it to fit your demands.
This matches for the most part the original environment except the first line to center the heading.
Code: Select all
\documentclass[11pt,a4paper,english]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{babel}
\usepackage{blindtext}
\makeatletter
\renewenvironment{thebibliography}[1]
{\medskip\begin{center}\Large\scshape\bfseries\refname\end{center}%
\@mkboth{\MakeUppercase\refname}{\MakeUppercase\refname}%
\list{\@biblabel{\@arabic\c@enumiv}}%
{\settowidth\labelwidth{\@biblabel{#1}}%
\leftmargin\labelwidth
\advance\leftmargin\labelsep
\@openbib@code
\usecounter{enumiv}%
\let\p@enumiv\@empty
\renewcommand\theenumiv{\@arabic\c@enumiv}}%
\sloppy
\clubpenalty4000
\@clubpenalty \clubpenalty
\widowpenalty4000%
\sfcode`\.\@m}
{\def\@noitemerr
{\@latex@warning{Empty `thebibliography' environment}}%
\endlist}
\makeatother
\begin{document}
\blindtext
\begin{thebibliography}{9}
\bibitem{simpson:98} Homer J. Simpson. \newblock Evergreen Terrace Printing Co., Springfield, SomewhereUSA, 1998
\end{thebibliography}
\end{document}
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: \@listctr error
Dear localghost,
Thank you very much!
I didn't understand what you did but it worked!
Many thanks!
Renato
Thank you very much!
I didn't understand what you did but it worked!
Many thanks!
Renato
Re: \@listctr error
Dear localghost,
Actually it is working but not as I expected.
The citations are not being put in order according to appearance.
They are being put alphabetically. Is there a simple way to revert it?
Thanks
Renato
Actually it is working but not as I expected.
The citations are not being put in order according to appearance.
They are being put alphabetically. Is there a simple way to revert it?
Thanks
Renato
Last edited by feanor22 on Wed Jun 09, 2010 6:00 pm, edited 1 time in total.