-
Notifications
You must be signed in to change notification settings - Fork 537
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add tests for glossary completion from bib files
- Loading branch information
Showing
6 changed files
with
126 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
@symbol{fs, | ||
name = {\ensuremath{f_s}}, | ||
description = {sample rate} | ||
} | ||
|
||
@symbol{theta, | ||
name = {\ensuremath{\theta}}, | ||
description = {horizontal angle} | ||
} | ||
|
||
@entry{caesar, | ||
name={\sortname{Gaius Julius}{Caesar}}, | ||
first={\sortname{Julius}{Caesar}}, | ||
text={Caesar}, | ||
description={Roman politician and general}, | ||
born={13~July 100 BC}, | ||
died={15~March 44 BC}, | ||
identifier={person} | ||
} | ||
|
||
@entry{wellesley, | ||
name={\sortname{Arthur}{Wellesley}}, | ||
text={Wellington}, | ||
description={Anglo-Irish soldier and statesman}, | ||
born={1~May 1769 AD}, | ||
died={14~September 1852 AD}, | ||
othername={1st Duke of Wellington}, | ||
identifier={person} | ||
} | ||
|
||
@index{wellington, | ||
name={Wellington}, | ||
alias={wellesley}, | ||
identifier={person} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
\documentclass{article} | ||
\usepackage{glossaries-extra} | ||
\GlsXtrLoadResources[ | ||
src={glos.bib}, | ||
] | ||
|
||
\begin{document} | ||
abc\gls{} | ||
\end{document} |
35 changes: 35 additions & 0 deletions
35
test/fixtures/unittest/22_completion_glossary/glossary.bib
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
@symbol{fs, | ||
name = {\ensuremath{f_s}}, | ||
description = {sample rate} | ||
} | ||
|
||
@symbol{theta, | ||
name = {\ensuremath{\theta}}, | ||
description = {horizontal angle} | ||
} | ||
|
||
@entry{caesar, | ||
name={\sortname{Gaius Julius}{Caesar}}, | ||
first={\sortname{Julius}{Caesar}}, | ||
text={Caesar}, | ||
description={Roman politician and general}, | ||
born={13~July 100 BC}, | ||
died={15~March 44 BC}, | ||
identifier={person} | ||
} | ||
|
||
@entry{wellesley, | ||
name={\sortname{Arthur}{Wellesley}}, | ||
text={Wellington}, | ||
description={Anglo-Irish soldier and statesman}, | ||
born={1~May 1769 AD}, | ||
died={14~September 1852 AD}, | ||
othername={1st Duke of Wellington}, | ||
identifier={person} | ||
} | ||
|
||
@index{wellington, | ||
name={Wellington}, | ||
alias={wellesley}, | ||
identifier={person} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters