Commit c973552
committed
Switch TeX baseline detection to use a dvi special.
Insert a `\special` at the end of the TeX output and record the baseline
position there. This should be more robust than trying to guess the
format of the dvi preamble, and more importantly this will also allow
detecting the last baseline of *multiline* TeX output, which will then
allow letting TeX handle multiline strings itself (while keeping the
correct alignment).1 parent 2e921df commit c973552
2 files changed
+3
-30
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
291 | 291 | | |
292 | 292 | | |
293 | 293 | | |
294 | | - | |
295 | | - | |
296 | | - | |
297 | | - | |
298 | | - | |
299 | | - | |
300 | | - | |
301 | | - | |
302 | | - | |
303 | | - | |
304 | | - | |
305 | | - | |
306 | | - | |
307 | | - | |
308 | | - | |
309 | | - | |
310 | | - | |
311 | | - | |
312 | | - | |
313 | 294 | | |
314 | 295 | | |
315 | 296 | | |
316 | 297 | | |
317 | 298 | | |
318 | | - | |
319 | | - | |
320 | | - | |
321 | | - | |
322 | | - | |
323 | | - | |
324 | | - | |
325 | | - | |
326 | | - | |
327 | | - | |
328 | 299 | | |
329 | 300 | | |
330 | 301 | | |
| |||
457 | 428 | | |
458 | 429 | | |
459 | 430 | | |
| 431 | + | |
| 432 | + | |
460 | 433 | | |
461 | 434 | | |
462 | 435 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
217 | 217 | | |
218 | 218 | | |
219 | 219 | | |
220 | | - | |
| 220 | + | |
221 | 221 | | |
222 | 222 | | |
223 | 223 | | |
| |||
0 commit comments