AndyClifton / accessibility

A CTAN-compliant version of the LaTeX `accessibility` package
39 stars 6 forks source link

Incompatible with lineno package #48

Open cfroccajr opened 3 years ago

cfroccajr commented 3 years ago

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 commented 3 years ago

I'm hitting this too. It seems like it can be solved by changing the variable name "linecounter" to something non-conflicting at https://github.com/AndyClifton/accessibility/blob/046a20886e2879e4125f7d49e3e7cc8d5dbaae9e/source/v2x/accessibility.dtx#L1160 Are you open to a pull request?

car222222 commented 3 years ago

Please note the following news entry:

AndyClifton commented 3 years ago

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

https://github.com/AndyClifton/accessibility/blob/046a20886e2879e4125f7d49e3e7cc8d5dbaae9e/source/v2x/accessibility.dtx#L1160

Are you open to a pull request?

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

AndyClifton commented 1 year ago

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