Fullscreen
Loading...
 
Skip to main content

structures and printing improvements for doc.tw.o and any documentation project based on Tiki

Status
Open
Subject
structures and printing improvements for doc.tw.o and any documentation project based on Tiki
Version
2.x
3.x
Category
  • Documentation (or Advocacy)
  • Dogfood on a *.tiki.org site
  • Feature request
Feature
Infrastructure
Others
PDF
Wiki Structure (book & table of content)
Workspace
Resolution status
Confirmed
Submitted by
Xavier de Pedro
Lastmod by
Marc Laporte, Philippe Cloutier
Rating
(0)
Description

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, ...)

(1). Original idea, as posted in devel list (but improved, and made it easier, below, in (2) )

[+]

(2) Update July 20th: Easier solution

Easier solution: Get levels for first heading in each wiki page of the structure not from the content of the page.

Example: a page may start with a "! Title of page" (first level heading), and after that, "!! Subtitle of page" (2nd level heading), ...


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) toPDFQuestion. Please see:How to produce the .pdf out of the .odtQuestion


--


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/bug2255Question

Solution

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)

Importance
8
Priority
40
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
1184
Created
Monday 02 July, 2007 11:51:43 UTC
by Unknown
LastModif
Friday 06 October, 2017 20:04:07 UTC


Show PHP error messages