rstudio / rticles

LaTeX Journal Article Templates for R Markdown
https://pkgs.rstudio.com/rticles/
1.46k stars 516 forks source link

Issue with Glossa article #449

Closed cderv closed 2 years ago

cderv commented 2 years ago

CI is failing because of Glossa

Locally I get

! Undefined control sequence.
<argument> \undefined 

and log is not so much helpful

(c:/Users/chris/AppData/Roaming/TinyTeX/texmf-dist/tex/generic/xypic/xyps-col.tex) PS relaxed (c:/Users/chris/AppData/Roaming/TinyTeX/texmf-dist/tex/generic/xypic/xyps-r.tex) (c:/Users/chris/AppData/Roaming/TinyTeX/texmf-dist/tex/generic/xypic/xyps-l.tex) (c:/Users/chris/AppData/Roaming/TinyTeX/texmf-dist/tex/generic/xypic/xyps-f.tex)
Package microtype Info: Loading generic protrusion settings for font family
(microtype)             `lmss' (encoding: TU).
(microtype)             For optimal results, create family-specific settings.
(microtype)             See the microtype manual for details.
! Undefined control sequence.
<argument> \undefined 

l.74 \sffamily

Removing the \sffamily command does not help much.

cc @stefanocoretta if you have some insights for this contributed template

cderv commented 2 years ago

Ok it works with

> tinytex::tlmgr("--version")
tlmgr --version
tlmgr revision 60693 (2021-10-04 04:24:25 +0200)
tlmgr using installation: C:/Users/chris/AppData/Roaming/TinyTeX
TeX Live (https://tug.org/texlive) version 2021

installed using tinytex::install_tinytex(version = "2021.10")

Also with latest tinytex::install_tinytex(version = "2021.11", repo = "https://ctan.mines-albi.fr/") using a special repo local to me.

Possibly something related to CTAN mirror issue. Using https://www.ctan.org/tex-archive gives me signature errors.

Doing a fresh installation while changing the repository works. I'll try something in CI to see.

cderv commented 2 years ago

Changing the repo does not help on CI.

Now it is working locally but can't make in work in our CI. Not sure why 🤔

cderv commented 2 years ago

For context, error is here since 14 days already as it was discovered in the PR https://github.com/rstudio/rticles/runs/4151469471?check_suite_focus=true

stefanocoretta commented 2 years ago

I'll have a look and get back to you!

yihui commented 2 years ago

FYI I just figured out the problem in #450.

cderv commented 2 years ago

@stefanocoretta thanks to @yihui the cause was found: it seems that microtype should not be installed in the TeX Live installation when glossa format needs to be rendered. A weird bug hard to debug.

Thank you @yihui !

github-actions[bot] commented 2 years ago

This old thread has been automatically locked. If you think you have found something related to this, please open a new issue by following the issue guide (https://yihui.org/issue/), and link to this old issue if necessary.