[FM Discuss] {Disarmed} Re: Problems publishing Freedom Fone book

Bren bren at kubatana.net
Mon Mar 26 01:15:25 PDT 2012


hi adam

we are trying to print an A5 version of the Freedom Fone book with the 
CSS below. Also attached.

thanks
bren

@font-face{
     src: url("http://www.freedomfone.org/booki/AllumiPtf-Bold.otf");
     font-family:AllumiPtf;
}
body {
   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;
   page-break-before: right;
}

ol#InsertNote_NoteList{
font-size:8pt;
}

.objavi-subsection{
   display: block;
   page-break-before: right;
}
/*
body .objavi-subsection:first-child{
   page-break-before: right;
}
*/
.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
}



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, li {
   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:5pt;
     margin-bottom:-15px;
}

h4{
     font-size:12pt;
     font-weight:normal;
     font-style:italic;
     page-break-after:avoid;
     margin-bottom:-20px;

}

h2+h4{
     margin-top:25px;
}



h3{
     font-size:12pt;
}
h3+p{
     margin-top:0;
}
ol{
     margin-left:-25px;
}
li {
     
list-style-image:url(http://www.freedomfone.org/booki/images/bullet.png);
     list-style-position:outside;
     margin-left:-25px;
     padding-left:5.5mm;
}
ul ul li{
     padding-left:3.5mm !important;
     list-style-type:none circle;
     list-style-image:none !important;
     margin-left:-25px;
}

.starred{
     padding-left:50px;
     
background-image:url(http://www.freedomfone.org/booki/images/star.png) ! 
important;
     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;
}
.speechBox+h2{
     margin-bottom:50px;
     padding-top:20px;
}
.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;
}


On 25-Mar-12 11:47 AM, adam wrote:
> its working...im editing a book now...
>
> can you send me the full CSS for freedom fone and the size of the book 
> you are trying to make
>
>
> adam
>
>
>
> On 24/03/12 14:11, Bren wrote:
>> Hi Danial & Adam
>>
>> Oh dear, the Freedom Fone book won't even load in edit mode at
>> http://booki.flossmanuals.net/freedom-fone/_edit/ today. I can however
>> view the book in full mode at
>> http://booki.flossmanuals.net/freedom-fone/_full/
>>
>> Please let me know when you think we'll find a resolution to these
>> various (including Objavi) problems. The Lulu version of our book is
>> rather out of date now.
>>
>> Let me know if there is anything more I can do to help. Back in the
>> office on Monday.
>>
>> Thanks
>> Bren
>>
>> On 21-Mar-12 3:15 PM, Daniel James wrote:
>>> Hi Martin,
>>>
>>>> Could you try:
>>>>
>>>> img { width: 100%; }
>>>>
>>>> which should scale the image to the width of the parent container, 
>>>> minus padding.
>>> Thanks for the tip, but there is something broken in Objavi at the
>>> moment. I just tried publishing a completely different book:
>>>
>>> http://booki.flossmanuals.net/newscoop-4-cookbook-en-4-0/_edit/
>>>
>>> and I got the same results as Bren, the PDF didn't exist, e.g:
>>>
>>> http://objavi.booki.cc/books/newscoop4cookbooken40-en-2012.03.21-13.09.29.pdf 
>>>
>>>
>>> I tried various different paper sizes and a custom CSS file, it made no
>>> difference. One time, the progress bar just got stuck.
>>>
>>> Daniel
>>> _______________________________________________
>>> Discuss mailing list
>>> Discuss at lists.flossmanuals.net
>>> http://lists.flossmanuals.net/listinfo.cgi/discuss-flossmanuals.net
>>>


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.flossmanuals.net/pipermail/discuss-flossmanuals.net/attachments/20120326/942beca3/attachment.htm>
-------------- next part --------------
@font-face{
	src: url("http://www.freedomfone.org/booki/AllumiPtf-Bold.otf");
	font-family:AllumiPtf;
}
body {
  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;
  page-break-before: right;
}

ol#InsertNote_NoteList{
font-size:8pt;
}

.objavi-subsection{
  display: block;
  page-break-before: right;
}
/*
body .objavi-subsection:first-child{
  page-break-before: right;
}
*/
.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
}



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, li {
  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:5pt;
	margin-bottom:-15px;
}

h4{
	font-size:12pt;
	font-weight:normal;
	font-style:italic;
	page-break-after:avoid;
	margin-bottom:-20px;

}

h2+h4{
	margin-top:25px;
}



h3{
	font-size:12pt;
}
h3+p{
	margin-top:0;
}
ol{
	margin-left:-25px;
}
li {
	list-style-image:url(http://www.freedomfone.org/booki/images/bullet.png);
	list-style-position:outside;
	margin-left:-25px;
	padding-left:5.5mm;
}
ul ul li{
	padding-left:3.5mm !important;
	list-style-type:none circle;
	list-style-image:none !important;
	margin-left:-25px;
}

.starred{
	padding-left:50px;
	background-image:url(http://www.freedomfone.org/booki/images/star.png) ! important;
	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;
}
.speechBox+h2{
	margin-bottom:50px;
	padding-top:20px;
}
.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;
}


More information about the Discuss mailing list