abcDiv2Svg - HELP
abcDiv2Svg makes standalone SVG's from abc2svg editor (© J.F. Moine)
Operating steps
- Start abc2svg abceditor (original)
or from kurs.schacherl.info
and load or write some abcfile
- Insert
%%fullsvg a
at the beginning of the abc code
- (Optional:)
If you use a special font and you want to have a standalone SVG, you can convert this font to base64
and use it in your ABC-code like this example: %%gchordfont url("...Your base64-converted font...")
or:
%%beginsvg
<style>
@font-face{
font-family: YourNewFontname;
src:url("...Your base64-converted font...")
}
</style>
%%endsvg
- Use development tools (F12) and navigate to:
<div id="right" ... >
- <div id="target" ... >
-
The included DIV's are the pages of your sheet music.
Each DIV contains one or more SVG's.
- Right click one of the DIV's and copy innerHTML
- Paste the copied text into the textarea of abcDiv2svg
- Choose pageformat 'A4' or 'minimal' (= necessary height)
- Click MAKE NEW SVG
The programm will try to make a standalone SVG by wrapping a single SVG around and setting y-positions
- If you want to download a standalone SVG, click DOWNLOAD SVG
- Before you paste another text, clear all with X