Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 386995

Summary: dev-texlive/texlive-mathextra-2011: a (nearly) trivial document hangs xelatex
Product: Gentoo Linux Reporter: Rafał Mużyło <galtgendo>
Component: Current packagesAssignee: Alexis Ballier <aballier>
Status: RESOLVED WORKSFORME    
Severity: normal CC: tex
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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.