Questions tagged [unicode]

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

Filter by
Sorted by
Tagged with
1
vote
0answers
51 views

What might be preventing Unicode characters from displaying?

When I insert the reference mark character and compile the following MWE, the character shows up in the compiled output: \documentclass{article} \usepackage{fontspec} \begin{document} ྿ \end{...
2
votes
2answers
113 views

Displaying a character in math mode from its Unicode encoding

Can someone tell me what I am doing wrong or simply tell me how I can use the coptic letter "Me" in math mode? I want to use a coptic letter in a mathematical expression in my TeX document. From my ...
3
votes
1answer
119 views

How do I display trigrams from the Unicode miscellaneous symbols block?

How to encode special unicode symbols as in here in latex?
19
votes
2answers
849 views

How can (La)TeX read UTF-8?

As described in The TeXbook, TeX reads files byte by byte, regardless of the particular format -- as I understand, this is just how IniTeX is set up. I also understand that LaTeX is just a ...
2
votes
1answer
32 views

How to prevent the loss of a Greek Unicode character when converting to ODT using tex4ht

To convert from XeLaTeX source to .odt/.docx, I am using the solution provided by Michal Hoftich. (See there for MWE and the solution by @michal.h21.) That setup works great for converting Unicode, ...
0
votes
1answer
83 views

citation: Special character: dotless i = ı

I am trying to cite "Alpaydın". In the bibliography it displays correctly, but when I use citations intext like \citep[3]{Alpaydin.2014} or \parencite[3]{Alpaydin.2014} it simply displays: "(Alpayd02n,...
3
votes
1answer
112 views

Using tex4ht to convert from XeLaTeX source that uses Unicode-named macros to Word (.docx) format

I asked a very similar question several years ago on the tex4ht listserv and received a very helpful answer from Michal Hoftich. He described certain limitations for working with Unicode and tex4ht ...
2
votes
0answers
77 views

Make words like naïve searchable via naive

very short question about the handling of umlaut and other unicode characters. Is it possible to make them searchable via their ascii-"equivalent" (e.g. a for ä)? Or can that only be done by the pdf ...
1
vote
1answer
659 views

UTF-8 characters not rendered properly

I have a problem with some of the UTF-8 characters that are in my Tex file. Although I am saving the file in UTF-8 and my text editor (Atom) is displaying all of the characters properly, LaTeX throws ...
7
votes
1answer
537 views

Unicode -(U+301) error in biblatex, but not in main text: {\'{\i}}

When compiling my document embedding references using biblatex, I get the error message: Package inputenc Error: Unicode char ́ (U+301)(inputenc) not set up for use with LaTeX With the help of ...
0
votes
0answers
114 views

U+2069 error when adding image in TeXShop

I am trying to add an image into the document on TeXShop but keep seeing this error: Package inputenc Error: Unicode character (U+2069) (inputenc) not set up for use with LaTeX. l.9 ...udegraphics{...
5
votes
3answers
126 views

How to use different font families for the same unicode block in ucharclases?

Here is an MWE: \documentclass{article} \usepackage{fontspec} \usepackage[Sinhala,Latin]{ucharclasses} \newfontfamily\FooBarr{Noto Sans} \newfontfamily\sinhala{Noto Sans Sinhala} \newfontfamily\...
2
votes
1answer
95 views

Can't compile Japanese quotation marks made using Vim digraphs

Rather than using floor and ceiling, I'd rather use what I would consider a proper UTF-8 character for Japanese quotation marks. Not only is it more intuitive, but it looks better (or should). I can ...
4
votes
1answer
202 views

How can I select one No-unicode symbol from one font?

I am using Asea font http://users.teilar.gr/~g1951d/Textfonts.zip From http://users.teilar.gr/~g1951d/ And I want to pick some characters that are not encoded in unicode, but are present in the font,...
2
votes
1answer
247 views

Use all unicode characters in Latex

I am using a translation platform to translate a book. I have no control over which characters the translators input. Currently, the Egyptian Build fails. With ! Package inputenc Error: Unicode ...
0
votes
0answers
77 views

Problems with unicode text in TexText extension for Inkscape

I'm trying to embed unicode text inside LaTeX in Inkscape using the TexText extension. Latin text looks fine, but when I apply this preamble: \usepackage[russian]{babel} \usepackage[utf8]{inputenc} ...
0
votes
0answers
36 views

LaTeX include filepath/name with non-ascii characters [duplicate]

Trying to compile \documentclass{article} \begin{document} \include{übergröße} \end{document} with pdflatex and the file übergröße.tex in the same directory leads to the error: This is pdfTeX, ...
5
votes
2answers
586 views

Why am I getting Unidcode Error for some equations after updating Microsoft Windows from 7 to 10?

I have upgraded Windows from 7 to 10. When I am compiling some latex files, which were already built in Windows 7 and used to work fine - now in Windows 10 I am getting this error message for some ...
3
votes
1answer
92 views

Hide text from displaying but retain it selectable and searchable

Continuing https://tex.stackexchange.com/a/463516, is there a way to create an invisible PDF text associated with a drawn symbol? Assume that we have some command (say, \sqp) which draws some symbol ...
3
votes
2answers
171 views

Warnings when using babel with LuaLaTeX

Recently I have started using LuaLaTeX over pdfLaTeX, without any real issue so far. When working on a project I have noticed some warning messages I have failed to decpiher after consulting Google ...
1
vote
0answers
116 views

arbitrary utf8 characters in XeLaTeX

I'm generating a pdf with xelatex that could contain arbitrary utf8 printable characters. Assuming I don't greatly care what font ends up being used for any particular character, how do I get most/...
5
votes
1answer
71 views

Conflict between appendix, bookmark, hyperref and magyar babel due to utf8 chars

I tried to use babel with the magyar language along with the package appendix and hyperref. There is an issue with the warnings of magyar babel and a I also had a similar problem to that one when one ...
0
votes
0answers
206 views

Biber: accented character in bib file, Can't decode ill-formed UTF-8 octet sequence [duplicate]

I'm using MikTeX 2.9 on Windows, biblatex v3.12 and biber 2.12. The following MWE gives the error Data file 'bibliography.bib' cannot be read in encoding 'utf8': Can't decode ill-formed UTF-8 octet ...
0
votes
1answer
80 views

Unicode error when inserting PDF figure into LaTeX document

I receive the following error when attempting to compile a LaTeX document: Package inputenc Error: Unicode character \GenericError {(inputenc)}{Package inputenc Error: Unicode character (U+2069) The ...
3
votes
0answers
52 views

Importing code files with unicode using listings

I've written a program in python, about 2500 lines in total, that I wish to include segments from into my report. Normally I use listings to do that but in this case, the .py files include many ...
2
votes
1answer
73 views

Problem with using allrunes together with lettrine and a custom LettrineFontHook

I want to use the allrunes package to import a certain unicode character from the runic set. I'm using lettrine with a custom \LettrineFontHook to set it to a custom color: \documentclass{article} \...
2
votes
1answer
94 views

How to avoid problems with diacritics once and for all

I work with Rnw, and I type in Catalan, so there are diacritics I wouldn't encounter in English. I just want two things: That when I compile my PDF, all diacritic letters are as they should be. That ...
1
vote
2answers
125 views

How do I display Unicode characters with minted?

I use a minimal code example with Julia \documentclass{article} \usepackage[cache=false]{minted} \begin{document} \inputminted{julia}{polynomial_regression.jl} \end{document} on # Polynomial ...
1
vote
1answer
72 views

TeX Capacity exceeded, semantic nest size

I'm having a problem that I have no idea what it can be caused by, the error it produces is the following "TeX capacity exceeded, sorry [semantic nest size=500]. \end{align}" Using TeX studio and have ...
5
votes
2answers
245 views

Unicode for \trianglelefteqslant

Is \trianglelefteqslant from stmaryrd and the negated version of the symbol present in Unicode? I cannot find them, neither can shapecatcher. Shape in different sizes: Related: How to get \...
0
votes
2answers
44 views

Is it possible to get the unicode – to compile in verbatim mode?

I'm writing about common BibTeX errors. One example is using the unicode – in the pages field, such as: Pages = {790–799}, from this question: How to solve this bibliography error? I ...
0
votes
2answers
87 views

Change `\textlnot` to something usable in math mode with `kpfonts`

Consider the following MWE: \documentclass{article} \usepackage{kpfonts} \usepackage[utf8]{inputenc} \begin{document} This is a formula: $¬¬p \implies p$ \end{document} The output does not ...
1
vote
0answers
200 views

how do I fix this error [closed]

in this section latex says that there is package inputenc:Unicode character×(U+7D). how should I fix this. this is the section of text where latex throws the error: humans have tried to help mother ...
2
votes
1answer
89 views

lost my smilies: it is worth the effort to make Unicode work?

I made some LyX Beamer slides with smiley faces and I found they do not survive the transition to utf-8. I've fiddled with this quite a bit. Right now, it appears that, at least for miscellaneous ...
2
votes
0answers
40 views

Turkish characters do not appear end of the word

I am preparing a latex document which should use Times New Roman font and should support Turkish characters. In the pre-toc part of document there are some kind of title pages and i had to use red, ...
5
votes
0answers
185 views

Localized glyphs (locl) have unicode value U+FFFD (�)

Originally this seemed to me like a font issue, as there was no equivalent problem with other fonts, as indicated by this good MWE: Copied text from good PDF EBGaramond12-Italic.otf: [ - ] бгдпт [...
2
votes
0answers
53 views

Accented characters in a hyperlink, and problems with opening a new window

With this MWE, I have different results depending on the pdfviewer on linux box : Evince dosen't find the link because of the é, but opens a new window on a non-accented link Okular finds the link ...
1
vote
1answer
247 views

How do I insert a japanese character with unicode?

I want to insert a handful of Japanese (katakana) characters in a latex document. I am using texlive and pdflatex. I know I can use a Japanese typesetting package, such as CJK, and do something like ...
1
vote
1answer
55 views

Is it possible to typeset Unicode input in multiple language scripts automatically without inserting special commands?

I'm trying to create a glossary in some LaTeX variant, and I want to insert etymologies like this: دَفْتَر • (daftar) m (plural دَفَاتِر‎ (dafātir)): From Middle Persian dptl (daftar), from Aramaic ...
1
vote
0answers
29 views

languages: Inability to display one chunk of Mandarin characters, XeLaTeX

I'm using a résumé template which I found online, but am having trouble displaying one short chunk (a company name) of Mandarin characters. I've tried using CJKutf8, as well as xeCJK, without success. ...
0
votes
1answer
130 views

Unicode character ſ (U+17F) in LyX 2.3

How to use the following character ſ (U+17F) in LyX? Setting the UTF8 encoding does not work: Package inputenc Error: Unicode character Ĺż (U+17F) The complete source code of the document is: \...
1
vote
1answer
611 views

Convert LaTex accented characters to UTF8 equivalent with Python

I think this should be something standard, but I'm having hard finding anything that works. Given a plain string containing LaTeX accented characters, does anyone know of a python library which can ...
1
vote
2answers
4k views

Package inputenc Error: Unicode character ² (U+B2)(inputenc) not set up for use with LaTeX. \acro{I2C}[I²C]

Package inputenc Error: Unicode character ² (U+B2)(inputenc) not set up for use with LaTeX. \acro{I2C}[I²C]{Inter-Integrated Circuit} So I get this error I get when I try to compile my university ...
4
votes
1answer
725 views

Emoji in pdflatex?

Update: By adding \def\emojione{\scalerel*{\includegraphics{1F4D5.pdf}}{X}} in the preamble with the respective PDF file, I am able to use emoji in the body text. However, if I put \emojione{} in the ...
1
vote
1answer
161 views

Using Biblatex with utf8x

I'm trying to write a thesis proposal which includes a sentence in Hebrew. I use the following: \documentclass[a4paper, 12pt]{article} \usepackage[top=1in, bottom=1in, left=1in, right=1in]{geometry} ...
3
votes
1answer
115 views

How do I convert LaTeX containing arbitrary Unicode to XHTML?

I was reading this question(How to get Unicode characters into HTML output) and because his intent is simply to ouput the text to HTML, I was wondering if there is a command that simple does binary ...
14
votes
2answers
405 views

ſ (long s) and hyphenation

I'm using UTF-8 so it is – if one is using the right font – no problem to implement the different types of s in older German texts (s, ſ, ß). Unfortunately the hyphenation breaks because LaTeX does ...
5
votes
2answers
1k views

! Package inputenc Error: Unicode character ☯ (U+262F)

I encountered this error while trying to compile my thesis. Before I did not have this error. Any idea how I can find this Unicode character in my LaTeX document, or solve this issue?
0
votes
0answers
99 views

How LaTeX builds the large horizontal/vertical brackets

Wondering about how LaTeX implements the vertical and horizontal brackets [{(⟨. I saw these unicode characters which could potentially be used for vertical brackets: ⎡ ⎢ ⎣ ⎤ ⎥ ⎦ ⎧ ⎨ ⎩ ⎪ ⎫ ⎬ ⎭ But ...
1
vote
1answer
68 views

Sweave outputing ascii unicode

i have a file .Rnw with non unicode characters in utf8. When I compile with Sweave(file, encoding="UTF-8"), the .tex output has the unicode characters in the form <U+00F3>. How can I get the ....