Tagged Questions

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

2
votes
1answer
25 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
167 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 ...
2
votes
0answers
35 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
73 views

Typesetting Japanese in LaTeX errors because of gb4e

I'm trying to include Japanese and English text in the bibliography of LaTeX document while also using the package gb4eand no matter what Japanese text I input it comes out in the pdf as ...
1
vote
1answer
215 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
22 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 ...
0
votes
0answers
143 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
119 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} ...
9
votes
1answer
169 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 ...
1
vote
1answer
45 views

System encoding in TexStudio 2.8

When recently updated my texstudio to v2.8, it turns out that the option of "system" encoding (i.e. system's native ASCII configuration) isn't one of the options when choosing an encoding. Assuming ...
4
votes
3answers
173 views

Cut and Paste Non-Math Text from MS Word to a .tex file

I am helping a friend use LaTeX to generate a book of short stories. The stories are received from the authors in MS Word -- unfortunately that is only text editor most of the world knows. There is no ...
0
votes
0answers
65 views

Switch encoding from utf-8 to iso-8859-15

I would like to switch from the Unicode (UTF-8) to Western (ISO-8859-15). Would someone tell me how to do this, please?
0
votes
2answers
107 views

Using Minion Pro with Classicthesis

Good afternoon, I bought Minion Pro fonts (regular and italics) in order to use them with a classicthesis document. And following the instructions you gave me recently, I run with Xelatex but it did ...
14
votes
1answer
319 views

In tex file ascii characters only : if so should I encode the file in ascii? Or is utf-8 better used anyway?

This is a best practices question. Should I encode tex files in ascii or should I use utf-8? Is either preferred for a reason (ANY reason) in the case where ascii characters and nothing else appear ...
2
votes
0answers
44 views

Cannot produce greek with utf8 and babel

I am creating a document in greek, using babel and utf8 encoding. I am using MiKTeX 2.9 and TeXMakeR. When trying to produce a document I get the error Package inputenc Error: Unicode char \u8:Γ not ...
3
votes
1answer
101 views

biber - warning about non-ascii characters

Biber gives me the following warning: WARN - The entry 'csorgo__sandor:10' has characters which cannot be encoded in 'ascii'. Recoding problematic characters into macros. Is this anything to worry ...
5
votes
1answer
125 views

Greek and English Language in bibliography using utf8 encoding and LaTeX

I am creating a document;it's main language beeing greek. What I am trying to do, unsuccessfully is to have bibliography entries in two languages, Greek and English that is. My code is ...
0
votes
2answers
105 views

Uppercase accented characters displayed as “?”

The header is \documentclass[12pt,twoside]{report} \usepackage[a4paper,left=4cm,right=3cm]{geometry} \usepackage[latin1]{inputenc} \usepackage[T1]{fontenc} \usepackage[francais]{babel} ...
2
votes
0answers
107 views

Tex file in binary

My machine was powered down after it was frozen, but I still managed to save the current Latex file. When I turned the machine back on and tried to import the file in texmaker , I was given this ...
3
votes
1answer
95 views

utopia mathdesign and biber incompatibility

I have a problem using utopia fonts with xltxtra and biber when using non-ascii characters. The problem disappears if using computer-modern (off-shelf LaTeX) or bibtex instead of biber. Here's an ...
1
vote
1answer
77 views

Non-English letter input/output problem [duplicate]

I use this for language \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[english]{babel} Sometimes, i need input some special letter, for example Ö. The language setting worked ...
9
votes
1answer
205 views

(Dis-)Advantages of typing (polutoniko)greek letters?

As fan of teubner.sty and gfsporson I've typed a long document with teubner-Glyph-macros >\~W f\ia le Fa\ic dre ktl.` By chance I found that, without changing anything, I can use the Greek letters ...
2
votes
0answers
545 views

Latex error: Option clash for package inputenc

I tried to cut all the unnecessary text and it all boils down to this: the following file does compile if I comment the \usepackage[mac]{inputenc} line. \documentclass{frontiersSCNS} ...
1
vote
1answer
44 views

TexShop diacritic encoding

A newbie question. I have a number of colleagues who always use a different editor rather than texshop to edit, but use texshop to compile nonetheless. The reason I was told is that texshop corrupt ...
3
votes
1answer
79 views

Redefining a command and special character

I am trying to redefine \v command (wedge above character) to do what \vec does in mathmode and preserve \v in a command called, say \hac. This code works perfect \documentclass{article} \let\hac\v% ...
6
votes
1answer
156 views

Are (La)TeX macro/command names restricted to ASCII code characters (letters)?

Perhaps this question has been asked already, but my search efforts were unsuccessful. Is it necessary to have ASCII characters (i.e. letters basically [a..z,A..Z], special characters such as \( etc ...
0
votes
0answers
56 views

inputenc.sty error

LaTeX Error: File `latin.def' not found. Type X to quit or <RETURN> to proceed, or enter new name. (Default extension: def) Enter file name: ! Emergency stop. i would like to compile on file ...
2
votes
0answers
32 views

Problem with encoding [closed]

I have a problem with my tex file encoding. In my text in tex file I have something like this: 1. Wykonuje zaw??d z kt??rego zupe??nie nie jest zadowolony. Which should be: 1. Wykonuje zawód z ...
1
vote
1answer
76 views

XeLaTeX and the characters “éèàç”

Using accented characters (éèçà...) I get a space in my output rather than the correct symbol in all of my tests. I am using XeLaTeX: what is wrong? \documentclass[a4paper,twoside,12pt, ...
2
votes
1answer
131 views

Arabic characters in text

I saw there are numerous questions and answers for typesetting Arabic characters. Yet I can't get them work. I tried to replicate this answer, which is exactly what I want to obtain - few in line ...
6
votes
1answer
169 views

Keywords with spaces in Listings

I want spaced keywords in listings (that is, keyword, with spaces in between). Now, there are some questions in this site already answered, like this one, where the official answer is that “it is not ...
2
votes
0answers
151 views

Package inputenc Error: Unicode char -> from bibliography file [closed]

Recently I added a name in my bibliography file with the letter É. When I tried to compile, Texstudio gave me the following code: Package inputenc Error: Unicode char \u8:É. not set up for use ...
3
votes
1answer
157 views

\DeclareUnicodeCharacter and LuaTeX

Is there an equivalent command to \DeclareUnicodeCharacter for LuaTeX that allows me to define alias commands for special UTF-8/Unicode characters? I am using a custom Fraktur font that uses Unicode's ...
4
votes
0answers
62 views

LuaTeX readline encoding

Must LuaTeX's \readline use latin-1 encoding? In the example below, I first store é in a file (well, and ^^J) which works well. Then I read it back in, using \readline and get two characters é (and ...
6
votes
1answer
176 views

Why doesn't LaTeX hyphenate words containing accents, e.g. “développement”? [duplicate]

In this MWE, Latex doesn't hyphen the word "développement" and prefer to create a HUGE hbox. \documentclass[a4paper,12pt,dvipsnames]{report} \usepackage[utf8]{inputenc} \usepackage[french]{babel} ...
2
votes
0answers
61 views

trouble with inputenc package

im having a hard time with TeXnicCenter 2.0 (with MikTex) on Windows 7. I set up a quite simple code. But the letters äüö seem to appear when they want to. I got a project file with another file ...
3
votes
1answer
163 views

what Inputenc should I choose in Texmaker (Win7)?

I've written a main.tex document in Kile under Debian and I want to continue writing it in Windows where I've just installed TexMaker (I need to type and hear audio-recordigs, Windows has a better ...
0
votes
1answer
48 views

Spanish character not working in 'listings' package [duplicate]

I have a Spanish character not working in 'listings' package. In the code example below, the first occurrence of the word 'ignorará' works. The second generates the error: ! Package inputenc Error: ...
4
votes
1answer
161 views

Non-latin characters with plain TeX

What would it take to output non-latin letters (e.g. cyrillic letters) to a document using just plain TeX (i.e. without using "third-party" macro packages such as LaTeX)?
1
vote
1answer
169 views

inputenc error: problems reading in .bib file from jabref

i'm relatively new to latex, so forgive me, if thats a silly one: I'm using miktex and texstudio. I keep getting the following error message, which prevent me from building up or compiling a document ...
7
votes
1answer
467 views

Text encoding driving me crazy

I am writing a paper in english but will need to provide a danish abstract and use the little word "Köppen" as well. For some reason I seam not to be able to get the them to work. This example: ...
3
votes
1answer
166 views

\write18 encoding

I wrote a bash script osmimage (source for tests), that downloads a map given by an address. I want to write a package that calls this script with \write18, but there are a few problems. The ...
2
votes
2answers
114 views

special characters not showing (mathexam+babel)

I am trying to edit a exam using a template I found on internet (article using mathexam package) but since I have to use special characters of Brazilian portuguese (like á, à, ç, ã, õ, ô, â, ê) my ...
3
votes
1answer
478 views

How to install `babel` in Texmaker?

How do I install babel language pack in Texmaker? I want to use \usepackage[swedish]{babel} in Texmaker. At the moment, Jag är bäst in Texmaker gives Jag r bst in the PDF. I use Windows 8.
4
votes
3answers
77 views

How to customize \fg{} and \og{} appearances in BEAMER?

How to customize << and >> appearances in beamer for a better appearance?
7
votes
3answers
244 views

Non-ascii character as argument

I want to do something special with some characters in the text. In this example that is just boldfacing them: \documentclass{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} ...
4
votes
1answer
97 views

Activating characters with diacritics (accents)

I want to create an environment that would convert all á to \=a, all é to \=e and so on... (short-hand for macrons) Something that should have been a five-minutes easy-to-write tool became a real ...
5
votes
1answer
232 views

utf8 input encoding with biblatex (biber and bibencoding=utf8)

I have a document with Cyrillic, English and German. All worked well so far. But now I need a special Character in the bibliography.bib file. Its an \.{E} If I just put that in there it gives me the ...
5
votes
2answers
1k 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
103 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} ...