[texhax] hyperref package

lina lina.lastname at gmail.com
Fri Mar 23 10:18:17 CET 2012


On Fri, Mar 23, 2012 at 4:53 PM, Viktor Ahlqvist <viktor at datakaka.net> wrote:
> The only cite command in a caption I found was in toxicmech.tex, line 8:
> Old line:     \caption[The density function .\cite{metabolism}}
>
> You have one square and one curly bracket. I changed the square into a
> curly and added a \protect command
>   \caption{The density function \protect\cite{metabolism}}

It was a typo during the preparation the template. (Sorry a bit mind-exhausted)
>
> And the document works just fine for me (again using pdfTeX, Version
> 3.1415926-2.3-1.40.12 (TeX Live 2011) on Mac OS X)

I use pdflatex
>
> You probably already knows this, but the square brackets are for
> alternative caption in table of figures.
>    \caption[Alternative caption for table of figures]{The density
> function \protect\cite{metabolism}}

surprisingly, it works this time. I can't remember why last time not work.

Thanks with best regards,

>
>
> /Viktor
>
>
> On 23 March 2012 09:28, lina <lina.lastname at gmail.com> wrote:
>> On Fri, Mar 23, 2012 at 3:59 PM, Martin Schröder <martin at oneiros.de> wrote:
>>> 2012/3/23 lina <lina.lastname at gmail.com>:
>>>> Can someone give me some suggestions about how to fix. here is the
>>>> head of the tex file.
>>>
>>> Please post a _minimal_ _complete_ file showing the problem together
>>> with a _complete_ log file.
>>
>> It's involves the figure caption part and reference from some a bit
>> heavy thesis.
>>
>> I tried to build a new one, but choked. anyway, I uploaded whole into
>> following link.
>>
>> Please do have a look and give me some feedback, I spend 30 minutes to
>> prepare for this template.
>>
>> https://docs.google.com/open?id=0B93SVRfpVVg3VlY1bmhzT1dTUWlfTzhzRV82UGRhQQ
>>
>>
>>>
>>> Best
>>>   Martin
>>> _______________________________________________
>>> TeX FAQ: http://www.tex.ac.uk/faq
>>> Mailing list archives: http://tug.org/pipermail/texhax/
>>> More links: http://tug.org/begin.html
>>>
>>> Automated subscription management: http://tug.org/mailman/listinfo/texhax
>>> Human mailing list managers: postmaster at tug.org
>>
>> _______________________________________________
>> TeX FAQ: http://www.tex.ac.uk/faq
>> Mailing list archives: http://tug.org/pipermail/texhax/
>> More links: http://tug.org/begin.html
>>
>> Automated subscription management: http://tug.org/mailman/listinfo/texhax
>> Human mailing list managers: postmaster at tug.org



More information about the texhax mailing list