0

I'm working on the website ShareLaTeX and I want to adapt the code giving by thruston in this link with the compiler PdfLaTeX instead of LuaLaTeX. I already tried to change the compiler in ShareLaTeX from PdfLaTeX to LuaLaTeX but it didn't work I guess it's due to other package I'm using in my memoir. This is my documant class :

\documentclass[headings=big,twoside,chapterprefix=true,fleqn]{scrreprt}

How can I adapt the code with PdfLaTeX ?

  • I see, I will try to realize my diagram with the forest package again. – Red One Apr 28 '18 at 18:50
  • 1
    @marmot that is essentially metapost so you (should) be able to extract the metapost code compile with metapost to get a pdf file and then include in to pdftex but I do not know any "automatic" packaged conversion (and I haven't used metapost this century so I don't think I'll attempt an answer:-) – David Carlisle Apr 28 '18 at 19:24
  • @DavidCarlisle, I created a new project in ShareLaTeX and I compiled the code (by thruston) with LuaLaTeX and I was able to download the pdf file, so I'll just put this file in my Memoir (screeprt document) thank you for the trick. – Red One Apr 28 '18 at 19:49
  • @RedOne oh that's easier/better than I suggested (which was to run metapost "by hand" you could post a self answer:-) – David Carlisle Apr 28 '18 at 19:50
2

A simple way to do this, is to create a new empty project in ShareLaTeX and copy the code of the diagramme given by thruston in it and then compile using LuaLaTeX instead of PdfLaTeX. After that I dowlonad the pdf file and put it in my principal document to get the result.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.