This shows you the differences between two versions of the page.
|
technical:details [2009/11/26 02:03] administrator |
technical:details [2010/04/27 11:01] (current) administrator |
||
|---|---|---|---|
| Line 314: | Line 314: | ||
| The ''center'' environment (as well as several other environments) add fractional vertical spacing when they are called, which can lead to rather crazy block relocation. In the case of this book, it led to a completely blank page at page 62. Removing the center environment and instead setting the proper aligning on tables, etc (very useful to know: USE THE ''\fill'' COMMAND. This sticks "variable width" glue somewhere. Using it for horizontal spacing before and after your content means it ends up centered), does the same thing, without the mystery vertical spacing. | The ''center'' environment (as well as several other environments) add fractional vertical spacing when they are called, which can lead to rather crazy block relocation. In the case of this book, it led to a completely blank page at page 62. Removing the center environment and instead setting the proper aligning on tables, etc (very useful to know: USE THE ''\fill'' COMMAND. This sticks "variable width" glue somewhere. Using it for horizontal spacing before and after your content means it ends up centered), does the same thing, without the mystery vertical spacing. | ||
| - | |||
| - | ==== Examples ==== | ||
| - | |||
| - | The following bits are sample XeLaTeX code that do various things. | ||
| - | |||
| - | === Vertical writing === | ||
| Line 333: | Line 327: | ||
| The result is the pdf file that you can find in the "download the book" section on the main page =) | The result is the pdf file that you can find in the "download the book" section on the main page =) | ||
| + | ==== Conversion scripts ==== | ||
| + | |||
| + | You can {{:tech:dokuwiki_conversion_scripts.zip|download}} the conversion scripts I use, although of course you should bear in mind it's tailored to my dokuwiki and its content. Two important things to take note of are the fact that tabular data on this dokuwiki are tab-delimited (using the [[#tabtables | tabtables]] plugin) and there are masses of furigana all over the place (which uses the [[#xhtmlruby | xhtmlruby]] plugin). | ||
| + | |||
| + | I run these scripts from //$dokuwiki///bin/tex, so all file paths are relative to that. If you have any questions on how they do the job that they apparently do, feel free to drop me a line! | ||