Fonts & Character Sets ⇒ LaTeX Error: Unicode character ́ (U+0301) not set up for use with LaTeX.
LaTeX Error: Unicode character ́ (U+0301) not set up for use with LaTeX.
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
LaTeX Error: Unicode character ́ (U+0301) not set up for use with LaTeX.
Removing this code below and the file runs. I tried running the file without the photos and with just the text, and I still get the error, so it is not because I included this in the caption.
Thanks again.
Bob
Code: Select all
\begin{figure}[htb]\centering\begin{subfigure}{0.45\textwidth}\includegraphics[width=\linewidth]{LE_1.jpg}\caption{}\end{subfigure}\hfill\begin{subfigure}{0.45\textwidth}\includegraphics[width=\linewidth]{LE_3.jpg}\caption{ }\end{subfigure}\caption{ Photos from the workshop - txampero mold. Echegaray Eizaguirre, Lázaro, and Mikel Troitiño Berasategi. 2007.What the waves brought in: a history of surfing in Zarautz. Zarautz:Ayuntamiento de Zarautz, Departamento de Cultura.}\end{figure}
- Attachments
-
- LE_3.JPG (14.53 KiB) Viewed 29308 times
-
- LE_1.jpg (8.34 KiB) Viewed 29308 times
LaTeX Error: Unicode character ́ (U+0301) not set up for use with LaTeX.
Code: Select all
\documentclass{article}\usepackage{xcolor}\usepackage{titlesec}\usepackage[a4paper, total={7in, 10in}]{geometry}\usepackage{graphicx}\usepackage[english] {babel}\usepackage{blindtext}\usepackage[section]{placeins}\usepackage{subcaption}\usepackage[colorlinks]{hyperref}\pagestyle {empty}\usepackage[labelformat=empty]{caption}\usepackage {wrapfig}\usepackage{microtype}\usepackage{parskip}\usepackage{geometry}\titleformat*{\section}{\fontsize{12}{14}\selectfont}\graphicspath{ {D:/a_surf/BB/Linazasoro} }\usepackage{enotez}\let\footnote=\endnote\begin{document}\hspace{\parindent}\pagecolor{yellow!30}\begin{figure}[htb]\centering\begin{subfigure}{0.45\textwidth}\includegraphics[width=\linewidth]{LE_1.jpg}\caption{}\end{subfigure}\hfill\begin{subfigure}{0.45\textwidth}\includegraphics[width=\linewidth]{LE_3.jpg}\caption{ }\end{subfigure}\caption{ Photos from the workshop - txampero mold. Echegaray Eizaguirre, Lázaro, and Mikel Troitiño Berasategi. 2007.What the waves brought in: a history of surfing in Zarautz. Zarautz:Ayuntamiento de Zarautz, Departamento de Cultura.}\end{figure}
- Attachments
-
- LE_3.JPG (14.53 KiB) Viewed 29307 times
-
- LE_1.jpg (8.34 KiB) Viewed 29307 times
- Stefan Kottwitz
- Site Admin
- Posts: 10326
- Joined: Mon Mar 10, 2008 9:44 pm
LaTeX Error: Unicode character ́ (U+0301) not set up for use with LaTeX.
Possible options - Add utf8 input encoding even though it's supported in modern LaTeX by default:
Code: Select all
\usepackage[utf8]{inputenc}
Code: Select all
\usepackage[T1]{fontenc}
Code: Select all
\usepackage{lmodern}
Stefan
LaTeX Error: Unicode character ́ (U+0301) not set up for use with LaTeX.
I added in the packages, 1 by 1
Code: Select all
\usepackage[utf8]{inputenc}\usepackage[T1]{fontenc}\usepackage{lmodern}
I then tried compiling with LuaLaTeX and XeLaTeX. The file compiled without error but the characters don't appear in the captions (e.g. Troitiño ) or Notes section, but curiously the ñ character appears in the title as it should (e.g. Egaña).
Similarly, á ( e.g Lázaro) appears correctly in the introduction but not in a caption or notes.
When the file compiled for you, can you check if the characters appear in the last two figures and notes section?
You should see them correctly in the first six lines.
Thanks again
Code: Select all
\documentclass{article}\usepackage{xcolor}\usepackage{titlesec}\usepackage[a4paper, total={7in, 10in}]{geometry}\usepackage{graphicx}\usepackage[english] {babel}\usepackage[utf8]{inputenc}\usepackage[T1]{fontenc}\usepackage{lmodern}\usepackage{blindtext}\usepackage[section]{placeins}\usepackage{subcaption}\usepackage[colorlinks]{hyperref}\pagestyle {empty}\usepackage[labelformat=empty]{caption}\usepackage {wrapfig}\usepackage{microtype}\usepackage{parskip}\usepackage{geometry}\titleformat*{\section}{\fontsize{12}{14}\selectfont}\graphicspath{ {D:/a_surf/BB/Linazasoro} }\usepackage{enotez}\let\footnote=\endnote\begin{document}\hspace{\parindent}\pagecolor{yellow!30}{\centeringA Paipo Interview in Two Languages - Marcelo Linazasoro Egaña\hrulefillThe story of Marcelo Linazasoro Egaña and the txampero\hrulefillA Paipo Interview with Aitor Linaszoro about Marcelo Linazasoro EgañaJanuary 26, 2012 and March 27, 2013. Zarautz, Spain
- Attachments
-
- LE_3.JPG (14.53 KiB) Viewed 29210 times
-
- LE_1.jpg (8.34 KiB) Viewed 29210 times
LaTeX Error: Unicode character ́ (U+0301) not set up for use with LaTeX.
sounds to me like your editor puts U+0061 and U+0301 (`a', followed by the `combining acute accent') into the .tex file, but when copying it here, the sequence gets translated into U+00E1 (á).
You could (dis)prove this theory of mine by typing (not copying!)
Code: Select all
\documentclass{article}\usepackage[english]{babel}\begin{document}Lázaro\end{document}
(`zip' is short for `archive it some way' in this case, but please let us know which way you used)
KR
Rainer
LaTeX Error: Unicode character ́ (U+0301) not set up for use with LaTeX.
Thanks for your reply.
I'm not sure I completely understood your test. I typed your text, but had to copy from MS WORD the á because I didn't know how to directly type this into Texmaker. If this is ok, Lázaro displays correctly.
I have attached a zio file that contains the tex file + 4 images that are called from the text file.
Bob
- Attachments
-
- Linazasoro.zip
- (38.9 KiB) Downloaded 889 times
LaTeX Error: Unicode character ́ (U+0301) not set up for use with LaTeX.
sorry, I meant `input the same way as you did before that led to the error', but your zip helped already (if a bit long):
The working instances of á are coded as c3 a1 (single á glyph), the non-working ones as 61 cc 81 (a followed by U+0301), so you've got two different kinds of encoding (I guess the working ones are from you copying back the code posted earlier).
Though you could make U+0301 known to LaTeX, even make it active to put an acute accent on some character, I wouldn't go that road here: LaTeX expects an accent to precede the character it's supposed to be put on, but U+0301 comes after it.
You could try to search for á (copy it from a non-working string) and replace all instances of it with a working á---or ask Stefan, how the input stream gets converted when posted here

With ñ you've got a similar problem: the non-working instances are coded as 6e cc 83 (n followed by U+0303, combing tilde accent).
KR
Rainer
- Stefan Kottwitz
- Site Admin
- Posts: 10326
- Joined: Mon Mar 10, 2008 9:44 pm
LaTeX Error: Unicode character ́ (U+0301) not set up for use with LaTeX.
I think the only good way is to identify and to replace the bad characters by correctly typing or using a virtual keyboard or stuff like googling it and copy&paste the found Unicode character to your document. It's probably just a few characters, but repeated.
Here's how you can identify them. Add such lines to your preamble, use any dummy text that you can easy see:
Code: Select all
\DeclareUnicodeCharacter{0301}{******1******}\DeclareUnicodeCharacter{0303}{******2******}
Stefan
LaTeX Error: Unicode character ́ (U+0301) not set up for use with LaTeX.
This has identified the problem and also provided a fix, for this problem and likely others I'll come across.
Bob