Fonts & Character SetsLaTeX Error: Unicode character ́ (U+0301) not set up for use with LaTeX.

Information and discussion about fonts and character sets (e.g. how to use language specific characters)
bgreen
Posts: 38
Joined: Wed Nov 22, 2023 11:02 am

LaTeX Error: Unicode character ́ (U+0301) not set up for use with LaTeX.

Post by bgreen »

Hello,

I use TexMaker to compile LaTeX and received this error: ! LaTeX Error: Unicode character ́ (U+0301)
not set up for use with LaTeX.

Two instances of the problem occurs in the example below:

Code: Select all

Code, edit and compile here:
\documentclass{article}
\usepackage{xcolor}
\usepackage{titlesec}
\usepackage[a4paper, total={7in, 10in}]{geometry}
\usepackage[demo]{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_2.jpg}
\caption{}
\end{subfigure}
\hfill
\begin{subfigure}{0.45\textwidth}
\includegraphics[width=\linewidth]{LE_4.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}
\end{document}
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

This particular example is Spanish, but I have also had difficulty with other languages and words such as Hawai`i and Māori . Rather than trying to find workarounds for each word (M\={a}ori), is there a more
general solution? If not where can I find workarounds for individual words?

Thanks

Bob
Last edited by Stefan Kottwitz on Tue Jun 04, 2024 8:33 am, edited 1 time in total.
Reason: [demo] option added for graphicx

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

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

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.

Post by Stefan Kottwitz »

Hi Bob,

can you perhaps post your .log file here as an attachment?

Best regards,

Stefan
LaTeX.org admin
bgreen
Posts: 38
Joined: Wed Nov 22, 2023 11:02 am

LaTeX Error: Unicode character ́ (U+0301) not set up for use with LaTeX.

Post by bgreen »

Log file attached, thanks.
Attachments
L_log.txt
(26.77 KiB) Downloaded 432 times
User avatar
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.

Post by Stefan Kottwitz »

Hi Bob,

I see the errors in the log file, but not the cause yet. When I run your example on my laptop, doesn't bring an error. When I run your example in the online compiler, there's no error either. I added the [demo] option in your example, so you can click "Run LaTeX here" and see for yourself.

The log file belongs to a bigger code. The error may be caused by settings that are not in the example above.

Can you copy & paste the example above back to your computer, and test? What happens?

Can you post an example here, that actually brings the error when we click "Run LaTeX here"? We can only fix what really happens here.

Stefan
LaTeX.org admin
bgreen
Posts: 38
Joined: Wed Nov 22, 2023 11:02 am

LaTeX Error: Unicode character ́ (U+0301) not set up for use with LaTeX.

Post by bgreen »

Thanks again Stefan.

Your example ran without error. I removed all the images and the code in this post, produces the error. The associated log file is attached.

Regards

Bob

Code: Select all

Code, edit and compile here:
\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}
{\centering
A Paipo Interview in Two Languages - Marcelo Linazasoro Egaña
\hrulefill
The story of Marcelo Linazasoro Egaña and the txampero
\hrulefill
A Paipo Interview with Aitor Linaszoro about Marcelo Linazasoro Egaña
January 26, 2012 and March 27, 2013. Zarautz, Spain
Questions asked by Lázaro Echegaray Eizaguirre. Translation by Javier Arteche and Lázaro Echegaray Eizaguirre.
 
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Attachments
Log2.txt
(23 KiB) Downloaded 511 times
User avatar
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.

Post by Stefan Kottwitz »

The code has still (new) errors regarding closing braces without opening braces, and a single \end{figure}.

The Unicode errors don't happen here, when I test it. So it may be an input encoding issue with TeXmaker.

You could try another editor, the forum compiler here, or Overleaf, or pdflatex at the command line, to verify.

Stefan
LaTeX.org admin
bgreen
Posts: 38
Joined: Wed Nov 22, 2023 11:02 am

LaTeX Error: Unicode character ́ (U+0301) not set up for use with LaTeX.

Post by bgreen »

Thanks Stefan, I didn't scroll down to see those other errors.

I have Texworks installed, and it produced the error. Is it possible the names inan image caption could cause the problem?
This is pdfTeX, Version 3.141592653-2.6-1.40.25 (TeX Live 2023) (preloaded format=pdflatex)
restricted \write18 enabled.
entering extended mode
(./Linasazoro_English.tex
LaTeX2e <2023-11-01> patch level 1
L3 programming layer <2024-01-22>
(c:/texlive/2023/texmf-dist/tex/latex/base/article.cls
Document Class: article 2023/05/17 v1.4n Standard LaTeX document class
(c:/texlive/2023/texmf-dist/tex/latex/base/size10.clo))
(c:/texlive/2023/texmf-dist/tex/latex/xcolor/xcolor.sty
(c:/texlive/2023/texmf-dist/tex/latex/graphics-cfg/color.cfg)
(c:/texlive/2023/texmf-dist/tex/latex/graphics-def/pdftex.def)
(c:/texlive/2023/texmf-dist/tex/latex/graphics/mathcolor.ltx))
(c:/texlive/2023/texmf-dist/tex/latex/titlesec/titlesec.sty)
(c:/texlive/2023/texmf-dist/tex/latex/geometry/geometry.sty
(c:/texlive/2023/texmf-dist/tex/latex/graphics/keyval.sty)
(c:/texlive/2023/texmf-dist/tex/generic/iftex/ifvtex.sty
(c:/texlive/2023/texmf-dist/tex/generic/iftex/iftex.sty)))
(c:/texlive/2023/texmf-dist/tex/latex/graphics/graphicx.sty
(c:/texlive/2023/texmf-dist/tex/latex/graphics/graphics.sty
(c:/texlive/2023/texmf-dist/tex/latex/graphics/trig.sty)
(c:/texlive/2023/texmf-dist/tex/latex/graphics-cfg/graphics.cfg)))
(c:/texlive/2023/texmf-dist/tex/generic/babel/babel.sty
(c:/texlive/2023/texmf-dist/tex/generic/babel/txtbabel.def)
(c:/texlive/2023/texmf-dist/tex/generic/babel-english/english.ldf))
(c:/texlive/2023/texmf-dist/tex/generic/babel/locale/en/babel-english.tex)
(c:/texlive/2023/texmf-dist/tex/latex/blindtext/blindtext.sty
(c:/texlive/2023/texmf-dist/tex/latex/tools/xspace.sty))
(c:/texlive/2023/texmf-dist/tex/latex/placeins/placeins.sty)
(c:/texlive/2023/texmf-dist/tex/latex/caption/subcaption.sty
(c:/texlive/2023/texmf-dist/tex/latex/caption/caption.sty
(c:/texlive/2023/texmf-dist/tex/latex/caption/caption3.sty)))
(c:/texlive/2023/texmf-dist/tex/latex/hyperref/hyperref.sty
(c:/texlive/2023/texmf-dist/tex/latex/kvsetkeys/kvsetkeys.sty)
(c:/texlive/2023/texmf-dist/tex/generic/kvdefinekeys/kvdefinekeys.sty)
(c:/texlive/2023/texmf-dist/tex/generic/pdfescape/pdfescape.sty
(c:/texlive/2023/texmf-dist/tex/generic/ltxcmds/ltxcmds.sty)
(c:/texlive/2023/texmf-dist/tex/generic/pdftexcmds/pdftexcmds.sty
(c:/texlive/2023/texmf-dist/tex/generic/infwarerr/infwarerr.sty)))
(c:/texlive/2023/texmf-dist/tex/latex/hycolor/hycolor.sty)
(c:/texlive/2023/texmf-dist/tex/latex/auxhook/auxhook.sty)
(c:/texlive/2023/texmf-dist/tex/latex/hyperref/nameref.sty
(c:/texlive/2023/texmf-dist/tex/latex/refcount/refcount.sty)
(c:/texlive/2023/texmf-dist/tex/generic/gettitlestring/gettitlestring.sty
(c:/texlive/2023/texmf-dist/tex/latex/kvoptions/kvoptions.sty)))
(c:/texlive/2023/texmf-dist/tex/latex/etoolbox/etoolbox.sty)
(c:/texlive/2023/texmf-dist/tex/latex/hyperref/pd1enc.def)
(c:/texlive/2023/texmf-dist/tex/generic/intcalc/intcalc.sty)
(c:/texlive/2023/texmf-dist/tex/latex/hyperref/puenc.def)
(c:/texlive/2023/texmf-dist/tex/latex/url/url.sty)
(c:/texlive/2023/texmf-dist/tex/generic/bitset/bitset.sty
(c:/texlive/2023/texmf-dist/tex/generic/bigintcalc/bigintcalc.sty))
(c:/texlive/2023/texmf-dist/tex/latex/base/atbegshi-ltx.sty))
(c:/texlive/2023/texmf-dist/tex/latex/hyperref/hpdftex.def
(c:/texlive/2023/texmf-dist/tex/latex/base/atveryend-ltx.sty)
(c:/texlive/2023/texmf-dist/tex/latex/rerunfilecheck/rerunfilecheck.sty
(c:/texlive/2023/texmf-dist/tex/generic/uniquecounter/uniquecounter.sty)))
(c:/texlive/2023/texmf-dist/tex/latex/wrapfig/wrapfig.sty)
(c:/texlive/2023/texmf-dist/tex/latex/microtype/microtype.sty
(c:/texlive/2023/texmf-dist/tex/latex/microtype/microtype-pdftex.def)
(c:/texlive/2023/texmf-dist/tex/latex/microtype/microtype.cfg))
(c:/texlive/2023/texmf-dist/tex/latex/parskip/parskip.sty)
(c:/texlive/2023/texmf-dist/tex/latex/enotez/enotez.sty
(c:/texlive/2023/texmf-dist/tex/latex/l3kernel/expl3.sty
(c:/texlive/2023/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def))
(c:/texlive/2023/texmf-dist/tex/latex/l3packages/xparse/xparse.sty)
(c:/texlive/2023/texmf-dist/tex/latex/l3packages/l3keys2e/l3keys2e.sty)
(c:/texlive/2023/texmf-dist/tex/latex/l3packages/xtemplate/xtemplate.sty)
(c:/texlive/2023/texmf-dist/tex/latex/translations/translations.sty))
(./Linasazoro_English.aux)
(c:/texlive/2023/texmf-dist/tex/context/base/mkii/supp-pdf.mkii
[Loading MPS to PDF converter (version 2006.09.02).]
) (c:/texlive/2023/texmf-dist/tex/latex/epstopdf-pkg/epstopdf-base.sty
(c:/texlive/2023/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg))
*geometry* driver: auto-detecting
*geometry* detected driver: pdftex
(./Linasazoro_English.out) (./Linasazoro_English.out)
(c:/texlive/2023/texmf-dist/tex/latex/microtype/mt-cmr.cfg)
(c:/texlive/2023/texmf-dist/tex/latex/translations/translations-basic-dictionar
y-english.trsl) [1{c:/texlive/2023/texmf-var/fonts/map/pdftex/updmap/pdftex.map
} <d:/a_surf/BB/Linazasoro/ML_P1.jpg> <d:/a_surf/BB/Linazasoro/ML_P1b.jpg>]

! LaTeX Error: Unicode character ́ (U+0301)
not set up for use with LaTeX.
User avatar
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.

Post by Stefan Kottwitz »

Possibly, can you post the .lof file here? The figure captions are written into that file, perhaps the utf8 characters did not survive it.

Stefan
LaTeX.org admin
bgreen
Posts: 38
Joined: Wed Nov 22, 2023 11:02 am

LaTeX Error: Unicode character ́ (U+0301) not set up for use with LaTeX.

Post by bgreen »

Thanks Stefan.

Where do I find the lol file? I could try removing images 1 by 1 to see if that makes a difference.
User avatar
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.

Post by Stefan Kottwitz »

lof, not lol. Do you find that in the document folder?

Stefan
LaTeX.org admin
Post Reply