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
0
votes
1answer
74 views

File encoding for UTF8 arabic fonts

In my definition I have \documentclass[a4paper,11pt]{article} \usepackage[utf8, utf8x]{inputenc} \usepackage[english, ngerman]{babel} % Sprache %\usepackage[T1]{fontenc} \usepackage{newunicodechar} ...
6
votes
3answers
492 views

How do I prevent "s from turning into ß with babel?

I'm writing a German document and thus I need äÄöÖüÜß to work. However I don't use it this way: "a"A"o... I just type äÄö... My Problem is that "Test" s is displayed as "Testß Here is a MWE: % !...
0
votes
1answer
118 views

Problem with UTF-8 in Listings not beingsolved by standard answer

I'm using TeXstudio and pdfLaTeX. I'm trying to use the listings package to add some Matlab source code to my document. However, I'm having trouble with some portuguese letters used in the code (...
1
vote
2answers
140 views

How do I display Unicode characters with minted?

I use a minimal code example with Julia \documentclass{article} \usepackage[cache=false]{minted} \begin{document} \inputminted{julia}{polynomial_regression.jl} \end{document} on # Polynomial ...
1
vote
1answer
244 views

biber inputenc error

I'm having a strange error with biblatex using biber as a backengine. My minimal example is: \documentclass {scrreprt} \usepackage[T1]{fontenc} \usepackage[german]{babel} \usepackage{lmodern} \...
0
votes
1answer
476 views

Latex error: “! Package inputenc Error: Unicode char Ṕ (U+1E54)”

"! Package inputenc Error: Unicode char Ṕ (U+1E54)" Does anyone know me explain what this error means and how to fix it? \documentclass[12pt,a4paper]{report} \usepackage[brazil]{babel} \usepackage{...
0
votes
1answer
50 views

Redefine encoding to input custom characters using inputenc

I want to reassign different values to characters so that, e.g., when I type a '¤', an 'l' gets output into the pdf file. To achieve this, I use the inputenc package and modify one of its *.def files ...
1
vote
0answers
39 views

Inputenc Error: [closed]

% LinearAlgebra.tex \documentclass[10pt]{book} \usepackage{stackengine} \begin{document} \end{document} I get this inputenc error: Unicode Character ^^T (U+14) not set up for use with latex. It ...
4
votes
1answer
54 views

siunitx overwrites the definition of ← and →

This code % !TEX encoding = UTF-8 Unicode % !TEX TS-program = pdflatex \documentclass{article} \usepackage{siunitx} \usepackage[utf8]{inputenc} \DeclareUnicodeCharacter{2190}\...
2
votes
2answers
3k views

Package inputenc Error: Unicode character α (U+3B1) not set up for use with LaTeX

When I compile the .tex file, I get the said error. It points out to .bbl file in the following line: \bibitem{LIU20083883} G.~Liu, T.~Nguyen-Thoi, K.~Lam, \href{http://www.sciencedirect.com/...
2
votes
1answer
91 views

lost my smilies: it is worth the effort to make Unicode work?

I made some LyX Beamer slides with smiley faces and I found they do not survive the transition to utf-8. I've fiddled with this quite a bit. Right now, it appears that, at least for miscellaneous ...
3
votes
1answer
156 views

Is it possible to use iso-8859-7 encoding (english,greek) with biblatex(backend set to biber)?

I am trying to write a double language thesis document with the following packages: \documentclass{customThesis} \usepackage[greek,english]{babel} \usepackage[iso-8859-7]{inputenc} \usepackage[...
6
votes
1answer
237 views

Compile despite invisible 0x08 (Backspace) character

Working with LaTeX, I often have a compilation error when writing exponentials in mathematical expressions, even though the syntax is valid. Recently I discovered this was due to a 'Backspace' ...
2
votes
1answer
775 views

An input encoding problem

I have two similar (as far as I can say) installations of MikTex 2.9+Winedt 10.3 on two Windows 10 machines. When I LaTex a particular file on one machine, it compiles with no problem. On the other ...
0
votes
1answer
48 views

Add blank space after each special character

Here come the problem: after each character such as é, à, î, ... I get not only the character but also a blank space (and it seems that the character is in another font) I'm currently using miktex ...
5
votes
2answers
2k views

! Package inputenc Error: Unicode character ☯ (U+262F)

I encountered this error while trying to compile my thesis. Before I did not have this error. Any idea how I can find this Unicode character in my LaTeX document, or solve this issue?
2
votes
1answer
33 views

bilingual slides: beamer, comment package and non-ascii characters (umlauts, diacritical characters)

I'd like to generate beamer slides matching the main language of the target audience. The easiest way seems to facilitate the comment package and pack the individual slides into includecomment/...
1
vote
2answers
3k views

! Package inputenc Error: Unicode char ́ (U+301)(inputenc)

I get this error message, during compiling my .tex-document. line 234 - ! Package inputenc Error: Unicode char ́ (U+301)(inputenc) not set up for use with LaTeX.See the inputenc package documentation ...
3
votes
1answer
757 views

! Package inputenc Error: Unicode char   (U+2009) (thin space)

i get an error when i try to compile my document and it drives me crazy. I have a lot of citations from a bib file, and i always get the Error listed above which (how i understand it) means i have ...
3
votes
1answer
380 views

How to \input{} files with Unicode names?

I work in Linux with the latest TeX Live. The system encoding is UTF-8. It is also the default editor encoding in my TeXstudio 2.12.8. I have figures in files like σ_1_μ_02_per_5.tikz, and I included ...
0
votes
1answer
2k views

Package inputenc Error: Unicode character ⁡ (U+2061), in MacTex

My document compiles perfectly in LaTeX (Linux and Overleaf), but it takes an error in MacTeX. I'm using \documentclass[review]{elsarticle} and I need to declare some operators: \DeclareMathOperator*...
3
votes
1answer
403 views

How to get LaTeX to output UTF8-characters in the command line?

For a script, I want to get the hyphenation that LaTeX chooses, including my custom hyphenations file. I use this code and it works mostly: echo "\\\documentclass{standalone} \\\usepackage[T1]{...
0
votes
2answers
43 views

fontenc causes error in appendix table of content [duplicate]

I am making a table of content for my appendices, but when I use fontenc a strange series of letters appears in the compiled pdf file. my code: \documentclass[10pt,a4paper,dvipsnames]{article} \...
2
votes
2answers
277 views

Unicode character error (inputenc package)

I'm trying to compile a file, but its returning an error about inputenc package. MVE: \documentclass[ 12pt, % tamanho da fonte a4paper, % tamanho do papel hidelinks, % esconder links english, % ...
1
vote
2answers
486 views

Inputenc UTF8 error message

My question is similar to yet different than: How to fix Package inputenc Error: "Unicode char \u8:� not set up for use with LaTeX."? I'm using TexLive and Texmaker with ...
6
votes
1answer
420 views

Package *selinput* | Recommended for LaTeX Beginners?

I travel this site often to get new ideas or to see what new packages / solution are becoming state-of-the-art or are considered to be "best practice". By accident, I saw an old (2012) post of the ...
2
votes
1answer
46 views

listings: control and extended chars of the IBM PC codepage 437

This is a simplified version of listings: emphasize Greek and have German umlaute and ß in comments. Noone answered there, so let me simplify the question: How to use the alpha, the right arrow ...
0
votes
2answers
58 views

etoc halts with error on tableofcontent

When I use the \tableofcontents macro in a document where the etoc package is loaded, latex pauses and reports an error. If I let the compilation continue a well formed pdf is generated. Minimal ...
0
votes
1answer
73 views

character macro in biber file

We're using a bibtex file in XeLaTeX + biblatex that was originally encoded in ASCII, so accented characters are represented by macros. The rest of the text is Unicode UTF-8. One of the accented ...
3
votes
1answer
74 views

Different results of xstring test with inputenc and fontspec

In the following MWE both tests are true on pdflatex and inputenc but the second test fails on fontspec and luatex/xelatex. Any chance to get this engine agnostic (both true)? \documentclass{article} ...
1
vote
1answer
387 views

Error: Command \textomicron unavailable in encoding T1

Can someone help me with this? I am really new to Latex and this really frustrates me \documentclass[12pt]{article} \usepackage[top=2.54cm, bottom=2.54cm, left=1.91cm, right=1.91cm]{geometry} \...
3
votes
1answer
168 views

What is the difference between inputenc and inputenx?

Like I understood covers inputenx more cases as inputenc. Right, or is one of it obsolete? When not, what should I use in which case? I use pdfTeX version 3.14159265-2.6-1.40.19 (and MiKTeX). Thank ...
1
vote
0answers
669 views

Package inputenc Error: Unicode char ́ (U+301)

Package inputenc Error: Unicode char ́ (U+301) (inputenc) not set up for use with LaTeX. See the inputenc package documentation for explanation. Type H <return> for immediate help. ... l.622 \...
3
votes
2answers
3k views

! Package inputenc Error: Unicode char Δ (U+394)

I would like to set up a bibliography containing greek letters (e.g. Δ) but receive an error while printing my bibliography. Though having read several questions related to that topic (e.g. 1, ...
19
votes
3answers
3k views

How is a mathematical formula represented in PDF?

If I compile a .tex file to a PDF, how will the PDF encode a mathematical formula like f.ex. the integral below? Is it a bitmap? Or how else is it encoded? And how can I extract the formula from a PDF ...
0
votes
0answers
34 views

Unicode char not set up for use with latex [duplicate]

I am trying to display something like ó í ö ß ... basicalliy European alphabet Italy, France, Spain, Portugal, Germany. Should not be too hard. I load this package \usepackage[utf8]{inputenc}. As ...
0
votes
1answer
56 views

language errors in bibliografy (from .bib file)

I created a bib file for my references. All my references are in english language. My document is in greek-english language. When I add those references at the end of my document all references are ...
2
votes
2answers
152 views

Should I avoid using 'inputenc', 'fontenc' and 'babel' in a document class?

I want to create a document class for my university department, it is supposed to serve as a template for students' bachelor and master theses. These theses must be written in Russian (or, in ...
8
votes
1answer
324 views

Problem with dtx file after LaTeX kernel upgrade (2018/04/01)

Today, the generation of one of my dtx files stopped with the error: ! Undefined control sequence. \UseTextAccent ...up \@firstofone \let \@curr@enc \cf@...
1
vote
1answer
217 views

Use utf-8 encoding instead of iso-8859-1

I am using htlatex to generate an html file. I use some special characters like é and å in the document. These characters come out looking fine when I open the resulting html file in Safari. ...
5
votes
2answers
398 views

Which characters are technically legal in macro names with T1?

Disclaimer: I am aware that one should not use special characters in macro names and do not recommend doing that (on the contrary). I ask this question purely out of curiosity. Until recently I ...
0
votes
0answers
147 views

While copy from pdf file and pasting in tex file getting inputenc error

Package inputenc Error: Unicode char fl (U+FB02)(inputenc) not set up for use with LaTeX. ...me, but the order of characters is shuffl
0
votes
1answer
124 views

How to properly use UTF8 with latexdemo package

I want to have Umlauts in a latexdemo environment. MWE: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{textcomp} \usepackage{latexdemo} \begin{document} \begin{filecontents*}{\...
1
vote
1answer
3k views

! Package inputenc Error: Unicode char fi (U+FB01) [duplicate]

TexStudio underlines in red an excerpt in which there are some double quotation marks, giving the error above. I use \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc}
0
votes
1answer
458 views

Can't get LyX-generated file to handle umlaut properly

The code below is generated by LyX. I trimmed down the original in order to make a MWE. No matter what I do with this, I keep getting an error message when the file tries to compile with pdflatex. \...
1
vote
1answer
827 views

\guilsinglright and \quotesinglbase unavailable in encoding OT4 when using package “polski”

I reinstalled my system completely (changed from Win7 to Win10) and installed MiKTeX 2.9 and TeXnicCenter. Files that used to work with this setup do not anymore. Tried the very basic example for ...
0
votes
1answer
76 views

Facing problem whenever I compile my work

Whenever I compile my work on LaTeX I always have this error Problem (package inputenc error: keyboard character used undefined (inputenc) in inputencoding'latin9') What does it mean and how to ...
1
vote
0answers
216 views

Scandinavian letter Ø triggers math error

I'm writting an article in Norwegian, and thereby I'm required to use \usepackage[utf8]{inputenc}. This package allows my name to be spelled correctly (Øyvind). But some of my Ø's result in a math ...
1
vote
0answers
3k views

Package inputenc Error: Unicode char − (U+2212)(inputenc) not set up for use with LaTeX [duplicate]

I'm writing my graduation project and suddenly it won't compile anymore. I'm getting the following error in the .bbl file: Package inputenc Error: Unicode char − (U+2212)(inputenc) not set up for use ...
1
vote
0answers
21 views

\edef with accent breaks List of Tables [duplicate]

Foreword: I'm aware that I'm doing unusual stuff with LaTeX :P I noticed that when I use \edef in something that contains an unicode (non-ASCII) character, TeX not only expands the macros, but also ...