list-name does not work as package option

Create issue
Issue #15 wontfix
Frank Mittelbach created an issue

Using \usepackage[list-name={Section Notes}]{enotez} is not honored (as claimed by the documentation.

One needs to set it via \setenotez{...} to make it work.

Comments (4)

  1. bers

    Same here with

    \PassOptionsToPackage{list-name=foo}{enotez}
    

    Here's an MWE:

    \documentclass{article}
    
    % this does not work:
    \usepackage[list-name=foo]{enotez}
    
    % neither does this:
    % \PassOptionsToPackage{list-name=foo}{enotez}
    % \usepackage{enotez}
    
    % this, however, works:
    % \usepackage{enotez}
    % \setenotez{list-name=foo}
    
    \begin{document}
        \phantom{\endnote{}}\printendnotes
    \end{document}
    
  2. Clemens Niederberger repo owner

    setting the options as package options isn’t reliable and I shouldn’t probably allow it to begin with. Just use \setenotez.

  3. Clemens Niederberger repo owner

    I will remove the possibility to set the options as package options in the next release. Then only \setenotez can be used.

  4. Log in to comment