public inbox for gentoo-pms@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-pms] "Command \t invalid in math mode" error in names.tex
@ 2010-03-06  9:09 Ulrich Mueller
  2010-03-06  9:26 ` Ulrich Mueller
  0 siblings, 1 reply; 2+ messages in thread
From: Ulrich Mueller @ 2010-03-06  9:09 UTC (permalink / raw
  To: gentoo-pms

For some reason (I suspect something is more strict in TeXLive 2009)
I'm getting the following error in names.tex:

LaTeX Warning: Command \t invalid in math mode on input line 189.
! Please use \mathaccent for accents in math mode.

The patch below fixes it for me, please review and commit.

Ulrich


From f008203ff81409c6bca264d7b6a3eb8914ad439f Mon Sep 17 00:00:00 2001
From: Ulrich Mueller <ulm@gentoo.org>
Date: Sat, 6 Mar 2010 10:00:49 +0100
Subject: [PATCH] Fix "Command \t invalid in math mode" error that occurs with TeXLive 2009.

---
 names.tex |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/names.tex b/names.tex
index 2ee5089..b12086a 100644
--- a/names.tex
+++ b/names.tex
@@ -186,8 +186,8 @@ from which it was invoked.
 \begin{algorithm}
 \caption{Version comparison logic for revision components} \label{alg:version-comparison-revision}
 \begin{algorithmic}[1]
-  \STATE let $Ar$ be the integer part of the revision component of $A$ if any, otherwise $\t{0}$
-  \STATE let $Br$ be the integer part of the revision component of $B$ if any, otherwise $\t{0}$
+  \STATE let $Ar$ be the integer part of the revision component of $A$ if any, otherwise \t{0}
+  \STATE let $Br$ be the integer part of the revision component of $B$ if any, otherwise \t{0}
   \IF{$Ar>Br$ using integer comparison}
     \RETURN $A>B$
   \ELSIF{$Ar<Br$ using integer comparison}
-- 
1.7.0




^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-03-06  9:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-06  9:09 [gentoo-pms] "Command \t invalid in math mode" error in names.tex Ulrich Mueller
2010-03-06  9:26 ` Ulrich Mueller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox