BibTeX, biblatex and biberCompilation errors: memoir class

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
tonguim
Posts: 24
Joined: Fri Nov 06, 2009 4:32 pm

Compilation errors: memoir class

Post by tonguim »

Hallo all,

I'm having some compilation errors. My aim is to generate a bibliography at the end of each chapter.

The document class package file is attached to this message.

This is the main file code:

Code: Select all

\documentclass[PhD,english,francais]{ulthese}
  \ifxetex\else \usepackage[utf8]{inputenc} \fi

  \usepackage{amsmath}          % recommandé pour les mathématiques
  \usepackage{hyperref}
  \hypersetup{colorlinks,allcolors=ULlinkcolor}
  \frenchbsetup{%
    CompactItemize=false,         % ne pas compacter les listes
    ThinSpaceInFrenchNumbers=true % espace fine dans les nombres
  }

  \bibliographystyle{}
  \titre{<Rapport>}
\begin{document}

\mainmatter                     % corps du document

\input{../chap1_introduction/chap1_introduction}

\appendix                       % annexes le cas échéant

\bibliography{}                 % production de la bibliographie

\end{document}
Below is the message I get on the terminal:
XXXX@IFTEaigny2:~/Phd/principal$ pdflatex principal.tex
This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian)
entering extended mode
(./principal.tex
LaTeX2e <2009/09/24>
Babel <v3.8l> and hyphenation patterns for english, usenglishmax, dumylang, noh
yphenation, farsi, arabic, croatian, bulgarian, ukrainian, russian, czech, slov
ak, danish, dutch, finnish, french, basque, ngerman, german, german-x-2009-06-1
9, ngerman-x-2009-06-19, ibycus, monogreek, greek, ancientgreek, hungarian, san
skrit, italian, latin, latvian, lithuanian, mongolian2a, mongolian, bokmal, nyn
orsk, romanian, irish, coptic, serbian, turkish, welsh, esperanto, uppersorbian
, estonian, indonesian, interlingua, icelandic, kurmanji, slovenian, polish, po
rtuguese, spanish, galician, catalan, swedish, ukenglish, pinyin, loaded.
(./ulthese.cls
Document Class: ulthese 2014/05/23 v3.1 Classe pour les theses et memoires de l
'Universite Laval
(/usr/share/texmf-texlive/tex/latex/base/ifthen.sty)
(/usr/share/texmf-texlive/tex/generic/ifxetex/ifxetex.sty)
(/usr/share/texmf-texlive/tex/latex/memoir/memoir.cls
Document Class: memoir 2009/09/21 v1.61803398b configurable book, report, artic
le document class
(/usr/share/texmf-texlive/tex/generic/oberdiek/ifpdf.sty)
(/usr/share/texmf-texlive/tex/latex/etex-pkg/etex.sty)
! Undefined control sequence.
l.686 \openright

?
As you can see, the compilation process is halted.

Based on the message rendered by the terminal, when I run this command line:

Code: Select all

ll /usr/share/texmf-texlive/tex/latex/memoir/
I get the following:
XXXX@IFTEaigny2:~/Phd/principal$ ll /usr/share/texmf-texlive/tex/latex/memoir/
total 464
drwxr-xr-x 2 root root 4096 nov 13 2013 ./
drwxr-xr-x 1209 root root 32768 nov 13 2013 ../
-rw-r--r-- 1 root root 3986 jui 16 2009 mem10.clo
-rw-r--r-- 1 root root 4044 jui 16 2009 mem11.clo
-rw-r--r-- 1 root root 4080 jui 16 2009 mem12.clo
-rw-r--r-- 1 root root 4096 jui 16 2009 mem14.clo
-rw-r--r-- 1 root root 4062 jui 16 2009 mem17.clo
-rw-r--r-- 1 root root 3720 jui 16 2009 mem20.clo
-rw-r--r-- 1 root root 3728 jui 16 2009 mem25.clo
-rw-r--r-- 1 root root 3734 jui 16 2009 mem30.clo
-rw-r--r-- 1 root root 3735 jui 16 2009 mem36.clo
-rw-r--r-- 1 root root 3744 jui 16 2009 mem48.clo
-rw-r--r-- 1 root root 3756 jui 16 2009 mem60.clo
-rw-r--r-- 1 root root 4098 jui 16 2009 mem9.clo
-rw-r--r-- 1 root root 9215 fév 6 2009 memhfixc.sty
-rw-r--r-- 1 root root 364619 sep 27 2009 memoir.cls
-rw-r--r-- 1 root root 1227 jui 26 2009 mempatch.sty
I don't know if I'm right, but I suspect a conflict version between the version of memoir package used in the document class package, and the one installed on my computer, that is older. Is that the problem?

If that is, how do I update latex on my computer? As operating system, My computer runs Ubuntu 12.04, 64 bits, with texlive-full package. I have tried to update texlive-full package two days ago, to fix the above mentioned problem but have learnt that it is impossible to do the update process automatically under ubuntu because the latex tlmgr updater engine doesn't work under Ubuntu.

Thank you.
Attachments
ulthese.cls
Document class package file
(12.23 KiB) Downloaded 320 times
Last edited by tonguim on Tue Aug 05, 2014 4:21 pm, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX books
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Compilation errors: memoir class

Post by Johannes_B »

Ubuntu 12.04 contains a very old teXLive in its reps. You can either install a vanilla TeXLive from TUG. Or use a script (should be applicable to 2014 as well).

Another possibility would be to dist-upgrade your system.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10308
Joined: Mon Mar 10, 2008 9:44 pm

Compilation errors: memoir class

Post by Stefan Kottwitz »

Remove that line in your version of ulthese.cls:

Code: Select all

\RequirePackage{ifxetex}
It's at the beginning, before memoir is loaded. memoir provides its own ifxetex feature. I'm sure that this conflict is fixed in a later version of memoir, but omitting ixfetex could already help you to continue with the work, until you had an opportunity to update your TeX distribution. You are using pdfLaTeX anyway, not XeTeX.

Stefan
LaTeX.org admin
tonguim
Posts: 24
Joined: Fri Nov 06, 2009 4:32 pm

Compilation errors: memoir class

Post by tonguim »

Johannes_B wrote:Ubuntu 12.04 contains a very old teXLive in its reps. You can either install a vanilla TeXLive from TUG. Or use a script (should be applicable to 2014 as well).
I have updated TexLive on my system using the script you gave. Thank you Johannes.

After the updating process, when I tried to run the bibtex command, I got some errors due to a conflict between the two versions of Latex running on my system. The process to fix this problem is given here.
Stefan_K wrote:Remove that line in your version of ulthese.cls:

Code: Select all

\RequirePackage{ifxetex}
It's at the beginning, before memoir is loaded. memoir provides its own ifxetex feature. I'm sure that this conflict is fixed in a later version of memoir, but omitting ixfetex could already help you to continue with the work, until you had an opportunity to update your TeX distribution. You are using pdfLaTeX anyway, not XeTeX.
Stefan
Before I updated TexLive on my system, I followed your instruction and removed

Code: Select all

\RequirePackage{ifxetex}
. This procedure fixed the problem and the compilation process went successfully. After I have updated TexLive on my system, I put again in place that same line and no error was generated at the compilation. Now with the same line took in account in ulthese.cls the compilation process runs successfully. Thank you Stefan.

So as you both stated above, I think the problem came from a conflict between the old version of TexLive I had and the version of memoir class used in ulthese.cls.
Post Reply