new soi: Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
m (+category) |
||
Line 3: | Line 3: | ||
---- | ---- | ||
This template is used to add extra newlines to adjust page breaks in [[:Image: | This template is used to add extra newlines to adjust page breaks in [[:Image:Lojban_by_Choice_LojbanPod_Lessons.pdf]]. Please make sure that you know very well what you are doing when you modify this template! In particular, make sure that the <nowiki><noinclude></nowiki> tag is in the first line except for short periods of time when you generate a PDF. | ||
The work flow to generate a PDF is this: | The work flow to generate a PDF is this: | ||
#move the <nowiki><noinclude></nowiki> tag in {{tl|SbcNewline}} to the second line | #move the <nowiki><noinclude></nowiki> tag in {{tl|SbcNewline}} to the second line | ||
#uncomment the table of conents with page numbers in the [[ | #uncomment the table of conents with page numbers in the [[Lojban_by_Choice/LojbanPod_lessons/Print_version]] and comment out the table of contents without page numbers | ||
#generate a PDF from the Print version [[ | #generate a PDF from the Print version [[Lojban_by_Choice/LojbanPod_lessons/Print_version]], for example with the PDF printing of FireFox on MacOS X (letter format, centered page number) | ||
#adjust the {{tl|SbcNewline}} templates in the lessons to ensure nice page breaks | #adjust the {{tl|SbcNewline}} templates in the lessons to ensure nice page breaks | ||
#iterate the PDF generation and the adjustment of the {{tl|SbcNewline}} templates until you are satisfied (don't be too pedantic but at least avoid page breaks after section headings) | #iterate the PDF generation and the adjustment of the {{tl|SbcNewline}} templates until you are satisfied (don't be too pedantic but at least avoid page breaks after section headings) | ||
#correct the page numbers in the table of contents and generate the PDF once more | #correct the page numbers in the table of contents and generate the PDF once more | ||
#postprocess the PDF (compression, web preview) and upload the PDF to Wikibooks | #postprocess the PDF (compression, web preview) and upload the PDF to Wikibooks | ||
#comment out the table of contents with page numbers in the [[ | #comment out the table of contents with page numbers in the [[Lojban_by_Choice/LojbanPod_lessons/Print_version]] and uncomment the table of contents without page numbers | ||
#move the <nowiki><noinclude></nowiki> tag in {{tl|SbcNewline}} to the first line | #move the <nowiki><noinclude></nowiki> tag in {{tl|SbcNewline}} to the first line | ||
[[Category: | [[Category:Lojban by Choice/Templates|Newline]] | ||
</noinclude> | </noinclude> |
Revision as of 06:33, 17 December 2013
This template is used to add extra newlines to adjust page breaks in Image:Lojban_by_Choice_LojbanPod_Lessons.pdf. Please make sure that you know very well what you are doing when you modify this template! In particular, make sure that the <noinclude> tag is in the first line except for short periods of time when you generate a PDF.
The work flow to generate a PDF is this:
- move the <noinclude> tag in {{SbcNewline}} to the second line
- uncomment the table of conents with page numbers in the Lojban_by_Choice/LojbanPod_lessons/Print_version and comment out the table of contents without page numbers
- generate a PDF from the Print version Lojban_by_Choice/LojbanPod_lessons/Print_version, for example with the PDF printing of FireFox on MacOS X (letter format, centered page number)
- adjust the {{SbcNewline}} templates in the lessons to ensure nice page breaks
- iterate the PDF generation and the adjustment of the {{SbcNewline}} templates until you are satisfied (don't be too pedantic but at least avoid page breaks after section headings)
- correct the page numbers in the table of contents and generate the PDF once more
- postprocess the PDF (compression, web preview) and upload the PDF to Wikibooks
- comment out the table of contents with page numbers in the Lojban_by_Choice/LojbanPod_lessons/Print_version and uncomment the table of contents without page numbers
- move the <noinclude> tag in {{SbcNewline}} to the first line