Coder Social home page Coder Social logo

crumpet's Introduction

Crumpet

Write papers in HTML

Implemented Features

  • Styles similar to LaTeX article class
  • Typographic features
    • small caps first line of paragraphs
    • dropcaps
    • blockquote styles with autoattribution based on cite attribute
    • .fancybox class for notes
    • styling for aside tags
  • Autonumber sections
    • e.g., 1.2 Introduction
  • Autonumber figures
    • e.g., automatically create Figure N.
  • Generate bibliography from Bibtex using Bibtex_JS (rudimentary styling)
  • Generate bibliography from Bibtex using Bib2JSON (more customization, incomplete support for entry types)
    • Automatically create id attributes in bibliography to enable internal citation links
  • Include MathJax for equation rendering, numbering, and \eqref processing
  • Include HighlightJS for syntax highlighting of code blocks
  • Print stylesheet
    • Separate body of text and title page (like LaTeX report class)

See it in action on the example document

Important Not-Implemented Features

  • Replicate the LaTeX/BibTex reference system
    • Generate bibliography entries in order cited, or alphabetically
  • Page headers/footers for print (document title, author, page number)
    • Browser does this but it looks ugly
  • Better page-break rules so that important elements like sidenotes aren't split across pages. Without actual floating elements, there's only so much that can be done here, though.

Other

  • Modularize styles into separate stylesheets, then @import them into master. This makes it easier to swap out fonts and things while leaving structural styling alone.

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.