quarto-dev / quarto-cli

Open-source scientific and technical publishing system built on Pandoc.
https://quarto.org
Other
3.95k stars 326 forks source link

Add support for ABC notation #2700

Open cscheid opened 2 years ago

cscheid commented 2 years ago

(for other quarto devs: this is a side-project of mine anyway, so it's easy to make it official)

Discussed in https://github.com/quarto-dev/quarto-cli/discussions/2653

Originally posted by **slimhk45** September 28, 2022 There is already support for KaTeX in mathematics, it would be good as well to include support for ABC notation in music.
TS-CUBED commented 1 year ago

Is there any work going on with this? I don't really know JavaScript so may not be of much help, but if there's a GitHub repo I would like to five it a go.

cscheid commented 1 year ago

I truly don't have time to provide you with support for this, but you can see a minimal use of abcjs here if you follow through the links on the repo: https://github.com/cscheid/cscheid-quarto-website/blob/main/notes/music/transcriptions/yesterday.qmd

mcanouil commented 1 year ago

@cscheid I knew you did something about this but was completely unable to find it again in your GitHub. 😏

TS-CUBED commented 1 year ago

Cheers. I will have a look and see what I can make of it.

At the moment there seems to be a typescript issue:

WARNING: OJS block count mismatch. Line number reporting is likely to be wrong
ERROR: Compilation of typescript dependencies in ojs cell failed.
[
  "error: The source code is invalid, as it does not match the expected hash in the lock file.",
  "  Specifier: https://cdn.skypack.dev/d3",
  "  Lock file: /opt/quarto/share/conf/deno.lock",
  ""
]
error: The source code is invalid, as it does not match the expected hash in the lock file.
  Specifier: https://cdn.skypack.dev/d3
  Lock file: /opt/quarto/share/conf/deno.lock