Skip to content

nameref and gettitlestring #129

@mrpiggi

Description

@mrpiggi

It would be a nice feature for nameref to optionally use the expansion method of gettitlestring without setting the corresponding package option globally. This request is actually motivated by this discussion: latex3/latex2e#307

As soon as there are some user-defined commands which should be ignored for generating \@currentlabelname one has to use the expansion method of gettitlestring. Setting \GetTitleStringSetup{expand=true} globally is maybe error prone, although I do not have a particular case in mind.

Maybe using protected expansion at least in headings by default or via option would be good as well. See also ho-tex/gettitlestring#2 and ho-tex/gettitlestring#3 The expansion is already protected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions