View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000017 | luatex | feature request | public | 2008-02-16 11:53 | 2009-04-23 11:09 |
Reporter | Taco | Assigned To | hhenkel | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Summary | 0000017: Directionality support in PDF mode | ||||
Description | In DVI mode, direction support in luatex is equal to Aleph's, but not all of Aleph's direction commands are handled properly in PDF mode, and especially the vertical scripts support is missing almost completely (only TRT and TLT are routinely tested). | ||||
Tags | No tags attached. | ||||
2008-04-08 09:32
|
|
|
Attached RTR.tex is a small example file from Wolfgang Schuster |
|
Trivial example, from Arthur: \tt \pagedir LTL\bodydir LTL\pardir LTL\textdir LTL Hello, world! \bye This moves upward in PDF mode, where it should go downward instead. |
|
this should be fixed in 0.40.0. please check. |
|
Arthur's example seems to work ok now. Wolfgang's file still appears to have issues with the page bottom |
2009-04-23 10:06
|
RTR1.tex (493 bytes)
\pdfoutput=1 \pagetopoffset=1in \hsize=8cm \vsize=8cm \bodydir RTR \pagedir RTR \pardir RTR \textdir RTR 1 2 3 4 5 6 7 8 9 1 2 3 4 5 6 7 8 9 1 2 3 4 5 6 7 8 9 1 2 3 4 5 6 7 8 9 1 2 3 4 5 6 7 8 9 1 2 3 4 5 6 7 8 9 1 2 3 4 5 6 7 8 9 1 2 3 4 5 6 7 8 9 1 2 3 4 5 6 7 8 9 1 2 3 4 5 6 7 8 9 1 2 3 4 5 6 7 8 9 1 2 3 4 5 6 7 8 9 1 2 3 4 5 6 7 8 9 1 2 3 4 5 6 7 8 9 1 2 3 4 5 6 7 8 9 1 2 3 4 5 6 7 8 9 1 2 3 4 5 6 7 8 9 1 2 3 4 5 6 7 8 9 1 2 3 4 5 6 7 8 9 1 2 3 4 5 6 7 8 9 1 2 3 4 5 6 7 8 9 \bye |
|
the page bottom (\pagebottomoffset) does not matter in Wolfgang's example, as text goes downward from the top, so one must provide \pagetopoffset and \pagerightoffset (both default to 1in). Further the \pagedir must be set to RTR (follow \bodydir) to make the \shipout box (which as \bodydir direction) be anchored at the top of the page. See RTR1.tex. This is also a case, where it would work more intuitively, if luatex would automatically set the current \pagedir to the \boxdir of the shipped box. |
|
what if luatex would send a warning, if \bodydir of the shipped, outermost box does not match \pagedir at shipout time? |
2009-04-23 10:39
|
RTR2.tex (1,112 bytes)
\pdfoutput=1 \pagewidth=210mm % needed for \pagedir R** or *R* % for proper placement distance % from the right page edge \pageheight=297mm % needed for \pagedir B** or *B* % for proper placement distance % from the bottom page edge % but in any case \pagewidth and \pageheight are needed % to define the page dimensions \pagetopoffset=1in % needed for \pagedir = T** or *T* \pagerightoffset=1in % needed for \pagedir = R** or *R* %\pageleftoffset=1in % needed for \pagedir = L** or *L* %\pagebottomoffset=1in % needed for \pagedir = B** or *B* \hsize=8cm \vsize=8cm \bodydir RTR \pagedir RTR \pardir RTR \textdir RTR 1 2 3 4 5 6 7 8 9 1 2 3 4 5 6 7 8 9 1 2 3 4 5 6 7 8 9 1 2 3 4 5 6 7 8 9 1 2 3 4 5 6 7 8 9 1 2 3 4 5 6 7 8 9 1 2 3 4 5 6 7 8 9 1 2 3 4 5 6 7 8 9 1 2 3 4 5 6 7 8 9 1 2 3 4 5 6 7 8 9 1 2 3 4 5 6 7 8 9 1 2 3 4 5 6 7 8 9 1 2 3 4 5 6 7 8 9 1 2 3 4 5 6 7 8 9 1 2 3 4 5 6 7 8 9 1 2 3 4 5 6 7 8 9 1 2 3 4 5 6 7 8 9 1 2 3 4 5 6 7 8 9 1 2 3 4 5 6 7 8 9 1 2 3 4 5 6 7 8 9 1 2 3 4 5 6 7 8 9 \bye |
|
Ah right, RTR1.tex looks fine. A warning is perhaps helpful indeed. Shall we close this issue ? |
|
yes (see also RTR2.tex for clarification) but let's issue a warning; that will help. |
Date Modified | Username | Field | Change |
---|---|---|---|
2008-02-16 11:53 | Taco | New Issue | |
2008-02-16 11:54 | Taco | Status | new => acknowledged |
2008-04-08 09:32 | Taco | File Added: RTR.tex | |
2008-04-08 09:41 | Taco | Note Added: 0000012 | |
2008-12-29 17:53 | Taco | Note Added: 0000095 | |
2009-02-02 23:52 | Taco | Status | acknowledged => assigned |
2009-02-02 23:52 | Taco | Assigned To | => hhenkel |
2009-02-24 15:00 | Taco | Target Version | => 0.40.0 |
2009-04-22 13:10 | Taco | Target Version | 0.40.0 => |
2009-04-22 23:02 | hhenkel | Note Added: 0000185 | |
2009-04-23 09:44 | Taco | Note Added: 0000186 | |
2009-04-23 10:06 | hhenkel | File Added: RTR1.tex | |
2009-04-23 10:12 | hhenkel | Note Added: 0000187 | |
2009-04-23 10:19 | hhenkel | Note Added: 0000188 | |
2009-04-23 10:39 | hhenkel | File Added: RTR2.tex | |
2009-04-23 10:40 | Taco | Note Added: 0000189 | |
2009-04-23 10:47 | hhenkel | Note Added: 0000190 | |
2009-04-23 11:09 | Taco | Status | assigned => closed |
2009-04-23 11:09 | Taco | Resolution | open => fixed |