summaryrefslogtreecommitdiff
path: root/macros
diff options
context:
space:
mode:
Diffstat (limited to 'macros')
-rw-r--r--macros/latex/contrib/abntexto/README6
-rw-r--r--macros/latex/contrib/abntexto/abntexto.cls24
-rw-r--r--macros/latex/contrib/abntexto/abntexto.pdfbin218718 -> 121825 bytes
-rw-r--r--macros/latex/contrib/abntexto/abntexto.tex28
-rw-r--r--macros/latex/contrib/iexec/DEPENDS.txt21
-rw-r--r--macros/latex/contrib/iexec/iexec.dtx50
-rw-r--r--macros/latex/contrib/iexec/iexec.pdfbin332819 -> 334401 bytes
7 files changed, 85 insertions, 44 deletions
diff --git a/macros/latex/contrib/abntexto/README b/macros/latex/contrib/abntexto/README
index 1d1fd57131..3685631270 100644
--- a/macros/latex/contrib/abntexto/README
+++ b/macros/latex/contrib/abntexto/README
@@ -1,7 +1,7 @@
Public Domain Software
-2023-07-26
-3.0.0-alpha
-Elayson
+2023-10-12
+3.0.1-alpha
+Elayson Abreu Barros
abntexto.classe at gmail.com
The abntexto is a LaTeX class for the elaboration of academic works according
diff --git a/macros/latex/contrib/abntexto/abntexto.cls b/macros/latex/contrib/abntexto/abntexto.cls
index 6cfcd2a27e..cfeb322f0b 100644
--- a/macros/latex/contrib/abntexto/abntexto.cls
+++ b/macros/latex/contrib/abntexto/abntexto.cls
@@ -1,7 +1,7 @@
%! Public Domain Software
-%! 2023-07-26
-%! 3.0.0-alpha
-%! Elayson
+%! 2023-10-12
+%! 3.0.1-alpha
+%! Elayson Abreu Barros
%! abntexto.classe at gmail.com
%! RECOMENDAÇÕES
@@ -30,7 +30,7 @@
% \begin{code} !------------------------------------------------
\NeedsTeXFormat{LaTeX2e}
-\ProvidesClass{abntexto}[2023-07-26 3.0.0-alpha Preparation of works in ABNT standards]
+\ProvidesClass{abntexto}[2023-10-12 3.0.1-alpha Preparation of works in ABNT standards]
\LoadClass{article}
\RequirePackage{geometry}
@@ -321,7 +321,7 @@
% \begin{code} !------------------------------------------------
-\def\begcorrprint#1{\begingroup
+\def\corrprint#1{\begingroup
\addtoext{toc}{section}{#1}%
\def\section##1##2{\heading{##2}}%
}
@@ -448,9 +448,9 @@
\@ifpackageloaded{csquotes}{}{\protected\def\enquote#1{``#1''}}%
}
-\long\def\Enquote#1{\par\removelastskip
+\long\def\Enquote#1{\par\ifdim\lastskip>0pt \vskip-\lastskip \fi
\vskip\baselineskip
- {\noindent\leftskip=4cm \small #1\nbpar}%
+ {\noindent\leftskip=4cm \small \ignorespaces#1\unskip \nbpar}%
\vskip\baselineskip
}
% \end{code} !------------------------------------------------
@@ -558,10 +558,12 @@
}}
\def\place#1{\par \vskip\aboveplace\relax
- \parindent=0pt\parskip=0pt
- \ifx\empty\savedplace\else \printlegend\savedlegend \fi
- \printplace{#1}%
- \printsrc\savedsrc
+ \begingroup
+ \parindent=0pt\parskip=0pt
+ \ifx\empty\savedplace\else \printlegend\savedlegend \fi
+ \printplace{#1}%
+ \printsrc\savedsrc
+ \par\endgroup
\resetplace
\vskip\belowplace\relax
}
diff --git a/macros/latex/contrib/abntexto/abntexto.pdf b/macros/latex/contrib/abntexto/abntexto.pdf
index 0d3f208d3e..7fb7d1fe2b 100644
--- a/macros/latex/contrib/abntexto/abntexto.pdf
+++ b/macros/latex/contrib/abntexto/abntexto.pdf
Binary files differ
diff --git a/macros/latex/contrib/abntexto/abntexto.tex b/macros/latex/contrib/abntexto/abntexto.tex
index 3f4491dc15..e92a7ca36f 100644
--- a/macros/latex/contrib/abntexto/abntexto.tex
+++ b/macros/latex/contrib/abntexto/abntexto.tex
@@ -87,11 +87,12 @@
\def\tocsectionfont#1{\bfseries#1\mdseries}
\def\sectionfont#1{\bfseries#1}
\def\appendixlabelwidth{6.7em}
-\def \l@section {\addpenalty{-300}\addvspace{1em plus1pt}%
- \extline{0pt}{\toclabelwidth}{\tocsectionfont}}
-\def \l@appendix {\addpenalty{-300}\addvspace{1em plus1pt}%
+
+\def \l@section {\addpenalty{-300}\addvspace{.5em plus1pt}
+ \extline{0pt}{\toclabelwidth}{\tocsectionfont}}
+\def \l@appendix {\addpenalty{-300}\addvspace{.5em plus1pt}%
\extline{0pt}{\appendixlabelwidth}{\maintocfont}}
-\def \l@annex {\addpenalty{-300}\addvspace{1em plus1pt}%
+\def \l@annex {\addpenalty{-300}\addvspace{.5em plus1pt}%
\extline{0pt}{\annexlabelwidth}{\maintocfont}}
\definelegendplace{code}{Código}{cód.\,}{loc}
@@ -119,13 +120,14 @@
\par}
\vskip3in
-{\centering\large\ttfamily 3.0.0-alpha\par}
+{\centering\large\ttfamily 3.0.1-alpha\par}
\newpage
\heading{Sumário}
\maketoc
+\newpage
-\section{Apresentação}
+\section{Introdução}
O |abntexto| é uma classe do \LaTeX\ criada para facilitar a utilização das normas da Associação Brasileira de Normas Técnicas (ABNT) em trabalhos acadêmicos (monografias, dissertações, teses).
@@ -295,9 +297,9 @@ Pode-se alterar a largura dos rótulos das entradas de apêndice/anexo no sumár
\newpage
-\begcorrprint{Referências}
+\begin{corrprint}{Referências}
\printbibliography
-\endcorrprint
+\end{corrprint}
\newpage
@@ -320,9 +322,9 @@ Você pode criar glossários com o pacote |glossaries|, como em \ref{cd:gloss}.
\begin{document}
O \gls{metalism} e o \gls{lip}.
- \begcorrprint{Glossário}
+ \begin{corrprint}{Glossário}
\printnoidxglossary
- \endcorrprint
+ \end{corrprint}
\end{document}
\endverb
@@ -347,16 +349,18 @@ O |glossaries.sty| também serve para criar uma lista de siglas, conforme \ref{c
2ª chamada: \acr{ibge}, \acr{html}.
- \begcorrprint{Lista de siglas}
+ \begin{corrprint}{Lista de siglas}
\def\acronymname{Lista de siglas}
\printnoidxglossary[type=acronym]
- \endcorrprint
+ \end{corrprint}
\end{document}
\endverb
\appendix{\emph{Feedback}}
Sugestões, relatos de \emph{bugs} e doações são bem-vindas.
+Chave PIX: {\ttfamily abntexto.classe@gmail.com}
+
% MACROS PARA O CÓDIGO-FONTE
% ================================================
diff --git a/macros/latex/contrib/iexec/DEPENDS.txt b/macros/latex/contrib/iexec/DEPENDS.txt
index 3e3774f0e2..1cf2d994a8 100644
--- a/macros/latex/contrib/iexec/DEPENDS.txt
+++ b/macros/latex/contrib/iexec/DEPENDS.txt
@@ -1,4 +1,19 @@
-hard shellesc
-hard pgfkeys
hard xkeyval
-hard expl3
+soft catchfile
+soft docshots
+soft environ
+soft ffcode
+soft framed
+soft fvextra
+soft href-ul
+soft hypdoc
+soft l3build
+soft libertine
+soft minted
+soft pgf
+soft pgfopts
+soft scheme-basic
+soft tcolorbox
+soft tools
+soft xetex
+soft xstring
diff --git a/macros/latex/contrib/iexec/iexec.dtx b/macros/latex/contrib/iexec/iexec.dtx
index f991912e78..12eabd6e28 100644
--- a/macros/latex/contrib/iexec/iexec.dtx
+++ b/macros/latex/contrib/iexec/iexec.dtx
@@ -50,7 +50,7 @@
%<package>\NeedsTeXFormat{LaTeX2e}
%<package>\ProvidesPackage{iexec}
%<*package>
-[2022-11-01 0.11.4 Inputable Shell Executions]
+[2023-10-12 0.12.0 Inputable Shell Executions]
%</package>
%<*driver>
\documentclass{ltxdoc}
@@ -94,7 +94,7 @@
% \pagestyle{empty}
% \begin{document}
% Today is \textbf{%
-% \iexec{date +\%e-\%b-\%Y}}
+% \iexec{date +\%e-\%b-\%Y}}\unskip!
% \end{document}
% \end{docshot}
@@ -114,7 +114,7 @@
% \DescribeMacro{quiet}
% If you don't want the output to be visible,
% use |\phantom\{\iexec{...}}|.
-% Otherwise, you can use |quiet| option:
+% Otherwise, you can use the ``|quiet|'' option:
%\iffalse
%<*verb>
%\fi
@@ -130,7 +130,7 @@ I just want to delete some file:
% \DescribeMacro{stdout}
% The output of your code is saved into the file provided as an
-% optional argument of |\iexec| (the default value is |iexec.tmp|):
+% optional argument of |\iexec| (the default value is ``|iexec.tmp|''):
%\iffalse
%<*verb>
%\fi
@@ -145,7 +145,7 @@ Today is \iexec[stdout=date.txt]{date +\%e-\%b-\%Y | tr -d '\\n'}.
% \DescribeMacro{stderr}
% The error output of the code is saved into the file provided as an
% optional argument of |\iexec| (by default the error output
-% is streamed into |stdout|):
+% is streamed into ``|stdout|''):
%\iffalse
%<*verb>
%\fi
@@ -157,8 +157,8 @@ Today is \iexec[stderr=my.txt]{broken-command}.
%\fi
% \DescribeMacro{exit}
-% The exit code of the command it saved into a file. You can change the name of it
-% using |exit| option:
+% The exit code of the command is saved into a file. You can change the name of it
+% using the ``|exit|'' option:
%\iffalse
%<*verb>
%\fi
@@ -171,10 +171,10 @@ Today is \iexec[exit=code.txt]{./broken-command.sh}.
% \DescribeMacro{trace}
% The file specified will be deleted right after its usage. If you don't
-% want this to happen, use |trace| package option: all files will remain
+% want this to happen, use the ``|trace|'' package option: all files will remain
% in the directory where they were created.
-% It's possible to turn tracing on globbaly, for the entire document, using
-% |trace| option of the package:
+% It's possible to turn on the tracing globbaly, for the entire document, using
+% the ``|trace|'' option of the package:
%\iffalse
%<*verb>
%\fi
@@ -190,7 +190,7 @@ This file won't be deleted: \iexec[stdout=me.txt]{whoami}.
%\fi
% \DescribeMacro{append}
-% The stdout produced will be appended to the file specified:
+% The ``stdout'' produced will be appended to the file specified:
%\iffalse
%<*verb>
%\fi
@@ -207,8 +207,25 @@ This file won't be deleted: \iexec[stdout=me.txt]{whoami}.
%</verb>
%\fi
+% \DescribeMacro{unskip}
+% In order to remove the tailing spacing after the content, you may use |unskip| package option,
+% which will append |\unskip| commmand to every |\iexec|:
+%\iffalse
+%<*verb>
+%\fi
+\begin{verbatim}
+\documentclass{article}
+\usepackage[unskip]{iexec}
+\begin{document}
+Today is \iexec{date +\%Y}!
+\end{document}
+\end{verbatim}
+%\iffalse
+%</verb>
+%\fi
+
% \DescribeMacro{log}
-% The stdout produced will be printed in \TeX{} log:
+% The ``stdout'' produced will be printed in the \TeX{} log:
%\iffalse
%<*verb>
%\fi
@@ -220,7 +237,7 @@ This file won't be deleted: \iexec[stdout=me.txt]{whoami}.
%\fi
% \DescribeMacro{null}
-% The stdout of the command will be sent to |/dev/null|:
+% The ``stdout'' of the command will be sent to ``|/dev/null|'':
%\iffalse
%<*verb>
%\fi
@@ -232,8 +249,8 @@ This file won't be deleted: \iexec[stdout=me.txt]{whoami}.
%\fi
% \DescribeMacro{ignore}
-% By default, we report an error if exit code is not equal to zero. You can suppress
-% this with |ignore| option:
+% By default, we report an error if the exit code is not equal to zero. You can suppress
+% this with the ``|ignore|'' option:
%\iffalse
%<*verb>
%\fi
@@ -269,6 +286,7 @@ This file won't be deleted: \iexec[stdout=me.txt]{whoami}.
% \changes{0.7.0}{2022/09/25}{The option "append" was introduced --- if it's turned on, stdout will be appended to the file, instead of rewriting it (this is how it was before).}
% \changes{0.7.0}{2022/09/25}{The option ``\texttt{log}'' was introduced, to turn on log/debug messages in TeX log (they were all visible always, which was sometimes annoying. Also, this option enables printing of the entire content of stdout to the log too (this may be pretty convenient for debugging).}
% \changes{0.11.0}{2022/10/22}{The option ``\texttt{exit}'' allows to change the name of the file with exit code.}
+% \changes{0.12.0}{2023/10/12}{The option ``\texttt{unskip}'' adds \texttt{\char`\\unskip} after each \texttt{\char`\\iexec}, in order to trip the tailing end of line space.}
% \begin{macrocode}
\RequirePackage{pgfkeys}
\makeatletter\pgfkeys{
@@ -283,6 +301,7 @@ This file won't be deleted: \iexec[stdout=me.txt]{whoami}.
append/.store in = \iexec@append,
log/.store in = \iexec@log,
null/.store in = \iexec@null,
+ unskip/.store in = \iexec@unskip,
quiet/.store in = \iexec@quiet,
ignore/.store in = \iexec@ignore,
stdout,exit
@@ -423,6 +442,7 @@ This file won't be deleted: \iexec[stdout=me.txt]{whoami}.
{\iexec@stdout} bytes)\fi...^^J}%
\fi%
\input{\iexec@stdout}%
+ \ifdefined\iexec@unskip\unskip\fi%
\message{iexec: The content of '\iexec@stdout'
was included into the document^^J}%
\fi\fi%
diff --git a/macros/latex/contrib/iexec/iexec.pdf b/macros/latex/contrib/iexec/iexec.pdf
index 49bfe2d5e2..df2af77a58 100644
--- a/macros/latex/contrib/iexec/iexec.pdf
+++ b/macros/latex/contrib/iexec/iexec.pdf
Binary files differ