etoolbox
etoolbox copied to clipboard
Tool-box for LaTeX programmers using e-TeX
``` \documentclass[a4paper,10pt]{book} \usepackage[utf8]{inputenc} \usepackage{etoolbox} \begin{document} \cseappto{myList}{entry1} \cseappto{myList}{entry2} \cseappto{myList}{{\'e}ntry3} \cseappto{myList}{entry4} \csuse{myList} \end{document} ``` I'm using Ubuntu 20.04. The code above compiles fine with the default texlive from apt (which is kinda...
Currently, `\eappto` (and `\epreto`, `\xappto`, etc.) requires hash symbols `#` to be doubled, which is definitely an unintended behaviour since the command to expand cannot have arguments in the first...
When using koma script, the `\do` macro is used internally for example in `\chapter` code and can end in `\relax`. That means that `\renewcommand*\do…`, as described in various list commands,...
Not really an urgent issue but for completeness, it would be neat to provide commands which remove expanded items - `\listeremove` - `\listxremove` - `\listcseremove` - `\listcsxremove` similar to the...
Take the document ``` \RequirePackage{etoolbox} \tracingpatches \newcommand\victim{##} \patchcmd\victim{##}{}{}{\ERROR} \stop ``` This fails with ``` [debug] tracing \patchcmd on input line 4 [debug] analyzing '\victim' [debug] ++ control sequence is defined...
Not sure if this is a bug; has anyone else seen problems when using booltrue+DeclareOption, and ifbool... seeing that the booleans are not being set? I have not yet been...
Hi, Writing the wrong combination of `\providebool` + `\global\booltrue` to the aux file may cause the error mentioned in the title. The MWE below crashes on the second pass, but...
Am working with etoolbox v2.5k. In documentation for \providebool , suggest adding description of how the flag value is set or preserved. Have included existing text and suggested possible improved...