128 | | #1157, #1202, #2712 |
| 128 | #1157 |
| 129 | |
| 130 | Give images attributes using the notation: |
| 131 | {{{ |
| 132 | [$image_path |
| 133 | [format ...] [width ...] [srccredit ...] [contentdepth ...] [contentwidth ...] |
| 134 | [scalefit ...] [align ...] [valign ...] [depth ...] [scale ...] |
| 135 | ] |
| 136 | }}} |
| 137 | |
| 138 | An example from my tests: |
| 139 | |
| 140 | {{{ |
| 141 | [$test.gif [width 10cm] [height 10cm]] |
| 142 | }}} |
| 143 | |
| 144 | This also supports a HTML style 'alt' attribute: |
| 145 | |
| 146 | {{{ |
| 147 | [$ball.gif [alt A ball]] |
| 148 | }}} |
| 149 | |
| 150 | which generates docbook along the lines of: |
| 151 | |
| 152 | {{{ |
| 153 | <inlinemediaobject> |
| 154 | <imageobject><imagedata fileref="test.gif"></imagedata></imageobject> |
| 155 | <textobject><phrase>A ball</phrase></textobject> |
| 156 | </inlinemediaobject> |
| 157 | }}} |
| 158 | |
| 159 | === Table Ids === |
| 160 | |
| 161 | #1194 |
| 162 | http://www.nabble.com/Quickbook-table-bug--to6604943.html |
| 163 | |
| 164 | This allows you to explicity give a table an id so that it's easier to link to: |
| 165 | |
| 166 | [table:table1 Table 1 |
| 167 | [[Heading]] |
| 168 | [[cell]] |
| 169 | ] |
| 170 | |
| 171 | === Ignoring spaces after 'section:' === |
| 172 | |
| 173 | In this example: |
| 174 | |
| 175 | [section: example Example section] |
| 176 | |
| 177 | Quickbook would consider the section to not have an id, and use the title 'example Example section'. In 1.5 documents the id would be 'example', and the title 'Example section' which I think is less confusing. |
| 178 | |
| 179 | This lead to some confusion in #2712. |
| 180 | |
| 181 | |