I am using the package Fourier for fonts, which doesn't work very well with \textsc
. I have received a very nice suggestion to use the package erewhon. However, it requires font encodings that I don't have, like T2A and possibly others (the package requires also on T2B, T2C, and LY1; I'm not sure neither if all of them are required nor if I'm missing all of them).
Here's a sample code:
\documentclass{article}
\usepackage{erewhon}
\usepackage{lipsum}
\begin{document}
\lipsum[68]
\end{document}
And this is an abbridge of the I get:
$ pdflatex src.tex
This is pdfTeX, Version 3.14159265-2.6-1.40.17 (TeX Live 2016/Debian) (preloaded format=pdflatex)
restricted \write18 enabled.
entering extended mode
(./src.tex
LaTeX2e <2017/01/01> patch level 1
Babel <3.9r> and hyphenation patterns for 4 language(s) loaded.
(/usr/share/texlive/texmf-dist/tex/latex/base/article.cls
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
(/usr/share/texlive/texmf-dist/tex/latex/base/size10.clo))
(/usr/share/texlive/texmf-dist/tex/latex/erewhon/erewhon.sty
`erewhon' v1.05, 2016/02/05 Style file for Erewhon (m_sharpe), based on Heurist
ica (a_panov) and, ultimately, Utopia.
(/usr/share/texlive/texmf-dist/tex/latex/base/fontenc.sty! Package fontenc Error: Encoding file `t2aenc.def' not found.
(fontenc) You might have misspelt the name of the encoding.
Please note that the issue is not that I have not a \usepackage{fontenc}
in my preamble. The package loads the encodings by itself. The issue is that I do not have the encodings it requires.
So is there a replacement for erewhon? Or perhaps is there a way to make it work with only the T1 font encoding?
I could certainly install the missing encodings, but I'd rather stick with what my distribution defaults to. That means less trouble when sharing LaTeX code with co-workers.
apt-get install texlive-lang-cyrillic
\DeclareRobustCommand{\textsc}[1] {{\usefont{T1}{erewhon-TLF}{m}{sc}\selectfont #1}}
. This only does part of Erewhon's job, so it's suboptimal. I'd be happy with better suggestions...