Code Monkey home page Code Monkey logo

Comments (5)

dbranford avatar dbranford commented on September 18, 2024

Are you sure there are no other errors or warnings in the log file? The rerun warning is often benign and (if not vanishing on multiple compilations) more likely to be another symptom of whatever is preventing the list from updating.

from acro.

davelbit avatar davelbit commented on September 18, 2024
  1. Usage of package `parskip' together(scrbook) with a KOMA-Script class is not recommended.
  2. Usage of package `fancyhdr' together(scrbook) with a KOMA-Script class is not recommended.
  3. Acronym properties may have changed. Rerun to get them(acro) synchronized.

So that's all I get, but I suppose that it shouldn't have to do anything with the KOMA-Script conflict.

I could also add the whole log, but I don't know if that will be very helpful.

from acro.

dbranford avatar dbranford commented on September 18, 2024

Yeah, warnings look fine. I see you're using subfiles, how are you loading the ./setup/packages.tex and ./setup/acronyms.tex files? Is the \printacronyms call in thesis.tex or a different file? Presumably all \ac uses occur in a \subfile-loaded file?

from acro.

davelbit avatar davelbit commented on September 18, 2024

The following contains the structure of the thesis.tex. All \ac uses occur in the subfiles of mainmatter

\input{setup/packages.tex}
\input{setup/acronyms.tex}

\begin{document}
\frontmatter
	\input{setup/titlepage.tex}
        \input{setup/declaration.tex}
        \input{setup/dedication.tex}
        \input{setup/acknowledgments.tex}
        \subfile{Abstract.tex}

        \tableofcontents
        \listoffigures
        \listoftables
	\printacronyms[name = {List of Acronyms}]
        \newpage

\mainmatter
        \subfile{Introduction}
        \subfile{Related Work}
        \subfile{Foundations}
        \subfile{Methods}
        \subfile{Results}
        \subfile{Discussion}
        \subfile{Conclusion}

\backmatter
        \subfile{Appendix}
        \FloatBarrier

        \begin{singlespace}
        	\sloppy
       		\printbibliography[heading=bibintoc,title={References}]
        \end{singlespace}
\end{document}

from acro.

dbranford avatar dbranford commented on September 18, 2024

Hmm, everything looks to be behaving, I wondered whether something might be generated in one .aux file and the list reading from another, but with this configuration everything looks ok.

\begin{filecontents}{setup/acronyms.tex}
\DeclareAcronym{foo}{short=foo,long=foo,}
\DeclareAcronym{bar}{short=bar,long=bar,}
\end{filecontents}

\begin{filecontents}{Text.tex}
\documentclass[acro_iss249]{subfiles}
\begin{document}
Text \ac{foo}
\end{document}
\end{filecontents}


\documentclass{scrbook}
\usepackage{acro}
\usepackage{subfiles}

\input{setup/acronyms.tex}

\begin{document}
\printacronyms
\subfile{Text}
\end{document}

Presumably thesis.aux is successfully being written to on compilation of thesis.tex? Not otherwise sure what might be causing issues. Have you tried compiling with acro 3.8 (https://github.com/cgnieder/acro/blob/9a56e414b0eb82ff89241decc66da9620f2292df/code/acro.sty)? Can you share what you get for grep \ACRO thesis.aux?

from acro.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.