Open jimbotyson opened 4 years ago
Thanks for reporting this.
One solution at this point is to assume that Beamer got there first and then rename the \alt
command in accessibility
to something more suitable, such as \alternative
or \accalt
. The problem here is that we usually refer to alternative text for images, etc. in PDFs as "alt text".
I'll look to see if latex has ways to work around this. I think though that commands get clobbered, so whichever package gets loaded last, wins.
I'd like to use this issue as the basis for a new project (see https://github.com/AndyClifton/accessibility/projects/2).
I'm nowhere close to having a MWE for this, but once I got past the \alt
problem, the next thing that I had to deal with was having a lot of commands that accessibility was looking for not being defined. My hack for that was just to add the following \newcommand
's to my .tex file before the \usepackage{accessibility}
call:
\newcommand{\paragraph}{}
\newcommand{\subparagraph}{}
\makeatletter
\newcommand{\@opargbegintheorem}{}
\newcommand{\@makecaption}{}
\newcommand{\@idxitem}{}
\makeatother
\newcommand{\labelitemi}{}
\newcommand{\labelitemii}{}
\newcommand{\labelitemiii}{}
\newcommand{\labelitemiv}{}
\newcommand{\labelenumi}{}
\newcommand{\labelenumii}{}
\newcommand{\labelenumiii}{}
\newcommand{\labelenumiv}{}
\newcommand{\descriptionlabel}{}
\newcommand{\hyperpage}{}
\newcommand{\theindex}{}
Then the thing complained about trying to write \pdfminorversion after writing to the pdf file--I sidestepped that by commenting out line 136 of accessibility.sty--so I have
%\pdfminorversion=6% Bestimmt die PDF - Version der Ausgabe
Now I am stymied by the error message:
`Argument of \XC@col@rlet has an extra }.
@ChrisLeary your solution is basically what I would have done as well, so no need to apologise for clunky code! Anything that helps is welcome.
I noticed it’s a couple of weeks since you filed this update. Did you have any more luck
I realise that the package was probably no designed with beamer in mind, however may there is an easy fix. When trying to render a (minimal) beamer presentation, I get
/usr/local/texlive/2019/texmf-dist/tex/latex/accessibility/accessibility.sty, line 138
LaTeX Error: Command \alt already defined.
and of course \alt is indeed a beamer command.
Making (reasonably) accessible presentations using LaTeX would be a very good thing in many academic contexts, especially the STEM disciplines.
Any ideas as to what might be done?