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

Multiple \DeclareSortExclusion clear each other out #3

Closed
simifilm opened this issue Apr 22, 2012 · 2 comments
Closed

Multiple \DeclareSortExclusion clear each other out #3

simifilm opened this issue Apr 22, 2012 · 2 comments
Assignees

Comments

@simifilm
Copy link

Consider the following MWE:

\usepackage{filecontents}

\begin{filecontents}{\jobname.bib}
@article{Bli74,
  author = {Blinder, Alan S.},
  year = {1974},
  title = {The economics of brushing teeth},
  journaltitle = {Journal of Political Economy},
  volume = {82},
  number = {4},
  pages = {887--891}}
  @inbook{PsyG,
  keywords = {simmel}, hyphenation = {german},
  author = {Georg Simmel},
  title = {Zur Psychologie des Geldes},
    booktitle = {Aufsätze 1887 bis 1890. Über sociale Differenzierung. Die Probleme der Geschichtsphilosophie (1892)},
    editor = {Heinz-Jürgen Dahme},
    volume = {2},
      maintitle = {Georg Simmel Gesamtausgabe},
      maineditor = {Otthein Rammstedt},
  address = {Frankfurt am Main},
  publisher = {Suhrkamp},
  year = {1999},
  sortyear = {1889},
  edition = {2},
  origdate = {1889-05},
  pages = {49-65},
  shorthand = {PsyG}}  
@collection{Ackerman.Strickland:1981,
    Address = {Bloomington},
    Author = {Ackerman, Forrest J. and Strickland, A. W.},
    Title = {A Reference Guide to American Science Fiction Films},
    Volume = {1},
    Year = {1981}}
}
\end{filecontents}

\usepackage[utf8]{inputenc}
\usepackage[ngerman]{babel}
\usepackage[style=authoryear]{biblatex}
\ExecuteBibliographyOptions{backend=biber}
\usepackage{csquotes}

\addbibresource{\jobname.bib}
\usepackage{hyperref}

\DeclareSortExclusion{collection}{author,editor,sortname,translator}
\DeclareSortExclusion{collection}{maintitle}
\DeclareNosort{
\nosort{type_title}{\regexp{\AA\s+}}}

\begin{document}

\cite{PsyG,Bli74,Ackerman.Strickland:1981}

\printbibliography
\end{document}

If there is only one \DeclareSortExclusion (\DeclareSortExclusion{collection}{author,editor,sortname,translator}), is correctly sorted under "R". As soon as I add the second \DeclareSortExclusion which shouldn't have any effect, the entry is sorted under "A".

@josephwright
Copy link
Collaborator

How is this different to issue #2?

@simifilm
Copy link
Author

It isn't. Problems with the web interface.

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

3 participants