6
votes
1answer
73 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 ...
4
votes
1answer
76 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
1answer
76 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 ...
1
vote
0answers
178 views

Cannot open Tex file - Default encoding setting (UTF-8) not working

Texmaker cannot open a .tex file. It says It seems that this file cannot be correctly decoded with the default encoding setting (UTF-8) and asks me to choose an encoding option. ISO-8859-1 and ...
7
votes
1answer
214 views

How can I enter Unicode bold Fraktur math characters with LuaTeX?

I want to write a paper with Old/Biblical-Hebrew (Tiro) and Old-Greek words in it. Now I have made my first experience with LuaTeX and it worked well. But I also want to use this symbol ...
2
votes
0answers
45 views

how to generate a PDF with real UTF characters [duplicate]

I'm using these settings: \epstopdfsetup{outdir=./} \usepackage[italian]{babel} \usepackage[T1]{fontenc} \selectlanguage{italian} \usepackage[utf8]{inputenc} \usepackage{hyperref} in order to write ...
2
votes
1answer
64 views

Accented letters messed up in PDF readers navigator with LuaLaTeX

I have something like this: \documentclass{beamer} \usepackage{fontspec} \begin{document} \section{é} \begin{frame} test \end{frame} \end{document} Problem is that the section name ...
3
votes
1answer
70 views

Quotes are not formatted correctly

Here is data about my problem that I consider relevant: a) I'm using lualatex b) Here is my prelude: \documentclass[b5paper,twoside]{memoir} \usepackage{graphicx} \usepackage{polyglossia} ...
12
votes
1answer
190 views

dealing with thin spaces in XeLaTeX and LuaLaTeX

In the following small example I get unexpected but different results in XeLaTeX and LuaLaTeX: \documentclass{article} \usepackage{fontspec} \setlength\parindent{0pt} \newcommand*\x{\rule{1cm}{1cm}} ...
4
votes
1answer
145 views

LuaTeX won't end a line at Unicode emdash

I'm using LuaLaTeX instead of XeLaTeX for my book, mainly because it supports microtype's expansion feature, to produce the optimal word spacing and line breaking that will result in the most uniform ...
5
votes
1answer
753 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} äöüß ...
7
votes
2answers
285 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 ...
8
votes
1answer
159 views

Write18: LuaTeX has an encoding problem, where XeLaTeX does not

xelatex (with option --shell-escape) compiles this document fine: \documentclass{article} \usepackage{fontspec} \begin{document} LuaTeX is not \immediate\write18{echo uber | sed y/u/ü/ > inc.tex} ...
1
vote
0answers
167 views

bookmarks: diacritics, umlauts and special characters [closed]

Why are the bookmarks in my pdf documents (created by LuaLaTeX) not correct? E.g., I get Faḫr al-DÄ«n al-RĆzÄ« instead of Faḫr al-Dīn al-Rāzī. In general diacritics, umlauts and special characters ...
4
votes
1answer
770 views

error using special characters in in biblatex with LuaLaTeX

I am using LuaLaTeX and biblatex which the biblatex manual says should be able to compile utf. At the bottom of this message is a minimal non-working example. In the final PDF it just deletes all the ...
6
votes
1answer
674 views

Can I make LuaLaTeX use \input files that are ANSI encoded?

I include/\input automatically generated files (tables generated by Stata) into my main document. I would like to compile that document with LuaLaTeX. Unfortunately the generated files are ...
16
votes
5answers
884 views

How can I access a specific glyph in LuaLaTeX/Fontspec?

The OTF version of Minion Pro contains several Dingbats glyphs I would like to access. Some of them are not unicode, so I can not just copy the specific unicode character I want to access into my text ...
5
votes
1answer
196 views

MonTeX (mls, manju, mongolian) with Latin script with diacritics

I am using the montex package to type text in Manchu (manju). In my documents, I also use Latin script with diacritics. When I load montex, these diacritics no longer appear, and when characters with ...
10
votes
2answers
433 views

Is direct utf8 input of combining diacritics in math mode possible with lualatex?

I am trying to typeset a document with combining diacritics directly input in it. I use LuaLaTex. Here is a minimal example illustrating the original issue: \documentclass{minimal} ...
14
votes
1answer
232 views

Prevent LuaLaTeX from splitting umlauts

Here's a minimal example: \documentclass{minimal} \usepackage{fontspec}\setmainfont{Cambria} \begin{document}aöz\end{document} Compiling this into a PDF using lualatex and extracting the text using ...
11
votes
1answer
1k views

Migrating from pdfTeX to LuaTeX: Problems with reproducing output for legacy projects

I'm currently analyzing and evaluating a migration process from pdfTeX to LuaTeX for our current TeX workflow. With LuaTeX being a fork of pdfTeX and packages like luainputenc at hand it seemed ...
14
votes
3answers
7k views

'Not element of' in Latin Modern

In the following example, the ∉ symbol does not look good. \documentclass{article} \usepackage{unicode-math} \setmainfont{Latin Modern Roman} \setmathfont{Latin Modern Math} \begin{document} This ...
12
votes
1answer
281 views

Remapping LaTeX symbol to another unicode value

When compiling the following piece of LaTeX code, the ∖ symbol does not show up. \documentclass{article} \usepackage{unicode-math} \setmainfont{Latin Modern Roman} \setmathfont{Latin Modern Math} ...
5
votes
1answer
364 views

How to write infix macro/newcommand?

Is it possible to write a new command/macro in infix syntax instead of prefix syntax; especially I'd like to have this for $\frac{a}{b}$. I use LuaLaTeX and with \newunicodechar{‾}{\overline} I can ...
10
votes
2answers
656 views

Do XeTeX and LuaTeX always use Unicode?

I am writing some functions to manipulate strings. A typical way to produce a character with a given character code is the \lowercase primitive. The following code produces a character with code 234, ...
4
votes
1answer
827 views

LuaLaTeX and algorithm2e

The algorithm2e package seems to be not compatible with LuaLaTeX. For example, compiling the following code produces an error. \documentclass{article} \usepackage{fontspec} \usepackage{algorithm2e} ...
13
votes
3answers
2k views

How to use xindy with XeTeX/LuaTeX?

According to Xindy revisited: Multi-lingual index creation for the UTF-8 age (TUGboat), “if one has a raw index file that was produced by [XeTeX], one can use xindy; it will ‘just work’.” ...
12
votes
3answers
2k views

How to get accented unicode characters that can be copy-pasted?

The aim is to generate the .pdf with accented characters (the .tex file has mixed macro and unicode input), in a way that the .pdf text can be copy-pasted. An example: \documentclass{article} ...
3
votes
1answer
248 views

Replacement for CJK's \Unicode macro

I need a replacement for the \Unicode macro from CJK. It takes two decimal numbers as arguments and inserts #1*256 + #2 into the token stream (or something like that; it's a way to write Unicode ...
11
votes
4answers
810 views

Replacing Unicode non-breakable spaces by normal spaces

I am using the Neo keyboard layout, which uses all kinds of modifier keys to input all kinds of characters (e.g. Greek letters and mathematical symbols). It also has shift+Mod3+space mapped to Unicode ...
11
votes
2answers
3k views

UTF8 not working in LuaTeX in TeXLive 2010

I've been trying to set a document using lualatex in my TeXLive 2010 installation. Unfortunately, the non-ASCII characters are left out from the output. In the following minimal document produces a ...