Page Layoutcaption | Unknown Option

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
gsaray101
Posts: 1
Joined: Thu Jan 31, 2013 7:26 pm

caption | Unknown Option

Post by gsaray101 »

I have a sweave file which I have R code to generate graphs and tables. When I execute Sweave("test.rnw"), it works, it creates teh test.tex file. But when I issue texi2pdf("test.tex", clean=T), I get this error:

Code: Select all

LaTeX Error: Unknown option `tableposition=top' for package `caption'.
What does this error mean? Has anybody seen this, how can I go about resolving this?

Recommended reading 2024:

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

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

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

caption | Unknown Option

Post by localghost »

Your version of the caption bundle is outdated. Update the package by the package manager of your TeX distribution.


Best regards and welcome to the board
Thorsten
User avatar
sommerfee
Posts: 503
Joined: Mon Apr 09, 2007 4:20 pm

caption | Unknown Option

Post by sommerfee »

localghost wrote:Your version of the caption bundle is outdated.
Since the option tableposition exists since January 2004 I would even say that the TeX system is very outdated.

So personally, I would not update a single package here but the whole TeX distribution instead.
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

caption | Unknown Option

Post by localghost »

sommerfee wrote:Since the option tableposition exists since January 2004 I would even say that the TeX system is very outdated. […]
Since the version history in the package manual is not so detailed, I couldn't say since when this option exists. For such an old package I also would have recommended a distribution upgrade.
Post Reply