We’re rewarding the question askers & reputations are being recalculated! Read more.

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
6
votes
1answer
425 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 ...
0
votes
1answer
51 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 ...
2
votes
1answer
39 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/...
4
votes
1answer
1k 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 ...
1
vote
1answer
489 views

Which encoding used in LaTeX sources to convert PDF file accents to the doc format correctly?

I have the following configuration file in my LaTeX source: % !TEX encoding = UTF-8 Unicode \documentclass[a4paper,12pt]{article} \usepackage{lmodern} \usepackage[T1]{fontenc} \usepackage[utf8]{...
4
votes
1answer
466 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
442 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
53 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
329 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
596 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 ...
5
votes
1answer
29k 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} \...
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}{\...
2
votes
1answer
47 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
62 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
87 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
75 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} ...
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
1answer
463 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
198 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
718 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 \...
12
votes
2answers
3k 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 ...
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
35 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 ...
32
votes
7answers
5k views

LaTeX baffled by BOM---Unicode's byte order mark.

Unicode applies the convention of using a byte order mark as signature at the beginning of a text stream, identifying the encoding used within it. The following three bytes at the beginning of a file: ...
0
votes
1answer
57 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 ...
3
votes
1answer
3k 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, ...
0
votes
1answer
140 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*}{\...
2
votes
2answers
164 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 ...
24
votes
4answers
16k 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 ...
179
votes
4answers
139k views

fontenc vs inputenc

I just don't seem to get it. So I come from the german speaking part of Switzerland and naturally I need ä ü ö a lot when I write german texts. So in LaTeX I have the option to go via "a "u "o which ...
1
vote
1answer
249 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
453 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
170 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
1
vote
1answer
4k 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
528 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. \...
14
votes
2answers
7k views

Error “Please insert PRERENDERUNICODE”

I meet a subtle problem. My simplest code is as follows. I am working in Win 7-32bit, my editor is WinEdt 7.0 (Build: 20120125 (v. 7.0)), saved as UTF-8, compiled with pdflatex(MiKTeX2.9). \...
1
vote
1answer
1k 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 ...
1
vote
0answers
234 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 ...
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 ...
3
votes
2answers
682 views

inputenc when we write in english

I will submit a paper in mathematic to a journal. I write it in english. Can I delete the following code \usepackage[latin1]{inputenc} \usepackage[T1]{fontenc} Or I should replace it by another ...
1
vote
0answers
4k 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
22 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 ...
7
votes
2answers
7k 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 ...
1
vote
1answer
976 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): \...
2
votes
0answers
596 views

How to use \DeclareUnicodeCharacter with U+302 for biblatex [closed]

I am using a .bib file exported from Zotero with BetterBibTeX. I have activated the option export unicode as plain-text latex commands in the Better BibTex export options for BibLaTeX. I am stuck with ...
1
vote
0answers
522 views

Problem with utf8 and \maketitle [closed]

I have the following master document: \documentclass[tesi,english]{editorialupv} \input{preambulo} \bibliography{referencias} \graphicspath{ {../figuras/} {../logos/} {./figuras/} {./...
1
vote
1answer
850 views

This error keeps appearing: ! Package inputenc Error:Keyboard character used is undefined in inputencoding ansinew

I have been working on this document without problem, but now everytime I compile it, this message appears: ! Package inputenc Error: Keyboard character used is undefined (inputenc) ...
1
vote
0answers
477 views

A way to change the encoding of a .tex file [closed]

Sometimes, when the contents of a .tex is copied from .docx file, its own encoding might not fit your expectation and cause problems as you compiling it. One way to convert the file to the encoding ...
0
votes
1answer
293 views

Latex showing inputenc Error for latin1 at \end{Document}

Editor: TexStudio Latex: MiKTex 2.9 I was trying to add a biblatex file to my document and that workt fine for the first few times. After that the Error: Package inputenc Error: Keyboard character ...