{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
1answer
86 views

excel2latex leads to the error: “Unicode char 8… not set up for use with LaTeX”

Compiling LaTeX to pdf worked fine until I used code generated by excel2latex. Now I'm getting the error "Unicode char 8… not set up for use with LaTeX". \documentclass{scrartcl} ...
2
votes
1answer
87 views

Yes, another “Package inputenc error” question

I'm trying to figure out why LaTeX behaves this way. So, I have this project: https://dl.dropboxusercontent.com/u/12774331/latex.zip which is a perfectly working project, with lots of é and other ...
1
vote
0answers
581 views

Package inputenc Error: Unicode char \u8:�\expandafter not set up for use wit h LaTeX

I'm having problem with generating pdf file from my tex file. When I use \documentclass with draft option, it generates pdf file with images as boxes without errors, so it's fine. But when I change ...
9
votes
1answer
89 views

Using non-standard characters for accent marks

I have a text of poems (psalms) that will be sung or chanted. To indicate the word where there's a change in the music, an accent is placed above the syllable in that word. Then the singers know ...
6
votes
1answer
87 views

Parsing utf8 problems

There are a number of questions relating to problems when using utf8 input encoding, and the closest I found to my problem is, I think, What characters in a normal text document will screw up LaTeX?. ...
4
votes
1answer
118 views

inputenc[utf8] error with input-function of external tex files

I got a problem with inputenc[utf8]. My document is in German and uses 'ä, ö, ü' which usually works fine with the following preamble: \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} ...
5
votes
2answers
352 views

How can i use fonts other than gbsn/gkai for CJK Chinese?

The standard CJK package only provides 2 fonts for simplified Chinese, as described here. My question is how to create more fonts for it? I'm using MacTeX 2013 and UTF8 + CJK + pdflatex is the ...
1
vote
0answers
73 views

Input Encoding bugged on Windows 7 WinEdt?

When my girlfriend processes her code in WinEdt on Windows 7, she gets awkward looking "special" letters. (Precisly, these are Serbian letters -- from our home country.) She used: \usepackage[T1, ...
8
votes
4answers
215 views

Verbatim, wrappable and Unicode text included from a file

I am trying to output several megabytes of UTF8 text into a printable format. As enscript and friends don't like Unicode, this Unix SE question soon turned to LaTeX. Summary of requirements: ...
3
votes
1answer
116 views

Problems with documentclass{book} and utf8 ,prerenderunicode

I'm trying to write a book like, report in greek, so at the beggining of every even page the name of the chapter is appeared and at the beggining of every odd page the name of the section is ...
8
votes
1answer
65 views

Encoding of written out files

I have a tex file with: \usepackage[utf8]{inputenc} The file calls a macro that saves the content between and \begin{something} and \end{something} to a file. But the encoding of the file is not ...
5
votes
1answer
88 views

Is there a tool for cleaning BibTeX source from LaTeX style escapes?

I have a BibTeX file which uses the old style LaTeX escapes, for example author = {Fjeld, Morten and Sch\"{a}r, Sissel Guttormsen} I want to read the file with a Scala script using jbibtex and ...
10
votes
1answer
206 views

How can I write an English document with a few words of Thai, Japanese, and Chinese?

I'm writing a document which is 99% English but needs a few words of other languages, including Thai, Japanese, and Chinese. I've had success with the latter two, but I'm stuck on Thai. Here's a MNWE: ...
0
votes
1answer
98 views

Use cmbright with unicode text under XeLaTeX

XeLaTeX has been my preferred LaTeX engine because it straightforwardly handles text in Unicode (UTF-8 encoding). I know this can be done using \usepackage[utf8]{inputenc} with other engines, too, but ...
3
votes
1answer
56 views

Error when using endfloat with unicode characters

I have a problem with the endfloat package and unicode characters. When I compile the following, everything works as expected: \documentclass{article} \usepackage[utf8]{inputenc} ...
5
votes
2answers
178 views

Accents and unicode-math

Why are certain accents in math mode invisible? I am using unicode-math and compile with XeLaTeX. Here is a MWE: \documentclass{scrartcl} \usepackage{unicode-math} \begin{document} x̃ŷz̄ $x̃ŷz̄$ ...
3
votes
2answers
78 views

Acronym package and UTF-8

Are there support of UTF-8? I'm trying to write \ac{ОС} (Russian acronym inside) but got strange error Missing \endcsname inserted Here is what in my header: \usepackage[english,russian]{babel} ...
4
votes
2answers
134 views

Math escape in listings and surround white space

I want to use the double right arrow for some Scala code in listings. I thought I'd use the mathescape option and $\Rightarrow$. However, this "eats" whitespace around it, e.g. if I have foo ...
3
votes
1answer
78 views

Problem with XeTeX normalization and \char [closed]

Is there any way in Xe(La)TeX to enter a unicode character by its code, but still have XeTeX perform normalization on the resulting string of characters? For example, the following code does not give ...
5
votes
1answer
146 views

Unicode characters in a listing environment are not colorized!

When using the package listing, colorized comments will not yield colorized exotic unicode characters. This is a minimal working example: \documentclass{minimal} \usepackage{ ...
13
votes
5answers
755 views

Using “◌” in Latex - “Unicode char \u8:Γùî not set up for use with LaTeX”

How can I use the character ◌ (25CC): http://www.fileformat.info/info/unicode/char/25cc/index.htm ? I am using MikTex (pdflatex) under Window; I am importing the following packages: ...
4
votes
1answer
83 views

Generating unicode hyphenation pattern

Is there a program that you can use to generate unicode hyphenation pattern? I already know about opatgen but I can not compile that program since it requires a very old version of gcc.
1
vote
0answers
97 views

Biber: Cannot decode string with wide characters (encode.pm)

I have ran into problems with biber and Xelatex, so I decided to test a working example and see what's up. I used the test files from this question, but the result I got was: INFO - This is Biber 1.7 ...
5
votes
1answer
90 views

getting unicode lower block series to appear

In contexts outside of LaTeX, I've found rectangles of increasing size very useful. I can enter these in UTF-8 in my text editor, but despite trying every font related fix I can find, I can't seem to ...
5
votes
1answer
216 views

Getting error when writing ÆØÅ character

I'm making a thesis in danish, which means I use the packages: \usepackage[utf8]{inputenc} \usepackage[danish]{babel} Now, I have split up my documents into chapters, and so far I have: ...
5
votes
1answer
235 views

Hyphenation of Russian text in utf8 encoding?

All my attempts to make hyphenation work in Debian Linux 6.0 for Russian text encoded in utf8 has failed. My search on internet indicates that hyphenation should work through babel at least with ...
3
votes
1answer
146 views

How can I show Unicode words in pdf

%% AMS-LaTeX Created by Wolfram Mathematica 9.0 : www.wolfram.com \documentclass{article} \usepackage{amsmath, amssymb, graphics, setspace} \newcommand{\mathsym}[1]{{}} \newcommand{\unicode}[1]{{}} ...
6
votes
2answers
155 views

Uniform Unicode for text, math and listings?

What should I put in the preamble (preferably packages) for this to work as expected with its unicode characters? \documentclass{article} \usepackage{listings} \begin{document} $α$ α ...
3
votes
1answer
142 views

How to have special characters (e.g. german umlauts) inside bibkeys?

I really like biblatex [backend=biber] to use with UTF8, as many citations I use will have some special characters esp. in the name field. This works totally great until I want to use e.g. german ...
7
votes
1answer
92 views

Why \@ifnextchar doesn't work correctly within of a unicodechar definition?

Consider the following code: \documentclass{article} \usepackage{amsmath} \usepackage{newunicodechar} \makeatletter \newunicodechar{∑}{\@ifnextchar_{\sum}{\@ifnextchar^{\sum}{\Sigma}}} ...
2
votes
1answer
149 views

ConTeXt: How to create nice-looking fractions

Background Looking to create vulgar fractions in the current font such those in Unicode. LaTeX has the nicefrac package that provides, as the name implies, fractions where the dividing line is a ...
5
votes
1answer
487 views

Error message about an invalid utf-8 sequence (LuaLaTeX on a Mac)

I am using LuaLaTeX on a Mac and I want to have my PDF in Calibri font. I have issues with Umlauts. \documentclass{minimal} \usepackage{fontspec} \setmainfont{Calibri} \begin{document} äöüß ...
5
votes
2answers
268 views

Displaying the 64 hexagrams of the Yi Jing (using Unicode range 4DC0 up 4DFF)

I'm writing a book and I need to include the range of Unicode characters 4DC0 - 4DFF up to display the hexagrams of the Chinese book Yi Jing http://en.wikipedia.org/wiki/I_Ching I've used the ...
7
votes
2answers
249 views

How to insert a specific unicode character (such as the ZWNJ symbol) into the text stream via lua code compiled by Lua(La)TeX?

How does one instruct Lua(La)TeX -- specifically, the lua code invoked via a \directlua directive -- to insert a non-ASCII unicode symbol, such as a "zero width non-joiner" symbol (code U+200C), into ...
3
votes
1answer
105 views

Searchable text and math, encoding

Im running into a problem with text and math font encoding. First off, the goal at the end of the day is to have a .pdf and .tex which can be searched and copied. The document is compiled in XeTex, ...
5
votes
1answer
129 views

What controls the encoding of the LaTeX log file – and how to change it?

I have a LaTeX document in UTF-8 encoding: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \begin{document} ...
5
votes
1answer
218 views

Unicode symbols in hyperref links

EDIT: It looks like this solution \detokenize{} is working in my situation. Mark it for answered. I've searched all over Internet including Stackoverflow, but I can not found a solution in this ...
0
votes
0answers
12 views

Unicode symbols in hyperref links [duplicate]

I've searched all over Internet including Stackoverflow, but I can not found a solution in this problem: \usepackage[unicode]{hyperref} \begin{document} \begin{figure}[H] ...
1
vote
0answers
191 views

How to make listings display characters special characters

I am trying to show a directory structure of a tree using the listings package like so: ├── controllers │   ├── application_controller.rb what I get looks like this: controllers ...
1
vote
0answers
112 views

Fontspec package makes font weird compiling with XeLaTeX

I'm new to LaTeX. I'm using the 'fontspec' package and compiling the document with XeLaTeX (xetex), but when I use the package: \usepackage{fontspec} The font is all weird, not behaving like it ...
10
votes
1answer
241 views

XeTeX UNICODE Table

I would like to try to write a minimal XeTeX source that generates a comprehensive UNICODE table, substituting in local fonts as required by the current plane. I made the attached code as an MWE for ...
8
votes
1answer
245 views

Change Enumerate Items to Khmer Unicode Alphabet

Here is my code that change default enumerate item to roman number \documentclass{article} \def\theenumi{\roman{enumi}} \def\theenumii{\roman{enumii}} \begin{document} \begin{enumerate} ...
4
votes
2answers
100 views

ucs clashes with DeclareUnicodeChar?

I'm forced to work with latex, and want to make use of unicode chars in math. So I write: \documentclass{article} \usepackage[utf8]{inputenc} \DeclareUnicodeCharacter{B7}{\cdot} ...
6
votes
2answers
404 views

How to input characters into XeLaTeX

How do I input the non-keyboard characters into TeXShop? My minimum working example: \documentclass{book} % Font Settings \usepackage{fontspec} \newfontfamily\myfont{C64 Pro Mono} \begin{document} ...
2
votes
0answers
176 views

using special characters in csv file imported by pgfplotstable

I'm using pgfplotstable to render CSV-files as tables in my document: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{pgfplotstable} \begin{document} ÄÖÜ! \pgfplotstabletypeset[col ...
3
votes
0answers
625 views

Unicode char \u8:â not set up for use with LaTeX [closed]

Somewhere in my Bib file this character is used. I havo no clue what character this is and cannot find the corresponding 'real' one. My typestting aborts on this character. I do use ...
2
votes
1answer
86 views

The unicode character U+2C7A

I already asked how to embed fonts from Dejavu Sans Extralight in Lates documents. This is the link to my original question : DejaVu Sans Light with XeLaTeX? None the less, the character U+2C7A (an O ...
1
vote
1answer
135 views

dealing with strange characters in a bib file

I use mendeley to generate my bib file so I have a very large list of items (3000+) and since mendeley collects the bibliography information sometimes from the pdf file, there may be errors and ...
2
votes
1answer
98 views

How can one make RStudio pass options to Sweave()?

I'm trying to use a UTF-8 encoded .Rnw file in combination with xelatex in RStudio. Since xelatex uses native UTF-8 support i cannot use \usepackage[utf8]{inputenc} in my .Rnw file, which would ...
2
votes
2answers
192 views

Add an exit sign / running person?

What is the simplest way to add a running person, similar to the one to the right in this image in my body text? I cannot find any appropriate unicode glyph or LaTeX symbol. Do I need to include a ...