Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix \DeclareHyphenationExceptions with polyglossia and language variants (#1381) #1396

Merged
merged 2 commits into from
Dec 5, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions doc/latex/biblatex/CHANGES.md
Original file line number Diff line number Diff line change
@@ -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
1 change: 1 addition & 0 deletions doc/latex/biblatex/biblatex.tex
Original file line number Diff line number Diff line change
@@ -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}
3 changes: 3 additions & 0 deletions tex/latex/biblatex/biblatex.sty
Original file line number Diff line number Diff line change
@@ -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
5 changes: 0 additions & 5 deletions tex/latex/biblatex/lbx/austrian.lbx
Original file line number Diff line number Diff line change
@@ -8,9 +8,4 @@
january = {{J\"anner}{J\"an\adddot}},
}

\DeclareHyphenationExceptions{%
Pa-tent-an-mel-dung
Pa-tent-an-meld
}

\endinput
5 changes: 0 additions & 5 deletions tex/latex/biblatex/lbx/naustrian.lbx
Original file line number Diff line number Diff line change
@@ -14,9 +14,4 @@
% sectiontotals = {{Paragrafen}{\S\S}},
}

\DeclareHyphenationExceptions{%
Pa-tent-an-mel-dung
Pa-tent-an-meld
}

\endinput
5 changes: 0 additions & 5 deletions tex/latex/biblatex/lbx/ngerman.lbx
Original file line number Diff line number Diff line change
@@ -13,9 +13,4 @@
% sectiontotals = {{Paragrafen}{\S\S}},
}

\DeclareHyphenationExceptions{%
Pa-tent-an-mel-dung
Pa-tent-an-meld
}

\endinput
5 changes: 0 additions & 5 deletions tex/latex/biblatex/lbx/nswissgerman.lbx
Original file line number Diff line number Diff line change
@@ -22,9 +22,4 @@
% sectiontotals = {{Paragrafen}{\S\S}},
}

\DeclareHyphenationExceptions{%
Pa-tent-an-mel-dung
Pa-tent-an-meld
}

\endinput
5 changes: 0 additions & 5 deletions tex/latex/biblatex/lbx/swissgerman.lbx
Original file line number Diff line number Diff line change
@@ -16,9 +16,4 @@
countryuk = {{Grossbritannien}{GB}},
}

\DeclareHyphenationExceptions{%
Pa-tent-an-mel-dung
Pa-tent-an-meld
}

\endinput