texlive[73390] Master/texmf-dist: unbtex (11jan25)

commits+karl at tug.org commits+karl at tug.org
Sat Jan 11 00:00:21 CET 2025


Revision: 73390
          https://tug.org/svn/texlive?view=revision&revision=73390
Author:   karl
Date:     2025-01-11 00:00:21 +0100 (Sat, 11 Jan 2025)
Log Message:
-----------
unbtex (11jan25)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/unbtex/README.md
    trunk/Master/texmf-dist/doc/latex/unbtex/unbtex-example/apendice-a.tex
    trunk/Master/texmf-dist/doc/latex/unbtex/unbtex-example/capitulo2.tex
    trunk/Master/texmf-dist/doc/latex/unbtex/unbtex-example.pdf
    trunk/Master/texmf-dist/doc/latex/unbtex/unbtex-example.tex
    trunk/Master/texmf-dist/tex/latex/unbtex/unbtex.cls

Modified: trunk/Master/texmf-dist/doc/latex/unbtex/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/unbtex/README.md	2025-01-10 00:43:21 UTC (rev 73389)
+++ trunk/Master/texmf-dist/doc/latex/unbtex/README.md	2025-01-10 23:00:21 UTC (rev 73390)
@@ -1,8 +1,8 @@
 # UnBTeX: A class for bachelor, master, and doctoral thesis at the
 # University of Brasilia (UnB), Brazil.
-# Version 1.5.3 2024/10/07
+# Version 1.5.4 2025/01/10
 
-Copyright (C) 2021-2024 by Henrique C. Ferreira <hcferreira at unb.br>
+Copyright (C) 2021-2025 by Henrique C. Ferreira <hcferreira at unb.br>
 
 The package provides a class based on abnTeX and compatible with pdflatex 
 and bibtex to prepare theses for the University of Brasilia (UnB), Brazil. 
@@ -48,13 +48,13 @@
   1.3 (2023-10-17):
     . To avoid the compilation time limit in Overleaf, the biblatex 
       bibliography package has been replaced by the bibtex package, 
-      and the TikZ package for drawings no more has not been used.
+      and the TikZ package for drawings no more has not been used
     . The indentation of lists of figures and tables have been corrected
     . The cleveref package is now being used for cross-references instead 
       of the autoref command
   1.3.1 (2023-10-18):
     . The abtex2eng-alf.bst file was included to format bibliographic 
-      references in ABNT style for documents written in English.
+      references in ABNT style for documents written in English
   1.3.2 (2023-10-20):
     . Documentation and comments improvements
   1.3.3 (2023-11-02):
@@ -125,7 +125,7 @@
     . Included the DOI (Digital Object Identifier) field in bibliography
       entries
     . An environment for including charts (quadros) has been created, 
-      and the list of charts has been added.
+      and the list of charts has been added
     . Included list of algorithms and list of codes
     . The packages algpseudocode and algorithm have been replaced by 
       the algorithm2e package for including pseudocode
@@ -133,10 +133,13 @@
       package has been corrected
     . An option has been added to the UnBTeX class to select the numbering 
       style for figures, tables, etc., either by chapter or for the entire 
-      document.
+      document
     . The options article and twocolumn of the Memoir class have been
-      configured for use.
+      configured for use
     . The example document has been updated and reorganized
+  1.5.4 (2025-01-10):
+    . Added an option to the UnBTeX class to enable back-referencing in
+      the bibliography
 
 ## Overleaf
 

Modified: trunk/Master/texmf-dist/doc/latex/unbtex/unbtex-example/apendice-a.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/unbtex/unbtex-example/apendice-a.tex	2025-01-10 00:43:21 UTC (rev 73389)
+++ trunk/Master/texmf-dist/doc/latex/unbtex/unbtex-example/apendice-a.tex	2025-01-10 23:00:21 UTC (rev 73390)
@@ -47,7 +47,7 @@
     \item século provável: [20--?]
 \end{alineas}
 
-Em \citeonline{Metodista}, por exemplo, o ano provável é indicado por \citeyear{Metodista}. No arquivo \texttt{bib}, a entrada correspondente a esta referência tem o campo \texttt{year} declarado como
+Em \citeonline{Metodista}, por exemplo, o ano provável é indicado por \citeyear{Metodista}. No arquivo \texttt{bib}, a entrada correspondente a esta referência tem o campo \texttt{year} declarado como:
 \begin{verbatim}
     year = {$\lbrack$2015?$\rbrack$}
 \end{verbatim}

Modified: trunk/Master/texmf-dist/doc/latex/unbtex/unbtex-example/capitulo2.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/unbtex/unbtex-example/capitulo2.tex	2025-01-10 00:43:21 UTC (rev 73389)
+++ trunk/Master/texmf-dist/doc/latex/unbtex/unbtex-example/capitulo2.tex	2025-01-10 23:00:21 UTC (rev 73390)
@@ -140,6 +140,8 @@
 
 O pacote \textsf{biblatex}, com a opção \texttt{style=abnt}, também pode ser utilizado para formatar as referências bibliográficas conforme as regras da ABNT. Neste caso, o documento necessitará ser compilado pelo \texttt{biber}, que requer tempo de processamento maior que a compilação pelo \texttt{bibtex}, utilizada pelo \textsf{abntex2cite}.
 
+Para indicar nas referências bibliográgicas as páginas do documento em que cada uma é citada, utilize a opção \texttt{refback} da classe UnB\TeX. Caso não queira indicar as páginas em que cada referência é citada, basta não utilizar a referida opção.
+
 %-
 \subsection{Acentuação de referências bibliográficas}
 %-
@@ -286,7 +288,7 @@
 \end{verbatim}
 Note que na ficha catalográfica gerada aparecerá \texttt{L769m}. A letra \textbf{L} maiúscula, correspondente à primeira letra do sobrenome \textbf{Lisboa}, é automaticamente adicionada na frente do número. A letra \textbf{m} minúscula, correspondente à primeira letra do título do trabalho (neste caso, \emph{Modelo de trabalho acadêmico com UnB\TeX}), é adicionada no final do número.
 
-Se o nome do autor for, por exemplo, Carlos de Souza, utilize 
+Se o nome do autor for, por exemplo, Carlos de Souza, utilize: 
 \begin{verbatim}
 Souza, Carlos de
 \end{verbatim}

Modified: trunk/Master/texmf-dist/doc/latex/unbtex/unbtex-example.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/unbtex/unbtex-example.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/unbtex/unbtex-example.tex	2025-01-10 00:43:21 UTC (rev 73389)
+++ trunk/Master/texmf-dist/doc/latex/unbtex/unbtex-example.tex	2025-01-10 23:00:21 UTC (rev 73390)
@@ -1,8 +1,8 @@
 %%
 %% UnBTeX: A class for bachelor, master, and doctoral thesis at the
 %% University of Brasilia (UnB), Brazil
-%% Version 1.5.3 2024/10/07
-%% Copyright (C) 2021-2024 by Henrique C. Ferreira <hcferreira at unb.br>
+%% Version 1.5.4 2025/01/10
+%% Copyright (C) 2021-2025 by Henrique C. Ferreira <hcferreira at unb.br>
 %%
 %% This class file may be distributed and/or modified under the conditions
 %% of the LaTeX Project Public License, either version 1.3 of this license
@@ -27,9 +27,10 @@
     % -- Selecione o idioma no qual o trabalho será escrito
     idioma=brazil, % Para texto principal em português
     %idioma=english, % Para texto principal em inglês  
-    % -- Selecione o estilo das referências bibliográficas
+    % -- Opções para as referências bibliográficas
     bib=alf, % Bibliografia nas normas da ABNT, estilo autor-data
     %bib=num, % Bibliografia nas normas da ABNT, estilo numérico
+    refback, % Indica na bibliografia onde cada referência é citada
     % -- Selecione o estilo de numeração de figuras, tabelas, etc.
     numb=chap, % Numeração por capítulo
     %numb=abnt, % Numeração para o documento inteiro
@@ -125,9 +126,9 @@
 % Local e data da defesa
 % ---
 \local{Brasília}
-\dia{7}
-\mes{outubro}
-\ano{2024}
+\dia{10}
+\mes{janeiro}
+\ano{2025}
 % ---
 
 % ---

Modified: trunk/Master/texmf-dist/tex/latex/unbtex/unbtex.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/unbtex/unbtex.cls	2025-01-10 00:43:21 UTC (rev 73389)
+++ trunk/Master/texmf-dist/tex/latex/unbtex/unbtex.cls	2025-01-10 23:00:21 UTC (rev 73390)
@@ -1,8 +1,8 @@
 %%
 %% UnBTeX: A class for bachelor, master, and doctoral thesis at the
 %% University of Brasilia (UnB), Brazil
-%% Version 1.5.3 2024/10/07
-%% Copyright (C) 2021-2024 by Henrique C. Ferreira <hcferreira at unb.br>
+%% Version 1.5.4 2025/01/10
+%% Copyright (C) 2021-2025 by Henrique C. Ferreira <hcferreira at unb.br>
 %%
 %% This class file may be distributed and/or modified under the conditions
 %% of the LaTeX Project Public License, either version 1.3 of this license
@@ -21,7 +21,7 @@
 %%
 
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesClass{unbtex}[2024/10/07 v1.5.3 Modelo da Universidade de Brasília baseado em abnTeX2]
+\ProvidesClass{unbtex}[2024/01/10 v1.5.4 Modelo da Universidade de Brasília baseado em abnTeX2]
 
 % ------------------------------------------------------------------------
 % Opções para a classe
@@ -30,7 +30,7 @@
 % ---
 % Opção para definição de idioma principal
 % ---
-\def\idioma{brazil} % Português por default
+\def\idioma{brazil} % Português, por default
 \DeclareOption{idioma=brazil}{\def\idioma{brazil}}
 \DeclareOption{idioma=english}{\def\idioma{english}}
 % ---
@@ -38,12 +38,19 @@
 % ---
 % Opção para definição de estilo de referências bibliográficas
 % ---
-\def\bibsty{alf} % Autor-data por default
+\def\bibsty{alf} % Autor-data, por default
 \DeclareOption{bib=alf}{\def\bibsty{alf}}
 \DeclareOption{bib=num}{\def\bibsty{num}}
 % ---
 
 % ---
+% Opção para indicar as páginas que cada referência é citada
+% ---
+\def\refpage{off} % Desabilitada, por default
+\DeclareOption{refback}{\def\refpage{on}}
+% ---
+
+% ---
 % Opção para definição de estilo de numeração de figuras, tabelas, etc
 % ---
 \def\numb{chap} % Numeração por capítulo, por default
@@ -105,6 +112,9 @@
 \ifthenelse{\equal{\ABNTEXisarticle}{true}}{
 \chapterstyle{article}
 \numberwithin{section}{chapter}
+\setlength{\droptitle}{-2em}
+%\addtolength{\droptitle}{-1.5\baselineskip}
+\renewcommand{\maketitlehookd}{\vskip -.8em}
 \renewcommand{\chaptitlefont}{\bfseries\sffamily\Large\color{verdeunb}}
 \setsecheadstyle{\large\bfseries\sffamily\color{verdeunb}}
 \setsubsecheadstyle{\normalfont\bfseries\sffamily}
@@ -525,12 +535,13 @@
 % Referências bibliográficas
 % ---
 % Lista na bibliografia o número das páginas em que cada referência é citada
+\IfStrEq{\refpage}{off}{}{
 \IfStrEq{\idioma}{brazil}
-{\RequirePackage[hyperpageref,brazilian]{backref}}
-{\RequirePackage[hyperpageref,english]{backref}}
-\AtBeginDocument{
+{\RequirePackage[hyperpageref,brazilian]{backref}}{\RequirePackage[hyperpageref,english]{backref}}
 \renewcommand*{\backref}[1]{}
 \renewcommand*{\backrefalt}[4]{\ifcase#1\nocitation\or\citedp~#2.\else\citedpp~#2.\fi}
+}
+\AtBeginDocument{
 % Retira os limitadores < e > dos hiperlinks
 \addtociteoptionlist{abnt-url-package=url}
 \def\UrlLeft{}
@@ -1039,17 +1050,18 @@
 % ---
 % Imprime resumo e abstract
 % ---
+\setlength{\absparsep}{\parsep}
+\ifthenelse{\equal{\ABNTEXisarticle}{false}}
+{\setlength{\abstitleskip}{\baselineskip}}{\setlength{\abstitleskip}{-0.5\baselineskip}}
 % Resumo
 \newenvsc{Resumo}[store-env=resumo]
 \newcommand{\imprimirresumo}{
-\setlength{\absparsep}{\parsep}
-\begin{resumo}[Resumo]\vspace{\baselineskip}
+\begin{resumo}[Resumo]
 \begin{otherlanguage*}{brazil}
 \getstored{resumo}\par
 \vspace{\baselineskip}
 {\sffamily\bfseries Palavras-chave:} \pchaveinome; \pchaveiinome; \pchaveiiinome\ifthenelse{\equal{\pchaveivnome}{}}{.}{;~\pchaveivnome\ifthenelse{\equal{\pchavevnome}{}}{.}{;~\pchavevnome.}}
 \end{otherlanguage*}
-\vspace{\baselineskip}
 \end{resumo}
 \PRIVATEclearpageifneeded
 }
@@ -1056,8 +1068,7 @@
 % Abstract
 \newenvsc{Abstract}[store-env=abstract]
 \newcommand{\imprimirabstract}{
-\setlength{\absparsep}{\parsep}
-\begin{resumo}[Abstract]\vspace{\baselineskip}
+\begin{resumo}[Abstract]
 \begin{otherlanguage*}{english}
 \getstored{abstract}\par
 \vspace{\baselineskip}
@@ -1064,7 +1075,6 @@
 {\sffamily\bfseries Keywords:} \kwordinome; \kwordiinome; \kwordiiinome\ifthenelse{\equal{\kwordivnome}{}}{.}{;~\kwordivnome\ifthenelse{\equal{\kwordvnome}{}}{.}{;~\kwordvnome.}}
 \end{otherlanguage*}
 \end{resumo}
-\vspace{\baselineskip}
 \PRIVATEclearpageifneeded
 }
 % Insere resumo e abstract



More information about the tex-live-commits mailing list.