{input-encodings} is about the various input code pages like latin1 or utf-8 ({unicode}) which interpret the sequence of numbers underlying text files and map each number to a certain glyph (character). A popular package for pdfLaTeX is inputenc.

learn more… | top users | synonyms (1)

0
votes
0answers
37 views

Texmaker and utf8

I recently switched from a Mac mini to a Macbook. Now, for some reason my document will only compile using \usepackage[applemac]{inputenc} but not with \usepackage[utf8]{inputenc} or ...
0
votes
0answers
21 views

Inputenc error: unicode char u8 - texstudio

I started write some TeX document, but I have problem with special characters (polish characters like (ś, ć, ę etc.). It's my error message package inputenc error: unicode char u8: not set up ...
0
votes
0answers
20 views

Which is the encoding of the default .xdy

in order to create my own system of group letter with xindy, I am looking to the default files. For examples the files xindy/modules/lang/french/utf8.xdy. But ... i am not able to know which is the ...
3
votes
0answers
31 views

Usepackage, babel,polish,french,germany

This is my first time in latex editor. I'm using texmaker + miktex 2.9 and i have problem with first document. I tried do something like this : \documentclass[a4paper,12pt]{article} ...
1
vote
0answers
13 views

\lstinputlisting with source file containing logic symbols [duplicate]

I have a source code file that I want to include in my LaTeX document with \lstinputlisting. However, this source file contains logic symbols like ∃ (it's encoded in UTF-8), which produce errors. I ...
5
votes
1answer
63 views

\inputencoding{latin1} cannot be used in the user documentation of a .dtx file if it is \DocInput

Third edit: (As pointed out by Ulrike, my problem in fact doesn't concern listingsutf8 but only inputenc, so I reflect this by giving to the question another title and another MWE.) The following MWE ...
4
votes
1answer
32 views

Inputenc error with some minus signs on a table

First of all, I'm new to writing in latex. So this might be a dumb question. I'm trying to do the following table: \documentclass[12pt, letterpaper, twoside]{book} \usepackage[utf8]{inputenc} ...
0
votes
0answers
49 views

inputenc -w- \scantokens \expandafter

Sorry to bother everyone again - this is a followup question to my earlier question: Can openout handle a filename with spaces? (I suppose I can combine this with the earlier question, but this ...
4
votes
1answer
116 views

To have this Latvian letter in Beamer

This discussion is an extension of this answer but in Beamer -documentclass and with XeLaTeX. I can get some variants working there in Pdflatex, see Christian's answer but with bad output and I do ...
1
vote
1answer
142 views

How to fix Package inputenc Error: “Unicode char \u8:� not set up for use with LaTeX.”?

I get following error when running pdflatex in TeXstudio: "Package inputenc Error: Unicode char \u8:� not set up for use with LaTeX. \end" on the last line of my document: \printbibliography ...
1
vote
1answer
47 views

How do I convert MathML characters to XML in texmath? [closed]

I'm in the process of converting LaTeX to MathML in PHP. texmath is the command line tool through which the conversion process can be done. Latex file: \mathbf{f} = (f_{1}, f_{2})^{\prime} ...
2
votes
1answer
47 views

Imported tex file doesn't encode

I started typing in a latex template provided by my school. Inside the document, when I use special characters such as accents or umlauts (e.g. ë) they encode just fine. When I use an external file ...
0
votes
1answer
60 views

How to save .bib file in latin1 encoding and avoid problems with special characters?

I have added a lot of new references to my .bib file, which I got from online portals like sciencedirect.com. I'm managing my .bib file with JabRef 2.10. My bib file was encoded in latin1 (CP1252), ...
2
votes
1answer
62 views

Why does bibencoding influence normal text outside bibliography? Character ß becomes SS in pdf file!

My .tex files use textencoding latin1. For some practical reason I wanted to switch my bibliography .bib files to UTF8. I tried that and (as the bibliography now was not typeset correctly) found the ...
3
votes
2answers
116 views

What is the best way to encode diacritical marks with the default input encoding?

Suppose, I want to write a word with diacritical marks, say fïbęj, and I cannot use Unicode or similar but instead I have to keep maximum compatibility for all sorts of situations. If I am not very ...
2
votes
1answer
86 views

Writing Unicode in pdfLatex [closed]

It should be something like \documentclass{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[spanish]{babel} \usepackage{CJKutf8} \begin{document} \begin{CJK}{UTF8}{megafont} ...
4
votes
1answer
72 views

French characters

I am writing my PhD thesis but I have a problem in typing French characters: like "à" "é" "ç" etc. In the main page I have to use these two packages: \usepackage[latin1]{inputenc} ...
2
votes
1answer
69 views

Typeset colored terminal output using minted

I need to reproduce the output of a command in a LaTeX document. The command uses ANSI escape codes to produce colored output. I'd like to use minted, but using \inputminted{shell}{coloredoutput} ...
1
vote
0answers
52 views

What does this input encoding error mean?

! Package inputenc Error: Keyboard character used is undefined (inputenc) in inputencoding `utf8'. See the inputenc package documentation for explanation. Type H for ...
2
votes
0answers
86 views

Is \aa or å preferred?

This question is about all the non-ascii characters, å is only as an example. I know you can type the character å two ways: \usepackage[utf8]{inputenc} ... Some text with a speciål character. or ...
1
vote
1answer
96 views

Encoding for a .tex file created under Mac and opened under Windows

When I open a .tex file with Texmaker under Win8.1, that was created on a Mac using TexShop, I get the following error: It seems that this file cannot be correctly decoded with the default ...
6
votes
3answers
115 views

Typesetting modifier letter U+02ED

I'm creating an article on Ancient Greek pronunciation with IPA transcription in TeXworks. Ancient Greek distinguishes voiceless unaspirated, aspirated, and voiced stops, and I would like to ...
1
vote
0answers
45 views

How to type Cyrillique TeX source code?

I compose in Russian (Cyrillique). I've just dowloaded TexShop 3.48. When opened, all my old .tex files with Russian fonts, the text in main TexShop window is no more correct (encoding pb). The ...
4
votes
1answer
109 views

Using Swedish characters in Sublime Text 3/LaTeXTools/Skim workflow?

I’ve recently moved from TexShop to Sublime Text 3/LaTeXTools/Skim for my Latex work. Occasionally I typeset texts in Swedish including “å”, “ä”, “ö” etc characters. However, when I open such a ...
2
votes
1answer
35 views

hyphsubst conflicts with inputenc

If I load inputenc in combination with hyphsubst the hyphenation works partially. It works for many words, but it does not work for 'Starrkörpertransformationsparameter' if inputenc is loaded ...
4
votes
1answer
51 views

\v{d} does not work, czech letter with check

How do I type d with check? It should look something like Ť (small). Other letters like r or c do look like \v{c} or \v{r} but t and d are different when typing check over them. I use English ASCII ...
4
votes
1answer
63 views

How to automatically detect encoding of the tex-file?

I have a custom .sty-file in cp1251 encoding which is defines \RequirePackage[cp1251]{inputenc}. I use it for compile with pdflatex in the same encoding, But when I try to compile some file with other ...
2
votes
1answer
51 views

To work out Europecv's arbitrary use of utf8x

Egreg about arbitrary use of outfit but using truly utf8x The europecv class arbitrarily decided that utf8 is not a good option and uses utf8x even if the passed option is utf8, which is of ...
1
vote
1answer
60 views

mmap/cmap problem: text in equations is not properly copy-pastable

\documentclass[12pt,a4paper]{article} \usepackage[noTeX]{mmap} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[english]{babel} \begin{document} $(A\to B)\vdash B$ sample text ...
3
votes
1answer
60 views

UTF characters in listings

I use lstlistings for code and a lot of special characters can be displayed with literate. See my MWE \documentclass{scrartcl} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} ...
2
votes
1answer
42 views

Inputenc error pgfplotsset

When I try to compile my code throw me an error between inputenc and pgfplots. I compile the following code: \documentclass[11pt]{article} \usepackage{amsmath} \usepackage[utf8]{inputenc} ...
6
votes
1answer
171 views

Umlauts in filenames using the grffile package

"Never ever use non-ASCII characters and spaces in your filenames. Never!" That's what I'm telling my students for years. But if for any reasons there is an urgent need to include an image file with ...
3
votes
1answer
80 views

Using \newcommand to display user input that may contain special characters that need to be escaped

I don't know much about LaTeX right now, but I need to be able to use it to generate dynamic PDF documents using C#. For the most part, everything is cool and works the way I want it to work. ...
5
votes
4answers
279 views

Which inputenc for these Latvian letters?

I type in English but I need the following few Latvian letters. Minimal case \documentclass{article} \usepackage[utf8]{inputenc} \begin{document} diņš \end{document} which gives di only. How ...
3
votes
0answers
126 views

What UTF-8 characters are valid/invalid in utf8 inputenc?

I'm writing a Python program that reads some text files and writes the data to some TeX files. Unfortunately the TeX compilation stops with Package inputenc Error: Unicode char \u8:´é« not set up for ...
1
vote
1answer
2k views

Error : Package inputenc Error: Keyboard character used is undefined

I was adding references to my .bib file and everything was just working fine. I came acroos a document ...
0
votes
0answers
29 views

Using international accents in the whole document [duplicate]

So I am attempting to write a document in Estonian language. Currently what I do to get characters like Ä appear at all, is use this syntax: \"{chracter_I_want_with_dots•} But I am going to write a ...
1
vote
1answer
1k views

LaTeX Error: Option clash for package inputenc!

I'm getting this problem and I can't find a fix for it. Tried searching but still couldn't find a solution. Here's how the file begins: % !TEX encoding = UTF-8 Unicode \documentclass{llncs} ...
6
votes
1answer
220 views

\usepackage[utf8]{vietnam} leads to error: Argument of \UTFviii@three@octets has an extra }

I have a problem with \usepackage[UTF8]{vietnam}. \documentclass[clock,fragile]{beamer} \usepackage{amsmath,amssymb,amsfonts, mathrsfs,bm,mathpazo} %\usepackage{amsfonts,fouriernc} ...
9
votes
1answer
393 views

utf8 inputenc vs. babel

I'm using TeXLive 2014 on FreeBSD. Every LaTeX-files produce the following warning: LaTeX Warning: Please use \usepackage[latin2]{inputenc} with \usepackage[magyar]{babel}. "Magyar" is ...
1
vote
1answer
62 views

System encoding in TexStudio 2.8

When recently updated my texstudio to v2.8, it turns out that the option of "system" encoding (i.e. system's native ASCII configuration) isn't one of the options when choosing an encoding. Assuming ...
5
votes
3answers
274 views

Cut and Paste Non-Math Text from MS Word to a .tex file

I am helping a friend use LaTeX to generate a book of short stories. The stories are received from the authors in MS Word -- unfortunately that is only text editor most of the world knows. There is no ...
0
votes
2answers
169 views

Using Minion Pro with Classicthesis

Good afternoon, I bought Minion Pro fonts (regular and italics) in order to use them with a classicthesis document. And following the instructions you gave me recently, I run with Xelatex but it did ...
14
votes
1answer
378 views

In tex file ascii characters only : if so should I encode the file in ascii? Or is utf-8 better used anyway?

This is a best practices question. Should I encode tex files in ascii or should I use utf-8? Is either preferred for a reason (ANY reason) in the case where ascii characters and nothing else appear ...
2
votes
0answers
67 views

Cannot produce greek with utf8 and babel [closed]

I am creating a document in greek, using babel and utf8 encoding. I am using MiKTeX 2.9 and TeXMakeR. When trying to produce a document I get the error Package inputenc Error: Unicode char \u8:Γ not ...
4
votes
1answer
272 views

biber - warning about non-ascii characters

Biber gives me the following warning: WARN - The entry 'csorgo__sandor:10' has characters which cannot be encoded in 'ascii'. Recoding problematic characters into macros. Is this anything to worry ...
5
votes
1answer
262 views

Greek and English Language in bibliography using utf8 encoding and LaTeX

I am creating a document;it's main language beeing greek. What I am trying to do, unsuccessfully is to have bibliography entries in two languages, Greek and English that is. My code is ...
0
votes
2answers
169 views

Uppercase accented characters displayed as “?”

The header is \documentclass[12pt,twoside]{report} \usepackage[a4paper,left=4cm,right=3cm]{geometry} \usepackage[latin1]{inputenc} \usepackage[T1]{fontenc} \usepackage[francais]{babel} ...
2
votes
0answers
247 views

Tex file in binary

My machine was powered down after it was frozen, but I still managed to save the current Latex file. When I turned the machine back on and tried to import the file in texmaker , I was given this ...
3
votes
1answer
111 views

utopia mathdesign and biber incompatibility

I have a problem using utopia fonts with xltxtra and biber when using non-ascii characters. The problem disappears if using computer-modern (off-shelf LaTeX) or bibtex instead of biber. Here's an ...