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 trying to use the tabu package, but it returns a warning which does not seem like a good sign. Does anyone know how to resolve the following issue?

LaTeX Warning: You have requested, on input line 68, version '2008/09/09' of package array, but only version '2008/07/23' is available.

I am using MikTex on windows and I have updated my complete MikTex library with the update manager, but the warning still occurs.

UPDATE
It seems to be a bit more complicated than I thought. The array package requested is emulated by the memoir package.

The log file outputs:

Package array [2008/07/23] emulated by memoir.

This is my preamble, which I hope is sufficient:

\documentclass[twoside,a4paper,11pt]{memoir}
\usepackage{times}
\usepackage{pslatex}
\usepackage{url}
\usepackage{mscthesis}
\usepackage{cleveref}
\usepackage{tabu}

\usepackage{algorithm}

\usepackage[dvips]{graphicx}
\usepackage[table]{xcolor}
share|improve this question
    
What version of MiKTeX are you using? –  egreg Jun 5 '12 at 21:50
    
I don't know if this is the correct answer, but it says: MikTex Package Manager 2.9.4196. –  Marnix Jun 5 '12 at 21:55
    
The answer then is that you have an old array.sty file hanging somewhere. –  egreg Jun 5 '12 at 21:56
    
And what would be correct ways to fix this? Could you name a couple of folders where I can check for that? And if I have found it, should I just delete it? –  Marnix Jun 5 '12 at 22:01
    
In the log file resulting from the LaTeX run you should find a reference to array.sty, with the complete path of the file. Can you see it? –  egreg Jun 5 '12 at 22:09

1 Answer 1

up vote 11 down vote accepted

The manual of memoir says that emulated package can be "disemulated", so the instructions

\documentclass{memoir}
\DisemulatePackage{array}
\usepackage{array}

should do the job (I omit options and other packages just for the sake of brevity). However, it doesn't seem to work for array, because some errors are raised about already defined things, for example

! LaTeX Error: Command \extratabsurround already defined.

You have two strategies: ignore the warning raised by tabu or say

\documentclass{memoir}
\makeatletter
\@namedef{ver@array.sty}{2008/09/09}
\makeatother

so that the warning won't be raised by tabu nor the errors mentioned before will appear. It's quite curious that memoir sets the date 2008/07/23, as version 2.4b of array is dated 2005/08/23 and version 2.4c has date 2008/09/09. So I believe there is no risk of incurring in issues, provided the emulation is full (which it should be).


Notice that times and pslatex are obsolete packages. Use mathptmx or try

\usepackage{newtxtext,newtxmath}
share|improve this answer
    
Thanks. That seems like a logical move, but it returns errors for commands that are already defined. Example: ! LaTeX Error: Command \extratabsurround already defined. I cannot find from which package this errors comes. –  Marnix Jun 5 '12 at 22:22
    
@Marnix I've changed the answer. I would simply keep the annoying warning, but I suggested a way to avoid it anyway. –  egreg Jun 5 '12 at 22:44
    
Thanks, that works. How should I indicate the problem to the maintainer of memoir? I don't know who that is. I'm just using a template from my university. –  Marnix Jun 5 '12 at 22:48
    
@daleif Can you look into this, please? –  egreg Jun 5 '12 at 22:58
1  
@Marnix The previous comment is addressed to the mantainer (who happens to be around here). –  egreg Jun 5 '12 at 22:59

Your Answer

 
discard

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

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