Code Monkey home page Code Monkey logo

Comments (2)

brucemiller avatar brucemiller commented on July 3, 2024

It certainly is tempting - I really don’t want to maintain a separate
bibtex model, nor write a bibtex conversion (which I’m contemplating right now).

However, there’s a couple of roadblocks:
(1) there seem to be only rng schema, no dtds.
(2) as near as I understand it, the schema assume text for the fields,
(with no clear way of customizing), whereas I need latexml’s inline model.
(3) I’m unclear what tool is really the current one (python, java, online).

from latexml.

brucemiller avatar brucemiller commented on July 3, 2024

After a lot of asking around and googling, the likely candidate
bibliogrphy formats include at least BibTeXML, MODS, …
Unfortunately, none of these formats provides a form of schema
that allows easy extension & incorporation. Particularly,
the leaf nodes in most elements would need to be changed
from plain text to LaTeXML’s inline model.

So, the next best thing was to adopt a schema “inspired by”,
and MODS seemed to be the most useful here.

I have rewritten the bib module in LaTeXML’s schema along
these lines. I have also implemented a bibtex mode for
latexml that will parse a *.bib file before conversion.
In the meantime, I have also adapted amsrefs to use the
new schema, and leverage the bibtex code.

Currently, the MakeBibliography postprocessing module uses
a built-in fixed format. A future enhancement (but probably
only if people bug me about it) would be to implement a
CiteProc interpretter, so that the bibliography would be
formatted according to a Citation Style Language (CSL) file.

from latexml.

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.