LaTeX-Package-Repositories / LaTeX-Package-Repositories/endnotes

Conflict between endnotes package and a user-defined note environment

Open
#10 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TeX
Stars
4
Forks
2
PR merge metrics
No merged PRs in 30d

Description

MWE:

\documentclass{article}
\usepackage{endnotes}
\usepackage{amsthm}
\theoremstyle{definition}
%\newtheorem{note}{Note}
\begin{document}

\endnote{Blabla}

\theendnotes

\end{document}

It's an issue that only appeared once \end... started to be a thing. I'm not sure about a good solution, but possibly testing that \endnote has its original defintion could help; the test could be added to the begin/end document and/or \theendnotes.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by running the supplied MWE with the commented \newtheorem{note}{Note} enabled, comparing it with the working version. Investigate the \endnote, \theendnotes, and begin/end-document behavior; done means the user-defined note environment and endnotes package work together without the naming conflict.

Written by the indexing model from the issue text.

Assessment

Tech stack
latex, tex
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.