[FM Discuss] http://en.flossmanuals.net/bin/objavi producing 0kb pdf for CiviCRM
James Simmons
nicestep at gmail.com
Thu Sep 23 07:30:53 PDT 2010
Michael,
I don't know if the CiviCRM manual has formatted text, but if it does
and your are using the stylesheet I made be sure and check the <PRE>
tag stuff in the generated PDF before submitting it to a printer.
There is a good chance that some text will get truncated. Formatted
text does not wrap; it just gets chopped off.
You might want to look at page breaks too. My post shows one way to
improve them.
James Simmons
On Thu, Sep 23, 2010 at 7:15 AM, Michael McAndrew
<michaelmcandrew at thirdsectordesign.org> wrote:
> Hi all,
>
> Thanks for tips - Objavi II 'Just Worked', which made me v. happy!
>
> You guys have done a great job with this tool - the interface was v. simple
> to understand, the workflow, process was painless and it looks cool too :) -
> it was fun - congrats to all.
>
> I tried both CSSes and went with James with no tweaks. I did wonder if it
> would be better with an increased font size and wider column, but not having
> seen it in print I can't say. Anyway - am getting 50 copies like this and
> can then feed back.
>
> Michael
>
>
> On Thu, Sep 23, 2010 at 9:06 AM, adam <adam at xs4all.nl> wrote:
>>
>> hey
>>
>> so...you are using Gen 1 of Objavi which works great but is very touchy.
>> you have to give it a bit of love. Gen 2 - which we have prepared for
>> use with Booki but _also_ works with fm books
>> (http://objavi.floaamanuals.net) is a lot less touchy and pretty much
>> just spits out a book no matter what.
>>
>> the options open to you are:
>> 1. use objavi 2 and dev a new css
>> 2. trouble shoot with objavi 1
>>
>> looking at both options...here are some pointers (by the way I am glad
>> there are more and more people going directly to objavi than just me
>> these days...great to see it getting some use as these questions
>> attest)...
>>
>> Objavi 1
>> * if the html is not clean it will probably work but there are some
>> killers ...I will list the ones I remember here:
>>
>> - br in header 1 ie.
>> <h1>some title
>> <br>
>> </h1>
>>
>> - empty h1 tags ie.
>> <h1></h1>
>>
>> - list tags not closed properly
>>
>> - empty lists (I actually think these are probably not a problem but not
>> 100% sure)
>>
>> - images that are not on the server (ie. linked from other sites)
>>
>> - insane amounts of extraneous tags left over from copy + pasting from
>> wikipedia, word docs, odt files etc
>>
>> Those are the ones I remember.
>>
>> Trouble shooting tips:
>> * OPTION 1 view the whole manual using the syntax:
>> [lang].flossmanuals.net/bin/view/[manualname]/_all?skin=basic
>>
>> in your case:
>> http://en.flossmanuals.net/bin/view/CiviCRM/_all?skin=basic
>>
>> then look at the source and see if you can find these things and find
>> where they are then edit the chapters as necessary.
>>
>> * OPTION 2 open two indexes in two different browser tabs :
>> [lang].flossmanuals.net/bin/arrange/[manualname]
>>
>> ie
>> http://en.flossmanuals.net/bin/arrange/CiviCRM
>>
>> DO NOT alter one index - this is your original 'rollback'
>>
>> Section by section remove chapters from the index in the second tab and
>> save the index. try Objavi. Keep going until objavi works. when it works
>> you have probably found the section which contains the chapter with the
>> issue. Go back to the original index , save it. Refresh tab two so it
>> has the original index also. Go through the section and remove chapters
>> one by one, and saving and rendering as above until you find the
>> chapter. Go through the chapter and clean it up...save the original
>> index - render.
>>
>> * OPTION 3 publish the manual. go to the published version. download the
>> PDF. If you see empty index items in the TOC you have found empty h1
>> (and h2, h3) headings. Fix them...try Objavi...
>>
>>
>> ok...so...Objavi 2....
>> This will probably 'just work' except you need to dev the CSS as the
>> default is not very good. Look at the one james supplied here:
>> http://blog.booki.cc/
>>
>> in his post about Objavi and CSS...try that....then tweak as you like...
>>
>>
>> hope that helps...
>>
>> adam
>>
>>
>>
>>
>> On Wed, 2010-09-22 at 19:25 +0100, Michael McAndrew wrote:
>> > Hi there,
>> >
>> > http://en.flossmanuals.net/bin/objavi is producing a 0kb pdf of the
>> > CiviCRM manual. Can't remember the reasons why this happens but would
>> > be great to know how I can fix it is poss as I want to get a manual
>> > made up pretty soon, i.e. tonight :)
>> >
>> > I have a memory that this might be to do with something like empty div
>> > tags but fingers crossed that it isn't.
>> >
>> > otherwise, as a last resort - is it possible to download the pdf from
>> > lulu? i know we have a fine copy there. if so, can someone send me
>> > the lulu password for flossmanuals.
>> >
>> > thanks floss people :)
>> > Michael
>> >
>> > --
>> > Michael McAndrew
>> > 07817 802299 (mobile)
>> >
>> > Third Sector Design Ltd.
>> > http://thirdsectordesign.org
>> >
>> > For support, email support at thirdsectordesign.org
>> > _______________________________________________
>> > Discuss mailing list
>> > Discuss at lists.flossmanuals.net
>> > http://lists.flossmanuals.net/listinfo.cgi/discuss-flossmanuals.net
>>
>>
>> _______________________________________________
>> Discuss mailing list
>> Discuss at lists.flossmanuals.net
>> http://lists.flossmanuals.net/listinfo.cgi/discuss-flossmanuals.net
>
>
>
> --
> Michael McAndrew
> 07817 802299 (mobile)
>
> Third Sector Design Ltd.
> http://thirdsectordesign.org
>
> For support, email support at thirdsectordesign.org
>
> _______________________________________________
> Discuss mailing list
> Discuss at lists.flossmanuals.net
> http://lists.flossmanuals.net/listinfo.cgi/discuss-flossmanuals.net
>
>
More information about the Discuss
mailing list