Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Markstat having trouble creating slides.

    German Rodriguez I am using the excellent and very useful markstat. markstat works fine when I try to create an HTML or Word doc.

    Code:
    markstat using index.stmd, bundle // HTML
    
    markstat using index.stmd, docx // Word
    However, markstat produces the following error when I try to create slides:

    Code:
    markstat using index.stmd, slides(santiago+) bundle // slides
    
    Running Pandoc
    C:\Users\agrogan\AppData\Local\Pandoc\pandoc.exe
    file index.pdx not found
    I have searched Statalist for ideas, but am not finding a solution that seems to resolve the error. Any advice would be appreciated.

  • #2
    Hi Andy Grogan-Kaylor. The error message suggests that Pandoc had trouble processing the Markdown. Have you tried running the example on the website using deck.stmd? If that works, there may be an issue with your script, as slides use a few special conventions. Hard to tell without more information.

    You could run markstat again with the option keep(md) and then run Pandoc on the command line, try c:\Users\agrogan\AppData\Local\Pandoc\pandoc.exe index.md -t s5 -s -o index.html. To use the Santiago theme specify where the theme is stored by adding -V s5-url=c:/ado/plus/m/s5/santiago.

    Hope this will help.

    Comment


    • #3
      Hi Andy Grogan-Kaylor, check that -markstat- is pointed to the Pandoc executable, for example, whereis pandoc "C:\Program Files\Pandoc\pandoc.exe". Hope this helps!

      Comment


      • #4
        Thank you Emanuel Agu the problem did seem to resolve when I reinstalled pandoc, and now all formats render correctly!

        Comment

        Working...
        X