errors in apacite.sty on running pdflatex












0















enter image description here



 documentclass{interact}
usepackage{epstopdf}% To incorporate .eps illustrations using PDFLaTeX, etc.
usepackage{subfig}% Support for small, `sub' figures and tables
%usepackage[nolists,tablesfirst]{endfloat}% To `separate' figures and tables
%from text if required
%usepackage[doublespacing]{setspace}% To produce a `double spaced' document if
%required
%setlengthparindent{24pt}% To increase paragraph indentation when line spacing
%is doubled

usepackage[longnamesfirst,sort,comma,authoryear]{natbib}% Citation support
%using natbib.sty
bibpunct[, ]{(}{)}{;}{a}{,}{,}% Citation support using natbib.sty
renewcommandbibfont{fontsize{10}{12}selectfont}% To set the list of
%references in 10 point font using natbib.sty

%usepackage[natbibapa,nodoi]{apacite}% Citation support using apacite.sty.
%Commands using natbib.sty MUST be deactivated first!
%setlengthbibhang{12pt}% To set the indentation in the list of references
%using apacite.sty. Commands using natbib.sty MUST be deactivated first!
%renewcommandbibliographytypesize{fontsize{10}{12}selectfont}% To set the
%list of references in 10 point font using apacite.sty. Commands using
%natbib.sty
%MUST be deactivated first!

theoremstyle{plain}% Theorem-like structures provided by amsthm.sty
newtheorem{theorem}{Theorem}[section]
newtheorem{lemma}[theorem]{Lemma}
newtheorem{corollary}[theorem]{Corollary}
newtheorem{proposition}[theorem]{Proposition}

theoremstyle{definition}
newtheorem{definition}[theorem]{Definition}
newtheorem{example}[theorem]{Example}

theoremstyle{remark}
newtheorem{remark}{Remark}
newtheorem{notation}{Notation}

usepackage{amsmath}
usepackage{hyperref}
usepackage{makecell}
usepackage{graphicx}
usepackage{longtable}
usepackage{supertabular}
usepackage{morefloats}
usepackage{tablefootnote}
usepackage[final]{pdfpages}
usepackage{import}
usepackage{filecontents}
usepackage{multirow}
usepackage{booktabs}
usepackage{siunitx}
usepackage{soul}
usepackage{textcomp}
usepackage{threeparttable}
usepackage[natbibapa,nodoi]{apacite}
setlengthbibhang{12pt}
renewcommandbibliographytypesize{fontsize{10}{12}selectfont}
%usepackage{cite}
renewcommand{bibname}{References}


begin{document}
bibliographystyle{apacite}
bibliography{thesis}

end{document}









share|improve this question









New contributor




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





















  • everytime pdflatex is being run...apacite.sty opens with almost 400+ errors..

    – J Bhardwaj
    2 hours ago











  • Please show us the first error and the relevant bib entry in your question.

    – Kurt
    2 hours ago
















0















enter image description here



 documentclass{interact}
usepackage{epstopdf}% To incorporate .eps illustrations using PDFLaTeX, etc.
usepackage{subfig}% Support for small, `sub' figures and tables
%usepackage[nolists,tablesfirst]{endfloat}% To `separate' figures and tables
%from text if required
%usepackage[doublespacing]{setspace}% To produce a `double spaced' document if
%required
%setlengthparindent{24pt}% To increase paragraph indentation when line spacing
%is doubled

usepackage[longnamesfirst,sort,comma,authoryear]{natbib}% Citation support
%using natbib.sty
bibpunct[, ]{(}{)}{;}{a}{,}{,}% Citation support using natbib.sty
renewcommandbibfont{fontsize{10}{12}selectfont}% To set the list of
%references in 10 point font using natbib.sty

%usepackage[natbibapa,nodoi]{apacite}% Citation support using apacite.sty.
%Commands using natbib.sty MUST be deactivated first!
%setlengthbibhang{12pt}% To set the indentation in the list of references
%using apacite.sty. Commands using natbib.sty MUST be deactivated first!
%renewcommandbibliographytypesize{fontsize{10}{12}selectfont}% To set the
%list of references in 10 point font using apacite.sty. Commands using
%natbib.sty
%MUST be deactivated first!

theoremstyle{plain}% Theorem-like structures provided by amsthm.sty
newtheorem{theorem}{Theorem}[section]
newtheorem{lemma}[theorem]{Lemma}
newtheorem{corollary}[theorem]{Corollary}
newtheorem{proposition}[theorem]{Proposition}

theoremstyle{definition}
newtheorem{definition}[theorem]{Definition}
newtheorem{example}[theorem]{Example}

theoremstyle{remark}
newtheorem{remark}{Remark}
newtheorem{notation}{Notation}

usepackage{amsmath}
usepackage{hyperref}
usepackage{makecell}
usepackage{graphicx}
usepackage{longtable}
usepackage{supertabular}
usepackage{morefloats}
usepackage{tablefootnote}
usepackage[final]{pdfpages}
usepackage{import}
usepackage{filecontents}
usepackage{multirow}
usepackage{booktabs}
usepackage{siunitx}
usepackage{soul}
usepackage{textcomp}
usepackage{threeparttable}
usepackage[natbibapa,nodoi]{apacite}
setlengthbibhang{12pt}
renewcommandbibliographytypesize{fontsize{10}{12}selectfont}
%usepackage{cite}
renewcommand{bibname}{References}


begin{document}
bibliographystyle{apacite}
bibliography{thesis}

end{document}









share|improve this question









New contributor




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





















  • everytime pdflatex is being run...apacite.sty opens with almost 400+ errors..

    – J Bhardwaj
    2 hours ago











  • Please show us the first error and the relevant bib entry in your question.

    – Kurt
    2 hours ago














0












0








0








enter image description here



 documentclass{interact}
usepackage{epstopdf}% To incorporate .eps illustrations using PDFLaTeX, etc.
usepackage{subfig}% Support for small, `sub' figures and tables
%usepackage[nolists,tablesfirst]{endfloat}% To `separate' figures and tables
%from text if required
%usepackage[doublespacing]{setspace}% To produce a `double spaced' document if
%required
%setlengthparindent{24pt}% To increase paragraph indentation when line spacing
%is doubled

usepackage[longnamesfirst,sort,comma,authoryear]{natbib}% Citation support
%using natbib.sty
bibpunct[, ]{(}{)}{;}{a}{,}{,}% Citation support using natbib.sty
renewcommandbibfont{fontsize{10}{12}selectfont}% To set the list of
%references in 10 point font using natbib.sty

%usepackage[natbibapa,nodoi]{apacite}% Citation support using apacite.sty.
%Commands using natbib.sty MUST be deactivated first!
%setlengthbibhang{12pt}% To set the indentation in the list of references
%using apacite.sty. Commands using natbib.sty MUST be deactivated first!
%renewcommandbibliographytypesize{fontsize{10}{12}selectfont}% To set the
%list of references in 10 point font using apacite.sty. Commands using
%natbib.sty
%MUST be deactivated first!

theoremstyle{plain}% Theorem-like structures provided by amsthm.sty
newtheorem{theorem}{Theorem}[section]
newtheorem{lemma}[theorem]{Lemma}
newtheorem{corollary}[theorem]{Corollary}
newtheorem{proposition}[theorem]{Proposition}

theoremstyle{definition}
newtheorem{definition}[theorem]{Definition}
newtheorem{example}[theorem]{Example}

theoremstyle{remark}
newtheorem{remark}{Remark}
newtheorem{notation}{Notation}

usepackage{amsmath}
usepackage{hyperref}
usepackage{makecell}
usepackage{graphicx}
usepackage{longtable}
usepackage{supertabular}
usepackage{morefloats}
usepackage{tablefootnote}
usepackage[final]{pdfpages}
usepackage{import}
usepackage{filecontents}
usepackage{multirow}
usepackage{booktabs}
usepackage{siunitx}
usepackage{soul}
usepackage{textcomp}
usepackage{threeparttable}
usepackage[natbibapa,nodoi]{apacite}
setlengthbibhang{12pt}
renewcommandbibliographytypesize{fontsize{10}{12}selectfont}
%usepackage{cite}
renewcommand{bibname}{References}


begin{document}
bibliographystyle{apacite}
bibliography{thesis}

end{document}









share|improve this question









New contributor




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












enter image description here



 documentclass{interact}
usepackage{epstopdf}% To incorporate .eps illustrations using PDFLaTeX, etc.
usepackage{subfig}% Support for small, `sub' figures and tables
%usepackage[nolists,tablesfirst]{endfloat}% To `separate' figures and tables
%from text if required
%usepackage[doublespacing]{setspace}% To produce a `double spaced' document if
%required
%setlengthparindent{24pt}% To increase paragraph indentation when line spacing
%is doubled

usepackage[longnamesfirst,sort,comma,authoryear]{natbib}% Citation support
%using natbib.sty
bibpunct[, ]{(}{)}{;}{a}{,}{,}% Citation support using natbib.sty
renewcommandbibfont{fontsize{10}{12}selectfont}% To set the list of
%references in 10 point font using natbib.sty

%usepackage[natbibapa,nodoi]{apacite}% Citation support using apacite.sty.
%Commands using natbib.sty MUST be deactivated first!
%setlengthbibhang{12pt}% To set the indentation in the list of references
%using apacite.sty. Commands using natbib.sty MUST be deactivated first!
%renewcommandbibliographytypesize{fontsize{10}{12}selectfont}% To set the
%list of references in 10 point font using apacite.sty. Commands using
%natbib.sty
%MUST be deactivated first!

theoremstyle{plain}% Theorem-like structures provided by amsthm.sty
newtheorem{theorem}{Theorem}[section]
newtheorem{lemma}[theorem]{Lemma}
newtheorem{corollary}[theorem]{Corollary}
newtheorem{proposition}[theorem]{Proposition}

theoremstyle{definition}
newtheorem{definition}[theorem]{Definition}
newtheorem{example}[theorem]{Example}

theoremstyle{remark}
newtheorem{remark}{Remark}
newtheorem{notation}{Notation}

usepackage{amsmath}
usepackage{hyperref}
usepackage{makecell}
usepackage{graphicx}
usepackage{longtable}
usepackage{supertabular}
usepackage{morefloats}
usepackage{tablefootnote}
usepackage[final]{pdfpages}
usepackage{import}
usepackage{filecontents}
usepackage{multirow}
usepackage{booktabs}
usepackage{siunitx}
usepackage{soul}
usepackage{textcomp}
usepackage{threeparttable}
usepackage[natbibapa,nodoi]{apacite}
setlengthbibhang{12pt}
renewcommandbibliographytypesize{fontsize{10}{12}selectfont}
%usepackage{cite}
renewcommand{bibname}{References}


begin{document}
bibliographystyle{apacite}
bibliography{thesis}

end{document}






errors






share|improve this question









New contributor




J Bhardwaj 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




J Bhardwaj 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








edited 2 hours ago









Kurt

40.1k850164




40.1k850164






New contributor




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









asked 2 hours ago









J BhardwajJ Bhardwaj

12




12




New contributor




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





New contributor





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






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













  • everytime pdflatex is being run...apacite.sty opens with almost 400+ errors..

    – J Bhardwaj
    2 hours ago











  • Please show us the first error and the relevant bib entry in your question.

    – Kurt
    2 hours ago



















  • everytime pdflatex is being run...apacite.sty opens with almost 400+ errors..

    – J Bhardwaj
    2 hours ago











  • Please show us the first error and the relevant bib entry in your question.

    – Kurt
    2 hours ago

















everytime pdflatex is being run...apacite.sty opens with almost 400+ errors..

– J Bhardwaj
2 hours ago





everytime pdflatex is being run...apacite.sty opens with almost 400+ errors..

– J Bhardwaj
2 hours ago













Please show us the first error and the relevant bib entry in your question.

– Kurt
2 hours ago





Please show us the first error and the relevant bib entry in your question.

– Kurt
2 hours ago










1 Answer
1






active

oldest

votes


















0














Just made these changes and doesn't give any more errors:



First got rid your documentclass (replaced by article, but not asking to do it... just could not -didn't want- to search for it). I had to get rid (comment out) the `teoremstyle` too ... but if it is defined in there you could use it.



Second got rid of the usepackage{epstopdf} ... If you really need it, add it, but add graphicx or something before it.



Third loaded apacite before natbib to get rid some remaining errors.



Fourth according to this post: https://tex.stackexchange.com/a/263800/120578
I had to remove the options from natbib package while loading.



The following code (with the above changes) doesn't give errors.



documentclass{article}
%usepackage{epstopdf}% To incorporate .eps illustrations using PDFLaTeX, etc.
usepackage{subfig}% Support for small, `sub' figures and tables
%usepackage[nolists,tablesfirst]{endfloat}% To `separate' figures and tables
%from text if required
%usepackage[doublespacing]{setspace}% To produce a `double spaced' document if
%required
%setlengthparindent{24pt}% To increase paragraph indentation when line spacing
%is doubled
usepackage[natbibapa,nodoi]{apacite}
usepackage{natbib}% Citation support

%using natbib.sty
bibpunct[, ]{(}{)}{;}{a}{,}{,}% Citation support using natbib.sty
renewcommandbibfont{fontsize{10}{12}selectfont}% To set the list of
%references in 10 point font using natbib.sty

%usepackage[natbibapa,nodoi]{apacite}% Citation support using apacite.sty.
%Commands using natbib.sty MUST be deactivated first!
%setlengthbibhang{12pt}% To set the indentation in the list of references
%using apacite.sty. Commands using natbib.sty MUST be deactivated first!
%renewcommandbibliographytypesize{fontsize{10}{12}selectfont}% To set the
%list of references in 10 point font using apacite.sty. Commands using
%natbib.sty
%MUST be deactivated first!

%theoremstyle{plain}% Theorem-like structures provided by amsthm.sty
newtheorem{theorem}{Theorem}[section]
newtheorem{lemma}[theorem]{Lemma}
newtheorem{corollary}[theorem]{Corollary}
newtheorem{proposition}[theorem]{Proposition}

%theoremstyle{definition}
newtheorem{definition}[theorem]{Definition}
newtheorem{example}[theorem]{Example}

%theoremstyle{remark}
newtheorem{remark}{Remark}
newtheorem{notation}{Notation}

usepackage{amsmath}
usepackage{hyperref}
usepackage{makecell}
usepackage{graphicx}
usepackage{longtable}
usepackage{supertabular}
usepackage{morefloats}
usepackage{tablefootnote}
usepackage[final]{pdfpages}
usepackage{import}
usepackage{filecontents}
usepackage{multirow}
usepackage{booktabs}
usepackage{siunitx}
usepackage{soul}
usepackage{textcomp}
usepackage{threeparttable}

setlengthbibhang{12pt}
renewcommandbibliographytypesize{fontsize{10}{12}selectfont}
%usepackage{cite}
renewcommand{bibname}{References}


begin{document}
TEST
bibliographystyle{apacite}
bibliography{thesis}

end{document}





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',
    autoActivateHeartbeat: false,
    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
    });


    }
    });






    J Bhardwaj 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%2f482185%2ferrors-in-apacite-sty-on-running-pdflatex%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









    0














    Just made these changes and doesn't give any more errors:



    First got rid your documentclass (replaced by article, but not asking to do it... just could not -didn't want- to search for it). I had to get rid (comment out) the `teoremstyle` too ... but if it is defined in there you could use it.



    Second got rid of the usepackage{epstopdf} ... If you really need it, add it, but add graphicx or something before it.



    Third loaded apacite before natbib to get rid some remaining errors.



    Fourth according to this post: https://tex.stackexchange.com/a/263800/120578
    I had to remove the options from natbib package while loading.



    The following code (with the above changes) doesn't give errors.



    documentclass{article}
    %usepackage{epstopdf}% To incorporate .eps illustrations using PDFLaTeX, etc.
    usepackage{subfig}% Support for small, `sub' figures and tables
    %usepackage[nolists,tablesfirst]{endfloat}% To `separate' figures and tables
    %from text if required
    %usepackage[doublespacing]{setspace}% To produce a `double spaced' document if
    %required
    %setlengthparindent{24pt}% To increase paragraph indentation when line spacing
    %is doubled
    usepackage[natbibapa,nodoi]{apacite}
    usepackage{natbib}% Citation support

    %using natbib.sty
    bibpunct[, ]{(}{)}{;}{a}{,}{,}% Citation support using natbib.sty
    renewcommandbibfont{fontsize{10}{12}selectfont}% To set the list of
    %references in 10 point font using natbib.sty

    %usepackage[natbibapa,nodoi]{apacite}% Citation support using apacite.sty.
    %Commands using natbib.sty MUST be deactivated first!
    %setlengthbibhang{12pt}% To set the indentation in the list of references
    %using apacite.sty. Commands using natbib.sty MUST be deactivated first!
    %renewcommandbibliographytypesize{fontsize{10}{12}selectfont}% To set the
    %list of references in 10 point font using apacite.sty. Commands using
    %natbib.sty
    %MUST be deactivated first!

    %theoremstyle{plain}% Theorem-like structures provided by amsthm.sty
    newtheorem{theorem}{Theorem}[section]
    newtheorem{lemma}[theorem]{Lemma}
    newtheorem{corollary}[theorem]{Corollary}
    newtheorem{proposition}[theorem]{Proposition}

    %theoremstyle{definition}
    newtheorem{definition}[theorem]{Definition}
    newtheorem{example}[theorem]{Example}

    %theoremstyle{remark}
    newtheorem{remark}{Remark}
    newtheorem{notation}{Notation}

    usepackage{amsmath}
    usepackage{hyperref}
    usepackage{makecell}
    usepackage{graphicx}
    usepackage{longtable}
    usepackage{supertabular}
    usepackage{morefloats}
    usepackage{tablefootnote}
    usepackage[final]{pdfpages}
    usepackage{import}
    usepackage{filecontents}
    usepackage{multirow}
    usepackage{booktabs}
    usepackage{siunitx}
    usepackage{soul}
    usepackage{textcomp}
    usepackage{threeparttable}

    setlengthbibhang{12pt}
    renewcommandbibliographytypesize{fontsize{10}{12}selectfont}
    %usepackage{cite}
    renewcommand{bibname}{References}


    begin{document}
    TEST
    bibliographystyle{apacite}
    bibliography{thesis}

    end{document}





    share|improve this answer




























      0














      Just made these changes and doesn't give any more errors:



      First got rid your documentclass (replaced by article, but not asking to do it... just could not -didn't want- to search for it). I had to get rid (comment out) the `teoremstyle` too ... but if it is defined in there you could use it.



      Second got rid of the usepackage{epstopdf} ... If you really need it, add it, but add graphicx or something before it.



      Third loaded apacite before natbib to get rid some remaining errors.



      Fourth according to this post: https://tex.stackexchange.com/a/263800/120578
      I had to remove the options from natbib package while loading.



      The following code (with the above changes) doesn't give errors.



      documentclass{article}
      %usepackage{epstopdf}% To incorporate .eps illustrations using PDFLaTeX, etc.
      usepackage{subfig}% Support for small, `sub' figures and tables
      %usepackage[nolists,tablesfirst]{endfloat}% To `separate' figures and tables
      %from text if required
      %usepackage[doublespacing]{setspace}% To produce a `double spaced' document if
      %required
      %setlengthparindent{24pt}% To increase paragraph indentation when line spacing
      %is doubled
      usepackage[natbibapa,nodoi]{apacite}
      usepackage{natbib}% Citation support

      %using natbib.sty
      bibpunct[, ]{(}{)}{;}{a}{,}{,}% Citation support using natbib.sty
      renewcommandbibfont{fontsize{10}{12}selectfont}% To set the list of
      %references in 10 point font using natbib.sty

      %usepackage[natbibapa,nodoi]{apacite}% Citation support using apacite.sty.
      %Commands using natbib.sty MUST be deactivated first!
      %setlengthbibhang{12pt}% To set the indentation in the list of references
      %using apacite.sty. Commands using natbib.sty MUST be deactivated first!
      %renewcommandbibliographytypesize{fontsize{10}{12}selectfont}% To set the
      %list of references in 10 point font using apacite.sty. Commands using
      %natbib.sty
      %MUST be deactivated first!

      %theoremstyle{plain}% Theorem-like structures provided by amsthm.sty
      newtheorem{theorem}{Theorem}[section]
      newtheorem{lemma}[theorem]{Lemma}
      newtheorem{corollary}[theorem]{Corollary}
      newtheorem{proposition}[theorem]{Proposition}

      %theoremstyle{definition}
      newtheorem{definition}[theorem]{Definition}
      newtheorem{example}[theorem]{Example}

      %theoremstyle{remark}
      newtheorem{remark}{Remark}
      newtheorem{notation}{Notation}

      usepackage{amsmath}
      usepackage{hyperref}
      usepackage{makecell}
      usepackage{graphicx}
      usepackage{longtable}
      usepackage{supertabular}
      usepackage{morefloats}
      usepackage{tablefootnote}
      usepackage[final]{pdfpages}
      usepackage{import}
      usepackage{filecontents}
      usepackage{multirow}
      usepackage{booktabs}
      usepackage{siunitx}
      usepackage{soul}
      usepackage{textcomp}
      usepackage{threeparttable}

      setlengthbibhang{12pt}
      renewcommandbibliographytypesize{fontsize{10}{12}selectfont}
      %usepackage{cite}
      renewcommand{bibname}{References}


      begin{document}
      TEST
      bibliographystyle{apacite}
      bibliography{thesis}

      end{document}





      share|improve this answer


























        0












        0








        0







        Just made these changes and doesn't give any more errors:



        First got rid your documentclass (replaced by article, but not asking to do it... just could not -didn't want- to search for it). I had to get rid (comment out) the `teoremstyle` too ... but if it is defined in there you could use it.



        Second got rid of the usepackage{epstopdf} ... If you really need it, add it, but add graphicx or something before it.



        Third loaded apacite before natbib to get rid some remaining errors.



        Fourth according to this post: https://tex.stackexchange.com/a/263800/120578
        I had to remove the options from natbib package while loading.



        The following code (with the above changes) doesn't give errors.



        documentclass{article}
        %usepackage{epstopdf}% To incorporate .eps illustrations using PDFLaTeX, etc.
        usepackage{subfig}% Support for small, `sub' figures and tables
        %usepackage[nolists,tablesfirst]{endfloat}% To `separate' figures and tables
        %from text if required
        %usepackage[doublespacing]{setspace}% To produce a `double spaced' document if
        %required
        %setlengthparindent{24pt}% To increase paragraph indentation when line spacing
        %is doubled
        usepackage[natbibapa,nodoi]{apacite}
        usepackage{natbib}% Citation support

        %using natbib.sty
        bibpunct[, ]{(}{)}{;}{a}{,}{,}% Citation support using natbib.sty
        renewcommandbibfont{fontsize{10}{12}selectfont}% To set the list of
        %references in 10 point font using natbib.sty

        %usepackage[natbibapa,nodoi]{apacite}% Citation support using apacite.sty.
        %Commands using natbib.sty MUST be deactivated first!
        %setlengthbibhang{12pt}% To set the indentation in the list of references
        %using apacite.sty. Commands using natbib.sty MUST be deactivated first!
        %renewcommandbibliographytypesize{fontsize{10}{12}selectfont}% To set the
        %list of references in 10 point font using apacite.sty. Commands using
        %natbib.sty
        %MUST be deactivated first!

        %theoremstyle{plain}% Theorem-like structures provided by amsthm.sty
        newtheorem{theorem}{Theorem}[section]
        newtheorem{lemma}[theorem]{Lemma}
        newtheorem{corollary}[theorem]{Corollary}
        newtheorem{proposition}[theorem]{Proposition}

        %theoremstyle{definition}
        newtheorem{definition}[theorem]{Definition}
        newtheorem{example}[theorem]{Example}

        %theoremstyle{remark}
        newtheorem{remark}{Remark}
        newtheorem{notation}{Notation}

        usepackage{amsmath}
        usepackage{hyperref}
        usepackage{makecell}
        usepackage{graphicx}
        usepackage{longtable}
        usepackage{supertabular}
        usepackage{morefloats}
        usepackage{tablefootnote}
        usepackage[final]{pdfpages}
        usepackage{import}
        usepackage{filecontents}
        usepackage{multirow}
        usepackage{booktabs}
        usepackage{siunitx}
        usepackage{soul}
        usepackage{textcomp}
        usepackage{threeparttable}

        setlengthbibhang{12pt}
        renewcommandbibliographytypesize{fontsize{10}{12}selectfont}
        %usepackage{cite}
        renewcommand{bibname}{References}


        begin{document}
        TEST
        bibliographystyle{apacite}
        bibliography{thesis}

        end{document}





        share|improve this answer













        Just made these changes and doesn't give any more errors:



        First got rid your documentclass (replaced by article, but not asking to do it... just could not -didn't want- to search for it). I had to get rid (comment out) the `teoremstyle` too ... but if it is defined in there you could use it.



        Second got rid of the usepackage{epstopdf} ... If you really need it, add it, but add graphicx or something before it.



        Third loaded apacite before natbib to get rid some remaining errors.



        Fourth according to this post: https://tex.stackexchange.com/a/263800/120578
        I had to remove the options from natbib package while loading.



        The following code (with the above changes) doesn't give errors.



        documentclass{article}
        %usepackage{epstopdf}% To incorporate .eps illustrations using PDFLaTeX, etc.
        usepackage{subfig}% Support for small, `sub' figures and tables
        %usepackage[nolists,tablesfirst]{endfloat}% To `separate' figures and tables
        %from text if required
        %usepackage[doublespacing]{setspace}% To produce a `double spaced' document if
        %required
        %setlengthparindent{24pt}% To increase paragraph indentation when line spacing
        %is doubled
        usepackage[natbibapa,nodoi]{apacite}
        usepackage{natbib}% Citation support

        %using natbib.sty
        bibpunct[, ]{(}{)}{;}{a}{,}{,}% Citation support using natbib.sty
        renewcommandbibfont{fontsize{10}{12}selectfont}% To set the list of
        %references in 10 point font using natbib.sty

        %usepackage[natbibapa,nodoi]{apacite}% Citation support using apacite.sty.
        %Commands using natbib.sty MUST be deactivated first!
        %setlengthbibhang{12pt}% To set the indentation in the list of references
        %using apacite.sty. Commands using natbib.sty MUST be deactivated first!
        %renewcommandbibliographytypesize{fontsize{10}{12}selectfont}% To set the
        %list of references in 10 point font using apacite.sty. Commands using
        %natbib.sty
        %MUST be deactivated first!

        %theoremstyle{plain}% Theorem-like structures provided by amsthm.sty
        newtheorem{theorem}{Theorem}[section]
        newtheorem{lemma}[theorem]{Lemma}
        newtheorem{corollary}[theorem]{Corollary}
        newtheorem{proposition}[theorem]{Proposition}

        %theoremstyle{definition}
        newtheorem{definition}[theorem]{Definition}
        newtheorem{example}[theorem]{Example}

        %theoremstyle{remark}
        newtheorem{remark}{Remark}
        newtheorem{notation}{Notation}

        usepackage{amsmath}
        usepackage{hyperref}
        usepackage{makecell}
        usepackage{graphicx}
        usepackage{longtable}
        usepackage{supertabular}
        usepackage{morefloats}
        usepackage{tablefootnote}
        usepackage[final]{pdfpages}
        usepackage{import}
        usepackage{filecontents}
        usepackage{multirow}
        usepackage{booktabs}
        usepackage{siunitx}
        usepackage{soul}
        usepackage{textcomp}
        usepackage{threeparttable}

        setlengthbibhang{12pt}
        renewcommandbibliographytypesize{fontsize{10}{12}selectfont}
        %usepackage{cite}
        renewcommand{bibname}{References}


        begin{document}
        TEST
        bibliographystyle{apacite}
        bibliography{thesis}

        end{document}






        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered 2 hours ago









        koleygrkoleygr

        13.3k11039




        13.3k11039






















            J Bhardwaj is a new contributor. Be nice, and check out our Code of Conduct.










            draft saved

            draft discarded


















            J Bhardwaj is a new contributor. Be nice, and check out our Code of Conduct.













            J Bhardwaj is a new contributor. Be nice, and check out our Code of Conduct.












            J Bhardwaj 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.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f482185%2ferrors-in-apacite-sty-on-running-pdflatex%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

            Lallio

            Futebolista

            Jornalista