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

0
votes
0answers
27 views

Should i use latex style when i submit my Unicode response to the reviewers on the website? [on hold]

I have to provide a response to reviewers about my recently submitted paper to an AI/Machine learning conference. The response should be submitted online via a response box and as Unicode text. But in ...
0
votes
2answers
28 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
1answer
18 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 ...
0
votes
0answers
56 views

LyX started having inputenc problems

I asked this question on Stackoverflow, but it was probably the wrong place. I think I should report it here. When I try to compile any document in LyX, I get this message: Package inputenc Error: ...
1
vote
0answers
118 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
50 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
25 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, ...
4
votes
0answers
124 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
42 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
47 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
41 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
23 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
34 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
199 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
116 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
164 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
40 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
87 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
24 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
243 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
221 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
79 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
59 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
36 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
185 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
51 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
97 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
37 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
70 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
90 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
47 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
36 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
111 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
58 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
45 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
28 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: ...
0
votes
1answer
604 views

lstinline has Invalid UTF-8 byte 167

Possible duplicate of this question MWE: \documentclass[% parskip=full,% empty line after each paragraph. twoside=false% not a 2-sided print for a book. ]{scrbook} % \usepackage[utf8]{inputenc} ...
0
votes
0answers
224 views

Package inputenc error: unicode char (U+8D)

I am getting an error while compiling my document. The error appears creating the table of contents. ./main.tex:188:Package inputenc Error: Unicode char (U+8D) (inputenc) not set up for use with ...
0
votes
1answer
94 views

How to reanimate combination of mathtext (T2) with UTF-8 in pdflatex stopped working after recent updates? [closed]

A minimal example: \documentclass[a4paper,12pt,notitlepage]{article} \usepackage[warn]{mathtext} \usepackage[T1,T2A]{fontenc} \usepackage[utf8]{inputenc} \usepackage[russian,english]{babel} \begin{...
0
votes
0answers
26 views

Having two font types in Same document [duplicate]

I am using following code to display Sinhala (Indic language) with xelatex. \usepackage{fontspec,xltxtra,xunicode} \setmainfont[Extension=.ttf, Language=Sinhala, BoldFont=webfont, ItalicFont=webfont]{...
2
votes
3answers
475 views

Printing rare characters

I need to run LaTeX on a file that contains, for example, the following words: ḥarain [unicode 1E25] and Amaziɣ [a Berber word]. These paste OK into my .tex file as they do here, but when I run the ...
0
votes
1answer
142 views

It's a bad practice to use unicode in math? [duplicate]

Recently, I discovered the unicode-math package that permits to insert unicode characters inside math environment. This permits, even in its basic configuration, to use all the greek letters and most ...
3
votes
0answers
54 views

Combining multiple diacritics from unicode input

I have trouble combining multiple diacritics in this example: \documentclass{article} %\usepackage[utf8]{inputenc} %\usepackage{fontspec} \begin{document} Ā́ Łōgī́ zǭ́ze \end{document} ...
1
vote
1answer
49 views

Wrong order of references in bibliography with diacritical characters

I see incorrect order of references in the bibliography. I use UTF-8 (xelatex) and all names are inputet directly in UTF-8 in the literatura.bib file. Language of the work is English, but referenced ...
2
votes
1answer
94 views

Extract a substring from a Chinese string variable

Looks like the stringstrings package can do this: \substring{This is a string.}{1}{4} gives This, but it seems to be failed for non-ASCII characters: \substring{这是一个句子。}{1}{4} cannot give 这是一个. ...
0
votes
1answer
81 views

unicode with plain xetex [duplicate]

Related to this xelatex question. I get Missing character: There is no π in font cmr10!. So I set the unicode font to cmu (computer modern unicode) as advised by this question for xelatex \font\cmu=...
1
vote
1answer
39 views

{newunicodechar} + \chapter{} produces two font-related warnings

I get 2 warnings when I compile the MWE. The warnings are: Warning 1: ./cuba.tex:13: Font shape `EU1/EversonMono(0)/bx/n' undefined(Font) using `EU1/EversonMono(0)/m/n' instead on input line 13.Font ...
3
votes
1answer
122 views

microtype warning about “slots” and “text commands”

I’m writing a multilingual document using XeLaTeX, the scrreprt document class, and the XeCJK and microtype packages (loaded in that order). MWE (with the font properly installed on my system): \...
7
votes
1answer
175 views

Why doesn't LaTeX use unicode characters for subscripts and superscripts in the context of math?

I'm very new to LaTeX but have found it to be enjoyable to work with. Lately I've been focusing on how to get output that will copy/paste well from PDF with special characters. Currently, XeLaTeX with ...