LaTeX forum ⇒ Fonts & Character SetsTypesetting Czech

Information and discussion about fonts and character sets (e.g. how to use language specific characters)
maxxino
Posts: 1
Joined: Fri Jul 26, 2013 10:49 am

Typesetting Czech

Postby maxxino » Fri Jul 26, 2013 11:13 am

Hi guys,

I use MiKTeX and I need to typeset Czech (typesetting Czech characters), web advised me to use this.
  1. \usepackage[czech]{babel}
  2. \usepackage[cp1250]{inputenc}
  3. \usepackage[IL2]{fontenc}

The first two rows work, but with the third one error occurs.
  1. ! Package fontenc Error: Encoding file 'il2enc.def' not found.
  2. (fontenc) You might have misspelt the name of encoding.
  3. See the fontenc package documentation for explanation.

Third command was advised on more websites so I do not think that I misspelled it. I don't know whether it is necessary to download some extra package.

Thanks in advance for any help
DB
Last edited by cgnieder on Fri Jul 26, 2013 11:23 am, edited 1 time in total.

Tags:

User avatar
localghost
Site Moderator
Posts: 9204
Joined: Fri Feb 02, 2007 12:06 pm

Postby localghost » Fri Jul 26, 2013 12:04 pm

Just for information to other users for awareness of possibly already existing solutions. The question has also been posted to {TeX} SX. Please read what our administrator thinks about that.

Board Rules wrote:A crossposting is always contra-productive. But there is nothing really against it as long as it is mentioned. This means that a direct link has to be added. So other users who want to help are preserved from double efforts and waste of time.


Does T1 font encoding in combination with utf8 as input encoding work? Or semi-automatic input encoding by selinput.
  1. \usepackage[T1][{fontenc}
  2. \usepackage{selinput}
  3. \SelectInputMappings{
  4. aacute={á},
  5. ccaron={č}
  6. }
  7. \usepackage[czech]{babel}

Finally you could think about using XeLaTeX or LuaLaTeX.

If that doesn't help, please prepare a self-contained and minimal example in order to give an adequate problem description.


Best regards and welcome to the board
Thorsten
LaTeX Community Moderator
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes


¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1


Return to “Fonts & Character Sets”

Who is online

Users browsing this forum: No registered users and 2 guests