From 65f9c8611e6e13d8d69b1c30a793493c32b92dee Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 18 Jan 2022 21:31:12 +0000 Subject: autopuncitems (18jan22) git-svn-id: svn://tug.org/texlive/trunk@61651 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf-dist/doc/lualatex/autopuncitems/README.md | 4 ++-- .../doc/lualatex/autopuncitems/autopuncitems.pdf | Bin 35326 -> 41875 bytes .../doc/lualatex/autopuncitems/autopuncitems.tex | 20 ++++++++++++++++---- 3 files changed, 18 insertions(+), 6 deletions(-) (limited to 'Master/texmf-dist/doc/lualatex') diff --git a/Master/texmf-dist/doc/lualatex/autopuncitems/README.md b/Master/texmf-dist/doc/lualatex/autopuncitems/README.md index 3cd4844b108..1b4ad8c5c61 100644 --- a/Master/texmf-dist/doc/lualatex/autopuncitems/README.md +++ b/Master/texmf-dist/doc/lualatex/autopuncitems/README.md @@ -1,10 +1,10 @@ # autopuncitems -Automatically punctuate lists by passing the autopunc option to enumitem lists. +Automatically punctuate lists by passing the autopunc option to enumitem lists. Requires LuaLaTeX. # License -Copyright (C) 2021 Kale Ewasiuk +Copyright (C) 2021-2022 Kale Ewasiuk Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/Master/texmf-dist/doc/lualatex/autopuncitems/autopuncitems.pdf b/Master/texmf-dist/doc/lualatex/autopuncitems/autopuncitems.pdf index fd743e4d996..d2a5da00ed8 100644 Binary files a/Master/texmf-dist/doc/lualatex/autopuncitems/autopuncitems.pdf and b/Master/texmf-dist/doc/lualatex/autopuncitems/autopuncitems.pdf differ diff --git a/Master/texmf-dist/doc/lualatex/autopuncitems/autopuncitems.tex b/Master/texmf-dist/doc/lualatex/autopuncitems/autopuncitems.tex index fd829b81e62..06f3f5e9bed 100644 --- a/Master/texmf-dist/doc/lualatex/autopuncitems/autopuncitems.tex +++ b/Master/texmf-dist/doc/lualatex/autopuncitems/autopuncitems.tex @@ -1,6 +1,6 @@ % Kale Ewasiuk (kalekje@gmail.com) -% 2021-12-20 -% Copyright (C) 2021 Kale Ewasiuk +% 2022-01-18 +% Copyright (C) 2021-2022 Kale Ewasiuk % % Permission is hereby granted, free of charge, to any person obtaining a copy % of this software and associated documentation files (the "Software"), to deal @@ -62,12 +62,19 @@ \begin{document} \maketitle +{\Huge TODO make an environment that can be used outside of itemize, useful for beamer possibly} + \section{Introduction} -This package provides the \cmd{autopunc} option in the -\cmd{enumitem} environemnts \cmd{itemize}, \cmd{enumerate}, and \cmd{description} +This package provides environments \cmd{AutoPuncItemize}, \cmd{AutoPuncItemizeO}, and \cmd{AutoPuncItemizeE} (beta) to automatically punctuate the items. +By default, it adds the \cmd{autopunc (O|E)} options in the +\cmd{enumitem} environments \cmd{itemize}, \cmd{enumerate}, and \cmd{description}, to wrap the contents in these enviroments. +If you want to skip this (say if you were using the beamer class which +may be interefered with by enum item), pass the \cmd{noenumitem} option to this package. You can still use the environments with beamer, though. It uses lua pattern matching to modify the environment's contents. + + \section{Some commands} \llcmd{\APomit}Used in an \cmd{\item} to signify that that item should not be automatically punctuated, and not be counted. Expands to nothing.\\ \llcmd{\APpass}Used in an \cmd{\item} to signify that that item should not be automatically punctuated, and but still counted. Expands to nothing.\\ @@ -84,6 +91,11 @@ It uses lua pattern matching to modify the environment's contents. \end{addmargin} +\section{Variants} +\llcmd{autopunc}Does not expand the contents of environment. Tutorial on next section shows this.\\ +\llcmd{autopuncO}Expands the contents of environment once. Useful if \cmd{\item}'s are in a command \\ +\llcmd{autopuncE}Fully expands the contents of environment first. This is in-progress and should not be used.\\ + \section{Tutorial} \subsection{Basic Use} -- cgit v1.2.3