Re: [NTLK] Newton Book Format

From: Steve Weyer (weyer_at_kagi.com)
Date: Wed Feb 27 2002 - 06:04:00 EST


> From: "BOURGUIGNON D DvSI/SNPI MTY" <didier.bourguignon_at_francetelecom.com>
> Date: Tue, 26 Feb 2002 11:05:27 +0100
>
> I have red last night the " Newton Format " book to start my little " PDF
> to NewtonBook " converter.

I'll be very surprised if it turns out to be "little" ;-), but good luck!
-- will this run on Newton or on a desktop?
[I assume you've already looked at existing converters for
PDF to Word, text or HTML?]

> In its document, there is a description of the Common Header (the "
> Package container Format " ) but not the description of the " Part Entry ",
> the specific part depending of the type of package.
>
> I know how to make the Header of my NewtonBook but not how to organize the
> data part (text and graphic) of the Digital Book.
>
> Where can I found this structures definitions ?

> I 'm starting to read the " Newton Programmer's Reference " , and the
> "Newton Programmers Guide 2.0 " but they are really Big and not in French
> (I'm a poor Froggy who try to understand ;-) ).
>
> So if someone can help me to gain time ...

it's formtype is "book"
the frame would contain the "Header" info that you've identified.
the data part is basically contained in the contents: slot;
the layout in pages: links to these pieces

the format for the internals of these slots is not documented.
best place to discover is by using ViewFrame and/or NTK Inspector.

(I don't think the package Format doc or general Programmer Reference will
help with book format itself)

-- 
Steve
  weyer_at_kagi.com
Newton apps/tools: Newt's Cape, newtVNC, NewtDevEnv, Sloup, Crypto,...
  http://www.kagi.com/weyer/

-- This is the Newtontalk mailinglist - http://www.newtontalk.net To unsubscribe or manage: visit the above link or mailto:newtontalk-request_at_newtontalk.net?Subject=unsubscribe



This archive was generated by hypermail 2.1.2 : Sat Mar 02 2002 - 10:03:56 EST