summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2024-04-07 19:57:20 +0000
committerKarl Berry <karl@freefriends.org>2024-04-07 19:57:20 +0000
commitccd165a090df7c0f595d9c17ec776339f707133f (patch)
treeccb73b33c9ac865e48e643029a057c788f2eaedb
parentd7b51429b4b44bdfc0dae16e10f936771f0d952d (diff)
hulipsum (7apr24)
git-svn-id: svn://tug.org/texlive/trunk@70883 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/latex/hulipsum/README2
-rw-r--r--Master/texmf-dist/doc/latex/hulipsum/hulipsum.pdfbin145394 -> 156432 bytes
-rw-r--r--Master/texmf-dist/source/latex/hulipsum/hulipsum.dtx77
-rw-r--r--Master/texmf-dist/source/latex/hulipsum/hulipsum.ins4
-rw-r--r--Master/texmf-dist/tex/latex/hulipsum/hulipsum.sty39
5 files changed, 87 insertions, 35 deletions
diff --git a/Master/texmf-dist/doc/latex/hulipsum/README b/Master/texmf-dist/doc/latex/hulipsum/README
index e336e94b2f7..8ff9548c262 100644
--- a/Master/texmf-dist/doc/latex/hulipsum/README
+++ b/Master/texmf-dist/doc/latex/hulipsum/README
@@ -1,6 +1,6 @@
hulipsum.sty package
-Copyright 2018-2020 by Tibor Tomacs
+Copyright 2018-2024 by Tibor Tomacs
Hungarian dummy text (Lorum ipse) for demonstrating the textual elements of a document template
All paragraphs are taken with permission from http://www.lorumipse.hu/.
diff --git a/Master/texmf-dist/doc/latex/hulipsum/hulipsum.pdf b/Master/texmf-dist/doc/latex/hulipsum/hulipsum.pdf
index 2a621923b43..c44bf76cb97 100644
--- a/Master/texmf-dist/doc/latex/hulipsum/hulipsum.pdf
+++ b/Master/texmf-dist/doc/latex/hulipsum/hulipsum.pdf
Binary files differ
diff --git a/Master/texmf-dist/source/latex/hulipsum/hulipsum.dtx b/Master/texmf-dist/source/latex/hulipsum/hulipsum.dtx
index ce3527588b8..02d257e3a9a 100644
--- a/Master/texmf-dist/source/latex/hulipsum/hulipsum.dtx
+++ b/Master/texmf-dist/source/latex/hulipsum/hulipsum.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright 2018-2020 by Tibor Tomacs
+% Copyright 2018-2024 by Tibor Tomacs
%
% Hungarian dummy text (Lorum ipse) for demonstrating the textual elements of a document template
% All paragraphs are taken with permission from http://www.lorumipse.hu/.
@@ -24,15 +24,14 @@
%<*driver>
\ProvidesFile{hulipsum.dtx}
%</driver>
-%<package>\NeedsTeXFormat{LaTeX2e}[1999/12/01]
-%<package>\ProvidesPackage{hulipsum}[2020/11/03 v1.1 Hungarian dummy text (Lorum ipse)]
+%<package>\NeedsTeXFormat{LaTeX2e}[2022/06/20]
+%<package>\ProvidesPackage{hulipsum}[2024/04/07 v1.2 Hungarian dummy text (Lorum ipse)]
%
%<*driver>
\documentclass{ltxdoc}
\OnlyDescription
+\AddToHook{begindocument/before}[doc/hyperref]{\hypersetup{pdfstartview=FitH,colorlinks,allcolors=black}}
\usepackage[a4paper,margin=25mm]{geometry}
-\usepackage[pdfstartview=FitH,colorlinks,allcolors=black]{hyperref}
-\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[english]{babel}
\usepackage{listings,xcolor}
@@ -60,8 +59,8 @@ keepspaces]}
%
% \GetFileInfo{hulipsum.sty}
%
-% \title{The {\bfseries\sffamily hulipsum} package\\{\large v1.1 (2020/11/03)}}
-% \author{Tibor Tómács\\{\normalsize\url{tomacs.tibor@uni-eszterhazy.hu}}}
+% \title{The {\bfseries\sffamily hulipsum} package\\{\large v1.2 (2024/04/07)}}
+% \author{Tibor Tómács\\{\normalsize\url{tomacs.tibor@gmail.com}}}
% \date{}
% \maketitle
% \thispagestyle{empty}
@@ -104,13 +103,32 @@ keepspaces]}
%
% \verbinline|\hulipsumsave*[!<num1>!-!<num2>!]\hulipsumexp| is equivalent to \verbinline|\hulipsum*[!<num1>!-!<num2>!]|.
%
-% \item\commandinline|\hulipsumdocument|\\
-% It creates a blind document with title, author, date, table of contents, chapter, section, subsection, subsubsection, paragraph, subparagraph, figure, lists and bibliography.
-%
-% \item\commandinline|\hulipsumdocument[part]|\\
-% It works like \verbinline|\hulipsumdocument|, but it creates a part before the chapter and section.
-% \end{description}
+% \item\commandinline|\hulipsumdocument[!<options>!]|\\
+% It creates a blind document with title, author, date, table of contents, part, chapter, section, subsection, subsubsection, paragraph, subparagraph, figure, lists, equations and bibliography.
+%
+% The \commandinline|!<options>!| are:
+%
+% \begin{description}
+% \item \commandinline|maketitle=!<boolean>!| \hfill (default: \texttt{true})\\
+% Adds \verbinline|\maketitle| if the \commandinline|!<boolean>!| is \texttt{true}.
+%
+% \item \commandinline|tableofcontents=!<boolean>!| \hfill (default: \texttt{true})\\
+% Adds \verbinline|\tableofcontents| if the \commandinline|!<boolean>!| is \texttt{true}.
+%
+% \item \commandinline|part=!<boolean>!| \hfill (default: \texttt{false})\\
+% Adds \verbinline|\part{...}| before the chapter and section, if the \commandinline|!<boolean>!| is \texttt{true}.
%
+% \item \commandinline|abstract=!<boolean>!| \hfill (default: \texttt{true})\\
+% Adds an \texttt{abstract} environment if the \commandinline|!<boolean>!| is \texttt{true}.
+%
+% \item \commandinline|math=!<boolean>!| \hfill (default: \texttt{true})\\
+% Adds a mathematical equation if the \commandinline|!<boolean>!| is \texttt{true}.
+%
+% \item \commandinline|bibliography=!<boolean>!| \hfill (default: \texttt{true})\\
+% Adds \texttt{thebibliography} environment if the \commandinline|!<boolean>!| is \texttt{true}.
+% \end{description}
+% The \texttt{=true} can be omitted in the options. For example \verbinline|\hulipsumdocument[part,math=false]|.
+% \end{description}
% \StopEventually
%
% \begin{macrocode}
@@ -210,19 +228,29 @@ keepspaces]}
\newif\if@hulipsum@firstexpand@
\@hulipsum@firstexpand@true
-\newcommand{\hulipsumdocument}[1][]{%
+\newcommand{\hulipsumdocument}[1][]{
\if@hulipsum@firstexpand@
-\global\@hulipsum@firstexpand@false%
-\def\hulipsum@part{#1}%
-\def\hulipsum@partcheck{part}%
+\global\@hulipsum@firstexpand@false
+\begingroup
+\DeclareKeys{
+ maketitle.if=@hulipsum@maketitle,
+ tableofcontents.if=@hulipsum@tableofcontents,
+ part.if=@hulipsum@part,
+ abstract.if=@hulipsum@abstract,
+ math.if=@hulipsum@math,
+ bibliography.if=@hulipsum@bibliography}
+\SetKeys{maketitle,part=false,abstract,tableofcontents,math,bibliography,#1}
+\if@hulipsum@maketitle
\@ifundefined{title}{}{\title{L\'{o}rum ipse}}
\@ifundefined{author}{}{\author{Nyomasek Bob\'{o}}}
+\@ifundefined{supervisor}{}{\supervisor{Szel\'{e}s Gerg\H{o}\\ egyetemi docens}\author{Nyomasek Bob\'{o}\\ matematika szak}}
+\@ifundefined{institute}{}{\institute{Matematikai és Informatikai Intézet}}
+\@ifundefined{city}{}{\city{Eger}}
\@ifundefined{maketitle}{}{\maketitle}
-\@ifundefined{tableofcontents}{}{\tableofcontents}
-\@ifundefined{abstract}{}{\begin{abstract}\hulipsum[1]\end{abstract}}
-\ifx\hulipsum@part\hulipsum@partcheck%
-\@ifundefined{part}{}{\part{Borzaszt\'{o}an cog\'{a}lis pat\'{a}s}}
\fi
+\if@hulipsum@tableofcontents\@ifundefined{tableofcontents}{}{\tableofcontents}\fi
+\if@hulipsum@abstract\@ifundefined{abstract}{}{\begin{abstract}\hulipsum[1]\end{abstract}}\fi
+\if@hulipsum@part\@ifundefined{part}{}{\part{Borzaszt\'{o}an cog\'{a}lis pat\'{a}s}}\fi
\@ifundefined{chapter}{}{\chapter{Fog\'{a}s n\'{e}lk\"{u}l nem vark\'{a}l}}
\@ifundefined{section}{}{\section{A vandoba h\'{e}t matlan}}
\hulipsum[1-2]
@@ -274,12 +302,19 @@ keepspaces]}
\end{description}
\end{description}
\end{description}}
+\if@hulipsum@math
+$\mathrm{e}^x=\sum_{n=0}^\infty\frac{x^n}{n!}$ minden val\'{o}s $x$ eset\'{e}n.
+\[\mathrm{e}^x=\sum_{n=0}^\infty\frac{x^n}{n!}\quad\forall x\in\mathbf{R}.\]
+\fi
+\if@hulipsum@bibliography
\@ifundefined{thebibliography}{}{%
\begin{thebibliography}{1}
\bibitem{a} \textsc{Nyomasek Bob\'{o}}, \emph{L\'{o}rum ipse}, Handana Kiad\'{o}, 1980.
\bibitem{b} \textsc{Szel\'{e}s Gerg\H{o}}, \emph{A griszt\'{a}s talt\'{a}s kirg\'{e}szei}, \"{U}d\"{o}sv\'{e}ny Kiad\'{o}, 2010.
\end{thebibliography}}
\fi
+\endgroup
+\fi
}
\def\hulipsum@i{\g@addto@macro\hulipsumexp{L\'{o}rum ipse olyan borzaszt\'{o}an cog\'{a}lis pat\'{a}s, ami fog\'{a}s n\'{e}lk\"{u}l nem vark\'{a}l megfelel\H{o}en. A vandoba h\'{e}t matlan talmatos ferodika, amelynek kap\'{a}r\'{a}s\'{a}t az izma mig\'{a}lja. A vandoba bul\'{a}i k\"{o}z\"{u}l zsibulja meg az izm\'{a}t, a porn\'{a}t, valamint a m\H{u}v\'{e}st \'{e}s v\'{a}tog a vandoba bul\'{a}inak v\'{o}k\'{a}ir\'{o}l. V\'{o}k\'{a}ja a raktil proz\'{a}sa k\'{e}t emen k\"{o}z\"{o}tt. \'{E}vente legal\'{a}bb egyszer csetnyi pipecs\'{e}lnie az ement, azon fongnia a l\'{a}ltos kap\'{a}r\'{a}sr\'{o}l \'{e}s a ny\'{a}kuum b\"{o}ll\'{e}s\'{e}r\H{o}l. A vandoba ninti \'{e}s az emen el\'{e} red\H{o}zi a szamlan radalmakan \'{e}rv\'{e}st. Az ement az izma bamz\'{a}sban, a has\'{a}s szegeszk\'{e}j\'{e}vel log\'{a}lja \"{o}ssze, legal\'{a}bb 15 nappal annak poz\'{a}sa el\H{o}tt. Az ement \"{o}ssze kell log\'{a}lnia akkor is, ha azt az \'{o}d\'{a}s legal\'{a}bb egyes bamz\'{a}sban, a reszt\H{o} billet\'{e}vel h\'{a}sodja.}}
diff --git a/Master/texmf-dist/source/latex/hulipsum/hulipsum.ins b/Master/texmf-dist/source/latex/hulipsum/hulipsum.ins
index 749df0cfb5b..eedd7fb45b7 100644
--- a/Master/texmf-dist/source/latex/hulipsum/hulipsum.ins
+++ b/Master/texmf-dist/source/latex/hulipsum/hulipsum.ins
@@ -1,5 +1,5 @@
-% Copyright 2018-2020 by Tibor Tomacs
+% Copyright 2018-2024 by Tibor Tomacs
%
% Hungarian dummy text (Lorum ipse) for demonstrating the textual elements of a document template
% All paragraphs are taken with permission from http://www.lorumipse.hu/.
@@ -23,7 +23,7 @@
\preamble
This is a generated file.
-Copyright 2018-2020 by Tibor Tomacs
+Copyright 2018-2024 by Tibor Tomacs
Hungarian dummy text (Lorum ipse) for demonstrating the textual elements of a document template
All paragraphs are taken with permission from http://www.lorumipse.hu/.
diff --git a/Master/texmf-dist/tex/latex/hulipsum/hulipsum.sty b/Master/texmf-dist/tex/latex/hulipsum/hulipsum.sty
index 313d532069e..20a9e423175 100644
--- a/Master/texmf-dist/tex/latex/hulipsum/hulipsum.sty
+++ b/Master/texmf-dist/tex/latex/hulipsum/hulipsum.sty
@@ -7,7 +7,7 @@
%% ./hulipsum.dtx (with options: `package')
%% This is a generated file.
%%
-%% Copyright 2018-2020 by Tibor Tomacs
+%% Copyright 2018-2024 by Tibor Tomacs
%%
%% Hungarian dummy text (Lorum ipse) for demonstrating the textual elements of a document template
%% All paragraphs are taken with permission from http://www.lorumipse.hu/.
@@ -25,8 +25,8 @@
%%
%% The Current Maintainer of this work is Tibor Tomacs.
%%
-\NeedsTeXFormat{LaTeX2e}[1999/12/01]
-\ProvidesPackage{hulipsum}[2020/11/03 v1.1 Hungarian dummy text (Lorum ipse)]
+\NeedsTeXFormat{LaTeX2e}[2022/06/20]
+\ProvidesPackage{hulipsum}[2024/04/07 v1.2 Hungarian dummy text (Lorum ipse)]
%%
\newif\if@hulipsum@num@
\newif\if@hulipsum@minnum@
@@ -123,19 +123,29 @@
\newif\if@hulipsum@firstexpand@
\@hulipsum@firstexpand@true
-\newcommand{\hulipsumdocument}[1][]{%
+\newcommand{\hulipsumdocument}[1][]{
\if@hulipsum@firstexpand@
-\global\@hulipsum@firstexpand@false%
-\def\hulipsum@part{#1}%
-\def\hulipsum@partcheck{part}%
+\global\@hulipsum@firstexpand@false
+\begingroup
+\DeclareKeys{
+ maketitle.if=@hulipsum@maketitle,
+ tableofcontents.if=@hulipsum@tableofcontents,
+ part.if=@hulipsum@part,
+ abstract.if=@hulipsum@abstract,
+ math.if=@hulipsum@math,
+ bibliography.if=@hulipsum@bibliography}
+\SetKeys{maketitle,part=false,abstract,tableofcontents,math,bibliography,#1}
+\if@hulipsum@maketitle
\@ifundefined{title}{}{\title{L\'{o}rum ipse}}
\@ifundefined{author}{}{\author{Nyomasek Bob\'{o}}}
+\@ifundefined{supervisor}{}{\supervisor{Szel\'{e}s Gerg\H{o}\\ egyetemi docens}\author{Nyomasek Bob\'{o}\\ matematika szak}}
+\@ifundefined{institute}{}{\institute{Matematikai és Informatikai Intézet}}
+\@ifundefined{city}{}{\city{Eger}}
\@ifundefined{maketitle}{}{\maketitle}
-\@ifundefined{tableofcontents}{}{\tableofcontents}
-\@ifundefined{abstract}{}{\begin{abstract}\hulipsum[1]\end{abstract}}
-\ifx\hulipsum@part\hulipsum@partcheck%
-\@ifundefined{part}{}{\part{Borzaszt\'{o}an cog\'{a}lis pat\'{a}s}}
\fi
+\if@hulipsum@tableofcontents\@ifundefined{tableofcontents}{}{\tableofcontents}\fi
+\if@hulipsum@abstract\@ifundefined{abstract}{}{\begin{abstract}\hulipsum[1]\end{abstract}}\fi
+\if@hulipsum@part\@ifundefined{part}{}{\part{Borzaszt\'{o}an cog\'{a}lis pat\'{a}s}}\fi
\@ifundefined{chapter}{}{\chapter{Fog\'{a}s n\'{e}lk\"{u}l nem vark\'{a}l}}
\@ifundefined{section}{}{\section{A vandoba h\'{e}t matlan}}
\hulipsum[1-2]
@@ -187,12 +197,19 @@
\end{description}
\end{description}
\end{description}}
+\if@hulipsum@math
+$\mathrm{e}^x=\sum_{n=0}^\infty\frac{x^n}{n!}$ minden val\'{o}s $x$ eset\'{e}n.
+\[\mathrm{e}^x=\sum_{n=0}^\infty\frac{x^n}{n!}\quad\forall x\in\mathbf{R}.\]
+\fi
+\if@hulipsum@bibliography
\@ifundefined{thebibliography}{}{%
\begin{thebibliography}{1}
\bibitem{a} \textsc{Nyomasek Bob\'{o}}, \emph{L\'{o}rum ipse}, Handana Kiad\'{o}, 1980.
\bibitem{b} \textsc{Szel\'{e}s Gerg\H{o}}, \emph{A griszt\'{a}s talt\'{a}s kirg\'{e}szei}, \"{U}d\"{o}sv\'{e}ny Kiad\'{o}, 2010.
\end{thebibliography}}
\fi
+\endgroup
+\fi
}
\def\hulipsum@i{\g@addto@macro\hulipsumexp{L\'{o}rum ipse olyan borzaszt\'{o}an cog\'{a}lis pat\'{a}s, ami fog\'{a}s n\'{e}lk\"{u}l nem vark\'{a}l megfelel\H{o}en. A vandoba h\'{e}t matlan talmatos ferodika, amelynek kap\'{a}r\'{a}s\'{a}t az izma mig\'{a}lja. A vandoba bul\'{a}i k\"{o}z\"{u}l zsibulja meg az izm\'{a}t, a porn\'{a}t, valamint a m\H{u}v\'{e}st \'{e}s v\'{a}tog a vandoba bul\'{a}inak v\'{o}k\'{a}ir\'{o}l. V\'{o}k\'{a}ja a raktil proz\'{a}sa k\'{e}t emen k\"{o}z\"{o}tt. \'{E}vente legal\'{a}bb egyszer csetnyi pipecs\'{e}lnie az ement, azon fongnia a l\'{a}ltos kap\'{a}r\'{a}sr\'{o}l \'{e}s a ny\'{a}kuum b\"{o}ll\'{e}s\'{e}r\H{o}l. A vandoba ninti \'{e}s az emen el\'{e} red\H{o}zi a szamlan radalmakan \'{e}rv\'{e}st. Az ement az izma bamz\'{a}sban, a has\'{a}s szegeszk\'{e}j\'{e}vel log\'{a}lja \"{o}ssze, legal\'{a}bb 15 nappal annak poz\'{a}sa el\H{o}tt. Az ement \"{o}ssze kell log\'{a}lnia akkor is, ha azt az \'{o}d\'{a}s legal\'{a}bb egyes bamz\'{a}sban, a reszt\H{o} billet\'{e}vel h\'{a}sodja.}}