2

I am using Texmaker for practicing, While practicing tex, I encountered 3 errors that are as follows:

  1. ! Package inputenc Error: Unicode character ff (U+FB00)(inputenc) not set up for use with LaTeX.See the inputenc package documentation for explanation.Type H for immediate help.... ...ng Rigaku Miniflex II desktop X-ray diff2

  2. ! Package inputenc Error: Unicode character fl (U+FB02)(inputenc) not set up for use with LaTeX.See the inputenc package documentation for explanation.Type H for immediate help.... ...(XRD) was carried out using Rigaku Minifl

  3. ! Package inputenc Error: Unicode character ff (U+FB00)(inputenc) not set up for use with LaTeX.See the inputenc package documentation for explanation.Type H for immediate help.... ...l and elemental determination. X-ray diff

I was using the following packages:

\usepackage[hmargin=2.5cm,vmargin=2.5cm]{geometry}
\usepackage{amsfonts}

I tried all the possible methods to remove them, but all of them went in vein. Please help me.

Thank you

4
  • 2
    Welcome to TeX.SX! It will probably hard to give an answer to this question without further information. Could you provide a minimal working example?
    – Vincent
    May 16, 2020 at 1:50
  • @Vadiraj KT, that means copy and paste the minimum inputs of your file that produces the above errors.
    – hesham
    May 16, 2020 at 1:53
  • 1
    These are Unicode ligatures in your document source. Do a search-and-replace of U+FB00 with ff, etc.
    – Davislor
    May 16, 2020 at 2:08
  • You could also set up \DeclareUnicodeCharacter to insert some visible symbol in the document that tells you where the special characters you copied and pasted are.
    – Davislor
    May 16, 2020 at 2:10

1 Answer 1

6

You copied and pasted into your document source some Unicode text that contained the ligatures ff (U+FB00) and fl (U+FB02). (This should not happen if you compiled the document you copied from with modern fonts.)

Do a search-and-replace to replace with ff and with fl.

You could also \DeclareUnicodeCharacter to do the replacement automatically.

1
  • Thank you for the suggestion, replacing ff and fl worked out and the file executed.
    – Vadiraj KT
    May 17, 2020 at 16:51

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .