Archive for December, 2011

Updates to Booki

Posted in Booktype on December 31st, 2011 by adam – 2 Comments

There are a few updates to Booki that you may be interested in :

  • We had a serious problem where you could accidentally delete a book if you were deleting chapter statuses. Opppsss. This has been fixed now.
  •  “django-admin bookrename” (terminal admin command) now rewrites attachment path correctly.
  • Everyone has access to “Attachments” tab now, but only administrator can delete attachments at the moment.
  • Show human readable error message when you have more then one chapter with the same name. There is not much help with this at the moment, Booki administrator should remove or rename one of the chapters to fix any duplicates.
  • Now you can directly link to chapter editor or any other tab in editor interface. For instance: –
    http://www.booki.cc/my_book/_edit/#/edit/my_chapter/
    (links to a chapter)
    http://www.booki.cc/my_book/_edit/#/settings/ (links to the settings tab)
    http://www.booki.cc/my_booki/_edt/#/history/ (links to the history tab)
  • You can’t leave editor by accident anymore. A pop-up window will ask for confirmation. Yes…Yes…Finally!
  • Default Django slugify function does not know how to work with non ASCII characters. This was a major problem with Asian scripts, Russian and some other languages… This has been fixed now. At the moment we have dependencies that could not handle pure Unicode names, so we are just converting it to ASCII characters… For instance “Добрый день” will become “dobryi-den” and etc.
  • Booki Editor is now fully localized.
  • You can upload PDF book to Lulu.com from “Export” tab.
  • Boxes are rounded and have gradient background if you are using Chrome or Safari
  • Some other small bug fixes….

(fwded from Aco)

FLOSS Manuals and Sourcefabric combine forces

Posted in Booktype on December 30th, 2011 by adam – Comments Off

The open source not-for-profit organisations FLOSS Manuals Foundation and Sourcefabric are pleased to announce their newly forged partnership to maintain and develop the code base behind FLOSS Manuals’ successful free software documentation platform.

Said Adam Hyde of FLOSS Manuals: “We’ve been actively looking for partners to help achieve our mission. As FM goes from strength to strength, we’re happy to partner with an organisation that has the track record of Sourcefabric in order to allow our platform to grow even further.”

FLOSS Manuals’ open source platform is designed to help people produce books on free software, by themselves or working collaboratively with others. Users can create books, work on the content, and then export content in minutes as book-formatted PDFs or EPUBs.

Recent features have enabled users to keep track of the activity of everyone working on their project, chat with them in real time, and post Twitter-like status messages. All books are released under the GNU General Public License, meaning content can be reused and remixed by other books and authors, by simply cloning books or importing chapters.

“In partnering with FLOSS Manuals, we will contribute resources to developing the platform and will help apply this highly successful model to other fields,” said Sava Tatić, managing director at Sourcefabric. “Mainstream publishing, journalism and education sectors are all looking for new ways to author, edit and distribute books. FLOSS Manuals has shown it can be done successfully with a platform that is free, open source and highly collaborative.”

About Sourcefabric

The Czech-based Sourcefabric produces open source tools for media organisations including Airtime, Newscoop, and Superdesk. They have previously funded new features for the FLOSS Manuals platform and host all their software documentation on the site in English, Spanish and Russian. Since launching in April 2010, Sourcefabric has won a Knight-Batten Award and was a finalist in the Ashoka Changemakers Citizen Media Innovation Contest.

The Sourcefabric team used Floss Manuals to write the Newscoop Cookbook.

About the FLOSS Manuals Foundation

The FLOSS Manuals Foundation fosters the growing FLOSS Manuals language communities with over 3,000 registered members who have produced books on tools like Firefox and WordPress and titles such as How to Bypass Internet Censorship. Through its work on the documentation software as well as facilitating Book Sprints and Documentation Sprints, FLOSS Manuals Foundation works to support the production of Free Manuals for Free Software.

For more information, contact Camille E. Acey at Floss Manuals.

Innovative use of Booki CSS

Posted in CSS & Books on December 5th, 2011 by adam – Comments Off

So last week we finished the Freedom Fone Book Sprint. Olaf, Laleh and Lynne were there working on design and tech implementation of design. Working together they pushed the current booki css a bit further to do some cool stuff. you can see the results here:

http://objavi.booki.cc/books/freedomfone-en-2011.12.05-10.50.21.pdf

note the use of images for section breaks.

Section 1 header for Freedom Fone book. Achieved with CSS.

This can be achieved by css like this:

#section-1 .objavi-subsection-heading{
 background:#fff  url(http://www.freedomfone.org/booki/images/01_whatisff.png) no-repeat  center center;
}

the entire css is included below for your hackery resuse and inspiration

@font-face{
 src: url("http://www.freedomfone.org/booki/AllumiPtf-Bold.otf");
 font-family:AllumiPtf;
}
body {
 font-family: "fontin sans";
 background: #fff;
 color: #000;
 font-size:12pt;
} 

.objavi-chapter{
 color: #000;
 display:none;
} 

a {
 text-decoration:none;
 color:#000;
} 

h1 .initial{
 color: #000;
 display:none;
} 

ol#InsertNote_NoteList{
page-break-before:always;
font-size:8pt;
} 

.objavi-subsection{
 display: block;
 page-break-before: always;
} 

body .objavi-subsection:first-child{
 page-break-before: avoid;
} 

.objavi-subsection .initial {
 color: #000;
 display:none;
} 

.objavi-subsection-heading {
 font-size: 20pt;
 text-align: center;
 line-height: 300px;
 font-weight: normal;
} 

h1 {
 page-break-before: always;
 font-weight:normal;
 margin-top:10px
} 

h2 {
 margin-bottom:-10pt;
 font-weight:normal;
 font-size:15pt;
} 

h3 {
 margin-bottom:-10pt;
 font-weight:normal;
 font-size:12pt;
 font-style:italic;
} 

table {
 float: none;
} 

h1.frontpage{
 page-break-after:always;
 margin-top:70%;
 font-size: 20pt;
 text-align: center;
 page-break-before: avoid;
 max-width: 700pt;
 font-weight: normal;
} 

div.copyright{
 padding: 1em;
}
/* TOC ******************************/
table {
 float: none;
} 

table.toc {
 font-size: 1.1em;
 width: 95%;
} 

table.toc td{
 vertical-align:top
 padding-left: 0.5em;
} 

td.chapter {
 padding: 0 0.5em;
 text-align: right;
} 

table.toc td.pagenumber {
 text-align: right;
 vertical-align:bottom;
} 

td.section {
 padding-top: 1.1em;
 font-weight: bold;
}
/* End TOC **************************/ 

p, ul, ol {
 page-break-inside: avoid;
} 

pre, code, tt {
} 

pre {
 max-width:700px;
 overflow: hidden;
} 

img {
 max-width: 500px;
 height: auto;
} 

.objavi-no-page-break {
 page-break-inside: avoid;
} 

.unseen{
 z-index: -66;
 margin-left: -1000pt;
} 

body{
 font-size:12pt;
 color:#000;
 font-family:"Fontin Sans";
 line-height:16pt;
}
sup{
 vertical-align:text-top;
 font-size:0.7em;
}
a{
 color:#000 !important;
 text-decoration:none
} 

h1, h2, h3{
 color:#666;
 margin:0;
 padding:0;
 font-weight:normal !important;
 text-decoration:none !important;
 line-height:normal;
 font-family:AllumiPtf !important;
 text-transform:uppercase; 

}
h1{
 font-size:24.3pt;
}
h1+p{
 padding-top:20pt;
 margin-top:0;
}
h2{
 font-size:14pt;
 padding-top:20pt;
}
h2+p{
 padding-top:10pt;
}
h3{
 font-size:9pt;
 padding-bottom:5pt;
}
h3+p{
 margin-top:0;
}
p+h3{
 padding-top:10pt;
}
ul{
 list-style-image:url(http://www.freedomfone.org/booki/images/bullet.png);
 list-style-position:outside;
 margin-left:-25px;
}
ol{
 margin-left:-25px;
}
li{
 padding-left:5.5mm;
}
.starred{
 padding-left:50px;
 background-image:url(http://www.freedomfone.org/booki/images/star.png);
 background-repeat:no-repeat;
 background-position:center left;
 font-weight:bold;
 min-height:40px;
}
.speechBox{
 padding:5mm;
 padding-top:0;
 background:#ebebeb  url(http://www.freedomfone.org/booki/images/boxBottom.png) no-repeat  bottom right;
 padding-bottom:60px;
 margin-bottom:-55px;
}
.breakPage{
 page-break-before:always;
}
.speechBox:before{
 background:#ebebeb  url(http://www.freedomfone.org/booki/images/boxTop.png) no-repeat top left;
 height:44px;
 content:" ";
 display:block;
 margin:-5mm;
 margin-bottom:5mm;
}
.objavi-subsection-heading{
 height:860px;
 font-size:0px;
 display:block;
}
#section-1 .objavi-subsection-heading{
 background:#fff  url(http://www.freedomfone.org/booki/images/01_whatisff.png) no-repeat  center center;
}
#section-2 .objavi-subsection-heading{
 background:#fff  url(http://www.freedomfone.org/booki/images/02_realworld.png) no-repeat  center center;
}
#section-3 .objavi-subsection-heading{
 background:#fff  url(http://www.freedomfone.org/booki/images/03_scenarios.png) no-repeat  center center;
}
#section-4 .objavi-subsection-heading{
 background:#fff  url(http://www.freedomfone.org/booki/images/04_creatingservice.png)  no-repeat center center;
}
#section-5 .objavi-subsection-heading{
 background:#fff  url(http://www.freedomfone.org/booki/images/05_settingup.png) no-repeat  center center;
}
#section-6 .objavi-subsection-heading{
 background:#fff  url(http://www.freedomfone.org/booki/images/06_techstuff.png) no-repeat  center center;
}
#section-7 .objavi-subsection-heading{
 background:#fff  url(http://www.freedomfone.org/booki/images/07_gettinghelp.png)  no-repeat center center;
}
#section-8 .objavi-subsection-heading{
 background:#fff  url(http://www.freedomfone.org/booki/images/08_troubleshooting.png)  no-repeat center center;
}
#section-9 .objavi-subsection-heading{
 background:#fff  url(http://www.freedomfone.org/booki/images/09_appendices.png) no-repeat  center center;
}
#section-10 .objavi-subsection-heading{
 background:#fff  url(http://www.freedomfone.org/booki/images/10_notes.png) no-repeat  center center;
}
.page{
 font-size:15pt;
 color:#666;
 font-weight:bold; 

}