Jump to content

SBook: An EBook format


NELyon
 Share

Recommended Posts

Executable. Please PM me if you want the source that bad.

SBoox Compiled

Before I cause a ton of controversy about not releasing the script, I am holding it because it utilizes a few resources (Icons). It's cooler with Icons.

HOW TO MAKE AN SBook

I need to specify some things that will cause the SBook to look alot better.

For one, the same line that has the {newpage} delimiter should also be the line with the [para] paragraph marker. The first line of the paragraph should be on that line as wel.

Correct:

[para]Page one stuff here
{newpage}[para]Page 2 stuff

Incorrect (But slightly acceptable):

[para]Page one stuff here
{newpage}
[para] Page 2 stuff here

Totally wrong:

[para]Page one stuff here
{newpage}
[para]
Page 2 stuff here

It won't be unreadable, but it will lack indentation, causing reading to be much less desirable.

Also, don't put more than one paragraph marker on each line (Like so)

[para]First Paragraph[para]Second Paragraph

but rather like this:

[para] First Paragraph
[para]Second Paragraph

Got it :)?

Only executable because it contains a few icons. If you really want the source, PM me.

Edited by KentonBomb
Link to comment
Share on other sites

Groovy!! Have you done any testing with adding images in the individual books? That would be a great next step...

Thanks for sharing.. :)

Thanks for the comment.

The only way I can think of implementing that would be to embed a compressed version of the images binary data into the sbk file. This would cause the size to skyrocket though.

I want to keep the Sboox contained in a single file. Another alternative would be to just use Jpegs in the same directory, but that defeats the "Single File" thing :)

Link to comment
Share on other sites

You should add page formatting. Headers, speech.

I can't really. First two require a rich edit control, and the last one requires Microsoft Speech API. Neither of those I have access to in Wine.

Link to comment
Share on other sites

Minor update.

I need to specify some things that will cause the SBook to look alot better.

For one, the same line that has the {newpage} delimiter should also be the line with the [para] paragraph marker. The first line of the paragraph should be on that line as wel.

Correct:

[para]Page one stuff here
{newpage}[para]Page 2 stuff

Incorrect (But slightly acceptable):

[para]Page one stuff here
{newpage}
[para] Page 2 stuff here

Totally wrong:

[para]Page one stuff here
{newpage}
[para]
Page 2 stuff here

It won't be unreadable, but it will lack indentation, causing reading to be much less desirable.

Also, don't put more than one paragraph marker on each line (Like so)

[para]First Paragraph[para]Second Paragraph

but rather like this:

[para] First Paragraph
[para]Second Paragraph

Got it :)?

Here's the link:

SBoox Compiled

Only executable because it contains a few icons. If you really want the source, use the one on the first post (Just slightly outdated) Or PM me for the source+icons.

Edited by KentonBomb
Link to comment
Share on other sites

Update to v0.3 Beta.

What's included in the update:

A "View SBook Source" option, which allows you to view the SBook "raw" (With the {newpage} and the [para] markers)

Q&Q Please

PS: I know it's april fools day. I should have added something that like makes a screamer pop up at midnight or something. Oh well, don't want to recompile it :)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...