• Stars
    star
    120
  • Rank 295,983 (Top 6 %)
  • Language
    TeX
  • Created almost 14 years ago
  • Updated about 8 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Default support files for generating LaTeX documents with MMD 3 through MMD 5

Title: LaTeX support files for peg-multimarkdown

Introduction

peg-multimarkdown is a program to convert plain text into HTML or LaTeX. This project includes some default template files that can be used to create certain types of documents using LaTeX.

You are not limited to using these classes or templates. You can create your own template files, or just embed your LaTeX commands within comments in your MultiMarkdown document itself. If you find yourself creating similar documents over and over again, however, you may be better off creating a few templates you can simply call with the LaTeX Input metadata fields in MultiMarkdown.

These files were designed to handle some of the common metadata fields in a consistent way, an to implement some defaults that should prevent errors if you leave out important metadata (substituting Title, Author, etc).

Installation

These files need to go in your texmf folder, wherever that may be.

With MacTeX on Mac OS X:

~/Library/texmf/tex/latex/mmd

On most *nix accounts, you can use:

~/texmf/tex/latex/mmd

I don't remember off the top of my head where your texmf folder belongs in Windows.

Default Metadata Types

Several MultiMarkdown metadata keys are used in these files, and are fairly self-explanatory:

  • Title --- Specify the title of the document

  • Author --- Specify the author of the document

  • Date --- Specify a date

  • Base Header Level --- Specify the maximum organizational level for the document (e.g. part, chapter, section, subsection). You need to choose a value for this that fits with the way you organized your document.

Metadata is used in order, so the order and placement of the LaTeX Input metadata fields is important.

Article

To create a document using the memoir article class, you need the following basic metadata:

latex input:		mmd-article-header
Title:				Whatever Title You Like 
Base Header Level:	2  
LaTeX Mode:			memoir  
latex input:		mmd-article-begin-doc
latex footer:		mmd-memoir-footer

Beamer

To create a pdf slideshow presentation using beamer:

latex input:		mmd-beamer-header  
Title:				Your Title  
Subtitle:			Some optional subtitle 
Author:				Your Name  
Affiliation:		Your institution, web site, whatever
base header level:	3
LaTeX Mode:			beamer  
Theme:				keynote-gradient  
latex input:		mmd-beamer-begin-doc  
latex footer:		mmd-beamer-footer  

There are several beamer themes included that are derived from various keynote themes --- keynote-gradient, keynote-vintage, keynote-portfolio. I tweaked these themes to work with MultiMarkdown, but they were originally created by others (see the source files for details).

The header levels are set so that h1 is a part, h2 is a section, h3 is a slide, and h4 is used to designate text that will print in a handout, but not in the actual slideshow.

Letterhead

To create a letter on customized letterhead using MultiMarkdown:

latex input:		mmd-letterhead-header  
Title:				Test Letter  
Author:				John Doe  
email:				[email protected]  
address:			123 Main St.  
					Some City, ST  12345  
recipient:			Some Person  
Recipient Address:	321 Main St  
					Some City, ST  54321  
phone:				(555) 555-5555  
Date:				December 15, 2007  
latex xslt:			custom-letterhead.xslt  
black and white:	true  
base header level:	2  
latex mode:			memoir  
latex footer:		mmd-letterhead-footer  
latex input:		mmd-letterhead-begin-doc  

If you want to create an envelope using the same document, simply change the last line of the metadata:

latex input:		mmd-envelope-begin-doc

Memoir

To create a "book" using memoir:

latex input:		mmd-memoir-header
Title:				Your Title
Base Header Level:	2
LaTeX Mode:			memoir  
latex input:		mmd-memoir-begin-doc
latex footer:		mmd-memoir-footer

Header levels are: h1 part, h2 chapter, h3 section, h4 subsection, h5 subsubsection, and h6 paragraph.

More Repositories

1

MultiMarkdown

Expanded perl version of John Gruber's original Markdown --- No longer under active development since MMD 3
Perl
1,065
star
2

MultiMarkdown-6

Lightweight markup processor to produce HTML, LaTeX, and more.
C
616
star
3

MultiMarkdown-4

This project is now deprecated. Please use MultiMarkdown-6 instead!
C
306
star
4

MultiMarkdown-5

Reference implementation of MultiMarkdown; replaces MultiMarkdown v4 (deprecated -- see MMD-6 instead)
C
293
star
5

MultiMarkdown-Gallery

A collection of example MMD files demonstrating different features
TeX
118
star
6

MMD-QuickLook

Improved QuickLook generator for MultiMarkdown files (FYI, the closed-source version from http://multimarkdown.com/ is better and also free.)
C
96
star
7

MultiMarkdown-CMS

Package to assist with publishing a web site using MMD and a few perl scripts
Perl
95
star
8

Markdown.ooxsl

Markdown export plugin for OmniOutliner
XSLT
87
star
9

c-template

Boilerplate to set up a c project, include CuTest unit testing, cmake build setup
C
78
star
10

c-sss

Implementation of Shamir's Secret Sharing in C
C
63
star
11

SimplenoteSync

perl routine to sync folder of text files with your notes on Simplenote
Perl
58
star
12

MMD-Support

Various utility files to expand the features of MultiMarkdown 3.0
XML
40
star
13

MultiMarkdown-6-Syntax-Guide

Quick syntax guide for MultiMarkdown v6 -- click the link to the right!
HTML
36
star
14

MMD-Edit

Syntax-highlighting text editor for MultiMarkdown, based on work by Ali Rantakari
Objective-C
33
star
15

MMD-Test-Suite

Set of test documents to verify that MMD 4 is working properly
HTML
28
star
16

MMD-ePub

Now deprecated -- MMD v6 has better (and easier) support for exporting EPUB v3
XSLT
20
star
17

magnum

C implementation of Mustache "logic-less templates" (http://mustache.github.io/)
C
14
star
18

tdp

Convert tabular data (CSV, TSV) into JSON
C
10
star
19

MMD-Users-Guide

Source documents for the MultiMarkdown User's Guide (v2.0 aka Perl version)
8
star
20

MMD-6-QuickLook

macOS QuickLook Generator using MMD v6
C
8
star
21

MultiMarkdown-Composer-Themes

Themes for MultiMarkdown Composer v 3 (They should basically work on v 2 as well.)
8
star
22

html-email-builder

Workflow to build responsive HTML email via MultiMarkdown (and optionally upload to sendinblue.com)
CSS
5
star
23

MMD-Composer-2-Wiki

Wiki to generate User's Guide for MultiMarkdown Composer 2.0
4
star
24

c-boilermaker

Boilerplate C project template using CMake, CuTest and more, to simplify creating new projects. Successor to my older c-template boilerplate.
C
3
star
25

vagrant-mmd-cms

Configuration file for Vagrant to generate virtual server for MultiMarkdown-CMS hosted web site
Shell
3
star
26

MMD-Composer-4-Expansions

Example text expansions for Pro version of MultiMarkdown Composer 4
2
star
27

ios-cmake

Automatically exported from code.google.com/p/ios-cmake
CMake
2
star
28

Composer-5-Support-Files

Themes compatible with MultiMarkdown Composer 5 and nvUltra
CSS
2
star
29

Composer-Localization

String files for localizing the MultiMarkdown Composer application
1
star
30

core-utilities

Central repository for a few core libraries I reuse across many of my projects
C
1
star
31

text-parser-template

Boilerplate text parsing example using re2c lexer and lemon parser.
C
1
star
32

cmake-test-app

Objective-C
1
star
33

FTPLibFuzzer

Configuration files to build a vagrant machine with development tools for fuzz testing my software
C
1
star
34

c-title-case

C implementation of John Gruber's title case Perl script
C
1
star