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.
\caption[$Set\:3$: Intermediate set]{$Set\:3$: Intermediate set; Classical orifice plate ($s3c$); Plate numbers ($s3f(0-3)$); Classical plate,($s3p$).}

Is this a wrong caption? Because it is prompting an error as follows pointing at the line number of this caption:

Tex capacity exceeded, sorry [main memory size 1500000].
share|improve this question
1  
Is it a very big document? I would write Set $3$ anyway, but surely that's not the culprit. –  egreg Sep 1 '11 at 10:24
3  
It compiles fine for me. Could you turn your code snippet into a minimal compilable file that reproduces the error? –  Jake Sep 1 '11 at 10:25
    
Yes, the document is indeed very big. Surprisingly, building in texshop, no error is produced unlike texniccenter. –  gamahuri Sep 4 '11 at 16:04

1 Answer 1

I build a minimal example with your fragment. It works fine whether I load hyperref or not.

\documentclass{article}
\usepackage{hyperref}
\begin{document}
\listoffigures
\begin{figure}[!ht]
\caption[$Set\:3$: Intermediate set]{$Set\:3$: Intermediate set; Classical orifice plate ($s3c$); Plate numbers ($s3f(0-3)$); Classical plate,($s3p$).}
\end{figure}
\end{document}

Small tip: you can't use math expression in bookmarks. You will get the warning:

Token not allowed in a PDF string

To avoid this use:

\texorpdfstring{<expression in text>}{<expression in bookmark>}
share|improve this answer
    
Thanks Marco for the feedback. –  gamahuri Sep 4 '11 at 16:06

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.