latex3 / latex3/hyperref

Adding book autoref names

Open
#399 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Memoir supports a \book command that lives above \part. Currently memhfixc adds \bookautorefname for a few languages.

I was wondering if it made more sense to add these to hyperref instead? I used some AI to get to the names listed below which should cover the \HyLang@<lang> languages already in hyperref

afrikaans: \def\bookautorefname{Boek}                                                                    
english: \def\bookautorefname{Book}                                                                      
french: \def\bookautorefname{Livre}                                                                      
german: \def\bookautorefname{Buch}                                                                       
italian: \def\bookautorefname{Libro}                                                                     
magyar: \def\bookautorefname{K\"onyv}                                                                    
portuges: \def\bookautorefname{Livro}                                                                    
russian: \def\bookautorefname{\CYRK\cyrn\cyri\cyrg\cyrr\cyra}
spanish: \def\bookautorefname{Libro}                                                                     
catalan: \def\bookautorefname{Llibre}                                                                    
vietnamese: \def\bookautorefname{T\d{\^{a}}ps\'{a}ch}
greek: \def\bookautorefname{\textBeta\textiota\textbeta\textlambda\'\textiota\textomicron}                                   
dutch: \def\bookautorefname{Boek}                                                                        
norsk: \def\bookautorefname{Bok}                                                                         
danish: \def\bookautorefname{Bog}
swedish: \def\bookautorefname{Bok}

I of course does not know if these are the proper terms in all languages.

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

Review the existing \bookautorefname definitions in memhfixc and the language-handling entry points represented by \HyLang@ in hyperref. Check the proposed terminology with the relevant language conventions, then verify that the supported languages receive the intended book name without relying on memhfixc.

Written by the indexing model from the issue text.

Assessment

Tech stack
latex, tex
Domain
internationalization
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.