Guenter Milde | 11 Sep 2009 09:54
Picon

Re: Latex figures: captions, labels, numbers, and refs

On 2009-09-10, Ryan Krauss wrote:

> Thanks for your reply.  I think I am close (and I think I followed your
> directions).

> Here is the tail end of the output from pdflatex:
> ("C:\Program Files\MiKTeX 2.7\tex\latex\hyperref\hpdftex.def")
> (labview_tutorial.aux
> ! Missing \endcsname inserted.
><to be read again>
>                    \protect
> l.23 ... Automation Explorer)\relax }{figure.1}{}}

> ?

>>>> Here is the beginning of the rst file:

>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> Lab 03: Introduction to LabVIEW DAQ
>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

...

>>> and here is the generated tex for the figure

> \begin{figure}[htbp]
> \centering

> \includegraphics[width=3D4.0in]{screenshots/launch_NI_Max.jpg}
> \caption{\docutilsrolelabel{launchmax} Screen shot for launching NI-MAX
> (National
> Instruments Measurement and Automation Explorer)}\end{figure}

> What am I doing wrong?

I don't know and cannot tell from the given info. 

* In the LaTeX file, try replacing "\docutilsrolelabel" with "\label"
  and "\docutilsroleref" with "\ref".

* Provide a `minimal example`: the smallest possible (but complete!) 
  rst file that exhibits the problem.

Günter

PS: no TOFU (text oben (above) full quote unten (below)) please.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Docutils-users mailing list
Docutils-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/docutils-users

Please use "Reply All" to reply to the list.

Gmane