latex3 / latex3/hyperref

PDF form parameter 'menulength' does not work

Open
#33 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

documentation
Dominant language
TeX
Stars
205
Forks
41
PR merge metrics
No merged PRs in 30d

Description

I use hyperref v6.85a and pdfTeX 1.40.17.

In the hyperref manual it is stated that menulength will determine the number of displayed entries in a list. But

\renewcommand*{\DefaultOptionsofPopdownBox}{print, menulength=2}
\ChoiceMenu[popdown, name=country2, default=Ar]{Country:}{Albania=Al, Armenia=Ar, Azerbaidschan=Az}

shows me all 3 entries instead of the desired 2. I am quite sure that menulength worked in previous versions of hyperref.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported snippet with hyperref v6.85a and pdfTeX 1.40.17, then trace hyperref's handling of the menulength option for pop-down ChoiceMenu fields. Done means menulength=2 displays two entries instead of all three, with a regression test for the reported case.

Written by the indexing model from the issue text.

Assessment

Tech stack
latex, tex
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.