Questions tagged [input-encodings]

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

Filter by
Sorted by
Tagged with
2
votes
1answer
266 views

TeX file corrupted (wrongly coded/decoded) while compiling

I was compiling my .tex file using pdflatex on an external hard drive, while the compilation took very long (the HDD got super slow from then on), I pulled the drive out. Now, the .tex file seems to ...
3
votes
1answer
314 views

Transformation accent characters written in Tex

I am using UTF8 encoding now and don't need to use LaTeX macros to typeset accented characters. Would you know an automative process to convert accent characters coded with Tex macros to utf8 ...
3
votes
1answer
435 views

Greek letters with Minted or listings and LuaLaTeX

I am trying to get a listing into my LaTeX document. A simple listing would be the following XML: <!-- Lüscher-Weiß with β --> Then I try to get this into my document. \documentclass[...
1
vote
1answer
577 views

German Umlauts in US-ASCII encoding

I got a LaTeX project that has been exported (downloaded) from an ShareLaTeX Online installation. Seems that it stored all Tex files as US-ASCII according to what I see on MacOS using the following ...
1
vote
0answers
393 views

Package inputenc Error: Unicode char â„¡ (U+2121)(inputenc) not set up for use with LaTeX. \printbibliography[heading=bibintoc] [closed]

I have some problem with the "Package inputenc Error: Unicode char â„¡ (U+2121)(inputenc)". I am using Zotero and "export" the bibliography to a bib file. To correct certain information I recently ...
1
vote
0answers
83 views

Strange error with inputenc [closed]

The head of my document looks like \documentclass[intlimits,twoside,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage[eqsecnum]{cmpj3} \usepackage{bm} \usepackage{float} \newcommand{\ii}{\...
0
votes
0answers
420 views

Package inputenc Error: Keyboard character used is undefined for begin document

I get the following error when trying to typeset my document: ./masterproef.tex:68: Package inputenc Error: Keyboard character used is undefined (inputenc) in inputencoding `ascii'. ...
0
votes
1answer
143 views

Problem with a damaged .tex file

Yesterday a failed USB extraction damaged an important .tex file for me, I attached the file in a Dropbox link. When I try to open the .tex in Texmaker a message suddenly appears that says something ...
1
vote
1answer
945 views

Package inputenc Error: Unicode char ̂ (U+302)(inputenc) not set up for use with LaTeX. … $\widehat{\left (OA,AA' \right )}$

I'm writing my dissertation in Portuguese but the latex is finding this kind of error. In fact, I'm using some mathematical characters. How do I resolve this? Here below is the location of the error ...
1
vote
1answer
538 views

Non-ASCII characters in TexPad desktop in XeLaTex

I am using Texpad 1.7.42 (Desktop, not cloud or iOS), to edit locally TeX documents produced originally in the cloud (on Overleaf). My documents contain many Unicode characters, and use XeLaTex with ...
1
vote
1answer
677 views

How can I use new unicode characters?

I know, there are lots of questions about Unicode and I've read a lot of these. But I wasn't able to solve my problem: I have to use the characters ↊ and ↋ (U+218A and U+218B) in my text. I tried ...
3
votes
1answer
302 views

Can't compile an arabic file using LuaLaTeX

I have an article written in arabic I want to use tex to get a PDF file, but I can't compile the file (I'm using LuaLaTeX), I get this error: ! String contains an invalid utf-8 sequence. l.137 \...
1
vote
1answer
251 views

Can't insert some arabic characters

I would to insert some arabic characters like ﴾ but I can't, I get this error: ! Package inputenc Error: Unicode char ﴾ (U+FD3F) I tried \DeclareUnicodeCharacter and \usepackage[utf8x]{inputenc} but ...
0
votes
3answers
106 views

Cyrillic text in ngerman document

I have a long German text that contains cryillic. Up until this point I had this and it worked fine, allowing me to write umlauts etc: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[...
1
vote
1answer
756 views

\printbibliography results in error: ! Argument of \UTFviii@three@octets has an extra }

I have been dealing with this problem some days. Maybe you can help me? When running pdflatex I get this error: ! Argument of \UTFviii@three@octets has an extra }. <inserted text> \par l.15 I'...
3
votes
1answer
4k views

'Can only be used in preamble' Error when using \input for a chapter

It's my first post here; hopefully I'm not butchering how I'm supposed to post this. I'm working in the Report class using Arara, trying to use \input to import a chapter. % arara: pdflatex % arara: ...
2
votes
2answers
7k views

! Package inputenc Error: Unicode char ​ (U+200B)?

\begin{description} \item[Public : ] Dans les clouds ​​publics, \item[Privé : ] Dans les clouds ​​privés, \end{description} I don't know why I got the error mentioned in the question knowing that ...
0
votes
1answer
1k views

How is \documentclass an “Undefined control sequence”?

I'm using AUCTeX 11.90 on emacs (recently upgraded from elpa packages) running on Windows 7. I've created a tex file and for some reason only this one particular file gives error msgs when I compile ...
0
votes
1answer
234 views

Error caused by a non-ASCII character in the presence of inputenc + listings

Processing the following .tex file with LaTeX: \documentclass{amsart} \usepackage[utf8]{inputenc} \usepackage{listings} \begin{document} \begin{lstlisting}[float,caption=example] ë \end{lstlisting} ...
1
vote
0answers
391 views

Can't compile a PDF with UTF-8 in Sweave [duplicate]

I try to compile in Sweave (R Studio) a PDF which contains cyrillic characters. The PDF-file looks nice, and the cyrillic characters display correctly. But when I try to copy some text from the PDF to ...
1
vote
5answers
623 views

Why use both fontenc and inputenc in the same document? [duplicate]

What's the point of using both fontenc and inputenc in the same preamble? Why would anyone want to specify an input encoding (with inputenc) and an output encoding (with fontenc) that don't coincide? ...
26
votes
4answers
17k views

Is there any reason to use inputenc?

My LaTeX text editor is GNU Emacs 25.1.1, which encodes text files in UTF-8. Is there any reason to specify \usepackage[utf8]{inputenc} in the preamble? Even if I migrate to a different computer ...
7
votes
2answers
299 views

Custom glyph is not displayed properly

Recently I got the request to write a dissertation on the topic of quantum diagrammatic algebra. It was a fun LaTeX challenge as well, as there were plethora of custom glyphs I had to define in order ...
0
votes
1answer
4k views

Package inputenc Error: Keyboard character used is undefined

I am using Lyx. I want my text to appear as Strategist's instead of Strategistâs. Please help. These I include in the LAtex Preamble under documents settings \input{LyXPreamble} \usepackage[T1]{...
0
votes
1answer
118 views

Unicode characters are not being rendered anymore, what happened? [closed]

I used to be able to render Unicode characters without any issues in LaTeX. However, since a couple days (I noticed) TeXstudio is not rendering them anymore... If I use: \documentclass[10pt,a4paper]{...
0
votes
0answers
493 views

Getting german “umlaut” written correctly

I guess this question has already been asked. but I just can't solved. I have a template in which I need to write in german. and I don't get the "Umlauts". hier are the package that I'm used: \...
1
vote
0answers
290 views

Error in LyX when including ≥ symbol: Unicode char \u8:≥ not set up for use with LaTeX

I know many questions already relate to this problem in LaTeX. However, I'm using LyX classicthesis and included the character ≥ by Insert > special character > symbol, and got this error Unicode char ...
3
votes
1answer
647 views

Why does utf8x with inputenc change the micro symbol µ to greek mu?

I haven't informed myself a lot about the utf8x option of the inputenc package, other than it seems it should be avoided. Still, I've come across a weird behaviour with a directly-input micro symbol (...
2
votes
2answers
723 views

\lmoustache and \rmoustache manifesting as weird cropped “tails”

I was just working on my LaTeX skills so I don't forget, so I went on this site and started replicating the most complex stuff I found. At first I thought it would be a piece of cake, but then I wrote ...
2
votes
3answers
205 views

Strange signs after "

i get some strange effects after a " sign in my latex document. Here is my \usepackage section: \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[ngerman]{babel} \usepackage{ulem} \...
0
votes
1answer
87 views

How to put a latin1 file inside utf8 file, using the input comand

I have a latex file that have been written using: \usepackage[utf8]{inputenc} In this file, there are few external files also written using this package. Now I need to put a external file that was ...
1
vote
1answer
209 views

Can the babel and inputenc packages be used with plain tex?

More particularly, can this latex document be converted to plain tex? \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[main=british,polutonikogreek]{babel} \begin{document} {\...
1
vote
1answer
1k views

Encoding problem with latexdiff

After discovering latexdiff, I wanted to give it a try and promptly ran into what seems to be an enconding issue. Consider these two very simple example files (without special characters): \...
0
votes
1answer
11k views

How to handle german umlauts (ä,ö,ü)

I just have installed MacTex on my iMac and I have downloaded a template from my university. When I open a tex file from this template with TeXShop, there are german umlauts, but they are shown as "ö"...
1
vote
1answer
238 views

Incompatibility between apostrophe ’ and utf8

The code below only works without the utf8 option of the inputenc package or by removing the apostrophe from M’ and N’, \documentclass[a4paper, 12pt, twoside]{book} \usepackage[brazil]{babel} \...
3
votes
1answer
388 views

Using inputs both in utf8 and latin1

Issue I am writing a document in utf8 but I have to include some files encoded in ISO-8859 which are crashing my build. Indeed, I am using [utf8]{inputenc} which works great for all my files but does ...
4
votes
2answers
430 views

How do i use a cyrillic glyph/symbol/character in a math formula?

I am trying to use a cyrillic glyph as a symbol for a proportionality factor. It's the ӄ and its unicode number is 04C4 (see unicode page). So i crawled the english web for information on this, and ...
0
votes
1answer
96 views

LaTeX packages do not affect bibliography file

Sorry if this is an already answered question, but I searched for hours through the Internet without success. It seems like the packages used in my main.tex file do not affect my .bib file, in fact I ...
1
vote
0answers
27 views

Junk character appended to code using lstinputlisting [duplicate]

Trying to learn LaTeX, I'm using a very simple document to see if I can import C# code using the listings package. I've installed MikTex, and made sure it's up to date, and I'm using pdfLateX. The ...
1
vote
0answers
485 views

Package inputenc Error: Unicode char ́ (U+301)(inputenc) not set up for use with LaTeX. \include [duplicate]

I am not sure I understand the error, but it somehow appears when I \printbibliography I am using biber, and don't see anything wrong with my entries.. @online{human_freq_range, author = {...
4
votes
1answer
343 views

easylist and \usepackage[utf8]{inputenc}

With the following MWE: \documentclass{article} % \usepackage[utf8]{inputenc} \usepackage{easylist} \begin{document} \begin{easylist}[enumerate] § A first item §§ A sub item §§ another ...
2
votes
2answers
364 views

Problem with encoding of inserted .m-file

Sorry for an ugly post, it's my first one & I have very little time. I have this tiny document on overleaf: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[polish]{babel} \...
0
votes
2answers
925 views

Using UTF and not displaying accent marks

I'm having this issue wich started some time ago and now is being quite annoying. I write in spanish and need to use accent marks a lot. I usually start my articles or reports with the preamble ...
8
votes
1answer
782 views

issues with undefined(inputenc)

I have problem with code - \RequirePackage[utf8]{inputenc} in my class, i am sure, that this file is fully written in utf8, i tried to convert in multiple way, so it must be in utf8. But still same ...
9
votes
2answers
583 views

How to put an acute on an i using Biber: issues with “\'{\i}”

I use some packages with require utf8. Here is the main file: \documentclass[a4paper,titlepage]{report} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[american]{babel} \usepackage{...
0
votes
0answers
1k views

Package Inputenc Error: Unicode char \u8: not set up for use with LaTeX

I am writing my thesis using MiXTeX 2.9 and Winedt 10 as my editor. I use biblatex with Biber as backend. I have created a main file, "thesis", from which I load individual chapters using the \input ...
1
vote
1answer
921 views

Package inputenc Error in listings

If I put texts containing French characters outside of \begin{lstlisting}...\end{lstlisting}, it works. For instance, \documentclass[twoside,12pt]{article} \usepackage[utf8]{inputenc} % for source ...
10
votes
1answer
2k views

Interpreting unicode ², ³, etc… characters in math mode

Short question: Is there some font encoding or other trick that would allow the unicode character ² (exponent 2) to be correctly interpreted by LaTeX, notably in math mode (i.e. translate it ...
3
votes
1answer
10k views

How do you resolve the error in LaTeX: Option clash for package inputenc. \usepackage?

This is my document \documentclass[12pt,a4paper]{article} \usepackage[latin1]{inputenc} \usepackage{amsmath} \usepackage{amsthm} \usepackage{amsopn} \usepackage[utf8]{inputenc} \usepackage[ngerman] {...
5
votes
1answer
2k views

Problem with LaTeX (missing $ inserted)

These are the first lines of my TeX document: \documentclass{article} \usepackage[latin1]{inputenc} \usepackage[T1]{fontenc} \usepackage[catalan]{babel} \usepackage{graphicx} \title{Treball} \...