Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incompatible with lineno package #48

Open
cfroccajr opened this issue Feb 16, 2021 · 4 comments
Open

Incompatible with lineno package #48

cfroccajr opened this issue Feb 16, 2021 · 4 comments
Assignees

Comments

@cfroccajr
Copy link

When I try to load both accessibility and lineno I get this error:

`! LaTeX Error: Command \c@linenumber already defined.
Or name \end... illegal, see p.192 of the manual.

See the LaTeX manual or LaTeX Companion for explanation.
Type H for immediate help.
...

l.671 \newcounter{linenumber}
%
Your command was ignored.
Type I to replace it with another command,
or to continue without it.`

The error varies depending on which package I load first.

@kevinwortman
Copy link

kevinwortman commented Jul 22, 2021

I'm hitting this too. It seems like it can be solved by changing the variable name "linecounter" to something non-conflicting at

\newcounter{linenumber}%

Are you open to a pull request?

@car222222
Copy link

Please note the following news entry:

  • 23 Feb 2021: The question of accessibility in PDFs has now been taken up by the LaTeX project in a multiyear project and as a result I am stopping all work on this package and it should be considered "not maintained". See https://www.latex-project.org/publications/indexbytopic/pdf/ for news about progress by the LaTeX project.

@AndyClifton
Copy link
Owner

I'm hitting this too. It seems like it can be solved by changing the variable name "linecounter" to something non-conflicting at

\newcounter{linenumber}%

Are you open to a pull request?

Hi - yes, @kevinwortman, a pull request would be welcome, at least to record the potential solution.

@AndyClifton
Copy link
Owner

@pelinski - sorry, totally overlooked the PR and have just approved. Could you check out the new master please and see if all is OK?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants