Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

EDIT: This problem has been solved. It was as easy as this: one of the appendices had an \end{document}due to a copy-paste mistake. So if you ever have this problem, search for something like that. I apologize for any time wasted on problem solving here guys...

I have a problem including appendices in my latex article. When I compile, just 2 of the 5 appendices I have included in the code are actually included in the pdf. Both the text and the TOC are missing from the 3 last appendices. TexShop compiles without complaints.

The code used are:

\documentclass[a4paper,english,12pt]{article}

\usepackage{graphicx, tabularx, amssymb, amsmath, wasysymb, booktabs, url, fancyhdr}
\usepackage{appendix, enumerate, geometry, parskip, cite}
\usepackage[hang,small,bf]{caption}
\usepackage{geometry, parskip}

\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}

\begin{document}

%Document contents

%------------- The Bibliography -------------
\addcontentsline{toc}{section}{References}
\newpage
\bibliography{Bibliography/ref}
\bibliographystyle{plain}   %unsrt

%------------- Appendices -------------
\newpage
\appendix
\addappheadtotoc

\input Appendices/appendix_group-logs
\input Appendices/appendix_spgr-task
\input Appendices/appendix_group-contract
\input Appendices/appendix_group-contract-revised
\input Appendices/appendix_group-agreement

\end{document}

Does somebody have an idea about what's going on? Thanks in advance! =)

share|improve this question

closed as too localized by egreg, qubyte, Joseph Wright Apr 21 '12 at 12:35

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

    
First of all try using braces: \input{Appendices/...} –  egreg Apr 21 '12 at 12:11
    
Yup, tried it. Didn't do the trick... –  Holene Apr 21 '12 at 12:25
1  
Look at what the .log file says. However, it's possible that the second appendix file contains \end{document} –  egreg Apr 21 '12 at 12:29
    
You were absolutely right, my man! –  Holene Apr 21 '12 at 12:30
    
The question has been closed as "too localized", which doesn't mean it was a bad question. –  egreg Apr 21 '12 at 12:37

Browse other questions tagged or ask your own question.