LaTeX forum ⇒ Text FormattingAnnex Footnote Error

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Posts: 76
Joined: Tue Nov 02, 2010 11:40 pm

Annex Footnote Error

Postby sw3quant » Fri Oct 11, 2013 4:43 pm

I have a been given a large template, with associated classes and macros, as outlined below. Due to the size and complexity of this template I will not post a MWE but the template can be seen here:

In chapter1.tex I write
  1. \footnote{See Annex \ref{AnnexA}}

annexA.tex is a file which contains the code
  1. \chapter{Annex A}\label{AnnexA}

When the document compiles, I see in the PDF, the footnote, but it does say "See Annex A" as it should do, but "See 8.2.7". The hyperlink does work.

How can I force this to show the correct text on compiling?

  1. \documentclass[oneside,8pt]{Classes/myClass}
  2. \begin{document}
  3. \usepackage[toc,page]{appendix}
  4. \maketitle
  5. \frontmatter
  6. \tableofcontents
  7. \mainmatter
  8. \include{Chapter1/chapter1}
  9. \backmatter
  10. \begin{appendices}
  11. \renewcommand{\thesection} {A.\arabic{section}}
  12. \include{AnnexA/AnnexA} % Annex A
  13. \end{appendices}
  16. \end{document}


User avatar
Site Moderator
Posts: 1993
Joined: Sat Apr 16, 2011 7:27 pm

Postby cgnieder » Sun Oct 13, 2013 10:09 am

Can you make a Infominimal working example that let's us reproduce your issues? The code you posted contains several custom files that we don't have (and which are probably unrelated to the issue...) With

  1. \documentclass[oneside,8pt]{myClass}
  2. \begin{document}
  3. \usepackage[toc,page]{appendix}
  4. \maketitle
  5. \frontmatter
  6. \tableofcontents
  7. \mainmatter
  8. \chapter{First chapter}
  9. See chapter~\ref{foo}.
  10. \backmatter
  11. \begin{appendices}
  12. \renewcommand{\thesection} {A.\arabic{section}}
  13. \chapter{First chapter in appendix}\label{foo}
  14. \end{appendices}
  15. \end{document}

the problem should still show up (can you verify this?) but we'd still need the class file.

site moderator & package author

Posts: 76
Joined: Tue Nov 02, 2010 11:40 pm

Postby sw3quant » Mon Oct 14, 2013 12:36 pm

Please see attached the MWE, as requested.

You will see that the hyperlink on page 1 says "See Annex 1" and not "See Annex A" as I would wish it to.
(55.57 KiB) Downloaded 143 times

Return to “Text Formatting”

Who is online

Users browsing this forum: No registered users and 3 guests