Compiling Latex with MMD

Today i tried out to create a Latex-Version with help from MultiMarkdown.

I followed that instruction: http://timbrandes.com/blog/2012/02/28/howto-write-your-thesis-in-latex-using-scrivener-2-multimarkdown-3-and-bibdesk/

I have done all steps on my Linux (Ubuntu) Distro. If i’m filled the Metadata and i’m clicking on Compile i have to set the Encoding and the target folder.
Now starts the compiling Process and it breaks. A info window says: “Could not convert. Unknown Error”.

Exists any way to debug this? Maybe anyone knows the command which uses Scrievener by the compiling action?

Using Scrievener: 1.9.0.1

There is a problem with the pre-compiled ubuntu version of peg-multimarkdown, which has a bug in the LaTeX producing code. In order for LaTeX output to work you will have to compile it yourself. See my how-to post:

[url]https://forum.literatureandlatte.com/t/ubuntu-15-04-multi-markdown-binary-will-not-output-tex-file/31580/1]

Thanks. Do you have seen that error too?

sascha@sascha-desktop:~/repos/git/github-peg-multimarkdown$ make CC=gcc make -C peg-0.1.9 make[1]: Entering directory '/home/sascha/repos/git/github-peg-multimarkdown/peg-0.1.9' gcc -g -Wall -O3 -DNDEBUG -c -o peg.o peg.c In file included from peg.c:48:0: peg.peg-c: In function ‘yy_Sequence’: peg.peg-c:791:3: warning: label ‘l77’ defined but not used [-Wunused-label] l77:; ctx->pos= yypos0; ctx->thunkpos= yythunkpos0; ^ In file included from peg.c:48:0: peg.c: At top level: peg.peg-c:226:16: warning: ‘yyPush’ defined but not used [-Wunused-function] YY_LOCAL(void) yyPush(yycontext *ctx, char *text, int count) { ctx->val += count; } ^ peg.peg-c:227:16: warning: ‘yyPop’ defined but not used [-Wunused-function] YY_LOCAL(void) yyPop(yycontext *ctx, char *text, int count) { ctx->val -= count; } ^ peg.peg-c:228:16: warning: ‘yySet’ defined but not used [-Wunused-function] YY_LOCAL(void) yySet(yycontext *ctx, char *text, int count) { ctx->val[count]= ctx->yy; } ^ gcc -g -Wall -O3 -DNDEBUG -c -o tree.o tree.c gcc -g -Wall -O3 -DNDEBUG -c -o compile.o compile.c gcc -g -Wall -O3 -DNDEBUG -o peg-new peg.o tree.o compile.o mv peg-new peg ./leg -o leg.c leg.leg make[1]: ./leg: Befehl nicht gefunden Makefile:39: recipe for target 'leg.c' failed make[1]: *** [leg.c] Error 127 make[1]: Leaving directory '/home/sascha/repos/git/github-peg-multimarkdown/peg-0.1.9' Makefile:50: recipe for target 'peg-0.1.9/leg' failed make: *** [peg-0.1.9/leg] Error 2

I asked Fletcher about the issue. peg-multimarkdown aren’t supported anymore. So he propoosed to use MMD5.
I published there some informations about how to get it working on my machine: https://saigkill.github.io/scrivener/2016/02/28/Fixing-MultiMarkdown-for-Ubuntu/

Thanks for your helping :slight_smile: