Gentoo Archives: gentoo-pms

From: Ulrich Mueller <ulm@g.o>
To: gentoo-pms@l.g.o
Subject: [gentoo-pms] "Command \t invalid in math mode" error in names.tex
Date: Sat, 06 Mar 2010 09:09:41
Message-Id: 19346.7115.858034.462854@a1i15.kph.uni-mainz.de
1 For some reason (I suspect something is more strict in TeXLive 2009)
2 I'm getting the following error in names.tex:
3
4 LaTeX Warning: Command \t invalid in math mode on input line 189.
5 ! Please use \mathaccent for accents in math mode.
6
7 The patch below fixes it for me, please review and commit.
8
9 Ulrich
10
11
12 From f008203ff81409c6bca264d7b6a3eb8914ad439f Mon Sep 17 00:00:00 2001
13 From: Ulrich Mueller <ulm@g.o>
14 Date: Sat, 6 Mar 2010 10:00:49 +0100
15 Subject: [PATCH] Fix "Command \t invalid in math mode" error that occurs with TeXLive 2009.
16
17 ---
18 names.tex | 4 ++--
19 1 files changed, 2 insertions(+), 2 deletions(-)
20
21 diff --git a/names.tex b/names.tex
22 index 2ee5089..b12086a 100644
23 --- a/names.tex
24 +++ b/names.tex
25 @@ -186,8 +186,8 @@ from which it was invoked.
26 \begin{algorithm}
27 \caption{Version comparison logic for revision components} \label{alg:version-comparison-revision}
28 \begin{algorithmic}[1]
29 - \STATE let $Ar$ be the integer part of the revision component of $A$ if any, otherwise $\t{0}$
30 - \STATE let $Br$ be the integer part of the revision component of $B$ if any, otherwise $\t{0}$
31 + \STATE let $Ar$ be the integer part of the revision component of $A$ if any, otherwise \t{0}
32 + \STATE let $Br$ be the integer part of the revision component of $B$ if any, otherwise \t{0}
33 \IF{$Ar>Br$ using integer comparison}
34 \RETURN $A>B$
35 \ELSIF{$Ar<Br$ using integer comparison}
36 --
37 1.7.0

Replies