quarto-dev / quarto-cli

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

Add support for ABC notation #2700

Open cscheid opened 1 year ago

cscheid commented 1 year 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 11 months 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 11 months 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 11 months ago

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

TS-CUBED commented 11 months 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