GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - SimGus/lmdCompiler: A markdown-to-LaTeX converter

BranchesTags
Open more actions menu

Latest commit

 

History

53 Commits
53 Commits

Folders and files

NameName
Last commit message
Last commit date
Files
Files
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
Makefile.old
Makefile.old
 
 
README.md
README.md
 
 
compiler.c
compiler.c
 
 
compiler.h
compiler.h
 
 
error.h
error.h
 
 
files.c
files.c
 
 
files.h
files.h
 
 
main.c
main.c
 
 
makefile
makefile
 
 
pile.c
pile.c
 
 
pile.h
pile.h
 
 
preamble.c
preamble.c
 
 
preamble.h
preamble.h
 
 
texToPdf.c
texToPdf.c
 
 
texToPdf.h
texToPdf.h
 
 
usefulFunctions.c
usefulFunctions.c
 
 
usefulFunctions.h
usefulFunctions.h
 
 

Repository files navigation

LMD (LaTeX-Markdown) Compiler

All the people who have used LaTeX know it can be cumbersome and long to write; similarly, everyone who's used markdown knows that it is very easy to read and fast to type. The objective of this project was to transform files formatted in markdown into LaTeX files (and then possibly run pdflatex to get a pdf).

To be exact, the name of this repo should rather be lmdConverter than lmdCompiler.

Note that transforming markdown files into pdf files has already been done by other people, as well as interpreting markdown within LaTeX documents. The point here was not however to have a final pdf or to use markdown inside LaTeX files but rather to have a way to quickly create a LaTeX file with some content. This file could then be used as the basis for some documents that would need more advanced LaTeX features. In other words, this project allows to quickly create the skeleton of a LaTeX file to be filled with more content later on.

Languages used:

  • C
  • makefile (to automate compilation and installation)

Collaborators

This is a personal project I worked on alone.

What I learned

  • Open and read files in C, and more generally deal with character arrays in C
  • Automate an installation process

Files worth checking out

  • Main code of the converter: compiler.c
  • A very simple implementation of a linked stack: pile.c
  • Entry point of the program, which interprets the arguments and runs the rest of the code: main.c

Compilation and execution

Compile the project:

make exe

Install (if you want to use it without needing to be in this directory, and if you're using Linux):

make install

Run the project:

./lmd [<options>] <path-to-markdown-file>

Simply run ./lmd to have the list of options printed.

About

A markdown-to-LaTeX converter

Resources

Readme
GPL-3.0 license
Activity

Stars

1 star

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.