maelvls / homebrew-amc

🍺 Homebrew formula for auto-multiple-choice 📖
https://www.auto-multiple-choice.net/download-macosx.en
34 stars 10 forks source link

Problems while processing the source file. #23

Closed TerryLansdown closed 6 years ago

TerryLansdown commented 6 years ago

Hi,

Thanks for the brew formula, much appreciated.

I can install fine, but when 'Update document' is hit. I'm getting the following errors. Any ideas?

'Problems while processing the source file. You have to correct the source file and re-run documents update.'

From the log…

Transcript written on amc-compiled.log. Output format: pdf ERR: 12 errors during LaTeX compiling (question sheet) ERR>Undefined control sequence. ERR>!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!... ERR>... ERR>LaTeX error: "kernel/deprecated-command"... ERR>... ERR>The deprecated command '\tl_to_lowercase:n' has been or will be removed on... ERR>2018-03-05. Use instead '\tex_lowercase:D '. ERR>... ERR>See the LaTeX3 documentation for further information. ERR>... ERR>Type to continue. ERR>............................................... ... Variables : VAR: styversion=2018/03/07 v1.3.0+hg2018-03-07 r:bf07b77e8a6d VAR: project:pdfform=0 VAR: stypath=/opt/local/share/texmf-local/tex/latex/automultiplechoice.sty

The source file was working fine on a previous install, nothing has changed with it. It's in AMC-TXT format. Couldn't find anything in the AMC forums either.

Thanks, Terry

maelvls commented 6 years ago

Hi!

Apparently, the problem comes from an old version of the automultiplechoice.sty (from a previous install, e.g., from macports)

Could you try the following:

sudo auto-multiple-choice latex-link remove
sudo auto-multiple-choice latex-link

See also #7

TerryLansdown commented 6 years ago

Thanks for the suggestion. Sorry, couldn't wait. Tried the 'brew install auto-multiple-choice-devel' install. That worked fine for me.

Thanks, Terry