Tagged Questions

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

0
votes
0answers
14 views

PyX with Chinese Characters / Xetex / encoding

I've been struggling with getting PyX to output some Chinese characters. The routes I have been trying are: Getting PyX to use Xetex changing my encoding using ...
0
votes
1answer
44 views

Problems with Cyrillic fonts in XeTeX

I have my document with Russian text. Formerly, it was stored as UTF-8 without BOM and compiled with LaTeX. All worked fine with the following preamble: \documentclass[11pt,a4paper,final]{moderncv} ...
1
vote
0answers
20 views

Print “Box drawing characters” from shell in lstlisting

I have some output from the tree command, which looks something like this: . ├── Maildir/ └── scripts/ ├── backup.sh* └── OLD/ ├── backup_cleanup.sh.old └── backup.sh.old* ...
5
votes
2answers
78 views

Hard hyphens in LuaLatex

Why does not the hard hyphen “‑” work in lualatex with the package luainputenc with option utf8? With hard hyphen, I mean a hyphen, which prohibits the line to break directly after it. MWE: ...
0
votes
0answers
11 views

Turkish Character Problems

The code below works but Turkish characters do not appear. I tried adding \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[turkish]{babel} but this time the code does not work. ...
6
votes
1answer
98 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
119 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 ...
0
votes
1answer
23 views

AUCTeX error with utf8 package recognizing “ \%CW”

I'm in AUCTeX in a 32-bit Win7 machine. When compiling the master file with pdflatex I'm getting the error msg given below. Can you help me understand the error and correct it? ERROR: Package ...
4
votes
2answers
71 views

Patgen to create hyphenation dictionary for UTF-8 language

I am having trouble creating an hyphenation dictionary for the Khmer language with patgen. I keep getting errors like, "Bad representation" and "Bad character" but I am not sure what I am doing wrong. ...
1
vote
1answer
42 views

Unicode and eforms

This is my code, encoded in UTF-8: \documentclass{article} \usepackage{polyglossia} \usepackage[useui]{eforms} \begin{document} \textField[\ui{value={Übeltäter}}]{Text}{10cm}{1em} ...
4
votes
2answers
262 views

Why does XeTeX not display basic Unicode characters?

I have a document like this, but when I render it by invoking xelatex on it, the π character is displayed as a blank space: \documentclass[13pt,oneside]{scrbook} \usepackage{fontspec} % the problem ...
1
vote
2answers
49 views

Accented letters with IM FELL fonts

I am having an error compiling the following code with xelatex and lualatex: ** WARNING ** "seac" character deprecated in Type 2 charstring. ** ERROR ** Type2 Charstring Parser: Parsing charstring ...
2
votes
1answer
45 views

Unicode characters in mailto address hyperref links

I am trying to make names with special Danish characters in email addresses look right in the email the address in a hyperref link in the document compiled to PDF. I have attempted: ...
4
votes
3answers
143 views

Why can't my build produce certain Greek symbols?

I'm trying to use the β character in a LaTeX document, but the output PDF never shows it. I am building with xelatex. From the following code: \documentclass{article} ...
3
votes
0answers
58 views

What is the use case for the ucs package?

The ucs package (formerly aliased to unicode), provides support for Unicode as a input format, as I understand it. Under what circumstances should I be using that package, and unicode symbols? to my ...
3
votes
1answer
128 views

Typsetting the Ponny

Today, once again, the ultimate [X]HTML parser using regular expressions answer came to my attention and I have decided to try to typset it using XeLaTeX. The result is far from perfect, worse even ...
2
votes
0answers
85 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 ...
5
votes
2answers
100 views

Special Currency Character

I have the problem, that I need to insert the NIS (New Israeli Shekel) Symbol into a otherwise english document with math formulas. The Symbol itself is in testmode. How can I manage to get the ...
2
votes
0answers
14 views

How to highlight Python syntax in LaTeX using verbments and utf8 [duplicate]

I'm using Latex and the verbments package to display some python 3 code (with syntax highlighting) inside a document, but I have a problem with UTF-8. I'm using the verbments package ...
6
votes
3answers
127 views

UTF-8 error with verbments

I'm writing a book using Latex in what I want to write code in Python. My operating system is Linux and my editor is Kile with: \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} ...
0
votes
1answer
90 views

bibtex file exported by Zotero contains bad character

I use biblatex with biber. My bibliography is automatically exported by Zotero. My editor is texmaker on debian. Unfortunately characters are included into the bib file latex is unable to decode. I ...
3
votes
1answer
59 views

how to use special utf-8 characters in submodules? [duplicate]

In my thesis (my first real project with LaTeX), I need Japanese and some Russian characters. I divided my thesis by submodules. My main module looks as follows: \documentclass[11pt]{article} ...
6
votes
1answer
120 views

Implementing \DeclareUnicodeCharacter in LuaLaTeX an XeLaTeX

In my code, I used to write \DeclareUnicodeCharacter{27E6}{\begin{description}} % ⟦ \DeclareUnicodeCharacter{27E7}{\end{description}} % ⟧ \DeclareUnicodeCharacter{2022}{\item} % • which worked ...
0
votes
1answer
29 views

CJKvert affecting all CJK in document

My document has been compiling very well (thanks in no small part to Tex SX!), but I seem to have hit a snag. I added a more complicated dedication to the beginning of my thesis (using \dedication ...
3
votes
1answer
111 views

Determine hex unicode character code from raw character?

I found coloremoji which allows inserting apple's color emoji's into an uptex document. This library first extracts all emoji's as PDFs named according to their hex unicode character codes (e.g. ...
3
votes
2answers
116 views

How to use icon fonts properly?

I have downloaded the icon font "Font Awesome" to use unicode icons to illustrate my documents. Using XeTeX, I was able to declare a new font family like this: \newfontfamily\fontawesome[ ...
4
votes
1answer
76 views

Correct way to specify discretionary hyphens in bib files with biblatex/biber

Today I unexpectedly received the dreaded character not set up for use with LaTeX from inputenc. In this case, I was also pretty sure the error came from a .bib file. However, I grepped everything in ...
2
votes
2answers
83 views

how to draw this ? Square blank BlackSquare in unicode

I would like to draw this : ■■■□□ But it's not easy i would like the square to have the same size. And it's difficult to search about it with google. regards
6
votes
1answer
79 views

soulutf8 strips characters from compound words

I use soulutf8 for underlining in my LaTeX document. However, it seems to be stripping characters from the end of compound words, e.g.: \ul{$n$-rozměrný} results in n-rozměrn However, if I ...
4
votes
1answer
116 views

compiled pdf doesn't show utf-8 character

If i compile a document with lualatex that contains specific utf-8 characters most pdf-viewers (okular, evince, xpdf) don't show them. For example if i compile the following example i just see a bank ...
2
votes
2answers
158 views

pdflatex crashes when Latex code includes \unicode{f818} and \unicode{f817} and how to handle it

I do not know if the Latex code (which is auto-generated is invalid) or if pdflatex is supposed to be able to handle this code, but I need to find the correct package. I looked at this ...
2
votes
1answer
133 views

Formatting biblatex citation to handle non-latin (Japanese) author names

I am trying to customize biblatex (with biber as backend) so as to handle Japanese authors' names in an elegant way. Lets consider the following bibtex entry: @article{HondaSuzuki2014, author = ...
1
vote
0answers
74 views

Acute accent and dot below problem in XeLaTeX for “i”

I want to add a dot below í, like this: "ị́." I am using XeLaTeX, with fontspec. My code looks like this: \documentclass{article} \usepackage{fontspec} \setmainfont{CMUSerif-Roman} \begin{document} ...
9
votes
1answer
109 views

Where should I report wrong Unicode mappings?

I found an issue about mapping of Unicode characters (clockwise and anti-clockwise open circle arrow) in some fonts and already reported that to the unicode-math maintainer but I actually think, this ...
2
votes
1answer
57 views

How can I use unicode characters as identifiers in PostScript? Is it impossible?

I feel "uncomfortable" with the existing constants below (which are already defined in PSTricks) Euler = 2.718281828 Pi = 3.141592654 because I think using e and π is much more natural. My ...
7
votes
2answers
214 views

How can I use Chinese characters (or more generally, Unicode characters) as a macro name?

\documentclass{article} \usepackage{CJKutf8} \usepackage{ruby} \renewcommand\rubysep{.05ex} \renewcommand\rubysize{0.2} \newcommand\神{\ruby{神}{かみ}} \begin{document} \begin{CJK}{UTF8}{min} \神 ...
0
votes
0answers
33 views

utf8 input encoding with biblatex for CJK

This is a follow up on the "utf8 input encoding encoding with biblatex" which nicely solves the problem for accented Roman charachters. Now what would have to be done if the bibliography containse a ...
2
votes
1answer
51 views

Hyperref, Bookmark and Appendix packages: Getting labels inside Appendices to work

I've been writing a document in portuguese and I've ran across a nasty problem. I've been trying for the past few hours to get hyperref and bookmark to play nice with my labels inside the appendices ...
1
vote
0answers
58 views

How to properly space unicode ellipsis?

Please note the discussion at the end of this thread. After discussing the tex codes \ldots et al, a commenter points out that there is a unicode code point for an ellipsis. However, on my document ...
2
votes
2answers
104 views

Problem with 'é' character in listings

I have this MWE \documentclass[a4paper,12pt]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[frenchb]{babel} \usepackage{colortbl} \usepackage{lmodern} \usepackage{listings} ...
4
votes
1answer
94 views

Neo Euler won't display greek letters

I'm trying to use the Neo Euler math font in a document, compiled using XeLaTeX: \documentclass{scrartcl} \usepackage{amsmath} \usepackage{blindtext} \usepackage{unicode-math} \setmainfont{Palatino ...
4
votes
1answer
52 views

How to use pdfpages with files with utf8 chars in the name?

Let's consider this MNWE (Minimal Not Working example): \documentclass[12pt]{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} %\usepackage[spanish]{babel} % with or without, same ...
3
votes
0answers
51 views

Accessing cmex10-equivalent symbols in latinmodern math in rendering code

I wish to display and print mathematical formulae not using one of the existing TeX distributions and not via a web browser, but using my own code so that the display is integrated into my packages as ...
1
vote
0answers
47 views

Using texindy within paths containing diacritics

I wonder if it is possible to use texindy in project where the project path contains umlauts, e.g. /Users/Tobi/Desktop/äbc/test/. With this path I get an error message: Tobis-Mac:test Tobi$ texindy ...
6
votes
2answers
83 views

T2A fontshape in verbments listings

I'd like to use T2A fontshape inside verbments listings (for comments in source code), but have no luck in this. For the code \begin{pyglist}[language=haskell] fact n = foldl 1 (*) [1..n] -- так ...
3
votes
1answer
131 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
1answer
29 views

ellipsis+titletoc+…(utf character) : does it also cause a bug and how to solve it?

The error In the MWE \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{titletoc, ellipsis} \begin{document} \addcontentsline{toc}{section}{So…} \end{document} I get the error ...
6
votes
2answers
521 views

The abbreviation “viz.”

The word viz. that is often met in English texts, is an abbreviation for videlicet, a latin word meaning namely or as follows. It is constructed from the first letters vi and an symbol for the suffix ...
8
votes
0answers
149 views

Typesetting the Kvanta journal (Задачник «Кванта» по математике)

I've visited a colleague of mine, Karel Horák, a Czech TeXist, in Prague and he presented/gave me a nice TeX problem. He wishes to get PDF file from TeX file. It sounds easy! Issues of the Kvanta ...
5
votes
1answer
78 views

bibtex entries with non-ascii characters

I need to cite a book which includes a schwa ('ə') in the title. I've been able to achieve certain diacritics in bibtex entries using commands like \'{e} (for an e with acute accent). However, when ...