jabbrv icon indicating copy to clipboard operation
jabbrv copied to clipboard

\DefineSpuriousJournalWord{} are English only

Open ElieGouzien opened this issue 6 years ago • 1 comments

The \DefineSpuriousJournalWord{} should certainly not be hard-coded into jabbrv.sty but moved into the .ldf files and be language dependent.

Reading the ISO-4 text should help to now how it should be done.

ElieGouzien avatar Jul 31 '19 19:07 ElieGouzien

Because these files are auto-generated from the ISSN database, I think it would be best to keep the default spurious words in the main style file but handle them in a language-specific way. How does something like this sound?:

\def\jabbrv@lang@spurious@en{
    \DefineSpuriousJournalWord{of}
    \DefineSpuriousJournalWord{in}
    \DefineSpuriousJournalWord{and}
    \DefineSpuriousJournalWord{the}
}
\csname jabbrv@lang@spurious@\jabbrv@lang\endcsname

compholio avatar Sep 20 '22 22:09 compholio