Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 386995 - dev-texlive/texlive-mathextra-2011: a (nearly) trivial document hangs xelatex
Summary: dev-texlive/texlive-mathextra-2011: a (nearly) trivial document hangs xelatex
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Alexis Ballier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-12 23:27 UTC by Rafał Mużyło
Modified: 2011-10-15 12:22 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rafał Mużyło 2011-10-12 23:27:01 UTC
\documentclass[12pt,,a5paper,]{article}
\usepackage{amsmath}
\usepackage{unicode-math}
\renewcommand{\vec}[1] {\overrightarrow{#1}}
\begin{document}
\section*{}
\begin{equation*}
-\vec{\nabla}
\end{equation*}
\end{document}

reliably hangs xelatex.
For some reason, renewcommand is just breaking things here.

Actually, this is more of a question of whether is there a way to install updated versions of latex packages within portage, but it's possible, that the problem is still reproducible upstream.

The original issue was \vec not putting the arrows in the right position with STIXGeneral and unicode-math.
Comment 1 Alexis Ballier gentoo-dev 2011-10-15 12:22:06 UTC
well, here it doesnt hang... you'll need to attach the .log file and possibly a gdb run of xelatex. i get a pdf document with two dashes though.