Jump to content

My ABC Transcription Tools website


eskin

Recommended Posts

Posted (edited)

I've added a new feature to the ABC tool to allow you set the PDF quality and have some control over the PDF file size.

Just put this at the top of your ABC:

%pdfquality 0.5

and that will create a PDF about half the previous file size without sacrificing too much quality.

The default value is 0.75, which is lower than before, the previous default was 1.0.

Any new PDF files you create on the new version without overriding the default value will still be very high quality by default but a bit smaller in size than before.

Here's an example, you can paste this all into the tool to try:
 

%pdfquality 0.5

X: 1
T: The Blackwater
C: Matt Cranitch
R: polka
M: 2/4
L: 1/8
K: Dmaj
|:Fd Bd/B/|AF ED|A,B, DE|FE EF|
Ad Bd/B/|AF EF|DF A/B/A/F/|ED D>E:|
|:FA Bc|d2 Ad|fg/f/ ed|fe e2|
dc/d/ ed|BA FE|DF A/B/A/F/|ED D>E:| 



You can play around with the pdfquality value until you find the sweet spot for your use.

You'll need to refresh your browser and make sure you have the latest version.  If not, clear the cache and reload the page.


If you have the latest version and click "New ABC", you should see the pdfquality value listed in the list of optional headers.

 

Edited by eskin
Reformat
Link to comment
Share on other sites

  • 2 weeks later...
In my ABC Tools, I've added the ability to have the index page listings link to the tune pages if you add the following comment annotation at the top of the ABC:
 
%doindexpagelinks
 
There are some limitations.
 
First, this only works for tunebook index pages, not table of contents. It's not a perfect solution, but it's way better than nothing.
 
So, for example, if you put this at the top of your ABC collection in the editor, you'll get a title page, the tunes, then an index page with links back to the pages for each of the tunes:
 
%addtitle Session Tune Book
%addsubtitle My Tunes
%addindex Index of Tunes
%doindexpagelinks
 
I've tested it with several large tunebooks, both one tune per page, multiple tunes per page, and with text and notation incipits.
 
Please try the latest version of the tool, make sure you're loading the latest page by clearing cache, if you look at the page source for the main tool, you should see
 
<link href="app.css?v=288" media="all" rel="stylesheet" type="text/css">
near the top of the file. If you see v=286 or 287, force a page reload.
 
Hope this is useful to you!
 
Try my ABC Tools at:

 

Edited by eskin
Link to comment
Share on other sites

12 hours ago, eskin said:
In my ABC Tools, I've added the ability to have the index page listings link to the tune pages
...
this only works for tunebook index pages, not table of contents. It's not a perfect solution, but it's way better than nothing.
...
%addindex Table of Contents

Nice!

 

Later: Daft question about using the index page as a ToC deleted. It only works if the tunes are in the file in alphabetical order...

Edited by lachenal74693
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...