{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
20 views

selection language doesn't work when activating french

I am trying to write an abstract in French in my manuscript. It is not the only page in French in my manuscript. But this page doesn't work well which I don't know why. This is added to the whole ...
16
votes
1answer
217 views

Unicode in PDF Metadata

There are several ways of setting PDF meta data when compiling LaTeX documents. The two most popular ways are arguably via pdfinfo, \pdfinfo{ /Author (Erwin Schrödinger) } and hyperref, ...
3
votes
1answer
41 views

Problems with encoding when inputting a TiKz picture

I'm having problems inputting a TikZ picture in a document that is encoded with UTF-8. The TikZ picture was generated with matlab2tikz. When I try to open the foo.tikz file with my editor ...
4
votes
2answers
48 views

inputenc, active catcode and \csnsame

with this MWE, with a non utf-8 engine (like pdflatex) \documentclass{article} \usepackage[utf8]{inputenc} \begin{document} \expandafter\def\csname a\endcsname{toto} \expandafter\def\csname ...
1
vote
0answers
32 views

! Package inputenc Error: Keyboard character used is undefined

I'm new to Latex espacially Beamer, I am working on my Thesis presentation in French and these letters always give me a hard time since yesterday when I compile that error in the title occurs, I ...
4
votes
1answer
75 views

How can I insert the Apple Symbol ? [duplicate]

For my thesis, I want to mention that Apple Pay is often stylized as  Pay, but the compiler warns me that this is an unknown character. It outputs Ô£ø. I have found that this symbol is encoded as ...
2
votes
3answers
71 views

Enabling UTF-8 file encoding in various text editors [closed]

Many IDE / text editors used by latex community do not encode tex files into utf-8 by default. When trying to use diacritics, various issues may arise. Example code: \documentclass{article} ...
0
votes
0answers
21 views

Keeping beamer in English while supporting Chinese characters

\documentclass{beamer} \usepackage{ctex} \begin{document} \title{Test} \author{My name (我的名字)} \date{\today} \begin{frame} \titlepage \end{frame} \end{document} Here is the current output: ...
2
votes
1answer
32 views

Bibliography .bib encoding utf8 (french) accents

I am trying to use a bibliography for a my latex report. I am using a .bib file named bibli with articles written in french (so the titles have accents like é or ô). At the beginning of my .tex file I ...
2
votes
0answers
78 views

Greek writing in LaTeX [closed]

I have a problem using Texmaker when I am trying to write in Greek. The starting commands I use in my document are \usepackage[english,greek]{babel} \usepackage[iso-8859-7]{inputenc} but when it ...
0
votes
0answers
73 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
41 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
21 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
54 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
78 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
41 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
54 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
120 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
275 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
58 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
52 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
76 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
71 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
126 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
87 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
76 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
85 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
59 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
93 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
148 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
127 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
148 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
40 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
64 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
73 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
59 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
64 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
68 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
51 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
195 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
105 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
298 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
138 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
256 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} ...
10
votes
1answer
446 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 ...