generated checkboxes are invalid (removed when roundtripping through pdf2ps -> ps2pdf; fail to display in a number of PDF viewers)
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- latex
- 領域
- tooling
調査の方向性
ソースファイルもテストも指定されていません。hyperref の \CheckBox を使った最小限の LaTeX 例から始め、pdflatex を実行し、pdf2ps/ps2pdf の前後で報告された PDF ビューアー上で確認してください。生成されたチェックボックスがすべてのビューアーで表示されたままチェック済みであり、報告された PDF エラーなしに PostScript ラウンドトリップを通過すれば完了です。
索引モデルが issue の本文から書いたものです。
説明
I have
\documentclass{article}
\usepackage{hyperref}
\begin{document}
\begin{Form}
\fbox{\CheckBox[name=foo,checked=true]{}}
\end{Form}
\end{document}
This checkbox shows up fine in Adobe Reader, but the checkbox is unchecked in Chrome's PDF viewer, and does not show up at all in Firefox's PDF viewer nor in SumatraPDF. Worse, if I run pdf2ps foo.pdf foo.ps and then run ps2pdf foo.ps foo-ps.pdf, the resulting PDF file does not contain a checkbox. Note that pdf2ps warns with
**** Error: Required entry /BBox not present in Form.
Output may be incorrect.
Output may be incorrect.
**** Error: Stream object is missing the stream data.
Note also that when I open the original PDF in Adobe Reader, when I go to close it, Adobe Reader asks me if I want to save changes, suggesting that it's corrected some invalidity in the pdf behind the scenes. Indeed, if I do this, the resulting PDF displays checkboxes correctly in all PDF viewers, and displays the checkbox when I round-trip through a .ps file.
Here are all the generated files:
Assuming I named the above foo.tex, then:
- in Chrome gives:

- in Firefox gives:

- in SumatraPDF gives:

- in Adobe Reader gives:

- Running
pdf2ps foo.pdf foo.ps; tar -czf foo.ps.tar.gz foo.ps; ps2pdf foo.ps foo-ps.pdfgives foo.ps.tar.gz and foo-ps.pdf and on the command line says
$ pdf2ps foo.pdf foo.ps
pdf2ps: security risk: running with elevated privileges
The system cannot find the path specified.
**** Error: Required entry /BBox not present in Form.
Output may be incorrect.
Output may be incorrect.
**** Error: Stream object is missing the stream data.
- Opening
foo-ps.pdfin Adobe Reader shows:
- Re-opening
foo.pdfin Adobe Reader, and doing File -> Save As ->foo2.pdfgives: foo2.pdf - Opening
foo2.pdf:
- in Chrome gives:

- in Firefox gives:

- in SumatraPDF gives:

- Running
pdf2ps foo2.pdf foo2.ps; tar -czf foo2.ps.tar.gz foo2.ps; ps2pdf foo2.ps foo2-ps.pdfgives foo2.ps.tar.gz and foo2-ps.pdf - Opening
foo2-ps.pdf:
- in Chrome gives:

- in Firefox gives:

- in SumatraPDF gives:

- in Adobe Reader gives:

Perhaps related to #12?
- 主要言語
- TeX
- スター
- 210
- フォーク
- 41
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
latex3/hyperref のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 58/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 58/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 48/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 44/100
latex3/hyperref の issue をすべて見る
似ている issue
-
[Request]:オープンpackage-request
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
ScoopInstaller/Extras#19195 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
area:docs Bug
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
containers/podman-compose#1607 ·
メンテナーはふだん 4 日以内に返信