help-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cross-reference for a non-English book


From: Gavin Smith
Subject: Re: Cross-reference for a non-English book
Date: Sun, 31 Dec 2023 15:18:29 +0000

On Sun, Dec 31, 2023 at 03:08:22PM +0200, Eli Zaretskii wrote:
> We have current-iso639-language, but its value is a 2-letter string,
> the first 2 characters of the locale's name.  So I think this should
> be a new variable, and Info-documentlanguage sounds like a good
> candidate.

Done in commit 85091d47f (2023-12-31).

> > There is the minor question of what to do if a document has more than
> > one @documentlanguage directive, but if that is the case, we can take
> > the first one that occurs, or the last, or none at all, whichever is
> > easiest.
> 
> If this becomes an issue in Info manuals, we could extend the
> Info-documentlanguage variable to have values that are not just a
> single string, but, say, a list of elements of the form
> 
>   (LANG START END)
> 
> where START and END are character positions for the region whose
> language is LANG.  But I'd wait with such complications until they
> become a real problem.

Yes, agreed.  The document language is barely needed for Info output
as it is and multi-language manuals are rare to non-existent.  If
it is a genuine problem then a user could split their document into
separate Info files.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]