Skip to content

Commit c884329

Browse files
authored
Add multiple-meta-data.* (#13177)
* Add multiple-meta-data.* * Refine README.md for test files
1 parent ee6eb6d commit c884329

File tree

4 files changed

+60
-1
lines changed

4 files changed

+60
-1
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
@article{test
2+
title = {title-from-embedded-bibtex-file},
3+
author = {author-from-embedded-bibtex-file},
4+
journal = {journal-from-embedded-bibtex-file},
5+
year = {2022},
6+
keywords = {keywords-from-embedded-bibtex-file, second-keyword},
7+
}
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
% !TeX program = lualatex
2+
\documentclass{article}
3+
4+
\usepackage{fontspec}
5+
\usepackage{hyperref}
6+
7+
\usepackage[
8+
key=multiple-meta-data,
9+
year=2017,
10+
publication={Anonymous et al.\ (eds). Proceedings of the International
11+
Conference on LaTeX-Hacks, CEUR-WS Vol~42.},
12+
startpage={1},
13+
doi={10.1039/authorarchive},
14+
nocopyright
15+
]{authorarchive}
16+
17+
\hypersetup{
18+
pdftitle={title-from-hyperref},
19+
pdfauthor={author-from-hyperref},
20+
pdfsubject={subject-from-hyperref},
21+
pdfkeywords={keywords-from-hyperref, second-keyword}
22+
}
23+
24+
\title{Title-from-LaTeX}
25+
\author{Author-from-LaTeX}
26+
27+
\begin{document}
28+
29+
\begin{verbatim}
30+
@article{test
31+
title = {title-from-bibtex},
32+
author = {author-from-bibtex},
33+
journal = {journal-from-bibtex},
34+
year = {2023},
35+
keywords = {keywords-from-bibtex, second-keyword},
36+
}
37+
\end{verbatim}
38+
\clearpage
39+
\maketitle
40+
This is a \LaTeX{} document compiled with \texttt{lualatex}.
41+
\end{document}
Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
1-
# Test PDF
1+
# Test PDF files
22

33
This folder contains test PDFs for JabRef.
44

55
In case they are generated using LaTeX, the source is available at `src/test/latex` with the same directory structure.
6+
7+
## `multiple-meta-data.pdf`
8+
9+
This PDF contains multiple sources for metadata:
10+
11+
- PDF metadata
12+
- BibTeX code on the first page
13+
- Embedded file `multiple-meta-data.bib`
14+
- Plain text (second page)
15+
16+
All of these sources are used to extract the "final" BibEntry.
Binary file not shown.

0 commit comments

Comments
 (0)