Is this my error or of pdfLaTeX?

Herbert Voss Herbert.Voss at fu-berlin.de
Thu Nov 12 17:33:57 CET 2020



Am 12.11.20 um 12:51 schrieb mail at heinzebert.de:
> To Whom it may concern at texhax at tug.org
> According to this E-Mail:
> Sehr geehrter Herr Ebert —
> mail at heinzebert.de wrote:
>> To Whom it may concern
>> The caption part of following statements generates several error 
>> messages by using pdfLaTeX:
> As the errors come from pdfLaTeX and not from TeXworks, this list 
> (which is devoted solely to matters concerning TeXworks) is not the 
> optimal place to ask.  I would suggest that you re-send your question 
> to texhax at tug.org.
> Mit freundlichen Grüßen —
> Philip Taylor
>
> TeXworks 2019 version 0.6.3(travis-ci) [r.a2470ca, 16.03.2019 18:06]
> Windows 8 professional 64Bit version
> The caption part of following statements generates several error 
> messages by using pdfLaTeX:
>
> \begin{figure}[htbp]
>    \centering
>    \includegraphics[scale=0.5]{CollatzTree.pdf}
>    \caption{Grid graph representation of the tree 
> ${\boldsymbol{A}}_{\overrightarrow{C}}(1)$. The map 
> $\overrightarrow{C}$ is the generating function.}
>    \label{fig:FT}
> \end{figure}
>

Use always $\protect\Col$ in the section header and \caption.

By the way:
\newcommand{\Cgr}[0]{{\boldsymbol{\mathrm{C}}}_{\overrightarrow{C}}}

is the same as
\newcommand\Cgr{...}


Herbert


More information about the texhax mailing list.