Code Monkey home page Code Monkey logo

supra's Introduction

Hi there πŸ‘‹

  • I'm a law professor at the University of Toledo College of Law.
  • My scholarship studies federal appellate jurisdiction, particularly if, when, and how litigants can appeal in federal court.
  • I'm currently working on Supra, a Pandoc wrapper for writing legal scholarship in Markdown.
  • I also blog about appellate jurisdiction and procedure at Final Decisions.

supra's People

Contributors

bryanlammon avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

supra's Issues

Same pincite in subsequent footnotes

If the same pincite is used in subsequent footnotes, the second one will use a pincite instead of just Id.

Input

Text.^[[@source1] at 1.]

Text.
Text.
Text.^[*See, e.g.*, [@source1] at 1; [@source2] at 2; [@source3] at 3.]

Output

Text.1

Text. Text. Text.2

n.1: Source1, 1 U.S. 1, 1 (2001).

n.2: See, e.g., id. at 1; Source2, 2 U.S. 2, 2 (2002); Source3, 3 U.S. 3 (2003).

Note 2 should start with "See, e.g., id.;".

Sources in parentheticals not rendered

Sources in parentheticals do not appear to be processed. For example:

[@AlliedAirFreight1968] at 444 (citing [@UnitedStatesWallace1949] at 794).

Renders only the first source, not the second:

Allied Air Freight, Inc. v. Pan Am. World Airways, Inc., 393 F.2d 441, 444 (2d Cir. 1968) (citing [@UnitedStatesWallace1949] at 794).

*Id.*s ending sentences have an extra punctuation

If (1)Β a citation is rendered as an Id. without a pincite and (2)Β the citation ends with a period, and extra period is rendered.

E.g.:

  • Input: *Compare* signal.^[Compare [@PlaintiffDefendant2000] at 1002, with [@PlaintiffDefendant2000] at 1002.]
  • Expected: *Compare* signal.^[Compare id. at 1002, with id.]
  • Result: *Compare* signal.^[Compare id. at 1002, with id..]

Error messages for footnote ends

There's an error message for when a footnote does not end with a closing bracket. But the same error is thrown thrown if the footnote ends with a citation that lacks any ending punctuation. The error message should be expanded to address both situations.

Error deserializing CSL JSON's Date Field

It looks like BetterBibTex's CSL JSON output is storing dates as either strings or integers. The deserializing code expects integers. So the deserializing code needs to account for both types.

*Id.*s with the same pincite

*Id.*s are using pincites even if the previous citation cited to the same page.

If an Id. has the same pincite as the prior cite, it should not render the pincite.

Pincites with commas

Pincites that include a comma (e.g., at 550, 551 n.12) are not supported.

This was done so that the lexer would capture citations that end with a comma. The thought was that these were more common than pincites with a comma.

But can the lexer capture both?

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.