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:


Please save the following to a file:

#include <stdio.h>

int main(int argc, char *argv[])
    if (argc > 1)
        printf("No parameters.\n");


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”.

closed as too localized by Joseph Wright Sep 4 '11 at 11:10

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 2
    I can't reproduce this. Please add a minimal working example (MWE) that illustrates your problem. – Lev Bishop Jul 17 '11 at 0:48
  • @lev Hope the example is enough. – WHK Jul 17 '11 at 9:29
  • As far as I can see, it seems that switching to LY1 encoding works well. – WHK Jul 17 '11 at 10:02
  • 2
    The fi ligature shows up correctly for me when I compile your MWE. – Michael Ummels Jul 17 '11 at 14:13
  • 1
    Your MWE works for me, so it must be something with your installation. When you compile your MWE do you get any errors like pdfTeX warning: pdflatex (file base-MinionPro-ab.enc): cannot open encoding file for reading? – Lev Bishop Jul 17 '11 at 14:45