Ticket #34767

出力した pdf が異常

Open Date: 2014-12-31 14:17 Last Update: 2015-02-03 15:44

Reporter:
Owner:
(None)
Type:
Status:
Closed
Component:
(None)
MileStone:
(None)
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
Won't Fix
File:
None

Details

geometry 関連で見つけたのですが,以下の test.tex というソース:

  1. \documentclass[12pt]{ltjarticle}
  2. \usepackage[margin=1cm,bindingoffset=1cm,twoside]{geometry}
  3. \geometry{showframe}
  4. \usepackage{lipsum}
  5. \newcommand\mynote{\marginpar{\raggedright A sample margin note.}}%
  6. \begin{document}
  7. \lipsum[1-2]\mynote\lipsum[3-4]\mynote
  8. \lipsum[5-7]
  9. \end{document}
をタイプセットしてできた test.pdf が,PDF ビューアの zathura で表示できないという症状に出くわしました. file コマンドで調べたところ,
test.pdf: ; partition : ID=0xcc, active 0xaa, start-CHS (0x3f6,226,39), end-CHS (0x3f1,75,26), startsector 2410213560, 2423197583 sectors; partition : ID=0x2e, active 0x8a, start-CHS (0x293,113,16), end-CHS (0xb7,195,5), startsector 895556992, 4011325458 sectors; partition : ID=0xf7, active 0xd4, start-CHS (0xb,61,33), end-CHS (0x60,136,9), startsector 2297905154, 988691352 sectors
というなんとも不思議な結果になりました.\pdfcompresslevel を変えてみたところ,6 以下では正常に PDF-1.5 として認識されましたが,7 以上では上記のようになります.

使用している LuaTeX は r5119 です.他マシンでの状況や他の例がないか調べてみます.

Ticket History (3/4 Histories)

2014-12-31 14:17 Updated by: h7k
  • New Ticket "出力した pdf が異常" created
2014-12-31 14:34 Updated by: h7k
Comment

r5115 でも同様でした. 似たような症状?が Lualatex on GVFS share produces corrupt PDF files if PDF already exists として LuaTeX の tracker に既に報告されています.

2014-12-31 17:26 Updated by: kmaeda
Comment

evince と acroread だと開けますね.pdfinfo の出力も正常に見えます. zathura だけが,file コマンドと同様のルーチンで判定して,Unknown file type だから跳ねている,という感じでしょうか.

showframe をコメントアウトすると正常になるようなのですが,なぜなのでしょうか. ltjarticle を article に変えても正常になるんですね(luatexja が関係している?).

2015-02-03 15:44 Updated by: h7k
  • Resolution Update from None to Won't Fix
  • Status Update from Open to Closed
  • Ticket Close date is changed to 2015-02-03 15:44
Comment

r5157 でおなじことをやってみると,正常に開けます.発生条件もわからずこちらではどうしようもないので,今は完了としておきます.

Attachment File List

No attachments

Edit

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Login