I use Minion in a document via the MinionPro package, and now I want to use Inconsolata for, amongst other things, code listings. When I include the fontenc package with the T1 option for Inconsolata, ligatures for “fi”, “fl”, etc. appear as separate characters in Minion. If I don’t use fontenc, I can see the ligatures, but some characters like “>” are not displayed in my code listings in Inconsolata.
Any idea what I could try? I use pdfTeX 3.1415926-1.40.10-2.2 from TeX Live on an Ubuntu system.
A small example:
\documentclass[a4paper]{article}
\usepackage{MinionPro}
\usepackage[T1]{fontenc}
\usepackage{inconsolata}
\begin{document}
Please save the following to a file:
\begin{verbatim}
#include <stdio.h>
int main(int argc, char *argv[])
{
if (argc > 1)
printf("No parameters.\n");
else
printf("Hello.\n");
}
\end{verbatim}
\end{document}
If I remove the fontenc package line, the > disappears in the output, but I get the “fi” ligature in “file”; as is, I get the >, but separate characters for “fi”.
pdfTeX warning: pdflatex (file base-MinionPro-ab.enc): cannot open encoding file for reading? – Lev Bishop Jul 17 '11 at 14:45