Added \authorsetup{} and example authorarchive.config.
This commit is contained in:
parent
5e2cf59ade
commit
b7678ba26d
|
@ -73,6 +73,12 @@ works nicely for Acta Informatica.
|
|||
| `startpage` | 1 | The pagenumber of the first page of the paper. |
|
||||
| `publication` | `UNKNOWN PUBLICATION` | Information on the publication. |
|
||||
|
||||
The package also defines a command `\authorsetup{}` which allows to
|
||||
define key value options dynamically. Moreover, if a file
|
||||
`authorarchive.config` exists in the LaTeX search path, it will be
|
||||
loaded automatically. This allows for configuring defaults
|
||||
(e.g., the baseurl) easily.
|
||||
|
||||
## Embedding Bibliography Entries
|
||||
Mostly, it is hard for scientists to find the correct bibtex entry for a paper.
|
||||
One solution to this issue is to embed the respective `.bib`, `.enw`, `.ris`, or `.word.xml` file in the PDF directly.
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
\authorsetup{%
|
||||
baseurl={https://git.logicalhacking.com/adbrucker/authorarchive/src/master}
|
||||
}
|
|
@ -27,7 +27,7 @@
|
|||
}
|
||||
|
||||
\DeclareStringOption[.]{bibtexdir}
|
||||
\DeclareStringOption[https://git.logicalhacking.com/adbrucker/authorarchive/src/master]{baseurl}
|
||||
\DeclareStringOption[https://duckduckgo.com/?q=]{baseurl}
|
||||
\DeclareStringOption[.pdf]{suffix}
|
||||
\DeclareStringOption[UNKOWN PUBLISHER]{publisher}[]
|
||||
\DeclareStringOption[UNKOWN YEAR]{year}[]
|
||||
|
@ -67,6 +67,13 @@
|
|||
}
|
||||
\ProcessKeyvalOptions*
|
||||
|
||||
% Provide command for dynamic configuration seutp
|
||||
\def\authorsetup{\kvsetkeys{AA}}
|
||||
|
||||
% Load local configuration
|
||||
\InputIfFileExists{authorarchive.config}{}{}
|
||||
|
||||
|
||||
\newlength\AA@x
|
||||
\newlength\AA@y
|
||||
\newlength\AA@width
|
||||
|
|
Loading…
Reference in New Issue