Skip to content

Open up fmtcount to custom language files #48

@fredrikpaues

Description

@fredrikpaues

I am a bit out of my depth here, but it would be great if \FCloadlang{lang} could define lang as xkeyval key in the fmtcount family so that custom language files could then set up language options as fc-french.def does.

I'm trying to incorporate such options into the fc-swedish.def language file that I've posted in #47. But it's proving quite hard. While a quite simple document

\documentclass[swedish]{article}
\usepackage{babel}
\usepackage{fmtcount}
\FCloadlang{swedish}
\begin{document}
  \Ordinalstringnum{12}
\end{document}

allows me to format numbers in Swedish, it seems that I need to do part of the heavy lifting that arguable ought to be done in fmtcount.sty to set up language options. Sadly, I haven't figured out how to do it yet.

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