{unicode} is for questions about Unicode (an international standard for character encoding) and its implementations. For questions about input encodings use {input-encodings}.

learn more… | top users | synonyms (1)

1
vote
0answers
2k views

BibTeX error “inputenc Error: Unicode char \u8: not set up for use with LaTeX” [closed]

So I am trying to get BibTex to work and I run into the above error: . After a quick search in here I found that it is a problem with extra space in the BibTex file that could be solved by adding the ...
7
votes
2answers
295 views

How to map unicode characters to math symbols?

I have documentation with some mathematics, that I want to convert via LaTeX, but I'd also like to keep it as much readable in source as possible (as it's more for me than anybody else). Since I can ...
5
votes
1answer
190 views

MonTeX (mls, manju, mongolian) with Latin script with diacritics

I am using the montex package to type text in Manchu (manju). In my documents, I also use Latin script with diacritics. When I load montex, these diacritics no longer appear, and when characters with ...
8
votes
3answers
2k views

OS X: umlauts in UTF8-NFD yield “Package inputenc Error: Unicode char \u8:̈ not set up for use with LaTeX”

After switching to OS X one of the first things I had to learn the hard way is that many non-ASCII characters, such as the German ü can be encoded in (at least) two different forms in UTF8: U+00FC ...
10
votes
1answer
212 views

Encoding of non-ASCII characters (Umlauts) in \jobname

I need to parse \jobname to extract some metadata (such as the subject of a letter) that is encoded in the filename of the .tex file. The filenames are not restricted to ASCII, but maybe any UTF8 ...
2
votes
1answer
272 views

Remove all Russian symbols from a PDF under Windows

I have a very weird task. There is a compiled PDF document with guidelines on a mathematical subject. It is in Russian, hence it contains a lot of Russian symbols in plain text and a lot of ...
13
votes
1answer
463 views

How to work with two encodings?

I'll try to explain my problem here. I know that there are many posts dealing with this but I'm still confused. We have many files from different machines with different systems. The important is: ...
8
votes
2answers
2k views

Unicode characters in pdflatex output using hexcode without UTF-8 input

I want to use Unicode characters (for Korean language, i.e. Hangul: U+AC00 - U+D7A3; maybe also U+1100 - U+11FF) in the output of latex(/pdflatex) while the LaTeX source file should be coded in 7 bit ...
6
votes
1answer
213 views

What is the state of support for (Unicode) Indic scripts in Context?

I have used XeTeX for typesetting a book using Unicode Malayalam. It is working perfectly and the production is fine. Reading about ConteXt, I learn it is more suitable and flexible for book ...
7
votes
1answer
605 views

Emoji Characters

I'm trying to display Emoji Characters inside my XeLaTeX Document. It seems to work for some glyphs like the numbers and pound sign but not for all. Here is a MWE: \documentclass{scrartcl} ...
11
votes
1answer
548 views

How to change a .tex file's input encoding system (preferably to UTF-8)?

I've been trying to use the hyphenation patterns embedded in the file dehyphtex.tex, which is part of the hyphen-german package. Unfortunately, the file seems to be encoded in a system that's neither ...
21
votes
1answer
375 views

Unicode in the equations: pros and cons

Is there any pros and cons for using of Unicode (and vice versa) in LaTeX equations? Consider two examples: \lim_{h→0}∫_{x_0}^{x_0 + h}\frac{f(t)}{h} = f(x_0) x_0 ⇔ ∀ 𝜀 > 0, ∃ 𝛿 > ...
7
votes
2answers
315 views

utf8 characters

I would like to include the output of the npm list command in a latex verbatim block: jeroen@jeroen-ubuntu:~/Desktop$ npm install d3 jeroen@jeroen-ubuntu:~/Desktop$ npm list /home/jeroen/Desktop └─┬ ...
2
votes
0answers
106 views

Support for all writing systems in a single document — more than just one or two Unicode planes simultaneously

I am working on a document that contains a growing number of representatives from different writing systems. It is mostly an English document, and I have been using the following to ensure that CJK ...
1
vote
1answer
204 views

using unicode-math with math keyboard or hotkeys?

Here is more information about the unicode math-package: http://ctan.mackichan.com/macros/latex/contrib/unicode-math/unicode-math.pdf A great pro for using unicode math, is that your code is much ...
16
votes
5answers
15k views

Unicode degree symbol ° in math formulas: \textdegree invalid in math mode

I'd like to be able to simply input a degree symbol as ° in my source code. German keyboards have a key for this, and it makes the source so much more readable. I'm using pdflatex from TeXLive 2012, ...
7
votes
1answer
313 views

Is it correct to use RequirePackage[utf8]{inputenc}?

If I create a package, is it correct to use \RequirePackage[utf8]{inputenc} to support utf8. I guess not, but how do I state that this package must (should) be used with inputenc utf8?
8
votes
1answer
140 views

How to apply the star (*) to only a few of the literates in listings environment?

I have a problem with the definition of literate: \lstset{ numbers=left, numberstyle=\footnotesize, stepnumber=1, numbersep=12pt, frame=none, framesep=7pt, breaklines=true, ...
25
votes
3answers
37k views

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

This is with ref to my previous question Package clash in multilingual report. \documentclass[11pt,table,a4paper]{article} \usepackage{lmodern} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} ...
1
vote
1answer
324 views

Indic special characters on XeLaTeX

I am using XeLaTeX (XeTeX, Version 3.1415926-2.4-0.9998 on TeX Live 2012/W32TeX). There are some special Indic unicode characters which XeLaTeX does not seem to support. I am trying to produce ...
3
votes
2answers
240 views

How do you write aspirated consonants?

I am working on a linguistic topic and need to be able to describe phones with aspiration. As described in wikipedias article on Aspirated consonants there is a UTF8 character for the diacritic of ...
4
votes
1answer
467 views

Unicode emoticons with pdflatex

Following this answer, I tried to use Unicode emoticons with pdflatex like so: {\fontfamily{DejaVuSans-TLF}\selectfont 😎} The font is selected but the emoticon does not show. There are some TTF ...
5
votes
1answer
489 views

Problem with ẽ tilde and UTF8

I have a problem with the following character ẽ: e with tilde I am using UTF-8 encoding and I get the following error ! Package inputenc Error: Unicode char \u8:ẽ not set up for use with ...
4
votes
1answer
301 views

inserting png introduces inputenc error

I want to write an article in Chinese, which needs to insert pictures. It's fine when I insert pictures as .pdf but the following problem occurs if .png is inserted: ! Package inputenc Error: ...
1
vote
0answers
356 views

How to display non-printable Unicode characters in Emacs/AucTeX? [closed]

I would like to see the non-printable Unicode bidi characters PDF (202C), LRO (202D), RLO (202E) in the emacs editor (but not the pdf output). How can i do this? EDIT: Here's a minimal working ...
5
votes
2answers
440 views

Unicode characters changing order in listings (XeTeX)

I am trying to input code listings with unicode characters and everything seems to work (more or less) except some unicode characters being displayed out of order. For example instead of służąca ...
5
votes
1answer
322 views

Non-ascii characters are not displayed in hyperref's pdftitle: bug in the 'unicode' option?

I'm trying to make pdflatex display non-ascii (cyrillic) characters in PDF metadata using hyperref's pdftitle and pdfauthor options. Here is my document: \documentclass{article} ...
10
votes
1answer
533 views

Is there a way to get pdflatex to accept Unicode combining accents?

I typeset my work with pdflatex and UTF-8 input files with lots of Unicode characters. Most of them work with a simple \usepackage[utf8]{inputenc} in my preamble, and for the others I simply maintain ...
4
votes
2answers
112 views

Modifying another checkmark, or adding another one?

I should explain beforehand, that I use XeLaTeX, so I have access to all kinds of fonts, and Unicode support. Now, I'm using the "BALLOT BOX" (U+2610) and "BALLOT BOX WITH CHECK" (U+2611) quite often ...
0
votes
1answer
450 views

\texttt converts apostrophe to Unicode quotation mark [duplicate]

Possible Duplicate: How to make a real apostrophe or single-quote in LaTeX I'm building a Python Regex cheat sheet using Latex, which has the following line: ...
4
votes
1answer
346 views

utf8 math characters from source code file with minted in XeLaTeX

I want XeLaTeX/minted to display all my mathematical characters from my .java source file. More detailed: I file my programming homework in PDF documents in my university. I have been using LaTeX and ...
10
votes
2answers
428 views

Is direct utf8 input of combining diacritics in math mode possible with lualatex?

I am trying to typeset a document with combining diacritics directly input in it. I use LuaLaTex. Here is a minimal example illustrating the original issue: \documentclass{minimal} ...
10
votes
1answer
134 views

How to write the € symbol into a file, when using Package [utf8]{inputenc}

With the following MWE, I can write the € symbol into the file euro.txt \documentclass{article} \newwrite\tempfile \immediate\openout\tempfile="euro.txt" \begin{document} Write Euro symbol into a ...
2
votes
1answer
413 views

Special characters stopped appearing in text

I have a unicode text (XeLaTeX) in which I use vowels with umlaut, like ü and ö, which worked but suddenly stoped working. These give an error message: ! Package inputenc Error: Keyboard character ...
15
votes
2answers
262 views

“Namethatchar” macro

I am searching for a macro/package that would give the name of characters. Here are a few examples of a possible behaviour: \namethatchar{A} → A \namethatchar{À} → Agrave \namethatchar{a} → a ...
5
votes
2answers
463 views

Why can't I use 𝔽?

I can't figure out why LaTeX won't let me use the 𝔽 symbol (U+1D53D, mathematical double-stuck capital F). When I try, I get the error Package inputenc Error: Unicode char \u8:𝔽 not set up for use ...
7
votes
1answer
3k views

«» resemble too much \ll \gg

I am typesetting a translation of some ancient poetry book from another language (namely Finnish). In the text there are several quotes which uses the Guillemets (« and »). Since I am using a UTF-8 ...
3
votes
2answers
1k views

encoding problem

I'm trying to write a program in Python that exports data into PDF. Unfortunately, the well known reportlab module is not available on Python 3. (What a shame.) So I have decided to generate TEX files ...
2
votes
0answers
754 views

biblatex biber non-latin (cyrillic) UTF-8 names [closed]

I am back where I was when I switched from stock bibtex to biblatex-biber: (cyrillic) non-latin UTF-8 names in the bibliography. It's why I started using biber in the first place, the same would ...
2
votes
1answer
276 views

a way to use bibliography utf8 @string entry keys

Any suggestions how to allow UTF-8 @string macros in the mwe.bib file? [lines 537-539] @string{ Uà = {Università} #. } @string{ Uàdi = Uà#di ...
1
vote
0answers
130 views

Internationalization in LaTeX [closed]

I am working on auto report generation but this time iIneed to generate report for different language only. Text could be anything like Chinese, French, Russian. Can LaTeX handle all those text ...
15
votes
4answers
9k views

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

I have the following LaTeX document: \documentclass{article} \usepackage[utf8]{inputenc} \begin{document} φΔδ汉 \end{document} But I get the following error: $ latex foo This is pdfTeX, Version ...
2
votes
1answer
432 views

utf8, newcommand and umlaut

In my document, which is encoded as utf8 throughout (hopefully), umlaute etc. in the document body are put out correctly, but those defined in a \newcommand are not. I have tried some alternatives to ...
12
votes
1answer
334 views

Hyphens at end of line disappear upon pasting, even if they were present in the input

When I paste text from pdflatex output, there are two things about hyphens that I would like to change: Hyphens paste as "hyphen-minus" (U+002D, "-"), but I would prefer the newer Unicode character ...
5
votes
1answer
818 views

How to make slash (/) paste with correct Unicode codepoint depending on context?

Unicode offers different characters for the slash: U+002F (/) for the ordinary slash U+2215 (∕) for the mathematical division operator U+2044 (⁄) to designate vulgar fractions How can I have these ...
2
votes
0answers
533 views

Getting unicode characters with TeXnicCenter [closed]

I would like to display some korean characters in the output of a tex file. I am using LaTeX with TeXnicCenter. I am envisioning something like \documentclass{article} \usepackage{...} ...
12
votes
3answers
760 views

Redefine apostrophes to prevent bad kerning

The apostrophe in Adobe’s Minion Pro font has a kerning that is much too tight for typesetting French, where sequences of letters like l’a or d’e or j'a are common. One solution I found is to wrap ...
6
votes
2answers
121 views

UFT8 inside the formula?

Is there a way I can use UFT8 (say greek chars) inside the formula? For example I want latex to render: $α$ as $\alpha$ (actually the question comes from mathjax -- there You can do it, but ...
14
votes
1answer
229 views

Prevent LuaLaTeX from splitting umlauts

Here's a minimal example: \documentclass{minimal} \usepackage{fontspec}\setmainfont{Cambria} \begin{document}aöz\end{document} Compiling this into a PDF using lualatex and extracting the text using ...
10
votes
1answer
234 views

Wrong spacing around guillemets

I use UTF-8 encoding to type a document in French, with the following definitions for guillemets: \DeclareUnicodeCharacter{AB}{\og} \DeclareUnicodeCharacter{BB}{\fg\xspace} and the Babel package: ...