Documentation of Tiki (doc.tw.o) needs some help, as well as any other tiki site aiming to produce structured documentatation to be exported as "printer-ready" (.pdf, .odt, ...)
Easier solution: Get levels for first heading in each wiki page of the structure not from the content of the page.
Imagine that this page corresponded to "2.3.1 Module whatever" as the level in the table of contents of such structure.
The solution would be then that "!Title of page" (in that page "2.3.1 Module whatever"), when sent to (or fetched by) tiki-print_pages.php as a whole structure, was converted to "!!! Title of page"; and "!! Subtitle of page", should be converted to "!!!! Subtitle of page"..., and this way sequentially for all the title headings on each page from the structure...
The procedure below should become a 1-click from wiki (structures) toPDF. Please see:How to produce the .pdf out of the .odt
Dec 13 2008. Update:
Previous problem is fixed. However, I notice that automatic numbering with heading within a page (!!#, !!!#, ...), should be also considered in the global autonumbering.
Plus width of wide images and tables would be better if not that wide when exported to html (maybe an option), for the case when you plan to import it to OpenOFfice, and they are too wide to the document. Should this be another RFE or bug report?
REOPENING BUG
update on Jan. 7th, 2009:
See the other bug report: autonumbering didn't work for me with doc.tw.o/Documentation, even if it did a month ago on another site/structure
Related (and newer) bug report/RFE:
http://dev.tikiwiki.org/bug2255
Are there still problem in 2.0 when you use multi page print
So far my test: show
- heading are realigned
- page title are numbered
sylvieg
xavi: Yes, sylvieg, you are right.
Notes:
I didn't make any tests, but it seems that tiki-print_multi_pages.php already contains some code to do the renumbering. From what I understand, the incrementation of heading levels based on structure levels is already done. There is probably a problem when heading levels become greater than h7 as HTML's definition stops at that point. Copy-Pasting into other editors would probably loose the information. It seems that code has been in for a long time.
xavi: yes, afaik, sylvieg did a long ago (I didn't notice by mistake, I didn't seem to be monitoring this bug report, unfortunately.
bug reopened (Xavi: Jan. 7th, 2009; see above + related RFE)
To help developers solve the bug, we kindly request that you demonstrate your bug on a show2.tiki.org instance. To start, simply select a version and click on "Create show2.tiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show2.tiki.org.
To help developers solve the bug, we kindly request that you demonstrate your bug on a show.tikiwiki.org instance. To start, simply select a version and click on "Create show.tikiwiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show.tikiwiki.org.
filename | created | hits | comment | version | filetype | ||
---|---|---|---|---|---|---|---|
No attachments for this item |