(copied from
[[Help:Books/Feedback/Archives/2010/March#Bug:_It_is_not_possible_to_define_a_chapter_to_have_only_one_wikipage]]
since PediaPress bug tracker system still doesn't work:
[[Help:Books/Feedback/Archives/2010/November#Problem_with_login_at_code.pediapress_(continuation)]]
)
When we try to use the book functionality for creating PDF versions of wikibooks, it's likely that each chapter will be made of exactly one wikipage of the wikibook. For example, suppose we have this book:
- Sample book/Sample first chapter
- Sample book/Sample second chapter
So, when we try to create the PDF using this extension, there is no way to make a nice PDF because the current options are:
- To use this syntax:
:[[Sample book/Sample first chapter|Sample first chapter]]
:[[Sample book/Sample second chapter|Sample second chapter]]
or
- To use this syntax:
;Sample first chapter
:[[Sample book/Sample first chapter|Sample first chapter]]
;Sample first chapter
:[[Sample book/Sample second chapter|Sample second chapter]]
In both cases the resulting PDF isn't properly formated:
- In the first situation the chapter's names are formated as if they were subchapters, not as if they were chapters (and at Wikibooks the pages are usually chapters, so the titles should be centralized and with lines at top/bottom ) and "Sample second chapter" usually starts in the middle of a page (instead of at the top, because the previous page isn't filled with blank space)
2)The second case shows each title two times (one centralized and one left aligned). If this is the way to solve the formating of title and make each chapter to start in a new page, then it is needed some way to suppress the uggly repetition of the same title with two diferent formatings.
The extension would really produce better results for Wikibooks books if it could handle this cases properly.
Maybe the following syntax should work and give the expected results:
;[[Sample book/Sample first chapter|Sample first chapter]]
;[[Sample book/Sample second chapter|Sample second chapter]]
(this was my first try to fix the bug, but unfortunatelly it didn't work)
Version: unspecified
Severity: enhancement
URL: http://pt.wikibooks.org/w/index.php?title=Wikilivros:Livros/Otimiza%C3%A7%C3%A3o&diff=prev&oldid=160315
See Also:
http://web.archive.org/web/20110722071901/http://code.pediapress.com/wiki/ticket/705
http://web.archive.org/web/20090211065737/http://code.pediapress.com/wiki/ticket/355
http://web.archive.org/web/20100221073359/http://code.pediapress.com/wiki/ticket/684