summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/exsheets
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-04-05 23:11:50 +0000
committerKarl Berry <karl@freefriends.org>2013-04-05 23:11:50 +0000
commit3df1dc48dcf0b31ba27b2fffae1a0a1915ec4a11 (patch)
treeda4b42de6aa5d5735f5a4ee8a1e6417ae5adb5e5 /Master/texmf-dist/tex/latex/exsheets
parent3aad35523420592d1ba945f563302f5878c7ff55 (diff)
exsheets (5apr13)
git-svn-id: svn://tug.org/texlive/trunk@29685 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/exsheets')
-rw-r--r--Master/texmf-dist/tex/latex/exsheets/exsheets.sty12
-rw-r--r--Master/texmf-dist/tex/latex/exsheets/tasks.sty6
-rw-r--r--Master/texmf-dist/tex/latex/exsheets/translations.sty6
3 files changed, 15 insertions, 9 deletions
diff --git a/Master/texmf-dist/tex/latex/exsheets/exsheets.sty b/Master/texmf-dist/tex/latex/exsheets/exsheets.sty
index e4b2856baf5..cc2b91f14d2 100644
--- a/Master/texmf-dist/tex/latex/exsheets/exsheets.sty
+++ b/Master/texmf-dist/tex/latex/exsheets/exsheets.sty
@@ -31,8 +31,8 @@
% If you have any ideas, questions, suggestions or bugs to report, please
% feel free to contact me.
% ----------------------------------------------------------------------------
-\def\exsheets@date{2013/03/10}
-\def\exsheets@version{0.8}
+\def\exsheets@date{2013/04/04}
+\def\exsheets@version{0.8a}
\RequirePackage { expl3 , xparse }
\ProvidesExplPackage
@@ -2381,6 +2381,7 @@
\DeclareTranslation { Croatian } { exsheets-exercise-name } { Primjer }
\DeclareTranslation { Hungarian } { exsheets-exercise-name } { Gyakorol }
\DeclareTranslation { Danish } { exsheets-exercise-name } { \O{}velse }
+ \DeclareTranslation { Portuges } { exsheets-exercise-name } { Exerc\'\i cio }
% translation for the question
\DeclareTranslationFallback { exsheets-question-name } { Question }
\DeclareTranslation { English } { exsheets-question-name } { Question }
@@ -2395,6 +2396,7 @@
\DeclareTranslation { Croatian } { exsheets-question-name } { Zadatak }
\DeclareTranslation { Hungarian } { exsheets-question-name } { Feladat }
\DeclareTranslation { Danish } { exsheets-question-name } { Opgave }
+ \DeclareTranslation { Portuges } { exsheets-question-name } { Quest\~ao }
% translation for the solutions
\DeclareTranslationFallback { exsheets-solution-name } { Solution }
\DeclareTranslation { English } { exsheets-solution-name } { Solution }
@@ -2409,6 +2411,7 @@
\DeclareTranslation { Croatian } { exsheets-solution-name } { Rje\v{s}enje }
\DeclareTranslation { Hungarian } { exsheets-solution-name } { Megold\'{a}s }
\DeclareTranslation { Danish } { exsheets-solution-name } { Opl\o{}sning }
+ \DeclareTranslation { Portuges } { exsheets-solution-name } { Solu\c c\~ao }
% the actual translating
\tl_set:Nn \l__exsheets_exsheets_name_tl
{ \GetTranslation { exsheets-exercise-name } }
@@ -2527,7 +2530,7 @@ HISTORY:
2013/01/21 v0.7a - added option `auto-label' and questions key `label',
also added question properties `ref' and `pageref'
2013/02/17 v0.7b - bug fix: question selection by ID now works again
-2013/03/?? v0.8 - \prop_length => \exsheets_prop_count
+2013/03/10 v0.8 - \prop_length => \exsheets_prop_count
- define unexpandable internal commands protected
- translations basic dictionaries for English, German,
French and Spanish
@@ -2544,6 +2547,9 @@ HISTORY:
- \includequestions[random=<num>] now obeys class
as done with \SetupExSheets{use-topics={foo,bar}}
- new macro \questionsincludedlast
+2013/04/04 v0.8a - translations: bug fix in \DeclareDictTranslation
+ - exsheets: added Portuguese translations
+ - tasks: corrected \seq_length:N => \seq_count:N
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% TODO:
diff --git a/Master/texmf-dist/tex/latex/exsheets/tasks.sty b/Master/texmf-dist/tex/latex/exsheets/tasks.sty
index 88b613d7dbd..14981e67db8 100644
--- a/Master/texmf-dist/tex/latex/exsheets/tasks.sty
+++ b/Master/texmf-dist/tex/latex/exsheets/tasks.sty
@@ -28,8 +28,8 @@
% If you have any ideas, questions, suggestions or bugs to report, please
% feel free to contact me.
% --------------------------------------------------------------------------
-\def\@tasks@date{2013/01/20}
-\def\@tasks@version{0.7}
+\def\@tasks@date{2013/04/04}
+\def\@tasks@version{0.8a}
\RequirePackage { expl3 , xparse , l3keys2e }
\ProvidesExplPackage
@@ -109,7 +109,7 @@
\tl_if_blank:VF \l__tasks_tmpa_tl
{ \tl_show:N \l__tasks_tmpa_tl \@noitemerr }
\int_set:Nn \l__tasks_total_items_int
- { \seq_length:N \l__tasks_seq }
+ { \seq_count:N \l__tasks_seq }
\UseInstance { tasks } { #1 }
{ \l__tasks_total_items_int }
{ #2 }
diff --git a/Master/texmf-dist/tex/latex/exsheets/translations.sty b/Master/texmf-dist/tex/latex/exsheets/translations.sty
index aef8ad16d6f..03cf81c8169 100644
--- a/Master/texmf-dist/tex/latex/exsheets/translations.sty
+++ b/Master/texmf-dist/tex/latex/exsheets/translations.sty
@@ -29,8 +29,8 @@
% If you have any ideas, questions, suggestions or bugs to report, please
% feel free to contact me.
% --------------------------------------------------------------------------
-\def\@trnslt@date{2013/03/10}
-\def\@trnslt@version{v0.8}
+\def\@trnslt@date{2013/04/04}
+\def\@trnslt@version{v0.8a}
\ProvidesPackage{translations}[\@trnslt@date\space \@trnslt@version\space a simple translator]
\RequirePackage{etoolbox}
@@ -274,7 +274,7 @@
% \@trnslt@dictionary@language
\newrobustcmd*\DeclareDictTranslation[2]{%
- \@trnslt@declare@translation{#1}{\@trnslt@dictionary@language}{#2}}
+ \@trnslt@declare@translation{#1}{\@trnslt@dictionary@lang}{#2}}
\@onlypreamble\DeclareDictTranslation
% --------------------------------------------------------------------------