{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)

5
votes
2answers
176 views

How to easily use UTF-8 with LaTeX?

It's probably a stupid question, but I cannot find any easy answers online, and the answers are sometimes contradictory. I am writing a document that uses a few strange alphabets. I want to use some ...
1
vote
0answers
40 views

inputenc errors caused by different LaTeX environments?

On my iMac, \usepackage[utf8]{inputenc} get's me Package inputenc Error: Keyboard character used is undefined. I don't get this error on my MacBook. Conversely, \usepackage[latin1]{inputenc} ...
4
votes
2answers
177 views

Where is the encoding format stored for a .tex file?

Where is the encoding format stored for a .tex file? I had my editor set to latin1 by mistake when I created my file and I had to resort to % !TEX encoding = UTF-8 Unicode in the preamble to force ...
1
vote
1answer
74 views

Error: Unicode char \u8 when importing bibliography

I have a LaTeX document in which I improt .bib database \bibliography{LagrangianRelax} \bibliographystyle{alpha} I am getting an error (I know its quite common): ! Package inputenc Error: Unicode ...
1
vote
0answers
80 views

Making the Swedish characters å, ä and ö appear [closed]

I need to use the following preamble but can not make the Swedish letters å, ä and ö appear. The part in Swedish is in the separate file called intro_summary.tex. I'm using TeXShop as my editor. I ...
3
votes
1answer
25 views

error for special characters in \section in a classicthesis

Provided the following tex document using classicthesis, produces an error. How can I use direct input of special characters in \section in classicthesis? I do not want to write e.g. \~{n} in the ...
1
vote
0answers
43 views

Definition environment versus utf8 [closed]

I had some problems with my code, then I changed to \usepackage[utf8]{inputenc} and I could compile. But now I have another problem. I write in Brazilian portuguese, so the definition environment ...
3
votes
1answer
68 views

Auto convert LaTeX escape codes to UTF-8 characters?

How do I—e.g., with AucTeX—automatically convert escaped characters like \~n to ñ for use with \usepackage[utf8]{inputenc}? I could do something like this: sed \ -e "s/\\'a/á/" \ -e ...
2
votes
1answer
90 views

Problems with accented characters in xelatex

The accented Portuguese characters work well when compiled with pdflatex but not with xelatex giving an inputenc error. Why? \documentclass{article} \usepackage[utf8]{inputenc} ...
2
votes
1answer
135 views

TeXmaker and polish letters

I have a problem with encoding polish letters in TeXmaker. What I mean by this is that: when I write Polish letters in TeXmaker they are visible as Polish letters: ą, ę, ć and so on ...
3
votes
1answer
69 views

How to locate problematic character in .bib file

I received this message when I try to include my bibliography in the document with \printbibliography ! Package inputenc Error: Unicode char \u8:‐ not set up for use with LaTeX. See the inputenc ...
0
votes
0answers
54 views

Accents generate errors with moderncv class

When using accented characters (e.g. ë) I get the following error: Package inputenc Error: Unicode char \u8:ële not set up for use with LaTeX. A minimal working example is given below. To the best ...
5
votes
2answers
99 views

Yen (¥) character (\textyen) in LaTeX - proper encoding

I am trying to type yen (¥) symbol in LateX. I am using UTF8 encoding: \usepackage[utf8]{inputenc} I tried to type this directly as ¥. When I try to compile file with pdflatex I get this error: ...
7
votes
1answer
63 views

Is typing an accented character and compositing it the same?

Suppose that I have T1 as font encoding (and therefore I will have no copy, search and hyphenation problems, etc). Is there any difference between typing, for example, \^e and ê in the output? My ...
3
votes
1answer
177 views

Problem with Unicode in LaTeX editor (LEd)

I have an UTF-8, polish text in .tex file. When I open it with my LEd (LaTeX editor), it shows ok (all characters can be seen). But when I try to compile it, I get error: Package inputenc Error: ...
3
votes
2answers
128 views

TeXstudio changed encoding

I wrote my text using UTF-8 encoding, however, TeXstudio somehow changed this and I cannot find the way to return my text in readable form. Is it possible at all or should I die now?
5
votes
1answer
95 views

UTF-8 encoding and Notepad with LaTeX

I have written some LaTeX commands in a separate file, say foo.tex and include them in my LaTeX document. Only after I edit foo.tex with Notepad (default editor in Windows), I get the following error ...
2
votes
1answer
92 views

Problem with XeTeX input and output encoding

As we all known, the TeX engine XeTeX takes UTF-8 as its default input and output encoding format. However, it provides two new primitive control sequences that could define input encoding: ...
10
votes
1answer
162 views

What benefits can I get from using utf-8 encoding instead of cp1251 for Russian?

I'm preparing to make a small package for typesetting math textbooks in Russian, under Windows (MikTeX distribution). What input encoding should I prefer? I've always been using cp1251, but as I ...
3
votes
1answer
157 views

Accent's problem with LaTeX update

I have updated my TeX distribution using MacTeX 2013 and I have now a problem on my TeX documents: The accents are not understood by Texmaker anymore. Here is a screenshot of what I get: Here is a ...
2
votes
1answer
162 views

Beamer not working at all!

Suddenly I am getting the cryptic "Text line contains an invalid character" errors (100 of them) on all my beamer files. Even this MWE doesn't work right: \documentclass{beamer} \begin{document} ...
16
votes
2answers
325 views

Why characters UTF-8 encoded are ISO-8859-1 encoded when written in an external file

For an UTF-8 encoded file as follows: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} % \newwrite\outtmp \immediate\openout\outtmp=out.tmp % \begin{document} ...
2
votes
1answer
89 views

Yes, another “Package inputenc error” question

I'm trying to figure out why LaTeX behaves this way. So, I have this project: https://dl.dropboxusercontent.com/u/12774331/latex.zip which is a perfectly working project, with lots of é and other ...
1
vote
0answers
82 views

ASCII graphs in LaTeX document?

I have ASCII graphs which I want to get nicer like the below. How can I embed ASCII graphs nicely converted to LaTeX document? Input 11 11 01 10 <-> 10 01 00 ...
2
votes
0answers
60 views

PDFLaTeX encoding problem [duplicate]

I am generating a pdf file with PDFLaTeX. The content of the pdf looks well at a first glance. However if I try to copy and paste the text to somewhere else the text look like this: ❉✐❡ ▼❡♥❣❡ ❛♥ ...
1
vote
0answers
601 views

Package inputenc Error: Unicode char \u8:�\expandafter not set up for use wit h LaTeX

I'm having problem with generating pdf file from my tex file. When I use \documentclass with draft option, it generates pdf file with images as boxes without errors, so it's fine. But when I change ...
6
votes
1answer
87 views

Parsing utf8 problems

There are a number of questions relating to problems when using utf8 input encoding, and the closest I found to my problem is, I think, What characters in a normal text document will screw up LaTeX?. ...
4
votes
1answer
119 views

inputenc[utf8] error with input-function of external tex files

I got a problem with inputenc[utf8]. My document is in German and uses 'ä, ö, ü' which usually works fine with the following preamble: \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} ...
5
votes
1answer
106 views

Document in Spanish with IPA and Greek, failing in PDFLaTeX and XeLaTeX

I was passing some documents I had in HTML to LaTeX for a better printout. While the main language of those documents is Spanish (and a few more are in English) there have snips in other languages, ...
1
vote
0answers
76 views

Input Encoding bugged on Windows 7 WinEdt?

When my girlfriend processes her code in WinEdt on Windows 7, she gets awkward looking "special" letters. (Precisly, these are Serbian letters -- from our home country.) She used: \usepackage[T1, ...
7
votes
1answer
407 views

How to change encoding in TeXnicCenter 2.0?

It is not a duplicate of How do I change the encoding of my files? or How to change the text encoding of a TeXnicCenter project?. I haven't found an answer there. Is there any possibility of changing ...
7
votes
1answer
58 views

pdflatex: encoding problems for macros defined before documenclass

I use pdflatex to create a bunch of personalised documents. From a list of names I generate tex files for each John and Jane Doe of the form: \newcommand{\firstname}{John} \newcommand{\lastname}{Doe} ...
8
votes
1answer
65 views

Encoding of written out files

I have a tex file with: \usepackage[utf8]{inputenc} The file calls a macro that saves the content between and \begin{something} and \end{something} to a file. But the encoding of the file is not ...
0
votes
1answer
154 views

Special characters in knitr generated figure caption

I would like to pass special characters and formatting with the knitr generated captions. I am trying to understand two things: 1) Is it possible to pass LaTeX syntax through the caption? 2) How ...
1
vote
0answers
50 views

Cross-platform cooperation problems?

I'm compiling a songbook, and I want to be able to take input for the songs from friends writing on different platforms (mainly Windows and Mac). I'm writing a Java program that puts the *.tex files ...
4
votes
3answers
116 views

Can't write Greek RecipeName in xcookybooky

I am using xcookybooky to create my own cookbook in greek. Until now I was using iso-8859-7 encoding in all my documents and it was working fine. With xcookybooky there is an issue with this ...
6
votes
2answers
167 views

Can't make greek sign of question “;” shown right

I tried to make a greek text in Latex. But there is a small problem the sign of question ";" shows as upper dot. \documentclass[twoside,a5paper,12pt]{book} \usepackage[T1]{fontenc} ...
0
votes
1answer
4k views

ERROR: Please use \mathaccent for accents in math mode

Why do I get an "ERROR: Please use \mathaccent for accents in math mode." for the following code? \[c=439 450\times10^6\frac{\mathrm{millimètre}}{\mathrm{seconde}}\] I am guessing ...
4
votes
1answer
972 views

Package inputenc error - trying to decipher the log

I got an inputenc error. From what I understand, this means that I have used an undefined character. However, I cannot find that character in my document. I need help in understanding the log ...
3
votes
1answer
145 views

How to have special characters (e.g. german umlauts) inside bibkeys?

I really like biblatex [backend=biber] to use with UTF8, as many citations I use will have some special characters esp. in the name field. This works totally great until I want to use e.g. german ...
1
vote
1answer
116 views

Error message with the package inputenc [duplicate]

I'm trying to do a presentation in spanish using beamer and so far my source looks like this: \documentclass{beamer} \usetheme{AnnArbor} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} ...
0
votes
1answer
150 views

MacTeX 2012 to 2013; NFSS system error, encoding scheme LGR

I used MacTeX, 2012. After I had been playing the 2013 version, I get the following error messages that have never occurred in the 2012 version: 1 This NFSS system Is not set up properly. 2 For the ...
5
votes
1answer
411 views

Gnuplot output encoding

I have this gnuplot script and works fine: set term png set output 'test.png' plot sin(x) ti "Eñe" Note de 'ñ' in the label. This produces an image and you can read the 'ñ'. Now I try to change ...
3
votes
0answers
116 views

LuaLatex: Showing nonexisting errors [closed]

I am trying to use LuaLatex for printing plots (as PdfLaTeX doesn't have enough memory) but I have a problem with it. I am using TeXLive 2013 with TeXMaker. I was trying to compile a file once with ...
5
votes
1answer
368 views

disable automatic insertion of \selectlanguage and \inputencoding in LyX

Is there a way to disable LyX's automatic insertion of \selectlanguage and \inputencoding? I like being able to switch languages by hand once in a while, but 99% of the times LyX inserts those ...
5
votes
1answer
132 views

What controls the encoding of the LaTeX log file – and how to change it?

I have a LaTeX document in UTF-8 encoding: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \begin{document} ...
0
votes
3answers
279 views

How to code the german “ß” in Latex

I've read lots tutorials how to code "ß" in Latex. Unfortunately none of them could help me. Here is my code: \documentclass[11pt]{amsart} \usepackage{geometry} ...
4
votes
1answer
315 views

Cannot produce a document in Greek

I have just installed MikTeX 2.9 in my gf's laptop along with Texmaker. I decided to make a test document to see if everything is working fine. However, while packages are loaded without any problem, ...
2
votes
0answers
183 views

using special characters in csv file imported by pgfplotstable

I'm using pgfplotstable to render CSV-files as tables in my document: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{pgfplotstable} \begin{document} ÄÖÜ! \pgfplotstabletypeset[col ...
0
votes
2answers
200 views

Special characters are losing format every time I open a document

Ok I was working with this document at home and at work in Gummi. I was using a template where everything is set for spanish so everything was working fine. Today I come to work and I find that when I ...