PDF form parameter 'menulength' does not work
Nobody has claimed this yet.
- 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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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