diff options
author | Karl Berry <karl@freefriends.org> | 2022-01-18 21:31:12 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-01-18 21:31:12 +0000 |
commit | 65f9c8611e6e13d8d69b1c30a793493c32b92dee (patch) | |
tree | 8ef864571d349f7e5ae7283a46b30eb4427153a7 /Master/texmf-dist/doc | |
parent | 1b2af0c8685288eeeec426e34a0e48297d7cab41 (diff) |
autopuncitems (18jan22)
git-svn-id: svn://tug.org/texlive/trunk@61651 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc')
-rw-r--r-- | Master/texmf-dist/doc/lualatex/autopuncitems/README.md | 4 | ||||
-rw-r--r-- | Master/texmf-dist/doc/lualatex/autopuncitems/autopuncitems.pdf | bin | 35326 -> 41875 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/lualatex/autopuncitems/autopuncitems.tex | 20 |
3 files changed, 18 insertions, 6 deletions
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 Binary files differindex fd743e4d996..d2a5da00ed8 100644 --- a/Master/texmf-dist/doc/lualatex/autopuncitems/autopuncitems.pdf +++ b/Master/texmf-dist/doc/lualatex/autopuncitems/autopuncitems.pdf 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} |