Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bessere Sortierung "Name - Jahr - Monat - Tag - Titel" #148

Closed
LukasCBossert opened this issue Sep 14, 2018 · 2 comments
Closed

Bessere Sortierung "Name - Jahr - Monat - Tag - Titel" #148

LukasCBossert opened this issue Sep 14, 2018 · 2 comments
Assignees

Comments

@LukasCBossert
Copy link
Owner

Soll eingebaut werden:

https://tex.stackexchange.com/a/46879/98739

\DeclareSortingTemplate{ndymdt}{
  \sort{
    \field{presort}
  }
  \sort[final]{
    \field{sortkey}
  }
  \sort{
  \field{sortshorthand}
      \field{shorthand}
      \field{sortname}
      \field{author}
      \field{editor}
      \field{translator}
  }
  \sort[direction=ascending]{
    \field{sortyear}
    \field{year}
    \literal{9999}
  }
  \sort[direction=ascending]{
    \field[padside=left,padwidth=2,padchar=0]{month}
    \literal{99}
  }
  \sort[direction=ascending]{
    \field[padside=left,padwidth=2,padchar=0]{day}
    \literal{99}
  }
  \sort{
  \field{sorttitle}
  \field{title}
  }
  \sort[direction=ascending]{
    \field[padside=left,padwidth=4,padchar=0]{volume}
    \literal{9999}
  }
}
@LukasCBossert
Copy link
Owner Author

\DeclareSortingTemplate{ndymdt}{
  \sort{
    \field{presort}
  }
  \sort[final]{
    \field{sortkey}
  }
  \sort{
  \field{sortshorthand}
      \field{shorthand}
      \field{sortname}
      \field{author}
      \field{editor}
      \field{translator}
  }
  \sort[direction=ascending]{
    \field{sortyear}
    \field{year}
    \literal{9999}
  }
  \sort[direction=ascending]{
    \field[padside=left,padwidth=2,padchar=0]{month}
    \literal{99}
  }
  \sort[direction=ascending]{
    \field[padside=left,padwidth=2,padchar=0]{day}
    \literal{99}
  }
  \sort{
  \field{pubstate}
  }
  \sort{
  \field{sorttitle}
  \field{title}
  }
  \sort[direction=ascending]{
    \field[padside=left,padwidth=4,padchar=0]{volume}
    \literal{9999}
  }
}

@LukasCBossert
Copy link
Owner Author

included into version 2.4.1

LukasCBossert pushed a commit that referenced this issue Apr 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant