Melodeon.net Forums

Please login or register.

Login with username, password and session length
Advanced search  

News:

Welcome to the new melodeon.net forum

Pages: [1]   Go Down

Author Topic: Print formatting in an ABC file  (Read 3881 times)

0 Members and 1 Guest are viewing this topic.

Andy Next Tune

  • aka Andy Wooles
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 1127
  • Melodeon with Accidentals? Make a PI Claim!!!
    • www.shavethedonkey.co.uk
Print formatting in an ABC file
« on: August 16, 2013, 07:43:10 PM »

I'm attempting to add a couple of pages of free text (set lists) to a short band tune book, and struggling to find any information on formatting the text.

I'm using ABC Explorer which supports %% print commands, and I've created a bare text page in the file header, ideas borrowed from someone else's tune book found online.

But now I'd like to format the text more e.g. Bold, italic. Perhaps indent some text?

Any ideas how to do it?

Alternatively is there a better way of getting printable text within an ABC archive?

Cheers, Andy
Logged
Andy, from the now ex-County Palatine of Cheshire

Caring for a European community of melodeons from France, Italy, Germany, Wales and Suffolk!

Stiamh

  • Old grey C#/D pest
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 3611
    • Packie Manus Byrne
Re: Print formatting in an ABC file
« Reply #1 on: August 16, 2013, 07:48:11 PM »

Andy Next Tune

  • aka Andy Wooles
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 1127
  • Melodeon with Accidentals? Make a PI Claim!!!
    • www.shavethedonkey.co.uk
Re: Print formatting in an ABC file
« Reply #2 on: August 16, 2013, 09:48:12 PM »

Thanks, Steve. I had found that site a little earlier this evening but was then completely confused about which of the myriad links might hide the golden nuggets I needed.
Logged
Andy, from the now ex-County Palatine of Cheshire

Caring for a European community of melodeons from France, Italy, Germany, Wales and Suffolk!

Anahata

  • This mind intentionally left blank
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 6767
  • Oakwood D/G, C/F Club, 1-rows in C,D,G
    • Treewind Music
Re: Print formatting in an ABC file
« Reply #3 on: August 16, 2013, 09:52:54 PM »

That documentation by Guido Gonzato is excellent and applies specifically to "ABC plus" implemented by abcm2ps. That suits me fine as I use abcm2ps for everything, but if you're not using abcm2ps you might need to be a little cautious about whether all those text formatting options are supported. I haven't checked on the differences between ABC+ and ABC 2.0.

If I was making a book with a lot of formatted text around the tunes, I'd use a DTP package or Word processor, and turn all the ABC tunes into graphic images.

Actually for my band book I printed the set index separately from a word processor document, and the tunes as a big ABC file. Does it have to be all in one document?

Thanks, Steve. I had found that site a little earlier this evening but was then completely confused about which of the myriad links might hide the golden nuggets I needed.

The first zip file listed on the linked page, http://abcplus.sourceforge.net/abcplus_en-2011-03-31.zip which contains a PDF. I printed and comb-bound mine (probably a much earlier version: it was a long time ago) and it's my ABC bible.

Logged
Слава Україні !
Music recording and web hosting: www.treewind.co.uk
Mary Humphreys and Anahata: www.maryanahata.co.uk
Ceilidh band: www.barleycoteband.co.uk

Andy Next Tune

  • aka Andy Wooles
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 1127
  • Melodeon with Accidentals? Make a PI Claim!!!
    • www.shavethedonkey.co.uk
Re: Print formatting in an ABC file
« Reply #4 on: August 16, 2013, 10:09:33 PM »

Thanks Anahata.

I was trying to keep everything together rather than producing indexes etc separately and merging the paper PDFs later. However if the document starts to grow and 'have a life' then that is probably the smart route forward.

And thanks for the pointer to the best download in that compendium for a general ABc reference.

Cheers, Andy
Logged
Andy, from the now ex-County Palatine of Cheshire

Caring for a European community of melodeons from France, Italy, Germany, Wales and Suffolk!

Stiamh

  • Old grey C#/D pest
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 3611
    • Packie Manus Byrne
Re: Print formatting in an ABC file
« Reply #5 on: August 16, 2013, 11:45:04 PM »

FWIW I maintain a tunebook with 120-odd pages for our ceili band not using an ABC app on my computer but the editor found here: http://music.gordfisch.net/oregans/miscellaneous/multieditor.php  (it's the old version of that site's editor and works better than the new one IMO).

I use many formatting commands learned from the guide linked to above, including footers, fonts, text placement, forced page breaks, section headings and so on and nearly everything  - with the exception of some margin settings IIRC - works perfectly.

Whenever I make changes, even small changes to one or two tunes, I run the entire abc file c/w formatting commands through the editor and it produces a perfect pdf file in seconds.

Edit: Like Anahata though I produce the table of contents and "front matter" separately, in a Word document which I save as a pdf and then merge with the file produced by the editor. No hassle at all really.
« Last Edit: August 17, 2013, 12:19:09 AM by Steve Jones »
Logged

Andy Next Tune

  • aka Andy Wooles
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 1127
  • Melodeon with Accidentals? Make a PI Claim!!!
    • www.shavethedonkey.co.uk
Re: Print formatting in an ABC file
« Reply #6 on: August 17, 2013, 02:21:21 PM »

Thanks Steve for your useful input.
THe ABC Plus PDF is very comprehensive and  I'll now take a look at that editor as well.

Cheers, Andy
Logged
Andy, from the now ex-County Palatine of Cheshire

Caring for a European community of melodeons from France, Italy, Germany, Wales and Suffolk!
Pages: [1]   Go Up
 


Melodeon.net - (c) Theo Gibb; Clive Williams 2010. The access and use of this website and forum featuring these terms and conditions constitutes your acceptance of these terms and conditions.
SimplePortal 2.3.5 © 2008-2012, SimplePortal