Open AndrewAnnex opened 2 years ago
Hi @AndrewAnnex
that indicates that there is an error in acresetall
:) PRs welcome!
unfortunately my dissertation is due very soon, and too soon for me to learn enough about latex package development and testing, but I did find out that removing unused acronyms in each environment prevents them from being listed incorrectly. I do use some acronyms across all three chapters so I still need to go through and verify that acronyms are expanded correctly for each first usage in each chapter, but I believe any issues there can be resolved using the appropriate command to explicitly state the acronym
great!
I am putting together my dissertation, which has three chapters originally prepared as individual latex projects for submission to a journal. Each chapter uses acronym and ends with an acronym environment (because of the journal's latex template). In my dissertation I call
\acresetall
before and after each\include
command that is used to import the text for the three chapters.However, each printed acronym environment includes all the acronyms used regardless of the section/chapter it is included in. For example an acronym used in chapter 1 is not referenced in chapter 2, but is printed in chapter 2's acronym environment output.
There is some overlap in the acronym environments, as I copied my first acronym list into my 2nd paper and so on, so there are acronyms defined in the later chapter's acronym list even though the particular acronym is not used in the chapter. I suppose I could just remove the irrelevant acronyms from each chapter list, but I haven't tried that yet to know if it would work.
Is there something else I can do to ensure each environment only prints the acronyms used within the relevant tex file, that doesn't require drastic changes to how I structure my project?
I think I can accomplish this by switching to use the glossaries package potentially, but I would have to redefine the calls to
\ac
and\acp
and it may take a while for me to fully work that out.rough example, result of which is that chapter2's acronym list will include the "PDF" acronym
chapter1.tex:
chapter2.tex:
main.tex: