timtylin / scholdoc

Fork of Pandoc for the implementation of a ScholarlyMarkdown parser
scholdoc.scholarlymarkdown.com
GNU General Public License v2.0
335 stars 16 forks source link

Scholdoc behaves almost like pandoc on Windows #17

Open mschroen opened 9 years ago

mschroen commented 9 years ago

The title might suggest that the well-intended pandoc-like feature works. But I mean it differently: When calling scholdoc on my ScholarlyMarkdown files to create .html, for instance, it looks almost exactly like the result which pandoc would have produced....

However, somehow scholdoc seems to be alive, because the class names of the html tags have scholdoc prefixes. I have downloaded and tested the Scholdoc example Dolphin Capture, and it does not work at all, make html produces a html file without the scholdoc features expected.

Is this behaviour a bug? Is it Windows/Cygwin specific? What could go wrong? I am using the latest stable binary for Windows.

timtylin commented 9 years ago

@mschroen Thanks for reporting this. Can you try executing Scholdoc by calling scholdoc instead of scholdoc.exe? I have a hunch that may be the problem.

I'm in the middle of merging the latest Pandoc trunk into Scholdoc right now, which would also let me setup a comprehensive test suite for the Windows build like how Pandoc does it now. I'll test this again when that's done. Sorry for not considering a 0.0.1 patch, it's mostly due to limited time on my part.

mschroen commented 8 years ago

Hi timtylin, unfortunately with or without extension or with or without the full path does not change anything. For example, still ~~~math #eq:logit_pi converts to \textsubscript{\textasciitilde{}}math \#eq:logit\_pi

mschroen commented 8 years ago

timtylin, could you please provide a Windows binary for scholdoc 0.1.4 ? The latest binary is from 0.1.3-alpha, maybe the problem is resolved already. Building scholdoc with Haskell is not possible for me, because cabal install misses the dependecy directory-1.2.4.0, which in turn fails to build due to some issues in C_utimensat.hsc ...

johnlb commented 8 years ago

FYI, I'm having this same problem. Windows 10, Scholdoc 0.1.3-alpha (installed from binaries). I do run pandoc as well.