scholdoc icon indicating copy to clipboard operation
scholdoc copied to clipboard

Scholdoc behaves almost like pandoc on Windows

Open mschroen opened this issue 9 years ago • 4 comments

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....

  • the new ScholarlyMarkdown math blocks are interpreted as code and not math
  • blocks with three tildes are interpreted as strike-through text
  • no labels or referencing works
  • the standalone feature is NOT activated by default (requires explicit -s)
  • the mathjax feature is NOT activated by default (requires explicit --mathjax)
  • maybe more?

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.

mschroen avatar Aug 31 '15 22:08 mschroen

@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.

timtylin avatar Sep 15 '15 20:09 timtylin

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 avatar Oct 05 '15 08:10 mschroen

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 ...

mschroen avatar Oct 05 '15 09:10 mschroen

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

johnlb avatar Feb 19 '16 05:02 johnlb