From 7994a00bfd9502bbfdc0f66a1a08e8cd0e18efda Mon Sep 17 00:00:00 2001 From: Francisco Coelho Date: Thu, 17 Sep 2015 10:53:13 +0100 Subject: [PATCH] Corrigido problema de fontes no m$windows; Melhor suporte multi-língua; Corrigidos vários erros menores; --- main.fls | 34 ++++++++++++++++++++++++---------- main.pdf | Bin 509347 -> 0 bytes teseue.cls | 46 +++++++++++++++++++++++++++++----------------- 3 files changed, 53 insertions(+), 27 deletions(-) diff --git a/main.fls b/main.fls index eafee1a..8fad7a1 100644 --- a/main.fls +++ b/main.fls @@ -12,6 +12,8 @@ INPUT /usr/local/texlive/2015/texmf-dist/tex/latex/base/bk11.clo INPUT /usr/local/texlive/2015/texmf-dist/tex/latex/base/bk11.clo INPUT /usr/local/texlive/2015/texmf-dist/fonts/map/fontname/texfonts.map INPUT /usr/local/texlive/2015/texmf-dist/fonts/tfm/public/cm/cmr10.tfm +INPUT /usr/local/texlive/2015/texmf-dist/tex/latex/emptypage/emptypage.sty +INPUT /usr/local/texlive/2015/texmf-dist/tex/latex/emptypage/emptypage.sty INPUT /usr/local/texlive/2015/texmf-dist/tex/latex/geometry/geometry.sty INPUT /usr/local/texlive/2015/texmf-dist/tex/latex/geometry/geometry.sty INPUT /usr/local/texlive/2015/texmf-dist/tex/latex/graphics/keyval.sty @@ -137,6 +139,16 @@ INPUT /usr/local/texlive/2015/texmf-dist/tex/generic/pgf/frontendlayer/tikz/libr INPUT /usr/local/texlive/2015/texmf-dist/tex/generic/pgf/frontendlayer/tikz/libraries/tikzlibrarytopaths.code.tex INPUT /usr/local/texlive/2015/texmf-dist/tex/latex/base/makeidx.sty INPUT /usr/local/texlive/2015/texmf-dist/tex/latex/base/makeidx.sty +INPUT /usr/local/texlive/2015/texmf-dist/tex/latex/tools/array.sty +INPUT /usr/local/texlive/2015/texmf-dist/tex/latex/tools/array.sty +INPUT /usr/local/texlive/2015/texmf-dist/tex/latex/polyglossia/polyglossia.sty +INPUT /usr/local/texlive/2015/texmf-dist/tex/latex/polyglossia/polyglossia.sty +INPUT /usr/local/texlive/2015/texmf-dist/tex/latex/makecmds/makecmds.sty +INPUT /usr/local/texlive/2015/texmf-dist/tex/latex/makecmds/makecmds.sty +INPUT /usr/local/texlive/2015/texmf-dist/tex/latex/xkeyval/xkeyval.sty +INPUT /usr/local/texlive/2015/texmf-dist/tex/latex/xkeyval/xkeyval.sty +INPUT /usr/local/texlive/2015/texmf-dist/tex/generic/xkeyval/xkeyval.tex +INPUT /usr/local/texlive/2015/texmf-dist/tex/generic/xkeyval/xkvutils.tex INPUT /usr/local/texlive/2015/texmf-dist/tex/latex/fontspec/fontspec.sty INPUT /usr/local/texlive/2015/texmf-dist/tex/latex/fontspec/fontspec.sty INPUT /usr/local/texlive/2015/texmf-dist/tex/latex/l3kernel/expl3.sty @@ -166,16 +178,18 @@ INPUT /usr/local/texlive/2015/texmf-dist/tex/latex/euenc/eu1lmss.fd INPUT /usr/local/texlive/2015/texmf-dist/tex/latex/euenc/eu1lmss.fd INPUT /usr/local/texlive/2015/texmf-dist/tex/latex/fontspec/fontspec.cfg INPUT /usr/local/texlive/2015/texmf-dist/tex/latex/fontspec/fontspec.cfg -INPUT /usr/local/texlive/2015/texmf-dist/tex/latex/tools/array.sty -INPUT /usr/local/texlive/2015/texmf-dist/tex/latex/tools/array.sty -INPUT /usr/local/texlive/2015/texmf-dist/tex/generic/babel/babel.sty -INPUT /usr/local/texlive/2015/texmf-dist/tex/generic/babel/babel.sty -INPUT /usr/local/texlive/2015/texmf-dist/tex/generic/babel-portuges/portuges.ldf -INPUT /usr/local/texlive/2015/texmf-dist/tex/generic/babel-portuges/portuges.ldf -INPUT /usr/local/texlive/2015/texmf-dist/tex/generic/babel/babel.def -INPUT /usr/local/texlive/2015/texmf-dist/tex/generic/babel/xebabel.def -INPUT /usr/local/texlive/2015/texmf-dist/tex/latex/fancyhdr/fancyhdr.sty -INPUT /usr/local/texlive/2015/texmf-dist/tex/latex/fancyhdr/fancyhdr.sty +INPUT /usr/local/texlive/2015/texmf-dist/tex/generic/oberdiek/ifluatex.sty +INPUT /usr/local/texlive/2015/texmf-dist/tex/generic/oberdiek/ifluatex.sty +INPUT /usr/local/texlive/2015/texmf-dist/tex/latex/polyglossia/gloss-english.ldf +INPUT /usr/local/texlive/2015/texmf-dist/tex/latex/polyglossia/gloss-english.ldf +INPUT /usr/local/texlive/2015/texmf-dist/tex/latex/polyglossia/gloss-english.ldf +INPUT /usr/local/texlive/2015/texmf-dist/tex/latex/polyglossia/gloss-portuges.ldf +INPUT /usr/local/texlive/2015/texmf-dist/tex/latex/polyglossia/gloss-portuges.ldf +INPUT /usr/local/texlive/2015/texmf-dist/tex/latex/polyglossia/gloss-portuges.ldf +INPUT /usr/local/texlive/2015/texmf-dist/tex/latex/rotating/rotating.sty +INPUT /usr/local/texlive/2015/texmf-dist/tex/latex/rotating/rotating.sty +INPUT /usr/local/texlive/2015/texmf-dist/tex/latex/base/ifthen.sty +INPUT /usr/local/texlive/2015/texmf-dist/tex/latex/base/ifthen.sty INPUT main.aux INPUT main.aux INPUT prefacio.aux diff --git a/main.pdf b/main.pdf index b589dfc..c97bfc1 100644 Binary files a/main.pdf and b/main.pdf differ diff --git a/teseue.cls b/teseue.cls index 9fd10d4..33c4b44 100644 --- a/teseue.cls +++ b/teseue.cls @@ -26,6 +26,7 @@ % Document adjustment \LoadClass[11pt,a4paper]{book} +\RequirePackage{emptypage} \RequirePackage[top=3cm, bottom=3cm, left=2cm, right=2cm]{geometry} \RequirePackage{setspace} % for spacing environment \RequirePackage{etoolbox} % for advanced authoring @@ -126,32 +127,35 @@ % --- Lista de Acrónimos --- \newcommand{\@LST@ACRON@EN}{Acronyms} \newcommand{\@LST@ACRON@PT}{Lista de Acr\'{o}nimos} -\newcommand{\@LST@ACRON}{\@LST@ACRON@PT} +\newcommand{\@LST@ACRON}{ND} % --- Lista de Figuras --- \newcommand{\@LST@FIG@EN}{List of Figures} \newcommand{\@LST@FIG@PT}{Lista de Figuras} -\newcommand{\@LST@FIG}{\@LST@FIG@PT} +\newcommand{\@LST@FIG}{ND} % --- Tabela de Conteúdos --- \newcommand{\@LST@CONT@EN}{Contents} \newcommand{\@LST@CONT@PT}{Conteúdo} -\newcommand{\@LST@CONT}{\@LST@CONT@PT} +\newcommand{\@LST@CONT}{ND} % --- Lista de Tabelas --- \newcommand{\@LST@TAB@EN}{List of Tables} \newcommand{\@LST@TAB@PT}{Lista de Tabelas} -\newcommand{\@LST@TAB}{\@LST@TAB@PT} +\newcommand{\@LST@TAB}{ND} % --- Termos intermutaveis --- \newcommand{\@TXT@SUMARIO@PT}{Sum\'{a}rio} \newcommand{\@TXT@SUMARIO@EN}{Abstact} -\newcommand{\@TXT@SUMARIO@A}{\@TXT@SUMARIO@PT} -\newcommand{\@TXT@SUMARIO@B}{\@TXT@SUMARIO@EN} +\newcommand{\@TXT@SUMARIO@A}{ND} +\newcommand{\@TXT@SUMARIO@B}{ND} % \newcommand{\@TXT@PALCHAVE@PT}{Palavras chave} \newcommand{\@TXT@PALCHAVE@EN}{Keywords} -\newcommand{\@TXT@PALCHAVE@A}{\@TXT@PALCHAVE@PT} -\newcommand{\@TXT@PALCHAVE@B}{\@TXT@PALCHAVE@EN} +\newcommand{\@TXT@PALCHAVE@A}{ND} +\newcommand{\@TXT@PALCHAVE@B}{ND} % \DeclareRobustCommand{\tueLINGUA}[1]{% \renewcommand{\@LINGUA}{#1} + \typeout{***} + \typeout{*** TeseUE} + \typeout{*** ------ LINGUA(\@LINGUA)} \ifdefstring{\@LINGUA}{EN}{ % % English @@ -162,14 +166,13 @@ \renewcommand{\@LST@FIG}{\@LST@FIG@EN} \renewcommand{\@LST@CONT}{\@LST@CONT@EN} \renewcommand{\@LST@TAB}{\@LST@TAB@EN} - \renewcommand{\contentsname}{\@LST@CONT@EN} \renewcommand{\@TXT@SUMARIO@A}{\@TXT@SUMARIO@EN} \renewcommand{\@TXT@SUMARIO@B}{\@TXT@SUMARIO@PT} \renewcommand{\@TXT@PALCHAVE@A}{\@TXT@PALCHAVE@EN} \renewcommand{\@TXT@PALCHAVE@B}{\@TXT@PALCHAVE@PT} }{ % - % Portugues + % Portugues % \setmainlanguage{portuges} \setotherlanguage{english} @@ -177,12 +180,17 @@ \renewcommand{\@LST@FIG}{\@LST@FIG@PT} \renewcommand{\@LST@CONT}{\@LST@CONT@PT} \renewcommand{\@LST@TAB}{\@LST@TAB@PT} - \renewcommand{\contentsname}{\@LST@CONT@PT} - \renewcommand{\@TXT@PALCHAVE@A}{\@TXT@PALCHAVE@PT} - \renewcommand{\@TXT@PALCHAVE@B}{\@TXT@PALCHAVE@EN} + \renewcommand{\@TXT@SUMARIO@A}{\@TXT@SUMARIO@PT} + \renewcommand{\@TXT@SUMARIO@B}{\@TXT@SUMARIO@EN} \renewcommand{\@TXT@PALCHAVE@A}{\@TXT@PALCHAVE@PT} \renewcommand{\@TXT@PALCHAVE@B}{\@TXT@PALCHAVE@EN} + } + \typeout{*** ------ LSTACRON(\@LST@ACRON)} + \typeout{*** ------ SUMARIO(\@TXT@SUMARIO@A)} + \typeout{*** ------ ABSTRACT(\@TXT@SUMARIO@B)} + \typeout{*** ------ PAL.CHAV(\@TXT@PALCHAVE@A)} + \typeout{*** ------ KEYWORDS(\@TXT@PALCHAVE@B)} } % %% Titulo @@ -405,6 +413,10 @@ %% Sumario/Resumo % \newenvironment{tueSUMARIO}{ + \typeout{***} + \typeout{*** tueSUMARIO} + \typeout{*** ------ SUMARIO(\@TXT@SUMARIO@A)} + \typeout{*** ------ PAL.CHAV(\@TXT@PALCHAVE@A)} \chapter*{\@TXT@SUMARIO@A} \addcontentsline{toc}{chapter}{\@TXT@SUMARIO@A} \markboth{\uppercase{\@TXT@SUMARIO@A}}{} @@ -437,7 +449,7 @@ \textbf{\@TXT@PALCHAVE@B:}~\@KEYWORDS } % -%% Abstract +%% Acronimos % \newenvironment{tueACRONIMOS}{ \chapter*{\@LST@ACRON}\addcontentsline{toc}{chapter}{\@LST@ACRON} @@ -455,18 +467,18 @@ % \@blankoddpage \cleardoublepage - \tableofcontents \addcontentsline{toc}{chapter}{\@LST@CONT} + \tableofcontents % \@blankoddpage \cleardoublepage - \listoffigures \addcontentsline{toc}{chapter}{\@LST@FIG} + \listoffigures % \@blankoddpage \cleardoublepage - \listoftables \addcontentsline{toc}{chapter}{\@LST@TAB} + \listoftables % \@blankoddpage \cleardoublepage -- libgit2 0.21.2