Skip to content

Commit

Permalink
Fix \DeclareHyphenationExceptions with polyglossia and language varia…
Browse files Browse the repository at this point in the history
…nts (#1381)
  • Loading branch information
jspitz committed Nov 14, 2024
1 parent 4c9a2a8 commit 854e585
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions doc/latex/biblatex/CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
`\mkcomprange` or `\mkseqrange` (or their starred counterpart, respectively)
depending on the `citepagerange` value.
- Use `\mkautorange` in standard styles.
- Fix `\DeclareHyphenationExceptions` with polyglossia and language variants.

# RELEASE NOTES FOR VERSION 3.20
- Added new option settings `minyearinit` and `minyearfull` for
Expand Down
1 change: 1 addition & 0 deletions doc/latex/biblatex/biblatex.tex
Original file line number Diff line number Diff line change
Expand Up @@ -15081,6 +15081,7 @@ \section{Revision History}
\item Added option \opt{citepagerange} to customize the format of page ranges\see{use:opt:pre:gen}
\item Added \cmd{mkautorange} and \cmd{mkautorange*} which forwards to \cmd{mknormrange}, \cmd{mkcomprange} or \cmd{mkseqrange} (or their starred counterpart, respectively) depending on the \opt{citepagerange} value\see{aut:aux:msc}
\item Use \cmd{mkautorange} in standard styles.
\item Fix \cmd{DeclareHyphenationExceptions} with \sty{polyglossia} and language variants.
\end{release}
\begin{release}{3.20}{2024-03-22}
\item Added new \opt{uniquename} options \see{use:opt:pre:int}
Expand Down
3 changes: 3 additions & 0 deletions tex/latex/biblatex/biblatex.sty
Original file line number Diff line number Diff line change
Expand Up @@ -562,6 +562,9 @@
{\ifundef\xpg@ifdefined
{}
{\def\blx@ifhyphenationundef#1#2#3{\xpg@ifdefined{#1}{#3}{#2}}}%
\ifundef\pghyphenation
{}
{\def\blx@hyphexcept#1#2{\pghyphenation{#1}{#2}}}%
% This is required for languages which are never explicitly selected
% \xpg@bloaded is not defined in polyglossia < v1.45
\ifundef\xpg@bloaded
Expand Down

0 comments on commit 854e585

Please sign in to comment.