Template:SbcNewline2: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (1 revision) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<!-- put the noinclude at the end of this line to deactivate the optional newlines--><noinclude> | |||
<!-- put the noinclude at the end of this line to activate the optional newlines--> | |||
---- | |||
This template is used to add extra newlines to adjust page breaks in PDFs of individual [[Lojban by Choice]] lessons. 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: | |||
#move the <nowiki><noinclude></nowiki> tag in {{tl|SbcNewline2}} to the second line | |||
#generate a PDF from the Print version of a lesson, for example with the PDF printing of FireFox on MacOS X (letter format, centered page number) | |||
#adjust the {{tl|SbcNewline2}} templates in the lesson to ensure nice page breaks | |||
#iterate the PDF generation and the adjustment of the {{tl|SbcNewline2}} templates until you are satisfied (don't be too pedantic but at least avoid page breaks after section headings) | |||
#postprocess the PDF (compression, web preview) | |||
#move the <nowiki><noinclude></nowiki> tag in {{tl|SbcNewline2}} to the first line | |||
[[Category:Lojban by Choice/Templates|Newline2]] | |||
</noinclude> | |||
[ | |||
[ | |||
Latest revision as of 11:49, 1 March 2014
This template is used to add extra newlines to adjust page breaks in PDFs of individual Lojban by Choice lessons. 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 {{SbcNewline2}} to the second line
- generate a PDF from the Print version of a lesson, for example with the PDF printing of FireFox on MacOS X (letter format, centered page number)
- adjust the {{SbcNewline2}} templates in the lesson to ensure nice page breaks
- iterate the PDF generation and the adjustment of the {{SbcNewline2}} templates until you are satisfied (don't be too pedantic but at least avoid page breaks after section headings)
- postprocess the PDF (compression, web preview)
- move the <noinclude> tag in {{SbcNewline2}} to the first line