Subsection Appears Twice











up vote
0
down vote

favorite












I'm writing a report including images and pdf files, and I just realized there was a bug with the last subsections: they appear twice when I create the pdf ![Short extract of the generated pdfIt only happens with the two last subsections, and I can't figure out why... Notice that I use the commands pagestyle{plain} and pagestyle{fancy} at lines 436 and 441 before and after adding my pdf files, in order to hide the header for those pages. Maybe there's a better way to proceed ? Moreover, section 7.11 doesn't appear in the table of content.
Second image



You can find the overleaf version here:
https://www.overleaf.com/read/ggwypbtrnvxb



Any idea is welcome (the text is in french but it doesn't really matter) ;)



Thanks










share|improve this question







New contributor




Diego Houtart is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • Why are you using an empty paragraph{}?
    – Sigur
    3 hours ago










  • Agree with @Sigur You don't need to use those. There are certain cases where you should explicitly use par. But for most documents, you simply put a blank space in between each paragraph.
    – whatisit
    3 hours ago






  • 4




    note that it is really much better if you make a small example and copy it here rather than linking to an external site. Your question and any answers are archived here forever and will not make sense if you edit the document at the link in the question.
    – David Carlisle
    3 hours ago






  • 1




    note that paragraph{This} is a level 4 section heading and should only be used if you need sections that deep after section, subsection, subsubsection, paragraph,subparagraph
    – David Carlisle
    3 hours ago










  • After looking through the document, I realized paragraph{} is not used like par, as I mentioned in my previous comment. I had thought that because I saw a lot of empty paragraphs{} at the beginning of each paragraph. Either way, it's a bit strange to use empty ones.
    – whatisit
    1 hour ago















up vote
0
down vote

favorite












I'm writing a report including images and pdf files, and I just realized there was a bug with the last subsections: they appear twice when I create the pdf ![Short extract of the generated pdfIt only happens with the two last subsections, and I can't figure out why... Notice that I use the commands pagestyle{plain} and pagestyle{fancy} at lines 436 and 441 before and after adding my pdf files, in order to hide the header for those pages. Maybe there's a better way to proceed ? Moreover, section 7.11 doesn't appear in the table of content.
Second image



You can find the overleaf version here:
https://www.overleaf.com/read/ggwypbtrnvxb



Any idea is welcome (the text is in french but it doesn't really matter) ;)



Thanks










share|improve this question







New contributor




Diego Houtart is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • Why are you using an empty paragraph{}?
    – Sigur
    3 hours ago










  • Agree with @Sigur You don't need to use those. There are certain cases where you should explicitly use par. But for most documents, you simply put a blank space in between each paragraph.
    – whatisit
    3 hours ago






  • 4




    note that it is really much better if you make a small example and copy it here rather than linking to an external site. Your question and any answers are archived here forever and will not make sense if you edit the document at the link in the question.
    – David Carlisle
    3 hours ago






  • 1




    note that paragraph{This} is a level 4 section heading and should only be used if you need sections that deep after section, subsection, subsubsection, paragraph,subparagraph
    – David Carlisle
    3 hours ago










  • After looking through the document, I realized paragraph{} is not used like par, as I mentioned in my previous comment. I had thought that because I saw a lot of empty paragraphs{} at the beginning of each paragraph. Either way, it's a bit strange to use empty ones.
    – whatisit
    1 hour ago













up vote
0
down vote

favorite









up vote
0
down vote

favorite











I'm writing a report including images and pdf files, and I just realized there was a bug with the last subsections: they appear twice when I create the pdf ![Short extract of the generated pdfIt only happens with the two last subsections, and I can't figure out why... Notice that I use the commands pagestyle{plain} and pagestyle{fancy} at lines 436 and 441 before and after adding my pdf files, in order to hide the header for those pages. Maybe there's a better way to proceed ? Moreover, section 7.11 doesn't appear in the table of content.
Second image



You can find the overleaf version here:
https://www.overleaf.com/read/ggwypbtrnvxb



Any idea is welcome (the text is in french but it doesn't really matter) ;)



Thanks










share|improve this question







New contributor




Diego Houtart is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











I'm writing a report including images and pdf files, and I just realized there was a bug with the last subsections: they appear twice when I create the pdf ![Short extract of the generated pdfIt only happens with the two last subsections, and I can't figure out why... Notice that I use the commands pagestyle{plain} and pagestyle{fancy} at lines 436 and 441 before and after adding my pdf files, in order to hide the header for those pages. Maybe there's a better way to proceed ? Moreover, section 7.11 doesn't appear in the table of content.
Second image



You can find the overleaf version here:
https://www.overleaf.com/read/ggwypbtrnvxb



Any idea is welcome (the text is in french but it doesn't really matter) ;)



Thanks







sectioning pdf






share|improve this question







New contributor




Diego Houtart is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question







New contributor




Diego Houtart is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question






New contributor




Diego Houtart is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 3 hours ago









Diego Houtart

1




1




New contributor




Diego Houtart is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Diego Houtart is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Diego Houtart is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












  • Why are you using an empty paragraph{}?
    – Sigur
    3 hours ago










  • Agree with @Sigur You don't need to use those. There are certain cases where you should explicitly use par. But for most documents, you simply put a blank space in between each paragraph.
    – whatisit
    3 hours ago






  • 4




    note that it is really much better if you make a small example and copy it here rather than linking to an external site. Your question and any answers are archived here forever and will not make sense if you edit the document at the link in the question.
    – David Carlisle
    3 hours ago






  • 1




    note that paragraph{This} is a level 4 section heading and should only be used if you need sections that deep after section, subsection, subsubsection, paragraph,subparagraph
    – David Carlisle
    3 hours ago










  • After looking through the document, I realized paragraph{} is not used like par, as I mentioned in my previous comment. I had thought that because I saw a lot of empty paragraphs{} at the beginning of each paragraph. Either way, it's a bit strange to use empty ones.
    – whatisit
    1 hour ago


















  • Why are you using an empty paragraph{}?
    – Sigur
    3 hours ago










  • Agree with @Sigur You don't need to use those. There are certain cases where you should explicitly use par. But for most documents, you simply put a blank space in between each paragraph.
    – whatisit
    3 hours ago






  • 4




    note that it is really much better if you make a small example and copy it here rather than linking to an external site. Your question and any answers are archived here forever and will not make sense if you edit the document at the link in the question.
    – David Carlisle
    3 hours ago






  • 1




    note that paragraph{This} is a level 4 section heading and should only be used if you need sections that deep after section, subsection, subsubsection, paragraph,subparagraph
    – David Carlisle
    3 hours ago










  • After looking through the document, I realized paragraph{} is not used like par, as I mentioned in my previous comment. I had thought that because I saw a lot of empty paragraphs{} at the beginning of each paragraph. Either way, it's a bit strange to use empty ones.
    – whatisit
    1 hour ago
















Why are you using an empty paragraph{}?
– Sigur
3 hours ago




Why are you using an empty paragraph{}?
– Sigur
3 hours ago












Agree with @Sigur You don't need to use those. There are certain cases where you should explicitly use par. But for most documents, you simply put a blank space in between each paragraph.
– whatisit
3 hours ago




Agree with @Sigur You don't need to use those. There are certain cases where you should explicitly use par. But for most documents, you simply put a blank space in between each paragraph.
– whatisit
3 hours ago




4




4




note that it is really much better if you make a small example and copy it here rather than linking to an external site. Your question and any answers are archived here forever and will not make sense if you edit the document at the link in the question.
– David Carlisle
3 hours ago




note that it is really much better if you make a small example and copy it here rather than linking to an external site. Your question and any answers are archived here forever and will not make sense if you edit the document at the link in the question.
– David Carlisle
3 hours ago




1




1




note that paragraph{This} is a level 4 section heading and should only be used if you need sections that deep after section, subsection, subsubsection, paragraph,subparagraph
– David Carlisle
3 hours ago




note that paragraph{This} is a level 4 section heading and should only be used if you need sections that deep after section, subsection, subsubsection, paragraph,subparagraph
– David Carlisle
3 hours ago












After looking through the document, I realized paragraph{} is not used like par, as I mentioned in my previous comment. I had thought that because I saw a lot of empty paragraphs{} at the beginning of each paragraph. Either way, it's a bit strange to use empty ones.
– whatisit
1 hour ago




After looking through the document, I realized paragraph{} is not used like par, as I mentioned in my previous comment. I had thought that because I saw a lot of empty paragraphs{} at the beginning of each paragraph. Either way, it's a bit strange to use empty ones.
– whatisit
1 hour ago










1 Answer
1






active

oldest

votes

















up vote
1
down vote













Your use of footnote{} inside the (sub)section is not supported by the table of contents here. If you simply remove footnote{...}, you'll notice that it works fine.



Of course, you want the footnote in the body (just not with TOC, or causing the problem that it does). Therefore, you can use the optional argument of (sub)section{} to give the footnote version in the body of the text and the non-footnote version for the TOC. Change:



subsection{Contrat d'équipe, fonctions, EPPfootnote{Les pages suivantes reprennent dans l'ordre: les deux versions du contrat d'équipe et des fonctions, les EPP individuelles et l'EPP de groupe}}


to



subsection[Contrat d'équipe, fonctions, EPP]{Contrat d'équipe, fonctions, EPPfootnote{Les pages suivantes reprennent dans l'ordre: les deux versions du contrat d'équipe et des fonctions, les EPP individuelles et l'EPP de groupe}}


This works because the optional argument [Contrat d'équipe, fonctions, EPP] is passed to the TOC. The required argument {Contrat d'équipe, fonctions, EPPfootnote{Les pages suivantes reprennent dans l'ordre: les deux versions du contrat d'équipe et des fonctions, les EPP individuelles et l'EPP de groupe}} is used by the text.



EDIT:
For those interested, I have created a MWE of the original problem:



documentclass{article}

begin{document}

tableofcontents

section{Annexes}

subsection{Poster pour le concours}

L’annexe 10 revient sur la réalisation d’un poster A3 présentant notre projet pour le concours qui a eu lieu pendant la semaine 12.

subsection{Contrat d'équipe, fonctions, EPPfootnote{Les pages suivantes reprennent dans l'ordre: les deux versions du contrat d'équipe et des fonctions, les EPP individuelles et l'EPP de groupe}}

paragraph{Contrat d'équipe} Au début du quadrimestre, nous avons eu l'occasion de nous réunir afin de convenir ensemble d'un contrat d'équipe. Pour une équipe efficace, nous avons par exemple décider d'être pro-actifs, d'éviter les distractions et d'aller droit au but.

subsection{Planification (S9 à S13)}

Entre les semaines 9 et 13, nous avons été libérés de toutes contraintes horaires pour ne devoir se concentrer que sur un unique but: le concours lui-même. Pour ce faire, nous avons eu recours à un planning sous forme de tableau Excel que nous mettions à jour chaque semaine. Ainsi, pour toute tâche, il y était assigné une échéance et un ou plusieurs responsables à respecter méticuleusement.

end{document}


Original MWE - with TOC subsection problem



After you modify the line as mentioned in my original answer, the outcome looks like this:
New MWE - with modified subsection to fix footnote issue in TOC



EDIT2:
You may look at this answer and think that it does not address your problem... However, when I make this edit, it also removes the double subsection heading asked about in the OP. When I make the MWE, however, I am having trouble repeating the doubled subsection...so there seems to be two things working together (one is the footnote{} inside the subsection{}...but I'm not sure what the other thing is).



Someone who is more familiar with the internals may be able to help. But it does fix both the original problem and the issue of one subsection not properly appearing inside the TOC.






share|improve this answer























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "85"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });






    Diego Houtart is a new contributor. Be nice, and check out our Code of Conduct.










    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f464413%2fsubsection-appears-twice%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    1
    down vote













    Your use of footnote{} inside the (sub)section is not supported by the table of contents here. If you simply remove footnote{...}, you'll notice that it works fine.



    Of course, you want the footnote in the body (just not with TOC, or causing the problem that it does). Therefore, you can use the optional argument of (sub)section{} to give the footnote version in the body of the text and the non-footnote version for the TOC. Change:



    subsection{Contrat d'équipe, fonctions, EPPfootnote{Les pages suivantes reprennent dans l'ordre: les deux versions du contrat d'équipe et des fonctions, les EPP individuelles et l'EPP de groupe}}


    to



    subsection[Contrat d'équipe, fonctions, EPP]{Contrat d'équipe, fonctions, EPPfootnote{Les pages suivantes reprennent dans l'ordre: les deux versions du contrat d'équipe et des fonctions, les EPP individuelles et l'EPP de groupe}}


    This works because the optional argument [Contrat d'équipe, fonctions, EPP] is passed to the TOC. The required argument {Contrat d'équipe, fonctions, EPPfootnote{Les pages suivantes reprennent dans l'ordre: les deux versions du contrat d'équipe et des fonctions, les EPP individuelles et l'EPP de groupe}} is used by the text.



    EDIT:
    For those interested, I have created a MWE of the original problem:



    documentclass{article}

    begin{document}

    tableofcontents

    section{Annexes}

    subsection{Poster pour le concours}

    L’annexe 10 revient sur la réalisation d’un poster A3 présentant notre projet pour le concours qui a eu lieu pendant la semaine 12.

    subsection{Contrat d'équipe, fonctions, EPPfootnote{Les pages suivantes reprennent dans l'ordre: les deux versions du contrat d'équipe et des fonctions, les EPP individuelles et l'EPP de groupe}}

    paragraph{Contrat d'équipe} Au début du quadrimestre, nous avons eu l'occasion de nous réunir afin de convenir ensemble d'un contrat d'équipe. Pour une équipe efficace, nous avons par exemple décider d'être pro-actifs, d'éviter les distractions et d'aller droit au but.

    subsection{Planification (S9 à S13)}

    Entre les semaines 9 et 13, nous avons été libérés de toutes contraintes horaires pour ne devoir se concentrer que sur un unique but: le concours lui-même. Pour ce faire, nous avons eu recours à un planning sous forme de tableau Excel que nous mettions à jour chaque semaine. Ainsi, pour toute tâche, il y était assigné une échéance et un ou plusieurs responsables à respecter méticuleusement.

    end{document}


    Original MWE - with TOC subsection problem



    After you modify the line as mentioned in my original answer, the outcome looks like this:
    New MWE - with modified subsection to fix footnote issue in TOC



    EDIT2:
    You may look at this answer and think that it does not address your problem... However, when I make this edit, it also removes the double subsection heading asked about in the OP. When I make the MWE, however, I am having trouble repeating the doubled subsection...so there seems to be two things working together (one is the footnote{} inside the subsection{}...but I'm not sure what the other thing is).



    Someone who is more familiar with the internals may be able to help. But it does fix both the original problem and the issue of one subsection not properly appearing inside the TOC.






    share|improve this answer



























      up vote
      1
      down vote













      Your use of footnote{} inside the (sub)section is not supported by the table of contents here. If you simply remove footnote{...}, you'll notice that it works fine.



      Of course, you want the footnote in the body (just not with TOC, or causing the problem that it does). Therefore, you can use the optional argument of (sub)section{} to give the footnote version in the body of the text and the non-footnote version for the TOC. Change:



      subsection{Contrat d'équipe, fonctions, EPPfootnote{Les pages suivantes reprennent dans l'ordre: les deux versions du contrat d'équipe et des fonctions, les EPP individuelles et l'EPP de groupe}}


      to



      subsection[Contrat d'équipe, fonctions, EPP]{Contrat d'équipe, fonctions, EPPfootnote{Les pages suivantes reprennent dans l'ordre: les deux versions du contrat d'équipe et des fonctions, les EPP individuelles et l'EPP de groupe}}


      This works because the optional argument [Contrat d'équipe, fonctions, EPP] is passed to the TOC. The required argument {Contrat d'équipe, fonctions, EPPfootnote{Les pages suivantes reprennent dans l'ordre: les deux versions du contrat d'équipe et des fonctions, les EPP individuelles et l'EPP de groupe}} is used by the text.



      EDIT:
      For those interested, I have created a MWE of the original problem:



      documentclass{article}

      begin{document}

      tableofcontents

      section{Annexes}

      subsection{Poster pour le concours}

      L’annexe 10 revient sur la réalisation d’un poster A3 présentant notre projet pour le concours qui a eu lieu pendant la semaine 12.

      subsection{Contrat d'équipe, fonctions, EPPfootnote{Les pages suivantes reprennent dans l'ordre: les deux versions du contrat d'équipe et des fonctions, les EPP individuelles et l'EPP de groupe}}

      paragraph{Contrat d'équipe} Au début du quadrimestre, nous avons eu l'occasion de nous réunir afin de convenir ensemble d'un contrat d'équipe. Pour une équipe efficace, nous avons par exemple décider d'être pro-actifs, d'éviter les distractions et d'aller droit au but.

      subsection{Planification (S9 à S13)}

      Entre les semaines 9 et 13, nous avons été libérés de toutes contraintes horaires pour ne devoir se concentrer que sur un unique but: le concours lui-même. Pour ce faire, nous avons eu recours à un planning sous forme de tableau Excel que nous mettions à jour chaque semaine. Ainsi, pour toute tâche, il y était assigné une échéance et un ou plusieurs responsables à respecter méticuleusement.

      end{document}


      Original MWE - with TOC subsection problem



      After you modify the line as mentioned in my original answer, the outcome looks like this:
      New MWE - with modified subsection to fix footnote issue in TOC



      EDIT2:
      You may look at this answer and think that it does not address your problem... However, when I make this edit, it also removes the double subsection heading asked about in the OP. When I make the MWE, however, I am having trouble repeating the doubled subsection...so there seems to be two things working together (one is the footnote{} inside the subsection{}...but I'm not sure what the other thing is).



      Someone who is more familiar with the internals may be able to help. But it does fix both the original problem and the issue of one subsection not properly appearing inside the TOC.






      share|improve this answer

























        up vote
        1
        down vote










        up vote
        1
        down vote









        Your use of footnote{} inside the (sub)section is not supported by the table of contents here. If you simply remove footnote{...}, you'll notice that it works fine.



        Of course, you want the footnote in the body (just not with TOC, or causing the problem that it does). Therefore, you can use the optional argument of (sub)section{} to give the footnote version in the body of the text and the non-footnote version for the TOC. Change:



        subsection{Contrat d'équipe, fonctions, EPPfootnote{Les pages suivantes reprennent dans l'ordre: les deux versions du contrat d'équipe et des fonctions, les EPP individuelles et l'EPP de groupe}}


        to



        subsection[Contrat d'équipe, fonctions, EPP]{Contrat d'équipe, fonctions, EPPfootnote{Les pages suivantes reprennent dans l'ordre: les deux versions du contrat d'équipe et des fonctions, les EPP individuelles et l'EPP de groupe}}


        This works because the optional argument [Contrat d'équipe, fonctions, EPP] is passed to the TOC. The required argument {Contrat d'équipe, fonctions, EPPfootnote{Les pages suivantes reprennent dans l'ordre: les deux versions du contrat d'équipe et des fonctions, les EPP individuelles et l'EPP de groupe}} is used by the text.



        EDIT:
        For those interested, I have created a MWE of the original problem:



        documentclass{article}

        begin{document}

        tableofcontents

        section{Annexes}

        subsection{Poster pour le concours}

        L’annexe 10 revient sur la réalisation d’un poster A3 présentant notre projet pour le concours qui a eu lieu pendant la semaine 12.

        subsection{Contrat d'équipe, fonctions, EPPfootnote{Les pages suivantes reprennent dans l'ordre: les deux versions du contrat d'équipe et des fonctions, les EPP individuelles et l'EPP de groupe}}

        paragraph{Contrat d'équipe} Au début du quadrimestre, nous avons eu l'occasion de nous réunir afin de convenir ensemble d'un contrat d'équipe. Pour une équipe efficace, nous avons par exemple décider d'être pro-actifs, d'éviter les distractions et d'aller droit au but.

        subsection{Planification (S9 à S13)}

        Entre les semaines 9 et 13, nous avons été libérés de toutes contraintes horaires pour ne devoir se concentrer que sur un unique but: le concours lui-même. Pour ce faire, nous avons eu recours à un planning sous forme de tableau Excel que nous mettions à jour chaque semaine. Ainsi, pour toute tâche, il y était assigné une échéance et un ou plusieurs responsables à respecter méticuleusement.

        end{document}


        Original MWE - with TOC subsection problem



        After you modify the line as mentioned in my original answer, the outcome looks like this:
        New MWE - with modified subsection to fix footnote issue in TOC



        EDIT2:
        You may look at this answer and think that it does not address your problem... However, when I make this edit, it also removes the double subsection heading asked about in the OP. When I make the MWE, however, I am having trouble repeating the doubled subsection...so there seems to be two things working together (one is the footnote{} inside the subsection{}...but I'm not sure what the other thing is).



        Someone who is more familiar with the internals may be able to help. But it does fix both the original problem and the issue of one subsection not properly appearing inside the TOC.






        share|improve this answer














        Your use of footnote{} inside the (sub)section is not supported by the table of contents here. If you simply remove footnote{...}, you'll notice that it works fine.



        Of course, you want the footnote in the body (just not with TOC, or causing the problem that it does). Therefore, you can use the optional argument of (sub)section{} to give the footnote version in the body of the text and the non-footnote version for the TOC. Change:



        subsection{Contrat d'équipe, fonctions, EPPfootnote{Les pages suivantes reprennent dans l'ordre: les deux versions du contrat d'équipe et des fonctions, les EPP individuelles et l'EPP de groupe}}


        to



        subsection[Contrat d'équipe, fonctions, EPP]{Contrat d'équipe, fonctions, EPPfootnote{Les pages suivantes reprennent dans l'ordre: les deux versions du contrat d'équipe et des fonctions, les EPP individuelles et l'EPP de groupe}}


        This works because the optional argument [Contrat d'équipe, fonctions, EPP] is passed to the TOC. The required argument {Contrat d'équipe, fonctions, EPPfootnote{Les pages suivantes reprennent dans l'ordre: les deux versions du contrat d'équipe et des fonctions, les EPP individuelles et l'EPP de groupe}} is used by the text.



        EDIT:
        For those interested, I have created a MWE of the original problem:



        documentclass{article}

        begin{document}

        tableofcontents

        section{Annexes}

        subsection{Poster pour le concours}

        L’annexe 10 revient sur la réalisation d’un poster A3 présentant notre projet pour le concours qui a eu lieu pendant la semaine 12.

        subsection{Contrat d'équipe, fonctions, EPPfootnote{Les pages suivantes reprennent dans l'ordre: les deux versions du contrat d'équipe et des fonctions, les EPP individuelles et l'EPP de groupe}}

        paragraph{Contrat d'équipe} Au début du quadrimestre, nous avons eu l'occasion de nous réunir afin de convenir ensemble d'un contrat d'équipe. Pour une équipe efficace, nous avons par exemple décider d'être pro-actifs, d'éviter les distractions et d'aller droit au but.

        subsection{Planification (S9 à S13)}

        Entre les semaines 9 et 13, nous avons été libérés de toutes contraintes horaires pour ne devoir se concentrer que sur un unique but: le concours lui-même. Pour ce faire, nous avons eu recours à un planning sous forme de tableau Excel que nous mettions à jour chaque semaine. Ainsi, pour toute tâche, il y était assigné une échéance et un ou plusieurs responsables à respecter méticuleusement.

        end{document}


        Original MWE - with TOC subsection problem



        After you modify the line as mentioned in my original answer, the outcome looks like this:
        New MWE - with modified subsection to fix footnote issue in TOC



        EDIT2:
        You may look at this answer and think that it does not address your problem... However, when I make this edit, it also removes the double subsection heading asked about in the OP. When I make the MWE, however, I am having trouble repeating the doubled subsection...so there seems to be two things working together (one is the footnote{} inside the subsection{}...but I'm not sure what the other thing is).



        Someone who is more familiar with the internals may be able to help. But it does fix both the original problem and the issue of one subsection not properly appearing inside the TOC.







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited 2 hours ago

























        answered 3 hours ago









        whatisit

        407213




        407213






















            Diego Houtart is a new contributor. Be nice, and check out our Code of Conduct.










            draft saved

            draft discarded


















            Diego Houtart is a new contributor. Be nice, and check out our Code of Conduct.













            Diego Houtart is a new contributor. Be nice, and check out our Code of Conduct.












            Diego Houtart is a new contributor. Be nice, and check out our Code of Conduct.
















            Thanks for contributing an answer to TeX - LaTeX Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.





            Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


            Please pay close attention to the following guidance:


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f464413%2fsubsection-appears-twice%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Futebolista

            F# list compare

            Jornalista