[OS X TeX] Using TeXShop as a markdown editor

Richard Koch koch at math.uoregon.edu
Fri Aug 5 15:04:47 EDT 2011


Axel,

Read

	TeXShop Help --> TeXShop Help Panel --> Advanced Help --> Opening Other Files with TeXShop

Dick Koch

On Aug 5, 2011, at 11:53 AM, Axel Kielhorn wrote:

> Hi!
> 
> I have been experimenting with pandoc recently.
> 
> pandoc takes an input file (usually markdown) and writes an output file (latex, epub, ...)
> There is a shortcut to create pdf from markdown via latex called markdown2pdf.
> 
> I wrote an engine file to call markdown2pdf and open the resulting pdf in TeXShop:
> 
> #!/bin/tcsh
> 
> set path= ($path /usr/texbin /usr/local/bin $HOME/.cabal/bin)
> markdown2pdf "$1"
> 
> The only problem is that TeXShop does not accept .md as something it can run an engine on.
> 
> Of course I can use the .tex extension, but this will not work when I use the long way:
> md -> tex -> pdf.
> 
> From the engine folder I see that this is possible with asymptote and lilypond.
> Is there a way to support markdown as well?
> 
> Regards
> Axel
> 
> 
> ----------- Please Consult the Following Before Posting -----------
> TeX FAQ: http://www.tex.ac.uk/faq
> List Reminders and Etiquette: http://email.esm.psu.edu/mac-tex/
> List Archive: http://tug.org/pipermail/macostex-archives/
> TeX on Mac OS X Website: http://mactex-wiki.tug.org/
> List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex
> 




More information about the MacOSX-TeX mailing list