Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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}.

5
votes
2answers
527 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 ...
0
votes
0answers
21 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 ...
2
votes
1answer
69 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 ...
0
votes
0answers
38 views

Font supporting all UTF-8 characters in XeLaTeX

I'm generating a pdf with xelatex that could contain arbitrary utf8 printable characters. Is there a font that will support all unicode printable characters? If not, what are the pluses and minuses ...
5
votes
1answer
47 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
31 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
0answers
67 views

The definite way to define a Unicode Character

NOTE: This question is not meant to be solved by some package to include some random symbol, nor the usage of XeTeX is an option. This is a general question! If I want to define and use a given ...
0
votes
1answer
27 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
43 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
44 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
61 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 ...
0
votes
0answers
31 views

How to use IPA symbols on Overleaf without using tipa? [duplicate]

I'd like to stop using tipa to generate IPA transcriptions in my Overleaf documents, and from what I understand, using either pdfLaTeX with the inputenc package or XeLaTeX without the inputenc package ...
0
votes
0answers
70 views

Unicode error in inputenc package char − (U+2212)

When I compile the texfile on my laptop, everything is fine. however, When I compile same file on PC, with same version of TexMaker I am getting this error: Unicode error in inputenc package char ...
1
vote
1answer
34 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 ...
1
vote
0answers
22 views

Unicode for \trianglelefteqslant

Is \trianglelefteqslant and its negated version present in Unicode? I cannot find them, neither can shapecatcher. Shape in different sizes: Related: How to get \trianglelefteq similar to \leqslant?,...
0
votes
2answers
31 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
36 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
123 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
60 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
28 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
152 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
48 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
92 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
44 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
25 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
38 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
274 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
1answer
492 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 ...
3
votes
1answer
291 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
66 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
98 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 ...
0
votes
0answers
60 views

Unicode in author in bibliography

I am using natbib with BibTeX (ACM template). I want to cite this article: http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.124.5498 If I copy the BibTeX information into the bibliography ...
13
votes
2answers
266 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 ...
2
votes
2answers
294 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?
1
vote
0answers
82 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 ...
0
votes
0answers
60 views

If TeX / LaTeX uses the Unicode glyphs where possible, or just draws the lines / shapes manually

For example, there is a unicode character Ċ with the dot above, but you can also do \dot{C}, or by manually drawing a dot above the character with tikz or something. Same with the \hat{C} and \bar{C} ...
0
votes
1answer
47 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 ....
0
votes
1answer
611 views

! Package inputenc Error: Unicode char ́ (U+301)(inputenc)

I get this error message, during compiling my .tex-document. line 234 - ! Package inputenc Error: Unicode char ́ (U+301)(inputenc) not set up for use with LaTeX.See the inputenc package documentation ...
1
vote
0answers
67 views

using utf-8 characters in listing code snippets

I have some code snippets in which I'd like to use the characters ĉ,ĝ,ĥ,ĵ,ŝ,ŭ. However the listings package is unable to process them well, resulting in compilation errors or other oddities. my MWE ...
2
votes
1answer
146 views

Remove particular characters from some string

Consider this code: \documentclass[12pt]{article} \usepackage{arabxetex} \usepackage{newunicodechar} \begin{document} \begin{arab} إِبرٰهۦمَِ \end{arab} \end{document} Output: The arabic ...
0
votes
0answers
38 views

Get line number for Missing Character

I do conversion of many documents from XML (Unicode) to XeLaTeX. I stumbled upon x≠5, in one document, for which my Software failed to translate the character to \neq (due to Unicode composite ...
0
votes
1answer
95 views

Defining a replacement of a unicode character in lualatex

In the past I asked a question about a replacement character for a unicode character (FFFD) in case of and xelatex (Defining a replacement of a unicode character), this works nicely. Now I need it for ...
1
vote
2answers
92 views

Cyrillic letters in command names with PDFLaTeX

I would like to know an efficient way to use Cyrillic characters in command names (macro names) with PDFLaTeX (XeLaTeX being unavailable). I discovered that I can define commands with Cyrillic ...
0
votes
0answers
16 views

Error using º and ' in bibliography entry title [duplicate]

I have been trying for a while to incorporate a bibliographic entry (Escartin et. al 2010: Globally aligned photomosaic of the Lucky Strike hydrothermal vent field (Mid‐Atlantic Ridge, 37°18.5′N): ...
2
votes
1answer
56 views

Export BibLaTex format collection from Zotero to use in LyX

I'm trying to use a collection from Zotero in a LyX file as a reference database. I export the Zotero collection as a BibLaTeX format database with unicode encoding. I've also tried using unicode ...
2
votes
1answer
40 views

Spurious characters in Lua string

I'm trying to generate a section title programatically from some constituent strings. The simplified MWE just concatenates them (the live system will do more complex processing) but I get a leading ...
3
votes
1answer
129 views

How to \input{} files with Unicode names?

I work in Linux with the latest TeX Live. The system encoding is UTF-8. It is also the default editor encoding in my TeXstudio 2.12.8. I have figures in files like σ_1_μ_02_per_5.tikz, and I included ...
1
vote
1answer
64 views

TeXShop console (not log) contains entire LuaLaTeX file

I tried the example of "von" in the post Is direct utf8 input of combining diacritics in math mode possible with lualatex? regarding the use of a Lua script to allow TeX commands for combining ...
1
vote
0answers
46 views

Disable sorting in texindy

I'm trying to establish a workflow for a LaTeX project and haven't figured out how to use makeidx or imakeidx packages to sort UTF-8 encoded index by languages not covered in the section supported ...
0
votes
0answers
34 views

Biber + classicthesis: Package inputenc Error: Unicode char ́ (U+301): How to find symbol [duplicate]

My problem develops as following. I delete the .bbl .bcf .blg files. I run pdflatex without errors. I run biber without errors. I run pdflatex again, and I get the error "Package inputenc Error: ...