comp.lang.ada
 help / color / mirror / Atom feed
From: Steve Johnson <steve@cunningsystems.com>
Subject: Re: Ada e-books
Date: Thu, 19 Nov 2015 17:33:06 -0800 (PST)
Date: 2015-11-19T17:33:06-08:00	[thread overview]
Message-ID: <19379fb7-78fa-4af3-a2a9-2bf5fc6bbca6@googlegroups.com> (raw)
In-Reply-To: <b0497861-2d1c-4ca0-9cb3-3fb4ddbba17e@googlegroups.com>

On Thursday, November 19, 2015 at 1:41:48 AM UTC-8, Serge Robyns wrote:
>
> I did indeed find the LRM e-book and this is why I've been asking for the 2012 AARM (I'll add 2A's to avoid confusion).  I'm interested in the annotated version in e-book format.
> [...]
> I've tried to generate the RTF from the sources but somehow I only generated the 95 version, not the 2012.

After significant trial and error and poking in the source files (*.MSM plus 03A.MSS which was the cause of the major failure to build from current manual source), I've found the following solution which worked for me.  It may or may not be more fuss than you're willing to put up with at this point.

You may have got the manual source and prebuilt windows tool from http://www.ada-auth.org/standards/ada12.html.  At least that's where I first found it.  Please note that the manual source linked there (ARM_SRC.zip) is much more current and incompatible with the latest prebuilt windows tool (2012-FRM.ZIP).  The simplest way around this issue (assuming that you're on a windows machine in the first place) is to get a previous snapshot, i.e. 2012-SRC.ZIP which should work (it did for me) with with 2012-FRM.ZIP tool.  Alternatives would include building the current tools from source or hacking/patching 03A.MSM to remove the items tripping up the original 2012 build tool.

The most convenient place to retrieve the snapshotted 2012-SRC.zip and 2012-FRM.zip files are at:
   http://www.ada-auth.org/arm-files/

Note that you will get the original version 0 output (i.e. Ada 95) if you don't specify a specific version and something other than "no-changes".  For Ada 2012, you want version 3.

So after creating an empty directory, unzipping both 2012-SRC.zip and 2012-RM.zip into it, and creating an "ouput" subdirectory, you should be able to execute the following commands from the command prompt to produce RTF versions of the ARM (RM.RTF) and AARM (AA.RTF) in the ./output/ subdirectory:

C:\Users\Steve\AARM>arm_form rm rtf new-only 3
C:\Users\Steve\AARM>arm_form aarm rtf new-only 3

With Calibre a simple Add books and then Convert books should get you reasonable epubs.  Of course there are a number of options in the conversion process and you have the option of editing the RTF files (Word or Open/LibreOffice, etc.) before importing if you want.  Additionally there are options inside the original RM.MSM and AARM.MSM files.  You may find that the defaults produce acceptable output.

-Steve


  parent reply	other threads:[~2015-11-20  1:33 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-17 22:55 Ada e-books Serge Robyns
2015-11-17 23:01 ` Paul Rubin
2015-11-18  8:29   ` Serge Robyns
2015-11-18 12:14     ` Dirk Craeynest
2015-11-19  9:41       ` Serge Robyns
2015-11-19 18:19         ` Jeffrey R. Carter
2015-11-19 18:35           ` Simon Wright
2015-11-19 20:51             ` Jeffrey R. Carter
2015-11-19 21:29               ` J-P. Rosen
2015-11-19 22:10                 ` Jeffrey R. Carter
2015-11-19 21:50             ` Randy Brukardt
2015-11-19 22:10               ` Simon Wright
2015-11-19 22:17               ` Bob Duff
2015-11-20 21:12                 ` Randy Brukardt
2015-11-20 22:25                   ` Bob Duff
2015-11-22  3:27                     ` John Smith
2015-11-23  9:45                       ` Serge Robyns
2015-11-25 14:01             ` leif.roar
2015-11-25 17:03             ` Paul Rubin
2015-11-19 19:44           ` Serge Robyns
2015-11-20  1:33         ` Steve Johnson [this message]
2015-11-19  1:24     ` Steve Johnson
2015-11-19  9:27       ` Hadrien Grasland
2015-11-17 23:29 ` Jeffrey R. Carter
2015-11-18  3:12 ` David Botton
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox