Skip to content

Commit

Permalink
Fixing the fix for multilingual support
Browse files Browse the repository at this point in the history
The previous fix didn’t work. Hope this one does… :)
  • Loading branch information
joaomlourenco committed Sep 4, 2014
1 parent c342b9c commit 7f415bb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Binary file modified LaTeX/template.pdf
Binary file not shown.
6 changes: 3 additions & 3 deletions LaTeX/unlthesis.cls
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
% Portuguese 0
% English 1

\gdef\UNL@lang{pt}
\gdef\UNL@lang{en}
\DeclareOptionX{lang}{
\typeout{'lang'=#1}
\ifthenelse{\equal{#1}{pt}\OR\equal{#1}{PT}}{\gdef\UNL@lang{pt}\PassOptionsToPackage{english,portuguese}{babel}}
Expand Down Expand Up @@ -167,8 +167,8 @@

\ExecuteOptionsX{
doctype=phd,
lang=en,
enc=utf8,
lang=en,
spine=false,
biblatex={
% sorting=nyt,%
Expand Down Expand Up @@ -850,7 +850,7 @@ Copyright \copyright\ \@author, \@faculty, \@university

\def\printabstract{%
\renewcommand*{\do}[1]{\UNL@printabstract@lang{##1}}
\xdef\UNL@tmp{\expandafter\csname UNL@abstractorder@en\endcsname}
\xdef\UNL@tmp{\expandafter\csname UNL@abstractorder@\UNL@lang\endcsname}
\expandafter\docsvlist\expandafter{\UNL@tmp}
}

Expand Down

0 comments on commit 7f415bb

Please sign in to comment.