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

1,715 views
Skip to first unread message

Matthew Fisher

unread,
Jun 26, 2013, 3:26:30 PM6/26/13
to sphinx...@googlegroups.com
Hello sphinx-users,

I'm trying to parse .tex files into PDFs. I'm getting the same error as https://groups.google.com/forum/#!topic/sphinx-users/c02bzqio7mo, only with a different unicode character:

$ make -C $(BUILDDIR)/latex all-pdf

    ! Package inputenc Error: Unicode char \u8:├ not set up for use with LaTeX.

is there a specific package I should be using in my preamble? My .tex file preamble looks like this:

\def\sphinxdocclass{report}
\documentclass[letterpaper,10pt,english]{sphinxmanual}
\usepackage[utf8]{inputenc}
\DeclareUnicodeCharacter{00A0}{\nobreakspace}
\usepackage{cmap}
\usepackage[T1]{fontenc}
\usepackage{babel}
\usepackage{textalpha}
\usepackage{times}
\usepackage[Bjarne]{fncychap}
\usepackage{longtable}
\usepackage{sphinx}
\usepackage{multirow}

i tried using '\DeclareUnicodeCharacter{251C}{├}', but the make command just freezes when trying to parse that character within the .tex file. Penny for your thoughts?

Thanks!
Matt Fisher

Guenter Milde

unread,
Jun 27, 2013, 5:34:28 AM6/27/13
to sphinx...@googlegroups.com
On 2013-06-26, Matthew Fisher wrote:

> Hello sphinx-users,

> I'm trying to parse .tex files into PDFs. I'm getting the same error as
> https://groups.google.com/forum/#!topic/sphinx-users/c02bzqio7mo, only with
> a different unicode character:

> $ make -C $(BUILDDIR)/latex all-pdf

> ! Package inputenc Error: Unicode char \u8:├ not set up for use with
> LaTeX.

8-bit TeX support for UTF-8 is quite limited.

> is there a specific package I should be using in my preamble?

You may try pmboxdraw_

.. _pmboxdraw:
http://mirror.ctan.org/help/Catalogue/entries/pmboxdraw.html


With a custom template and some replacements, you could also use XeLaTeX or
LuaLaTeX for the conversion.

Günter

Reply all
Reply to author
Forward
0 new messages