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

Recognition problem of tifinagh package #4

Open
Rasat2016 opened this issue Mar 4, 2018 · 1 comment
Open

Recognition problem of tifinagh package #4

Rasat2016 opened this issue Mar 4, 2018 · 1 comment

Comments

@Rasat2016
Copy link

I followed the integration steps of this package and the font in my latex editor to be able to write Tifinagh in my report, but the compilation fails and does not recognize the package or the font.
your help is desirable to be able to solve this problem.

Compilation error message 👍
This is pdfTeX, Version 3.14159265-2.6-1.40.16 (MiKTeX 2.9)
entering extended mode
(C:/Users/pc/Desktop/test/aaaa.tex
LaTeX2e <2015/10/01> patch level 2
Babel <3.9n> and hyphenation patterns for 69 languages loaded.
("C:\Users\pc\AppData\Local\Programs\MiKTeX 2.9\tex\latex\base\article.cls"
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
("C:\Users\pc\AppData\Local\Programs\MiKTeX 2.9\tex\latex\base\size10.clo"))
(tifinagh.sty
! Undefined control sequence.
\reserved@b ...thoptions #1[{ETIF,\tif@defaultenc
}][{}]\noexpand @pkgexten...
l.14 \fi

?

@marijnschraagen
Copy link

The package (in the file tifinagh.sty) defines the command with the @ in a different position on line 8:

\newcommand\@tifdefaultenc{\f@encoding}

In order to make it work you should change the line in which the command is used (line 13 in tifinagh.sty) to use the same name:

\RequirePackage[ETIF,\@tifdefaultenc]{fontenc}

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

No branches or pull requests

3 participants