Skip to content

deactivating shorthands via \shorthandsspanish does not work #11

@Udi-Fogiel

Description

@Udi-Fogiel

The documentation claims that to deactivate a shorthand globally we can simply add a \spanishdeactivate deceleration to \shorthandsspanish. Did I encounter a bug or did I miss anything?

\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[spanish]{babel}
\addto\shorthandsspanish{\spanishdeactivate{>}}

\begin{document}
\showthe\catcode`\>
\show>
\shorthandsspanish
\showthe\catcode`\>
\show>
\stop

Result:

> 13.
l.8 \showthe\catcode`\>
                     

> >=macro:
->\active@prefix >\active@char> .
l.9 \show>
        

> 12.
l.11 \showthe\catcode`\>
                      

> the character >.
l.12 \show>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions