Giter Site home page Giter Site logo

Comments (4)

yymao avatar yymao commented on June 6, 2024

This is a good suggestion but I wonder if it can already be accomplished by current features.

One can already supply additional bibtex files to adstex with -r, so that adstex would know those citation keys exist. This is useful for citation keys like Planck18, numpy etc.

I understand that you would also want to these entries (adstex does not update the files specified by -r). But I am implementing #3, which let you use

adstex my_own_bib.bib

to update the entries. So you can run this on those custom bibtex files once a while to update them.

This involves more steps, but seems more consistent with the idea of using bibtex files as the libraries (so that we don't need to create a new library format).

from adstex.

slosar avatar slosar commented on June 6, 2024

Yes, but the entire point of adstex is that I can give up having to deal with my central bibtex file.
The issue there is that in a typical workflow, someone invites me to work on their overleaf paper that already comes seeded with some bib file. Then I copy my cosmo.bib over, add to repo and immediately there are duplications between the two and when I update I often forget to update cosmo.bib in my repo and instead update paper's cosmo.bib, i.e things go awry very soon.
But perhaps the solution is to use \defcitealias instead -- that has the advantage of taking care of duplicates... Let me think a little...

from adstex.

slosar avatar slosar commented on June 6, 2024

This is a relevant link:
https://tex.stackexchange.com/questions/44877/bibtex-with-multiple-aliases-for-the-same-reference
You probably want ID field with aliases in your bib file (second answer), but perhaps for another day!

from adstex.

yymao avatar yymao commented on June 6, 2024

the entire point of adstex is that I can give up having to deal with my central bibtex file

Indeed!

But my point is that maintaining a .adstexrc file is not that different from maintaining a bibtex file.

Citation aliases are indeed really difficult to deal with. The IDS field is a good solution but it only works with biblatex, and I think most astro people still use natbib.

For now, adstex does detect if there are citation keys that point to the same paper, and prints out warning messages at the end. It doesn't fix the issue for you though.

from adstex.

Related Issues (14)

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.