From 67b6dbbfddb0d71cbb93790df31ca8648547df18 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 26 Dec 2013 23:19:02 +0000 Subject: abntex2 (26dec13) git-svn-id: svn://tug.org/texlive/trunk@32490 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf-dist/bibtex/bst/abntex2/abntex2-alf.bst | 10 ++- .../texmf-dist/bibtex/bst/abntex2/abntex2-num.bst | 10 ++- Master/texmf-dist/doc/latex/abntex2/README | 17 +++- Master/texmf-dist/doc/latex/abntex2/abntex2.pdf | Bin 696291 -> 696479 bytes Master/texmf-dist/doc/latex/abntex2/abntex2.tex | 27 +++--- .../doc/latex/abntex2/abntex2cite-alf.pdf | Bin 535401 -> 535492 bytes .../doc/latex/abntex2/abntex2cite-alf.tex | 4 +- .../texmf-dist/doc/latex/abntex2/abntex2cite.pdf | Bin 990027 -> 995376 bytes .../texmf-dist/doc/latex/abntex2/abntex2cite.tex | 61 +++++++++++++- .../abntex2/examples/abntex2-modelo-artigo.pdf | Bin 302982 -> 302992 bytes .../abntex2/examples/abntex2-modelo-artigo.tex | 4 +- .../abntex2/examples/abntex2-modelo-glossarios.pdf | Bin 678358 -> 718763 bytes .../abntex2/examples/abntex2-modelo-glossarios.tex | 4 +- .../examples/abntex2-modelo-include-comandos.tex | 6 +- .../abntex2/examples/abntex2-modelo-livro.pdf | Bin 614874 -> 614880 bytes .../abntex2/examples/abntex2-modelo-livro.tex | 4 +- .../examples/abntex2-modelo-projeto-pesquisa.pdf | Bin 661739 -> 698920 bytes .../examples/abntex2-modelo-projeto-pesquisa.tex | 10 +-- .../examples/abntex2-modelo-relatorio-tecnico.pdf | Bin 677038 -> 714430 bytes .../examples/abntex2-modelo-relatorio-tecnico.tex | 10 +-- .../abntex2/examples/abntex2-modelo-slides.pdf | Bin 255684 -> 255481 bytes .../abntex2/examples/abntex2-modelo-slides.tex | 4 +- .../examples/abntex2-modelo-trabalho-academico.pdf | Bin 685607 -> 723036 bytes .../examples/abntex2-modelo-trabalho-academico.tex | 49 ++++++----- Master/texmf-dist/tex/latex/abntex2/abntex2.cls | 91 ++++++++++++++++----- .../texmf-dist/tex/latex/abntex2/abntex2abrev.sty | 2 +- .../texmf-dist/tex/latex/abntex2/abntex2cite.sty | 2 +- 27 files changed, 224 insertions(+), 91 deletions(-) diff --git a/Master/texmf-dist/bibtex/bst/abntex2/abntex2-alf.bst b/Master/texmf-dist/bibtex/bst/abntex2/abntex2-alf.bst index bd93dbe2d40..e37bdce30a0 100644 --- a/Master/texmf-dist/bibtex/bst/abntex2/abntex2-alf.bst +++ b/Master/texmf-dist/bibtex/bst/abntex2/abntex2-alf.bst @@ -1,4 +1,4 @@ -%% abntex2-alf.bst, v-1.9 laurocesar +%% abntex2-alf.bst, v-1.9.1 laurocesar %% Copyright 2012-2013 by abnTeX2 group at http://abntex2.googlecode.com/ %% %% This work may be distributed and/or modified under the @@ -1014,6 +1014,8 @@ FUNCTION {filter.url.tex} duplicate$ "/" = {pop$ "\-/" } 'skip$ if$ duplicate$ "." = {pop$ "\-." } 'skip$ if$ duplicate$ "\" = {pop$ "{\textbackslash}" } 'skip$ if$ + duplicate$ "#" = {pop$ "\#" } 'skip$ if$ + duplicate$ "_" = {pop$ "\_" } 'skip$ if$ t swap$ * 't := url.pos #1 + 'url.pos := } @@ -1026,6 +1028,8 @@ FUNCTION {filter.url.html} {url.pos url.length <} {s url.pos #1 substring$ duplicate$ "%" = {pop$ "\%" } 'skip$ if$ + duplicate$ "#" = {pop$ "\#" } 'skip$ if$ + duplicate$ "_" = {pop$ "\_" } 'skip$ if$ t swap$ * 't := url.pos #1 + 'url.pos := } @@ -1042,7 +1046,7 @@ FUNCTION {compose.url} abnt.doi abnt.doi.expand.to.url = 'expand.doi {s} if$ * "$>$" *} 'skip$ if$ abnt.url.package #1 = - { "\url{" * s * "}" *} 'skip$ if$ + { "\url{" * filter.url.html * "}" *} 'skip$ if$ abnt.url.package #2 = {url.type http.url = {"\htmladdnormallink{$<$" * filter.url.tex * "$>$}{" * filter.url.html * "}" *} @@ -2098,7 +2102,7 @@ FUNCTION {set.default.abnt.variables} "$RCSfile: abnt-alf.bst,v $ " extract.cvs.key % "abnt-alf.bst,v " = 'abnt.alf := % #1 para abnt-alf #0 para abnt-num - "$Revision: v-1.9 $" extract.cvs.key 'abnt.bst.revision := + "$Revision: v-1.9.1 $" extract.cvs.key 'abnt.bst.revision := #0 'abnt.and.type := % #0 "e"; #1 "&" "\emph" 'abnt.emphasize := #0 'abnt.cite.style := %default norm version for NBR10520 diff --git a/Master/texmf-dist/bibtex/bst/abntex2/abntex2-num.bst b/Master/texmf-dist/bibtex/bst/abntex2/abntex2-num.bst index 1d71629d131..dcd486e2483 100644 --- a/Master/texmf-dist/bibtex/bst/abntex2/abntex2-num.bst +++ b/Master/texmf-dist/bibtex/bst/abntex2/abntex2-num.bst @@ -1,4 +1,4 @@ -%% abntex2-num.bst, v-1.9 laurocesar +%% abntex2-num.bst, v-1.9.1 laurocesar %% Copyright 2012-2013 by abnTeX2 group at http://abntex2.googlecode.com/ %% %% This work may be distributed and/or modified under the @@ -1014,6 +1014,8 @@ FUNCTION {filter.url.tex} duplicate$ "/" = {pop$ "\-/" } 'skip$ if$ duplicate$ "." = {pop$ "\-." } 'skip$ if$ duplicate$ "\" = {pop$ "{\textbackslash}" } 'skip$ if$ + duplicate$ "#" = {pop$ "\#" } 'skip$ if$ + duplicate$ "_" = {pop$ "\_" } 'skip$ if$ t swap$ * 't := url.pos #1 + 'url.pos := } @@ -1026,6 +1028,8 @@ FUNCTION {filter.url.html} {url.pos url.length <} {s url.pos #1 substring$ duplicate$ "%" = {pop$ "\%" } 'skip$ if$ + duplicate$ "#" = {pop$ "\#" } 'skip$ if$ + duplicate$ "_" = {pop$ "\_" } 'skip$ if$ t swap$ * 't := url.pos #1 + 'url.pos := } @@ -1042,7 +1046,7 @@ FUNCTION {compose.url} abnt.doi abnt.doi.expand.to.url = 'expand.doi {s} if$ * "$>$" *} 'skip$ if$ abnt.url.package #1 = - { "\url{" * s * "}" *} 'skip$ if$ + { "\url{" * filter.url.html * "}" *} 'skip$ if$ abnt.url.package #2 = {url.type http.url = {"\htmladdnormallink{$<$" * filter.url.tex * "$>$}{" * filter.url.html * "}" *} @@ -2098,7 +2102,7 @@ FUNCTION {set.default.abnt.variables} "$RCSfile: abnt-num.bst,v $ " extract.cvs.key % "abnt-alf.bst,v " = 'abnt.alf := % #1 para abnt-alf #0 para abnt-num - "$Revision: v-1.9 $" extract.cvs.key 'abnt.bst.revision := + "$Revision: v-1.9.1 $" extract.cvs.key 'abnt.bst.revision := #0 'abnt.and.type := % #0 "e"; #1 "&" "\emph" 'abnt.emphasize := #0 'abnt.cite.style := %default norm version for NBR10520 diff --git a/Master/texmf-dist/doc/latex/abntex2/README b/Master/texmf-dist/doc/latex/abntex2/README index f32adef0771..895a8eb68dd 100644 --- a/Master/texmf-dist/doc/latex/abntex2/README +++ b/Master/texmf-dist/doc/latex/abntex2/README @@ -13,7 +13,7 @@ assist the preparation of technical and scientific documents academic papers) based on ABNT (Associação Brasileira de Normas Técnicas) rules used in Brazil. -The latest version of abnTeX2 is v-1.9. +The latest version of abnTeX2 is v-1.9.1. SUMMARY ----------------------------------------------------------------- @@ -28,6 +28,21 @@ SUMMARY CHANGE HISTORY ----------------------------------------------------------------- + 2013/12/26 - v1.9.1 + . minor fix errors in sumario=tradicional option + . changed the presentation example name to 'Modelo de apresentação de + slides com Beamer e abnTeX2' + . added escape for '%', '#' and '_' characters in URL of bibliography references + . added information about "url packages" to abntex2cite.tex documentation + . changed configurations in Table of Contents when option + abnt-6027-2012 is active. Now the chapter entry is in upper case, and + the others entries has different formats as well + . changed implementation of \phantompart: the macro adds some spacing in TOC + even whether sumario=abnt-6027-2012 is not active + . changed implementation of "citacao" environment: now it uses + \ABNTEXfontereduzida instead of \ footnotesize + . Replaced ~--~ by ~\textendash~ in abntex2.cls class + 2013/10/26 - v1.9 . added customizations of table of contents in compliance to ABNT NBR 6027:2012 (class option sumario=abnt-6027-2012 and sumario=tradicional) diff --git a/Master/texmf-dist/doc/latex/abntex2/abntex2.pdf b/Master/texmf-dist/doc/latex/abntex2/abntex2.pdf index 6e71e56be7b..d4b571ca232 100644 Binary files a/Master/texmf-dist/doc/latex/abntex2/abntex2.pdf and b/Master/texmf-dist/doc/latex/abntex2/abntex2.pdf differ diff --git a/Master/texmf-dist/doc/latex/abntex2/abntex2.tex b/Master/texmf-dist/doc/latex/abntex2/abntex2.tex index ed145b6373c..3386da3ec9e 100644 --- a/Master/texmf-dist/doc/latex/abntex2/abntex2.tex +++ b/Master/texmf-dist/doc/latex/abntex2/abntex2.tex @@ -1,4 +1,4 @@ -%% abtex2.tex, v-1.9 laurocesar +%% abtex2.tex, v-1.9.1 laurocesar %% Copyright 2012-2013 by abnTeX2 group at http://code.google.com/p/abntex2/ %% %% This work may be distributed and/or modified under the @@ -225,7 +225,7 @@ técnicos e científicos brasileiros \\compatíveis com as normas ABNT}} \and Equipe \abnTeX2\\\abnTeXSite} -\date{\today, v-1.9} +\date{\today, v-1.9.1} \hypersetup{ pdftitle={A classe abntex2}, @@ -1381,16 +1381,17 @@ impressas com letras maiúsculas. % --- \DescribeMacro{\phantompart} -A classe \textsf{abntex2} fornece a macro |\phantompart|, que -simula a finalização de uma parte criada com |\part|. A macro automaticamente -faz com que o próximo capítulo se inicie na raiz do índice do PDF -(\autoref{sec-bookmark}), e caso a opção |abnt-6027-2012| (\autoref{sec-sumario}) -esteja habilitada, também adiciona ao Sumário (\autoref{sec-sumario}) um espaço -vertical equivalente ao espaço do início de uma parte. A macro |\phantompart| -deve ser usada sempre que um novo capítulo não fizer parte do contexto da parte -em que os capítulos anteriores estavam, mas que não seja o caso de se criar uma -nova parte para o novo capítulo. Desse modo, não é necessário usar -|\phantompart| no início de partes subsequentes. Exemplo correto de uso: +A classe \textsf{abntex2} fornece a macro |\phantompart|, que simula a +finalização de uma parte criada com |\part|. A macro automaticamente faz com que +o próximo capítulo se inicie na raiz do índice do PDF (\autoref{sec-bookmark}), +e caso a opção |abnt-6027-2012| (\autoref{sec-sumario}) esteja habilitada, +também adiciona ao Sumário (\autoref{sec-sumario}) um espaço vertical +equivalente ao espaço do início de um capítulo, ou de uma parte caso contrário. +A macro |\phantompart| deve ser usada sempre que um novo capítulo não fizer +parte do contexto da parte em que os capítulos anteriores estavam, mas que não +seja o caso de se criar uma nova parte para o novo capítulo. Desse modo, não é +necessário usar |\phantompart| no início de partes subsequentes. Exemplo correto +de uso: \begin{verbatim} \phantompart @@ -1665,7 +1666,7 @@ Um modelo de Folha de aprovação não é oferecido pelo \abnTeX2 porque ela varia largamente entre instituições. E, além disso, provavelmente você incluirá uma versão digitalizada com assinaturas dos membros da banca após a apresentação do trabalho. Uma página digitalizada pode ser incluída no -documento com o comando: +documento com o comando abaixo, provido pelo pacote \textsf{pdfpages}: \begin{verbatim} \includepdf{folhadeaprovacao_final.pdf} diff --git a/Master/texmf-dist/doc/latex/abntex2/abntex2cite-alf.pdf b/Master/texmf-dist/doc/latex/abntex2/abntex2cite-alf.pdf index e0bc11740d1..721edfc47e8 100644 Binary files a/Master/texmf-dist/doc/latex/abntex2/abntex2cite-alf.pdf and b/Master/texmf-dist/doc/latex/abntex2/abntex2cite-alf.pdf differ diff --git a/Master/texmf-dist/doc/latex/abntex2/abntex2cite-alf.tex b/Master/texmf-dist/doc/latex/abntex2/abntex2cite-alf.tex index 583f03aca8c..6cbc240e335 100644 --- a/Master/texmf-dist/doc/latex/abntex2/abntex2cite-alf.tex +++ b/Master/texmf-dist/doc/latex/abntex2/abntex2cite-alf.tex @@ -1,4 +1,4 @@ -%% abntex2cite-alf.tex, v-1.9 laurocesar +%% abntex2cite-alf.tex, v-1.9.1 laurocesar %% Copyright 2012-2013 by abnTeX2 group at http://code.google.com/p/abntex2/ %% %% This work may be distributed and/or modified under the @@ -213,7 +213,7 @@ específicos da ABNT NBR 10520:2002 e o \\ estilo bibliográfico alfabético \author{Equipe \abnTeX2\\\abnTeXSite \and Lauro César Araujo\\\url{laurocesar@laurocesar.com}} -\date{\today, v-1.9} +\date{\today, v-1.9.1} \maketitle diff --git a/Master/texmf-dist/doc/latex/abntex2/abntex2cite.pdf b/Master/texmf-dist/doc/latex/abntex2/abntex2cite.pdf index 706f364a3ba..0d525028534 100644 Binary files a/Master/texmf-dist/doc/latex/abntex2/abntex2cite.pdf and b/Master/texmf-dist/doc/latex/abntex2/abntex2cite.pdf differ diff --git a/Master/texmf-dist/doc/latex/abntex2/abntex2cite.tex b/Master/texmf-dist/doc/latex/abntex2/abntex2cite.tex index 744b35a1d39..669c579d820 100644 --- a/Master/texmf-dist/doc/latex/abntex2/abntex2cite.tex +++ b/Master/texmf-dist/doc/latex/abntex2/abntex2cite.tex @@ -1,4 +1,4 @@ -%% abntex2cite.tex, v-1.9 laurocesar +%% abntex2cite.tex, v-1.9.1 laurocesar %% Copyright 2012-2013 by abnTeX2 group at http://code.google.com/p/abntex2/ %% %% This work may be distributed and/or modified under the @@ -302,7 +302,7 @@ parana1997,microsoft1995,mpc1993,sony1990,accioly2000} \author{Equipe \abnTeX2\\\abnTeXSite \and Lauro César Araujo\\\url{laurocesar@laurocesar.com}} -\date{\today, v-1.9} +\date{\today, v-1.9.1} %end{latexonly} @@ -703,6 +703,63 @@ Ou então: \end{verbatim} +\subsection{URLs longas} + +O pacote lida com URLs longas carregando os pacotes \texttt{url} e +\texttt{breakurl} onde necessário (ou seja, carregando o último em +compilação com \LaTeX, ou em ``modo \texttt{dvi}''). Estes pacotes, +contudo, não inserem quebras de linha em URLs com hífens por padrão. + +Caso sejam necessárias quebras de linha com URLs longas e hifenizadas, +deve-se passar as opções correspondentes para tais pacotes, chamando-os +\emph{antes} do \texttt{abntex2cite}: + +\begin{description} + + \item[Compilação com \texttt{latex} (ou em ``modo \texttt{dvi}'')] + Ao compilar o arquivo com \texttt{latex}, deve-se passar a opção + \texttt{hyphenbreak} ao pacote \texttt{breakurl}: + + \begin{verbatim} +\usepackage{hyperref} +\usepackage[hyphenbreaks]{breakurl} +\usepackage{abntex2cite} + \end{verbatim} + + Verifique a documentação do pacote + \texttt{breakurl}.\footnote{\url{http://texdoc.net/pkg/breakurl}} + + \item[Compilação com \texttt{pdflatex}, \texttt{lualatex} ou + \texttt{xelatex}] Ao compilar com \texttt{pdflatex}, + \texttt{lualatex} ou \texttt{xelatex} deve-se passar a opção + \texttt{hyphens} ao pacote \texttt{url}: + + \begin{itemize} + \item Usando o pacote \texttt{abntex2cite} autonomamente (ou + seja, sem a classe \texttt{abntex2}): Com outras classes (que + não carregam o pacote \texttt{hyperref}) é preciso passar a + opção carregando o pacote url \emph{antes} do + \texttt{abntex2cite}: + + \begin{verbatim} +\usepackage[hyphens]{url} +\usepackage{abntex2cite} + \end{verbatim} + + \item Com a classe \texttt{abntex2}: A classe \texttt{abntex2} + carrega o pacote \texttt{hyperref}, que por usa vez carrega o + \texttt{url} causando um erro do tipo ``option clash'' se o + procedimento descrito acima for empregado. Para evitar isso, + deve-se passar a opção \texttt{hyphens} ao \texttt{url} + \emph{antes} ou \emph{durante} o carregamento \emph{da classe}. + + \begin{verbatim} +\documentclass[hyphens]{abntex2} + \end{verbatim} + + \end{itemize} +\end{description} + \section{Utilização da citação por sistema autor-data \texttt{[alf]}} Veja documento específico Ref.~\citeonline{abntex2cite-alf}. diff --git a/Master/texmf-dist/doc/latex/abntex2/examples/abntex2-modelo-artigo.pdf b/Master/texmf-dist/doc/latex/abntex2/examples/abntex2-modelo-artigo.pdf index 849a1dd9877..832eb13b1e4 100644 Binary files a/Master/texmf-dist/doc/latex/abntex2/examples/abntex2-modelo-artigo.pdf and b/Master/texmf-dist/doc/latex/abntex2/examples/abntex2-modelo-artigo.pdf differ diff --git a/Master/texmf-dist/doc/latex/abntex2/examples/abntex2-modelo-artigo.tex b/Master/texmf-dist/doc/latex/abntex2/examples/abntex2-modelo-artigo.tex index 942c0a0ae60..63cada5c30b 100644 --- a/Master/texmf-dist/doc/latex/abntex2/examples/abntex2-modelo-artigo.tex +++ b/Master/texmf-dist/doc/latex/abntex2/examples/abntex2-modelo-artigo.tex @@ -1,4 +1,4 @@ -%% abtex2-modelo-artigo.tex, v-1.9 laurocesar +%% abtex2-modelo-artigo.tex, v-1.9.1 laurocesar %% Copyright 2012-2013 by abnTeX2 group at http://abntex2.googlecode.com/ %% %% This work may be distributed and/or modified under the @@ -100,7 +100,7 @@ César Araujo\thanks{laurocesar@laurocesar.com}} \local{Brasil} -\data{2013, v-1.9} +\data{2013, v-1.9.1} % --- % --- diff --git a/Master/texmf-dist/doc/latex/abntex2/examples/abntex2-modelo-glossarios.pdf b/Master/texmf-dist/doc/latex/abntex2/examples/abntex2-modelo-glossarios.pdf index e9a2d4cbd8a..5947b0060b0 100644 Binary files a/Master/texmf-dist/doc/latex/abntex2/examples/abntex2-modelo-glossarios.pdf and b/Master/texmf-dist/doc/latex/abntex2/examples/abntex2-modelo-glossarios.pdf differ diff --git a/Master/texmf-dist/doc/latex/abntex2/examples/abntex2-modelo-glossarios.tex b/Master/texmf-dist/doc/latex/abntex2/examples/abntex2-modelo-glossarios.tex index c38aee8206c..ed3f46a35ef 100644 --- a/Master/texmf-dist/doc/latex/abntex2/examples/abntex2-modelo-glossarios.tex +++ b/Master/texmf-dist/doc/latex/abntex2/examples/abntex2-modelo-glossarios.tex @@ -1,4 +1,4 @@ -%% abtex2-modelo-glossarios.tex, v-1.9 laurocesar +%% abtex2-modelo-glossarios.tex, v-1.9.1 laurocesar %% Copyright 2012-2013 by abnTeX2 group at http://abntex2.googlecode.com/ %% %% This work may be distributed and/or modified under the @@ -80,7 +80,7 @@ \titulo{Exemplo de uso de glossário com \abnTeX} \autor{Equipe \abnTeX} \local{Brasil} -\data{2013, v-1.9} +\data{2013, v-1.9.1} \orientador{Lauro César Araujo} \coorientador{Equipe \abnTeX} \instituicao{% diff --git a/Master/texmf-dist/doc/latex/abntex2/examples/abntex2-modelo-include-comandos.tex b/Master/texmf-dist/doc/latex/abntex2/examples/abntex2-modelo-include-comandos.tex index 2aa9af8a1be..6f20f598229 100644 --- a/Master/texmf-dist/doc/latex/abntex2/examples/abntex2-modelo-include-comandos.tex +++ b/Master/texmf-dist/doc/latex/abntex2/examples/abntex2-modelo-include-comandos.tex @@ -1,4 +1,4 @@ -%% abtex2-modelo-include-comandos.tex, v-1.9 laurocesar +%% abtex2-modelo-include-comandos.tex, v-1.9.1 laurocesar %% Copyright 2012-2013 by abnTeX2 group at http://abntex2.googlecode.com/ %% %% This work may be distributed and/or modified under the @@ -34,7 +34,7 @@ e livros técnicos.}\index{sinopse de capítulo} \section{Codificação dos arquivos: UTF8} % --- -A codificação de todos os arquivos do \abnTeX2 é \texttt{UTF8}. É necessário que +A codificação de todos os arquivos do \abnTeX\ é \texttt{UTF8}. É necessário que você utilize a mesma codificação nos documentos que escrever, inclusive nos arquivos de base bibliográficas |.bib|. @@ -653,7 +653,7 @@ Consulte o manual da classe \textsf{abntex2} \cite{abntex2classe} para uma referência completa das macros e ambientes disponíveis. Além disso, o manual possui informações adicionais sobre as normas ABNT -observadas pelo \abnTeX e considerações sobre eventuais requisitos específicos +observadas pelo \abnTeX\ e considerações sobre eventuais requisitos específicos não atendidos, como o caso da \citeonline[seção 5.2.2]{NBR14724:2011}, que especifica o espaçamento entre os capítulos e o início do texto, regra propositalmente não atendida pelo presente modelo. diff --git a/Master/texmf-dist/doc/latex/abntex2/examples/abntex2-modelo-livro.pdf b/Master/texmf-dist/doc/latex/abntex2/examples/abntex2-modelo-livro.pdf index d6fb152aeae..c555095399a 100644 Binary files a/Master/texmf-dist/doc/latex/abntex2/examples/abntex2-modelo-livro.pdf and b/Master/texmf-dist/doc/latex/abntex2/examples/abntex2-modelo-livro.pdf differ diff --git a/Master/texmf-dist/doc/latex/abntex2/examples/abntex2-modelo-livro.tex b/Master/texmf-dist/doc/latex/abntex2/examples/abntex2-modelo-livro.tex index 8e247841bc2..1dadefc2dc8 100644 --- a/Master/texmf-dist/doc/latex/abntex2/examples/abntex2-modelo-livro.tex +++ b/Master/texmf-dist/doc/latex/abntex2/examples/abntex2-modelo-livro.tex @@ -1,4 +1,4 @@ -%% abtex2-modelo-livro.tex, v-1.9 ycherem +%% abtex2-modelo-livro.tex, v-1.9.1 ycherem %% Copyright 2012-2013 by abnTeX2 group at http://abntex2.googlecode.com/ %% %% This work may be distributed and/or modified under the @@ -111,7 +111,7 @@ \data{2013} \preambulo{Breve sinopse do livro} \local{São Paulo} -\instituicao{Publicações Acadêmicas Ltda.\\ \abnTeX\ v-1.9} +\instituicao{Publicações Acadêmicas Ltda.\\ \abnTeX\ v-1.9.1} % alterando o aspecto da cor azul \definecolor{blue}{RGB}{41,5,195} diff --git a/Master/texmf-dist/doc/latex/abntex2/examples/abntex2-modelo-projeto-pesquisa.pdf b/Master/texmf-dist/doc/latex/abntex2/examples/abntex2-modelo-projeto-pesquisa.pdf index 63420dca33c..bd8b1a92731 100644 Binary files a/Master/texmf-dist/doc/latex/abntex2/examples/abntex2-modelo-projeto-pesquisa.pdf and b/Master/texmf-dist/doc/latex/abntex2/examples/abntex2-modelo-projeto-pesquisa.pdf differ diff --git a/Master/texmf-dist/doc/latex/abntex2/examples/abntex2-modelo-projeto-pesquisa.tex b/Master/texmf-dist/doc/latex/abntex2/examples/abntex2-modelo-projeto-pesquisa.tex index 547b7abb095..6840faee486 100644 --- a/Master/texmf-dist/doc/latex/abntex2/examples/abntex2-modelo-projeto-pesquisa.tex +++ b/Master/texmf-dist/doc/latex/abntex2/examples/abntex2-modelo-projeto-pesquisa.tex @@ -1,4 +1,4 @@ -%% abtex2-modelo-projeto-pesquisa.tex, v-1.9 laurocesar +%% abtex2-modelo-projeto-pesquisa.tex, v-1.9.1 laurocesar %% Copyright 2012-2013 by abnTeX2 group at http://abntex2.googlecode.com/ %% %% This work may be distributed and/or modified under the @@ -100,7 +100,7 @@ \titulo{Modelo Canônico de\\ Projeto de pesquisa com \abnTeX} \autor{Equipe \abnTeX} \local{Brasil} -\data{2013, v-1.9} +\data{2013, v-1.9.1} \instituicao{% Universidade do Brasil -- UBr \par @@ -206,10 +206,8 @@ com as normas ABNT apresentado à comunidade de usuários \LaTeX.} % inserir lista de abreviaturas e siglas % --- \begin{siglas} - \item[Fig.] Area of the $i^{th}$ component - \item[456] Isto é um número - \item[123] Isto é outro número - \item[lauro cesar] este é o meu nome + \item[ABNT] Associação Brasileira de Normas Técnicas + \item[abnTeX] ABsurdas Normas para TeX \end{siglas} % --- diff --git a/Master/texmf-dist/doc/latex/abntex2/examples/abntex2-modelo-relatorio-tecnico.pdf b/Master/texmf-dist/doc/latex/abntex2/examples/abntex2-modelo-relatorio-tecnico.pdf index f4505fc4532..c1e2ce17300 100644 Binary files a/Master/texmf-dist/doc/latex/abntex2/examples/abntex2-modelo-relatorio-tecnico.pdf and b/Master/texmf-dist/doc/latex/abntex2/examples/abntex2-modelo-relatorio-tecnico.pdf differ diff --git a/Master/texmf-dist/doc/latex/abntex2/examples/abntex2-modelo-relatorio-tecnico.tex b/Master/texmf-dist/doc/latex/abntex2/examples/abntex2-modelo-relatorio-tecnico.tex index e1994231dae..4f65b7a0f53 100644 --- a/Master/texmf-dist/doc/latex/abntex2/examples/abntex2-modelo-relatorio-tecnico.tex +++ b/Master/texmf-dist/doc/latex/abntex2/examples/abntex2-modelo-relatorio-tecnico.tex @@ -1,4 +1,4 @@ -%% abtex2-modelo-relatorio-tecnico.tex, v-1.9 laurocesar +%% abtex2-modelo-relatorio-tecnico.tex, v-1.9.1 laurocesar %% Copyright 2012-2013 by abnTeX2 group at http://abntex2.googlecode.com/ %% %% This work may be distributed and/or modified under the @@ -108,7 +108,7 @@ \titulo{Modelo Canônico de\\ Relatório Técnico e/ou Científico com \abnTeX} \autor{Equipe \abnTeX} \local{Brasil} -\data{2013, v-1.9} +\data{2013, v-1.9.1} \instituicao{% Universidade do Brasil -- UBr \par @@ -291,10 +291,8 @@ contribuirão para a evolução do abn\TeX. % inserir lista de abreviaturas e siglas % --- \begin{siglas} - \item[Fig.] Area of the $i^{th}$ component - \item[456] Isto é um número - \item[123] Isto é outro número - \item[lauro cesar] este é o meu nome + \item[ABNT] Associação Brasileira de Normas Técnicas + \item[abnTeX] ABsurdas Normas para TeX \end{siglas} % --- diff --git a/Master/texmf-dist/doc/latex/abntex2/examples/abntex2-modelo-slides.pdf b/Master/texmf-dist/doc/latex/abntex2/examples/abntex2-modelo-slides.pdf index f0c828eddc7..27f50aefe24 100644 Binary files a/Master/texmf-dist/doc/latex/abntex2/examples/abntex2-modelo-slides.pdf and b/Master/texmf-dist/doc/latex/abntex2/examples/abntex2-modelo-slides.pdf differ diff --git a/Master/texmf-dist/doc/latex/abntex2/examples/abntex2-modelo-slides.tex b/Master/texmf-dist/doc/latex/abntex2/examples/abntex2-modelo-slides.tex index 392cbc18966..0c1a2de939a 100644 --- a/Master/texmf-dist/doc/latex/abntex2/examples/abntex2-modelo-slides.tex +++ b/Master/texmf-dist/doc/latex/abntex2/examples/abntex2-modelo-slides.tex @@ -59,12 +59,12 @@ % --- % --- Informações do documento --- -\title{Modelo Canônico para Desenvolvimento de Slides no Beamer Utilizando o abnTeX2} +\title{Modelo de apresentação de slides com Beamer e abnTeX2} \author{Fábio Rodrigues Silva} \institute{Universidade do Brasil \par Faculdade de Arquitetura da Informação} -\date{\today, v-1.9} +\date{\today, v-1.9.1} % --- % ----------------- INÍCIO DO DOCUMENTO -------------------------------------- diff --git a/Master/texmf-dist/doc/latex/abntex2/examples/abntex2-modelo-trabalho-academico.pdf b/Master/texmf-dist/doc/latex/abntex2/examples/abntex2-modelo-trabalho-academico.pdf index 412a806b123..161e2bc91be 100644 Binary files a/Master/texmf-dist/doc/latex/abntex2/examples/abntex2-modelo-trabalho-academico.pdf and b/Master/texmf-dist/doc/latex/abntex2/examples/abntex2-modelo-trabalho-academico.pdf differ diff --git a/Master/texmf-dist/doc/latex/abntex2/examples/abntex2-modelo-trabalho-academico.tex b/Master/texmf-dist/doc/latex/abntex2/examples/abntex2-modelo-trabalho-academico.tex index 2f4d69f2366..b696ff1e57c 100644 --- a/Master/texmf-dist/doc/latex/abntex2/examples/abntex2-modelo-trabalho-academico.tex +++ b/Master/texmf-dist/doc/latex/abntex2/examples/abntex2-modelo-trabalho-academico.tex @@ -1,4 +1,4 @@ -%% abtex2-modelo-trabalho-academico.tex, v-1.9 laurocesar +%% abtex2-modelo-trabalho-academico.tex, v-1.9.1 laurocesar %% Copyright 2012-2013 by abnTeX2 group at http://abntex2.googlecode.com/ %% %% This work may be distributed and/or modified under the @@ -47,11 +47,7 @@ ]{abntex2} % --- -% PACOTES -% --- - -% --- -% Pacotes fundamentais +% Pacotes básicos % --- \usepackage{lmodern} % Usa a fonte Latin Modern \usepackage[T1]{fontenc} % Selecao de codigos de fonte. @@ -102,7 +98,7 @@ \titulo{Modelo Canônico de\\ Trabalho Acadêmico com \abnTeX} \autor{Equipe \abnTeX} \local{Brasil} -\data{2013, v-1.9} +\data{2013, v-1.9.1} \orientador{Lauro César Araujo} \coorientador{Equipe \abnTeX} \instituicao{% @@ -433,10 +429,8 @@ contribuirão para a evolução do \abnTeX. % inserir lista de abreviaturas e siglas % --- \begin{siglas} - \item[Fig.] Area of the $i^{th}$ component - \item[456] Isto é um número - \item[123] Isto é outro número - \item[lauro cesar] este é o meu nome + \item[ABNT] Associação Brasileira de Normas Técnicas + \item[abnTeX] ABsurdas Normas para TeX \end{siglas} % --- @@ -467,10 +461,11 @@ contribuirão para a evolução do \abnTeX. \textual % ---------------------------------------------------------- -% Introdução +% Introdução (exemplo de capítulo sem numeração, mas presente no Sumário) % ---------------------------------------------------------- \chapter*[Introdução]{Introdução} \addcontentsline{toc}{chapter}{Introdução} +% ---------------------------------------------------------- Este documento e seu código-fonte são exemplos de referência de uso da classe \textsf{abntex2} e do pacote \textsf{abntex2cite}. O documento @@ -512,25 +507,28 @@ Lauro César Araujo % ---------------------------------------------------------- -% PARTE - preparação da pesquisa +% PARTE % ---------------------------------------------------------- \part{Preparação da pesquisa} - -% ---------------------------------------------------------- -% Capitulo com exemplos de comandos inseridos de arquivo externo % ---------------------------------------------------------- +% --- +% Capitulo com exemplos de comandos inseridos de arquivo externo +% --- \include{abntex2-modelo-include-comandos} +% --- % ---------------------------------------------------------- -% Parte de revisão de literatura +% PARTE % ---------------------------------------------------------- \part{Referenciais teóricos} +% ---------------------------------------------------------- % --- % Capitulo de revisão de literatura % --- \chapter{Lorem ipsum dolor sit amet} +% --- % --- \section{Aliquam vestibulum fringilla lorem} @@ -541,14 +539,16 @@ Lauro César Araujo \lipsum[2-3] % ---------------------------------------------------------- -% Resultados +% PARTE % ---------------------------------------------------------- \part{Resultados} +% ---------------------------------------------------------- % --- % primeiro capitulo de Resultados % --- \chapter{Lectus lobortis condimentum} +% --- % --- \section{Vestibulum ante ipsum primis in faucibus orci luctus et ultrices @@ -562,23 +562,27 @@ posuere cubilia Curae} % --- \chapter{Nam sed tellus sit amet lectus urna ullamcorper tristique interdum elementum} +% --- +% --- \section{Pellentesque sit amet pede ac sem eleifend consectetuer} +% --- \lipsum[24] -% --- +% ---------------------------------------------------------- % Finaliza a parte no bookmark do PDF % para que se inicie o bookmark na raiz % e adiciona espaço de parte no Sumário -% --- +% ---------------------------------------------------------- \phantompart % --- -% Conclusão +% Conclusão (outro exemplo de capítulo sem numeração e presente no sumário) % --- \chapter*[Conclusão]{Conclusão} \addcontentsline{toc}{chapter}{Conclusão} +% --- \lipsum[31-33] @@ -586,6 +590,7 @@ elementum} % ELEMENTOS PÓS-TEXTUAIS % ---------------------------------------------------------- \postextual +% ---------------------------------------------------------- % ---------------------------------------------------------- % Referências bibliográficas @@ -663,8 +668,8 @@ parturient montes nascetur ridiculus mus} %--------------------------------------------------------------------- % INDICE REMISSIVO %--------------------------------------------------------------------- - \phantompart \printindex +%--------------------------------------------------------------------- \end{document} diff --git a/Master/texmf-dist/tex/latex/abntex2/abntex2.cls b/Master/texmf-dist/tex/latex/abntex2/abntex2.cls index 161a1081735..e4043d60961 100644 --- a/Master/texmf-dist/tex/latex/abntex2/abntex2.cls +++ b/Master/texmf-dist/tex/latex/abntex2/abntex2.cls @@ -1,4 +1,4 @@ -%% abntex2.cls, v-1.9 laurocesar +%% abntex2.cls, v-1.9.1 laurocesar %% Copyright 2012-2013 by abnTeX2 group at http://abntex2.googlecode.com/ %% %% This work may be distributed and/or modified under the @@ -17,10 +17,18 @@ %% %% This work consists of the file abntex2.cls. %% +%% 2013.12.26 06h41 laurocesar (volanski) +%% Replaced ~--~ by ~\textendash~ +%% %% 2013.10.26 17h45 laurocesar %% Adiciona a marcro \phantompart %% Revisa código do sumário 6027-2012 %% +%% 2013.11.30 15h12 laurocesar +%% conclusão dos ajustes no sumário abnt-6027-2012 +%% \phantompart adiciona espaço ao sumário mesmo se abnt-6027-2012 +%% não estiver ativa +%% %% 2013.10.24 09h53 laurocesar %% Revisa as alterações de quinto nível %% @@ -142,7 +150,7 @@ % ------------------------------------------------------------------------ % ------------------------------------------------------------------------ \NeedsTeXFormat{LaTeX2e} -\ProvidesClass{abntex2}[2013/10/26 v1.9 abnTeX2] +\ProvidesClass{abntex2}[2013/12/26 v1.9.1 abnTeX2] \RequirePackage{ifthen} % % Captura as options article e twocolumn @@ -445,7 +453,7 @@ % --- % Estilos de caption \hangcaption -\captiondelim{\space--\space} +\captiondelim{~\textendash~} %\captionnamefont{\ABNTEXfontereduzida} %\captiontitlefont{\ABNTEXfontereduzida} @@ -505,7 +513,7 @@ % o pacote caption e amigos. \AtEndPackage{caption}{ \AtBeginDocument{% - \DeclareCaptionLabelSeparator{barr}{~--~} + \DeclareCaptionLabelSeparator{barr}{~\textendash~} \DeclareCaptionFont{ABNTEXfontereduzida}{\ABNTEXfontereduzida} \captionsetup{format=hang, labelseparator=barr, @@ -541,11 +549,11 @@ % lista de ilustracoes \renewcommand{\cftfigurename}{\figurename\space} -\renewcommand*{\cftfigureaftersnum}{\hfill--\hfill} +\renewcommand*{\cftfigureaftersnum}{\hfill\textendash\hfill} % lista de tabelas \renewcommand{\cfttablename}{\tablename\space} -\renewcommand*{\cfttableaftersnum}{\hfill--\hfill} +\renewcommand*{\cfttableaftersnum}{\hfill\textendash\hfill} % fonte das partes e do capitulo do TOC \renewcommand{\tocheadstart}{\ABNTEXchapterfont} @@ -558,7 +566,7 @@ \renewcommand*{\insertchapterspace}{} % macros para configurar o Sumário conforme 6027-2012 ou tradicional cft -\ifthenelse{\boolean{ABNTEXsumario-tradicional}}{\cftinsertcode{A}}{} +\cftinsertcode{A}{} \newlength{\cftlastnumwidth} \setlength{\cftlastnumwidth}{\cftsubsubsectionnumwidth+1em} @@ -569,8 +577,32 @@ \newcommand{\tocpartapendices}{} \newcommand{\tocpartanexos}{} +% insere o hifen no anexo/apendice do toc +\cftinsertcode{A}{\renewcommand{\cftchapteraftersnum}{\hfill\textendash\hfill}} + +% No caso de Sumario (TOC) tradicional +\ifthenelse{\boolean{ABNTEXsumario-tradicional}}{}{} % essa linha não faz nada, + % mas se houver necessidade de alterar o comportamento + % do sumário tradicional altere aqui. + +% No caso de Sumario (TOC) especifico da ABNT-6027-2012 + +\makeatletter +\ifthenelse{\boolean{ABNTEXsumario-abnt-6027-2012}}{ + \settocpreprocessor{chapter}{% + \let\tempf@rtoc\f@rtoc% + \def\f@rtoc{% + \texorpdfstring{\MakeTextUppercase{\tempf@rtoc}}{\tempf@rtoc}}% + } + \settocpreprocessor{part}{% + \let\tempf@rtoc\f@rtoc% + \def\f@rtoc{% + \texorpdfstring{\MakeTextUppercase{\tempf@rtoc}}{\tempf@rtoc}}% + } +}{} +\makeatother +% \ifthenelse{\boolean{ABNTEXsumario-abnt-6027-2012}}{% - \cftinsertcode{A}{\renewcommand{\cftchapteraftersnum}{\hfill--\hfill}} \cftsetindents{part}{0em}{\cftlastnumwidth} \cftsetindents{chapter}{0em}{\cftlastnumwidth} @@ -598,7 +630,26 @@ \addtocontents{toc}{\cftsetindents{part}{\cftlastnumwidth}{2em}} \cftinserthook{toc}{A}} % - \setlength{\cftbeforechapterskip}{0.5em} + \setlength{\cftbeforechapterskip}{1em} + % + % Fontes das entradas do sumario + % + \renewcommand{\cftpartfont}{\bfseries\larger} + % + \renewcommand{\cftchapterfont}{\bfseries} + \renewcommand{\cftchapterpagefont}{\normalsize\cftchapterfont} + % + \renewcommand{\cftsectionfont}{\bfseries} + \renewcommand{\cftsectionpagefont}{\cftsectionfont} + % + \renewcommand{\cftsubsectionfont}{\normalsize} + \renewcommand{\cftsubsectionpagefont}{\cftsubsectionfont} + % + \renewcommand{\cftsubsubsectionfont}{\smaller} + \renewcommand{\cftsubsubsectionpagefont}{\cftsubsubsectionfont} + % + \renewcommand{\cftparagraphfont}{\smaller\smaller} + \renewcommand{\cftparagraphpagefont}{\cftparagraphfont} }{} % Comando que simula a finalizacao de uma parte no bookmark e @@ -607,7 +658,8 @@ \bookmarksetup{startatroot}% \phantomsection% \ifthenelse{\boolean{ABNTEXsumario-abnt-6027-2012}}{% - \addtocontents{toc}{\vspace{\cftbeforepartskip}}}{}% + \addtocontents{toc}{\vspace{\cftbeforechapterskip}}}{% + \addtocontents{toc}{\vspace{\cftbeforepartskip}}}% } % ----- @@ -657,16 +709,13 @@ \def\printchaptertitle##1{% \chaptitlefont% \ifthenelse{\boolean{abntex@innonumchapter}}{\centering\ABNTEXchapterupperifneeded{##1}}{% - % else - \ifthenelse{\boolean{abntex@apendiceousecao}}{\centering% + \ifthenelse{\boolean{abntex@apendiceousecao}}{% + \centering% \settowidth{\chapternamenumlength}{\printchaptername\printchapternum\afterchapternum}% - %\parbox[t]{\columnwidth-\chapternamenumlength} \ABNTEXchapterupperifneeded{##1}% }{% \settowidth{\chapternamenumlength}{\printchaptername\printchapternum\afterchapternum}% \parbox[t]{\columnwidth-\chapternamenumlength}{\ABNTEXchapterupperifneeded{##1}}}% - % \settowidth{\chapternamenumlength}{\printchaptername\printchapternum\afterchapternum}% - % \parbox[t]{\columnwidth-\chapternamenumlength}{\ABNTEXchapterupperifneeded{##1}}% } } @@ -678,7 +727,7 @@ \space\thechapter\space% \ifthenelse{\boolean{abntex@apendiceousecao}}{% \tocinnonumchapter - \space--\space% + ~\textendash~% }{} % else } \renewcommand{\afterchapternum}{} @@ -932,9 +981,11 @@ \newcommand{\PRIVATEapendiceconfig}[2]{% \setboolean{abntex@apendiceousecao}{true}% \renewcommand{\appendixname}{#1} + \ifthenelse{\boolean{ABNTEXsumario-abnt-6027-2012}}{ + \renewcommand{\appendixtocname}{\uppercase{#2}} + }{% + \renewcommand{\appendixtocname}{#2}} \renewcommand{\appendixpagename}{#2} - \renewcommand{\appendixtocname}{#2} - \switchchapname{#1}% Corrected from \switchapname -> \switchchapname \renewcommand*{\cftappendixname}{#1 \space} } @@ -985,7 +1036,7 @@ \newcommand{\partpage}{% \cleardoublepage \phantomsection - \addcontentsline{toc}{part}{\appendixpagename} + \addcontentsline{toc}{part}{\appendixtocname}% \appendixpage* } @@ -1018,7 +1069,7 @@ } \newenvironment*{citacao}[1][default]{% \list{}% - \footnotesize% + \ABNTEXfontereduzida% \addtolength{\leftskip}{\ABNTEXcitacaorecuo}% \item[]% \begin{SingleSpace}% diff --git a/Master/texmf-dist/tex/latex/abntex2/abntex2abrev.sty b/Master/texmf-dist/tex/latex/abntex2/abntex2abrev.sty index d41ca3a06ab..fc3e3417c4d 100644 --- a/Master/texmf-dist/tex/latex/abntex2/abntex2abrev.sty +++ b/Master/texmf-dist/tex/latex/abntex2/abntex2abrev.sty @@ -1,4 +1,4 @@ -%% abntex2abrev.sty, v-1.9 laurocesar +%% abntex2abrev.sty, v-1.9.1 laurocesar %% Copyright 2012-2013 by abnTeX2 group at http://abntex2.googlecode.com/ %% %% This work may be distributed and/or modified under the diff --git a/Master/texmf-dist/tex/latex/abntex2/abntex2cite.sty b/Master/texmf-dist/tex/latex/abntex2/abntex2cite.sty index ea89653715b..5eed4edb1d0 100644 --- a/Master/texmf-dist/tex/latex/abntex2/abntex2cite.sty +++ b/Master/texmf-dist/tex/latex/abntex2/abntex2cite.sty @@ -1,4 +1,4 @@ -%% abntex2cite.sty, v-1.9 laurocesar +%% abntex2cite.sty, v-1.9.1 laurocesar %% Copyright 2012-2013 by abnTeX2 group at http://abntex2.googlecode.com/ %% %% This work may be distributed and/or modified under the -- cgit v1.2.3