Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unicode char \u8 not represented... #12988

Closed
mcprentiss opened this issue Sep 6, 2015 · 8 comments
Closed

Unicode char \u8 not represented... #12988

mcprentiss opened this issue Sep 6, 2015 · 8 comments
Labels
docs This change adds or pertains to documentation

Comments

@mcprentiss
Copy link
Contributor

! Package inputenc Error: Unicode char \u8:≈ not set up for use with LaTeX.
l.25116 The binary operator \code{≈}
is equivalent to \code{isapprox} with...

Unicode char .ALMOST EQUAL TO' is not represented in LaTex.

It prevents make latexpdf compilation of the documentation.
This character affects math.rst and test.rst in doc/stdlib.
There have been others like this, and I think requires a hard coded hack.

@IainNZ
Copy link
Member

IainNZ commented Sep 6, 2015

Yeah you probably can't build the docs with LaTeX now, and no one has probably even tried. XeTeX or LuaTeX should work.

@jiahao
Copy link
Member

jiahao commented Sep 6, 2015

See #8479 #9012 for what to do

@jiahao jiahao added the docs This change adds or pertains to documentation label Sep 6, 2015
@jiahao
Copy link
Member

jiahao commented Sep 6, 2015

A PR would be very much appreciated!

@mcprentiss
Copy link
Contributor Author

thx.
The good news is
\DeclareUnicodeCharacter{2248}{\ensuremath{\approx}}
fixes the above problem in conf.py. But...
\DeclareUnicodeCharacter{2249}{\ensuremath{\napprox}}
does not fix the same problem ?!?!.
I am working on it.

@jiahao
Copy link
Member

jiahao commented Sep 10, 2015

\napprox is not defined in the standard LaTeX or amsmath environment. You need \not\approx to get the negated operator.

@jiahao jiahao closed this as completed in 8dfdeaf Sep 10, 2015
jiahao added a commit that referenced this issue Sep 10, 2015
PDF docs now build again.

Fix #12988

(cherry picked from commit 8dfdeaf)
@mcprentiss
Copy link
Contributor Author

Well done. I was using \napprox and \usepackage{mathabx}. This created an avalanche of
latex conflicts.

Are any of the docs tested upon new pull requests? It is troubling that make latexpdf had been broken and committed.

@jiahao
Copy link
Member

jiahao commented Sep 10, 2015

No; see #7691 #7753

@mcprentiss
Copy link
Contributor Author

got it. thx.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs This change adds or pertains to documentation
Projects
None yet
Development

No branches or pull requests

3 participants