Git Product home page Git Product logo

lawtex's Introduction

This repo was copied from https://sourceforge.net/projects/lawtex/ as a backup.

All credit goes to Christopher DeCoro: http://chrisdecoro.com/

---

LawTeX --- Automated Legal Citations in LaTeX

For documentation, consult lawtex-doc.pdf. If this file is unavailable, it can
be built using makedoc.sh. The files in this directory include:

bluebook.sty            Package file for citation macros
lawbrief.cls            Class file for (appellate) legal briefs
lawmemo.cls             Class file for simple memos
lawcitations.ist        Style file for ToAs, passed to makeindex
lawtex-doc.tex          Source for documentation
makedoc.sh              Used to extract and build documentation

For examples, see the sample directory, especially postal-tro-motion.tex and
hosanna-tabor.tex. To build all the samples, cd to the sample directory and run
'make'. 

One suggested installation process (courtesy of StackExchange user egreg,
http://tex.stackexchange.com/questions/160332/how-to-install-lawtex-on-mactex)
is to install all files in the local tree (/usr/local/share/texmf or similar),
with the following:

  sudo mkdir -p $(kpsewhich --var-value TEXMFLOCAL)/tex/latex/lawtex
  sudo mkdir -p $(kpsewhich --var-value TEXMFLOCAL)/makeindex/lawtex
  sudo mkdir -p $(kpsewhich --var-value TEXMFLOCAL)/doc/latex/lawtex

  sudo cp *.cls bluebook.sty $(kpsewhich --var-value TEXMFLOCAL)/tex/latex/lawtex
  sudo cp *.ist $(kpsewhich --var-value TEXMFLOCAL)/makeindex/lawtex
  sudo cp -R *doc* samples $(kpsewhich --var-value TEXMFLOCAL)/doc/latex/lawtex
  sudo mktexlsr

Note that this package makes use of the multind and xstring packages, and thus may require 
installation of texlive-latex-extra.

CHANGELOG:

2014-10-7: Primarily bug fixes.  
 * Change permissions on files to group- and world-readable, removed execute
 * Removes erroneous hidden text in samples/SupremeBrief.pdf
 * Makes party titles (plaintiff, defendant, etc.) in caption generated by lawbrief.cls right-aligned
 * Adds page style for parenthesized arabic numbers (\pagestyle{arabicparen})
 * Comma seperator for table of authorities now set in .ist file
 * Fixed bug where citations on last page were not added to ToA
 * Changed samples makefile to set env to find .cls and .sty files
 * Ensure that a ToA header doesn't appear as the last line on a page

2013-06-10: This version is significantly updated from previous releases, and
includes support for law-review style footnote citations, as well as additional
citation types (books, articles, etc.).


lawtex's People

Contributors

ipatrol avatar tdannecy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

lawtex's Issues

Please add to CTAN

Please add to CTAN, so this package can be made more easily available via TeXLive.

Love the package, by the way!

File `.bluebook-doc.tex' not found.

The instructions were not clear about how to create the .bluebook-doc.tex file. It was pointed out by a third party, that the file must be created in the console.

%NOTE: This file is self-documented, and when all lines marked with %% are pulled % out into their own file, they form a valid latex document. To make the docs: % cat bluebook.sty | sed -n 's/^\%\%\(.*\)/\1/p' > bluebook-doc.tex; pdflatex bluebook-doc.tex

After running the above code, the file bluebook-doc.tex was created, but when I try to compile lawtex-doc.tex, I am still getting the LaTeX Error: .bluebook-doc.tex not found

Table of Authorities sometimes fails to generate

I am using the following citations:

\citecase{Scarborough v. United States, 431 U.S. 563 (1977)}
\citecase{United States v. Morrison, 529 U.S. 598 (2000)}
\citecase{United States v. Lopez, 514 U.S. 549 (1995)}
\citecase{United States v. Stewart, 348 F.3d 1132 (9th Cir. 2003)}
\citecase{Caetano v. Massachusetts, 577 U.S. (2016)}
\citecase[Heller]{District of Columbia v. Heller, 554 U.S. 570 (2008)} 
\citecase{Payne v. Tennessee, 501 U.S. 808 (1991)}
\citecase{Smith v. Allwright, 321 U.S. 665 (1944)}
\citecase{Wickard v. Filburn, 317 U.S. 111 (1942)}
\citecase{Janus v. AFSCME, 585 U.S. (2018)}
\newstatute{18 U.S.C.} {}
\newarticle{Epstein}{Richard A. Epstein}{The Proper Scope of the Commerce Power}{73 VA. L. REV. (1987)}{1387}{}

and the margins:
\usepackage[left=2in,right=2in,top=1.5in,bottom=1.5in]{geometry}

When the table is generated, it produces the following: (Not all citations are used as of yet)
https://i.imgur.com/tt8LUY9.png

and if the margins are changed to the original, the following is produced:
\usepackage[margin=1in]{geometry}

https://i.imgur.com/NVygPjP.png

I am not sure why a few cases are being indented and others are not. I am also not sure why barely anything is printing when the margins are changed.

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.