From 19e696b06f60d56a1248e35c16bd436b3499ced8 Mon Sep 17 00:00:00 2001
From: Manuel Pégourié-Gonnard <mpg@elzevir.fr>
Date: Tue, 2 Aug 2011 18:44:17 +0000
Subject: exercise v1.57 2011/07/19

git-svn-id: svn://tug.org/texlive/trunk@23328 c570f23f-e606-0410-a88d-b1316a301751
---
 Master/texmf-dist/tex/latex/exercise/exercise.sty | 15 ++++++++++++---
 1 file changed, 12 insertions(+), 3 deletions(-)

(limited to 'Master/texmf-dist/tex/latex/exercise/exercise.sty')

diff --git a/Master/texmf-dist/tex/latex/exercise/exercise.sty b/Master/texmf-dist/tex/latex/exercise/exercise.sty
index 1a3f6d3005f..b7dee401572 100644
--- a/Master/texmf-dist/tex/latex/exercise/exercise.sty
+++ b/Master/texmf-dist/tex/latex/exercise/exercise.sty
@@ -27,7 +27,7 @@
 %% 
 \NeedsTeXFormat{LaTeX2e}[1999/12/01]
 \ProvidesPackage{exercise}
- [2011/03/13 v1.55 Exercise package (P.Pichaureau)]
+ [2011/07/19 v1.57 Exercise package (P.Pichaureau)]
 %% \CharacterTable
 %%  {Upper-case    \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
 %%   Lower-case    \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
@@ -123,6 +123,15 @@
  \def\ExePartName{Teil}%
  \def\ArticleOf{von\ }%
 }
+\addto\captionsportuges{%
+\def\listexercisename{Lista de exerc\'icios}%
+\def\ExerciseName{Exerc\'icio}%
+\def\AnswerName{Solu��o do exerc\'icio}%
+\def\ExerciseListName{Ex.}%
+\def\AnswerListName{Solu\c{c}\~ao}%
+\def\ExePartName{Parte}%
+\def\ArticleOf{de\ }%
+}
 }{}
 \newlength{\ExerciseSkipBefore}
 \setlength{\ExerciseSkipBefore}{1\baselineskip}
@@ -624,8 +633,8 @@
 \fi\fi\fi}
 \newif\if@AnswerRef         \@AnswerReffalse
 \newif\if@AnswerNB          \@AnswerNBfalse
-\define@key{PPAnswer}{ref}{\global\@AnswerReftrue\gdef\AnswerRef{\string#1}}
-\define@key{PPAnswer}{number}{\global\@AnswerNBtrue\gdef\AnswerNB{\string#1}}
+\define@key{PPAnswer}{ref}{\global\@AnswerReftrue\gdef\AnswerRef{#1}}
+\define@key{PPAnswer}{number}{\global\@AnswerNBtrue\gdef\AnswerNB{#1}}
 \def\beginAnswerEnv{\@InitAnswer\@ifnextchar[\@@AnswerEnv{\@@AnswerEnv[]}}%]
 \def\@@AnswerEnv[#1]{\setkeys{PPAnswer}{#1}%
 \global\@Answertrue\@selectAnswer\@BeginExeBox\@@@AnswerEnv}
-- 
cgit v1.2.3

