public inbox for gentoo-pms@lists.gentoo.org
 help / color / mirror / Atom feed
From: Ulrich Mueller <ulm@gentoo.org>
To: gentoo-pms@lists.gentoo.org
Subject: [gentoo-pms] "Command \t invalid in math mode" error in names.tex
Date: Sat, 6 Mar 2010 10:09:31 +0100	[thread overview]
Message-ID: <19346.7115.858034.462854@a1i15.kph.uni-mainz.de> (raw)

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




             reply	other threads:[~2010-03-06  9:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-06  9:09 Ulrich Mueller [this message]
2010-03-06  9:26 ` [gentoo-pms] "Command \t invalid in math mode" error in names.tex Ulrich Mueller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=19346.7115.858034.462854@a1i15.kph.uni-mainz.de \
    --to=ulm@gentoo.org \
    --cc=gentoo-pms@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox