Links to minted listings are broken if classicthesis is used.

Issue #16 closed
Former user created an issue

``` What steps will reproduce the problem? 1. Install minted 2. Create the pdf without classicthesis pdflatex -shell-escape listing.without_classicthesis pdflatex -shell-escape listing.without_classicthesis

Open the pdf and go to the last page. Click on the Link in the list of listings. It will bring you to the second page where the listing is defined.

3. Create the pdf with classicthesis pdflatex -shell-escape listing.with_classicthesis pdflatex -shell-escape listing.with_classicthesis

Open the pdf and go to the last page. Click on the Link in the list of listings. It will bring you to the first page, but not to the listing as expected.

Furthermore, this warning is issued when creating the pdf: (./listing.with_classicthesis.aux) )pdfTeX warning (dest): name{listing.1} has been referenced but does not exist, replaced by a fixed one

What version of the product are you using? On what operating system?

OS: Ubuntu 10.10 minted: 2010/01/27 v1.6 Yet another Pygments shim for LaTeX classicthesis: 2010/05/01 v2.8 Typographic Style for a classic-looking thesis

$pdflatex --version pdfTeX 3.1415926-1.40.10-2.2 (TeX Live 2009/Debian) kpathsea version 5.0.0 Copyright 2009 Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX). There is NO warranty. Redistribution of this software is covered by the terms of both the pdfTeX copyright and the Lesser GNU General Public License. For more information about these matters, see the file named COPYING and the pdfTeX source. Primary author of pdfTeX: Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX). Compiled with libpng 1.2.44; using libpng 1.2.44 Compiled with zlib 1.2.3.4; using zlib 1.2.3.4 Compiled with poppler version 0.14.2

All other packages as provided by texlive 2009

```

Original issue reported on code.google.com by `tobiascgrosser` on 2010-12-31 17:59:14 <hr>

Comments (5)

  1. Former user Account Deleted

    ``` This bug is not related to the minted package. I just figured out that links from acronyms back to the description do not work either.

    The problem is even easier to reproduce:

    pdflatex acronym.without_classicthesis.tex pdflatex acronym.without_classicthesis.tex

    pdflatex acronym.with_classicthesis.tex pdflatex acronym.with_classicthesis.tex

    The last command issues the warning mentioned above

    "pdfTeX warning (dest): name{AS} has been referenced but does not exist, replaced by a fixed one"

    The resulting pdfs have different behaviour after a click on the acronym link on page to. The one without classicthesis jumps to the acronym list on page three where the description is shown. The one with classicthesis jumps to the first page.

    ```

    Original issue reported on code.google.com by `tobiascgrosser` on 2010-12-31 18:10:45 <hr>

  2. André Miede repo owner

    ``` Hi Tobias,

    that is indeed a very strange behaviour you stumbled upon. Although I couldn't test the minted stuff on my installation, the acronym problem is rather tricky.

    What's even more astonishing: if I run the standard acronym example with classicthesis, it works. And if I copy some acronyms from this example into your minimal example, it works as well (see attached examples). :-O

    As the linking works in the main classicthesis example and with the typical examples, I decided not to take any further action. Please let me know if you find any other issues like this (ideally via email).

    Cheers,

    André

    ```

    Original issue reported on code.google.com by `amiede` on 2011-01-01 17:48:20 <hr>

  3. Former user Account Deleted

    ``` Interesting. I was able to solve the acronym problem.

    The reason was that I used

    \begin{acronym}

    instead of

    \begin{acronym}[LARGESTACRONYMHERE]

    Interesting way to fail. However this does not yet solve the minted issue.

    ```

    Original issue reported on code.google.com by `tobiascgrosser` on 2011-01-01 19:06:29

  4. Former user Account Deleted

    ``` This issue can be worked around changing the include order from:

    \usepackage{classicthesis-ldpkg} \usepackage{classicthesis} \usepackage{minted}

    to

    \usepackage{minted} \usepackage{classicthesis-ldpkg} \usepackage{classicthesis}

    ```

    Original issue reported on code.google.com by `tobiascgrosser` on 2011-01-01 19:48:52

  5. Log in to comment