LaTeX forum ⇒ GeneralPackage caption Error: For a successful cooperation we need at least version(caption) is available.\begin{document}

LaTeX specific issues not fitting into one of the other forums of this category.
sreemoyee07
Posts: 3
Joined: Tue May 02, 2017 6:21 am

Package caption Error: For a successful cooperation we need at least version(caption) is available.\begin{document}

Postby sreemoyee07 » Tue May 02, 2017 6:41 am

Package caption Error: For a successful cooperation we need at least version(caption) is available. \begin{document}
\caption will not be redefined since it's already(caption) redefined by a document class or package which is(caption) unknown to the caption package.

Please help how to solve this problem.

Tags:

User avatar
cgnieder
Site Moderator
Posts: 1993
Joined: Sat Apr 16, 2011 7:27 pm

Postby cgnieder » Tue May 02, 2017 11:55 am

can you please show a Infominimal working example which produces this error? Otherwise we won't be able to say much.

The error message is produced by the caption package through its \caption@If@Package@Loaded command. This command is used two times by the caption package.
  • Once for checking if the float package has been loaded and if its version is at least 2001/11/08 v1.3d and
  • once for checking if the floatrow package has been loaded and its version is at least 2007/08/24 v0.2a

The error should mean that one of those packages has been loaded but is too old. This suggests that you probably have a rather old TeX distribution (the current version of float is from 2001 and the current version of floatrow from 2009!) and should update. But the real problem could be something different which we won't be able to tell without a Infominimal working example.
site moderator & package author

sreemoyee07
Posts: 3
Joined: Tue May 02, 2017 6:21 am

Postby sreemoyee07 » Tue May 02, 2017 12:46 pm

Code: [Select all] [Expand/Collapse] [Download] ({untitled.tex})
  1. \documentclass[a4paper, 12pt,oneside]{book}
  2. \input{Preamble_matter}
  3. \usepackage{epstopdf}
  4. \usepackage{caption}
  5. \usepackage{subfigure}
  6. \usepackage{indentfirst}
  7. \begin{document} %error is occurring in this line
  8. %\input{Front_matter_new}
  9.  
  10. \markboth
  11. {\Headingsize \it Chapter 1: Introduction}
  12. {\Headingsize \it Chapter 1:Introduction}
  13. \input{Introduction_chapter}
  14.  
  15. \markboth
  16. {\Headingsize \it Chapter 2: Synthesis Schemes}
  17. {\Headingsize \it Chapter 2: Synthesis Schemes}
  18. \input{chapter2}
Last edited by Stefan Kottwitz on Tue May 02, 2017 12:53 pm, edited 1 time in total.
Reason: code marked

User avatar
Stefan Kottwitz
Site Admin
Posts: 9609
Joined: Mon Mar 10, 2008 9:44 pm

Postby Stefan Kottwitz » Tue May 02, 2017 12:56 pm

Welcome to the forum!

Can you please insert the command \listfiles into your document preamble, compile again, and post the .log file here as attachment?

Stefan
LaTeX.org admin


Return to “General”

Who is online

Users browsing this forum: No registered users and 8 guests