1
vote
1answer
53 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 ...
7
votes
1answer
429 views

Text encoding driving me crazy

I am writing a paper in english but will need to provide a danish abstract and use the little word "Köppen" as well. For some reason I seam not to be able to get the them to work. This example: ...
5
votes
1answer
127 views

Non-ascii character as argument

I want to do something special with some characters in the text. In this example that is just boldfacing them: \documentclass{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} ...
1
vote
0answers
66 views

Definition environment versus utf8 [closed]

I had some problems with my code, then I changed to \usepackage[utf8]{inputenc} and I could compile. But now I have another problem. I write in Brazilian portuguese, so the definition environment ...
3
votes
1answer
140 views

Auto convert LaTeX escape codes to UTF-8 characters?

How do I—e.g., with AucTeX—automatically convert escaped characters like \~n to ñ for use with \usepackage[utf8]{inputenc}? I could do something like this: sed \ -e "s/\\'a/á/" \ -e ...
0
votes
0answers
100 views

Accents generate errors with moderncv class

When using accented characters (e.g. ë) I get the following error: Package inputenc Error: Unicode char \u8:ële not set up for use with LaTeX. A minimal working example is given below. To the best ...
3
votes
1answer
309 views

Problem with Unicode in LaTeX editor (LEd)

I have an UTF-8, polish text in .tex file. When I open it with my LEd (LaTeX editor), it shows ok (all characters can be seen). But when I try to compile it, I get error: Package inputenc Error: ...
10
votes
1answer
188 views

What benefits can I get from using utf-8 encoding instead of cp1251 for Russian?

I'm preparing to make a small package for typesetting math textbooks in Russian, under Windows (MikTeX distribution). What input encoding should I prefer? I've always been using cp1251, but as I ...
16
votes
2answers
382 views

Why characters UTF-8 encoded are ISO-8859-1 encoded when written in an external file

For an UTF-8 encoded file as follows: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} % \newwrite\outtmp \immediate\openout\outtmp=out.tmp % \begin{document} ...
2
votes
1answer
111 views

Yes, another “Package inputenc error” question

I'm trying to figure out why LaTeX behaves this way. So, I have this project: https://dl.dropboxusercontent.com/u/12774331/latex.zip which is a perfectly working project, with lots of é and other ...
1
vote
0answers
878 views

Package inputenc Error: Unicode char \u8:�\expandafter not set up for use wit h LaTeX

I'm having problem with generating pdf file from my tex file. When I use \documentclass with draft option, it generates pdf file with images as boxes without errors, so it's fine. But when I change ...
6
votes
1answer
103 views

Parsing utf8 problems

There are a number of questions relating to problems when using utf8 input encoding, and the closest I found to my problem is, I think, What characters in a normal text document will screw up LaTeX?. ...
4
votes
1answer
180 views

inputenc[utf8] error with input-function of external tex files

I got a problem with inputenc[utf8]. My document is in German and uses 'ä, ö, ü' which usually works fine with the following preamble: \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} ...
1
vote
0answers
101 views

Input Encoding bugged on Windows 7 WinEdt?

When my girlfriend processes her code in WinEdt on Windows 7, she gets awkward looking "special" letters. (Precisly, these are Serbian letters -- from our home country.) She used: \usepackage[T1, ...
8
votes
1answer
71 views

Encoding of written out files

I have a tex file with: \usepackage[utf8]{inputenc} The file calls a macro that saves the content between and \begin{something} and \end{something} to a file. But the encoding of the file is not ...
3
votes
1answer
169 views

How to have special characters (e.g. german umlauts) inside bibkeys?

I really like biblatex [backend=biber] to use with UTF8, as many citations I use will have some special characters esp. in the name field. This works totally great until I want to use e.g. german ...
5
votes
1answer
153 views

What controls the encoding of the LaTeX log file – and how to change it?

I have a LaTeX document in UTF-8 encoding: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \begin{document} ...
2
votes
0answers
264 views

using special characters in csv file imported by pgfplotstable

I'm using pgfplotstable to render CSV-files as tables in my document: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{pgfplotstable} \begin{document} ÄÖÜ! \pgfplotstabletypeset[col ...
8
votes
1answer
157 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} ...
2
votes
1answer
371 views

unicode-math and tex4ht with utf-8 input

I have a document which I'm compiling to PDF using LuaTeX, and I want to create an HTML version from the same sources. The text is german with umlauts, and for convenience I'm using some unicode-math ...
5
votes
1answer
121 views

How to produce ũ in my bibliography

I am trying to produce Dũng as a name in my bib. I do use \~u for this. I am loading inputenc with the utf8 option. the final result is "Dng (2012)" in the text and "Dng, N. V. (2012)." in my Bib. ...
7
votes
1answer
231 views

why “ff” displays strange using unicode encoding vs. iso-8859-1 in HTML output from tex4ht?

I understand that one should (?) be using UNICODE for html. But using this with tex4ht, always makes "ff" look strange. Why does this happen for "ff"? and based on this test below, should one instead ...
5
votes
1answer
5k views

Problem after copying text: inputenc Error: Unicode char \u8:‭ not set up for use with LaTeX

I have a LaTeX document, that can be compiled without any problems, but after copying some text into the document, I'm getting a huge amount of errors that say: ! Package inputenc Error: Unicode ...
2
votes
1answer
126 views

How can I make German characters from \input file display correctly?

I'm working with a Rnw file in RStudio and knitr. Everything works correctly so far, but I stumbled upon a problem when I included a chapter to the report that is written in German. I wrote the ...
0
votes
1answer
156 views

Error with ASCII characters [closed]

I have an apostrophe as in educator's, which is displayed as eductaor's and prevents TeX from generating a pdf. I have used this as well: \usepackage[utf8]{inputenc} how can I fix that? ...
4
votes
1answer
297 views

Babel not working on OS X? [closed]

I'm using a MacBook Air, with OS X, and I have great difficulties in using Latex in my native language (serbian). If I use the standard babel package in TexShop: \usepackage[utf8]{inputenc} ...
2
votes
2answers
418 views

How to make a given thesis template compatible with German umlauts (error with Unicode char)

To Thesis.tex (of Sunil Patel's Thesis Template.zip) I added these two lines (to allow for German special characters): \usepackage[utf8]{inputenc} % my edit \usepackage[T1]{fontenc} % my edit in ...
6
votes
1answer
654 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 ...
8
votes
3answers
2k views

OS X: umlauts in UTF8-NFD yield “Package inputenc Error: Unicode char \u8:̈ not set up for use with LaTeX”

After switching to OS X one of the first things I had to learn the hard way is that many non-ASCII characters, such as the German ü can be encoded in (at least) two different forms in UTF8: U+00FC ...
10
votes
1answer
212 views

Encoding of non-ASCII characters (Umlauts) in \jobname

I need to parse \jobname to extract some metadata (such as the subject of a letter) that is encoded in the filename of the .tex file. The filenames are not restricted to ASCII, but maybe any UTF8 ...
13
votes
1answer
460 views

How to work with two encodings?

I'll try to explain my problem here. I know that there are many posts dealing with this but I'm still confused. We have many files from different machines with different systems. The important is: ...
11
votes
1answer
548 views

How to change a .tex file's input encoding system (preferably to UTF-8)?

I've been trying to use the hyphenation patterns embedded in the file dehyphtex.tex, which is part of the hyphen-german package. Unfortunately, the file seems to be encoded in a system that's neither ...
7
votes
2answers
315 views

utf8 characters

I would like to include the output of the npm list command in a latex verbatim block: jeroen@jeroen-ubuntu:~/Desktop$ npm install d3 jeroen@jeroen-ubuntu:~/Desktop$ npm list /home/jeroen/Desktop └─┬ ...
25
votes
3answers
37k views

inputenc Error: Unicode char \u8: not set up for use with LaTeX

This is with ref to my previous question Package clash in multilingual report. \documentclass[11pt,table,a4paper]{article} \usepackage{lmodern} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} ...
4
votes
1answer
301 views

inserting png introduces inputenc error

I want to write an article in Chinese, which needs to insert pictures. It's fine when I insert pictures as .pdf but the following problem occurs if .png is inserted: ! Package inputenc Error: ...
2
votes
1answer
413 views

Special characters stopped appearing in text

I have a unicode text (XeLaTeX) in which I use vowels with umlaut, like ü and ö, which worked but suddenly stoped working. These give an error message: ! Package inputenc Error: Keyboard character ...
5
votes
2answers
463 views

Why can't I use 𝔽?

I can't figure out why LaTeX won't let me use the 𝔽 symbol (U+1D53D, mathematical double-stuck capital F). When I try, I get the error Package inputenc Error: Unicode char \u8:𝔽 not set up for use ...
3
votes
2answers
1k views

encoding problem

I'm trying to write a program in Python that exports data into PDF. Unfortunately, the well known reportlab module is not available on Python 3. (What a shame.) So I have decided to generate TEX files ...
2
votes
0answers
754 views

biblatex biber non-latin (cyrillic) UTF-8 names [closed]

I am back where I was when I switched from stock bibtex to biblatex-biber: (cyrillic) non-latin UTF-8 names in the bibliography. It's why I started using biber in the first place, the same would ...
11
votes
2answers
2k views

How can I get utf8 character

I want to make cross references for sections to be symbols but after using the description given I got error report saying keyboard character used is undefined in inputencoding 'utf8'. What might be ...
8
votes
2answers
788 views

Pi, Kappa, Latin Small Letter Long S: problems with UTF8

I'm using Springers svmono for a book with many mathematical symbols and special characters. There are quite a few problems with characters that are simply not printed (using pdfLatex), so I tried ...
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 ...
9
votes
2answers
2k views

Error “Please insert PRERENDERUNICODE”

I meet a subtle problem. My simplest code is as follows. I am working in Win 7-32bit, my editor is WinEdt 7.0 (Build: 20120125 (v. 7.0)), saved as UTF-8, compiled with pdflatex(MiKTeX2.9). ...
4
votes
1answer
2k views

inputenc error with unicode chars and verbatim

I am writing a package where I need to save the contents of several environments in verbatim mode to an auxiliary file. Then the auxiliary file is processed by an external program. In the next ...
2
votes
1answer
1k views

Extended ASCII characters in LaTeX document

I need to display a few extended ASCII characters and this is what I have coded so far. \documentclass[a4paper , 12pt]{report} \usepackage[mathletters]{ucs} \usepackage[utf8x]{inputenc} ...
13
votes
2answers
5k views

How can I tell LaTeX that an \input file is in a different encoding from inputenc?

I'm currently writing a .tex report with my wife. She's on a Windows machine and I'm running Linux over here; we've decided to encode our report in ISO-8859-1 (i.e., we use ...
5
votes
2answers
3k views

Error with inputenc and UTF-8 non-breaking space

This is a follow up to How to make non-breaking spaces (ties) in Org-mode that exports properly to LaTeX. One answer to the question is a solution that uses UTF-8 non-breaking spaces but these cause ...
6
votes
1answer
440 views

Problem with pst-barcode when using \usepackage[utf8]{inputenc}

I've tried to use the pst-barcode to generate QR codes, and ran into an issue with foreign characters. \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{pst-barcode} \begin{document} ...
7
votes
3answers
5k views

encoding problem with \verbatiminput : Package inputenc Error: Unicode char \u8: not set up for use with LaTeX

I'm trying to import some logs files using \verbatiminput to do a automatic report from our logs. I got some encoding problem. My objective: import some logs files with various special char (included ...
4
votes
1answer
1k views

\SweaveInput{…} with UTF-8 encoding?

Some hack here. In ?RweaveLatex manual, I found only paragraph about encoding in UTF-8 but considering Windows users: The use of fancy quotes (see ‘sQuote’) can cause problems when setting R ...