Giter Site home page Giter Site logo

Comments (5)

zepinglee avatar zepinglee commented on September 28, 2024

It's reasonable and I'll prioritize this feature.

from citeproc-lua.

zepinglee avatar zepinglee commented on September 28, 2024

I've just added the type, nottype, keyword, notkeyword, category, and notcategory options to \printbibliography as well as \DeclareBibliographyCategory and \addtocategory commands (see the test file bib-filter.lvt). All of them work in the same way as in biblatex. The filter and \defbibfilter in biblatex are not implemented at the moment.

from citeproc-lua.

bemilton avatar bemilton commented on September 28, 2024

@zepinglee Could you add a capability to define title when selecting by category? For example: there's an overleaf example here using package biblatex.

Unfortunately, with citation-style-language package there is an (ignored) error due to title option:

! LaTeX Error: The key 'csl/bibliography/title' is unknown and is being (LaTeX) ignored.

The rendered PDF simply repeats "References" (when using \documentclass[11pt]{article}) per each \printbibliography[category={phys}, title={test}].

So as a minimum working example re-using the OP's code:

\documentclass{article}
\usepackage[style=ieee]{citation-style-language}
\addbibresource{/path/to/references.bib}
\DeclareBibliographyCategory{ignore}
\addtocategory{ignore}{johnson2015}
\addtocategory{ignore}{doe1986}

\begin{document}

\cite{johnson2015},
\cite{smith2015},
\cite{doe1986},
\cite{samson2012}

\printbibliography[notcategory=ignore]
\printbibliography[category=ignore, title={Ignored References}]
\end{document}

from citeproc-lua.

zepinglee avatar zepinglee commented on September 28, 2024

@bemilton I've just added the heading and title options and the above example works fine. The related documentation will be added later.

from citeproc-lua.

bemilton avatar bemilton commented on September 28, 2024

@zepinglee Brilliant, thank you for rapid solution. By the way -- it is an excellent tex package!

from citeproc-lua.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.