My notes on how to customize LaTeX

lv
lvnilesh
Posts: 13
Joined: Thu Dec 17, 2015 12:06 am
Platform: Mac, Win + Linux

Fri Dec 25, 2015 9:29 pm Post

Step 1. Fork this https://github.com/fletcher/peg-multima ... ex-support

Step 2. Go to your fork and grab URL for your fork.

like mine is this --> git@github.com:beacloudgenius/peg-multimarkdown-latex-support.git

Step 3: Run these in terminal

Code: Select all

mkdir -p ~/Library/texmf/tex/latex
cd ~/Library/texmf/tex/latex
git clone git@github.com:beacloudgenius/peg-multimarkdown-latex-support.git ./mmd


Edit the contents of ~/Library/texmf/tex/latex/mmd as and when needed and optionally push your changes back to your github.

Now Scrivener will automatically pick up your customizations.

mn
mnott
Posts: 32
Joined: Fri Nov 18, 2016 1:12 pm
Platform: Mac + Linux

Wed Nov 23, 2016 4:05 pm Post

Interesting. Out of interest, why not put all LaTeX code just inside the assets of Scrivener, and have it there? Then add some custom parsing to it, and be quite flexible with whatever it is that you want to achieve. Somehow like so: http://github.com/mnott/texdown