Fonts & Character SetsTypesetting Czech

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

Typesetting Czech

Post by maxxino »

Hi guys,

I use MiKTeX and I need to typeset Czech (typesetting Czech characters), web advised me to use this.

Code: Select all

\usepackage[czech]{babel}
\usepackage[cp1250]{inputenc}
\usepackage[IL2]{fontenc}
The first two rows work, but with the third one error occurs.

Code: Select all

! Package fontenc Error: Encoding file 'il2enc.def' not found.
(fontenc)                You might have misspelt the name of encoding.
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.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Typesetting Czech

Post by localghost »

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.

Code: Select all

\usepackage[T1][{fontenc}
\usepackage{selinput}
\SelectInputMappings{
  aacute={á},
  ccaron={č}
}
\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
Post Reply