Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge branch 'release/2.0.1'
  • Loading branch information
kthoden committed Sep 30, 2020
2 parents 9108849 + f034181 commit 55edc10
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/124_eoatex/preambel/pre_eoa.tex
Expand Up @@ -509,6 +509,8 @@
\newcommand{\EOAref}[1]{\ref{#1}}
% New command for referencing pages
\newcommand{\EOApageref}[1]{\pageref{#1}}
% New command for referencing with text
\newcommand{\EOAtextref}[2]{\hyperref[#1]{#2}}
% New command for label
\newcommand{\EOAlabel}[1]{\phantomsection\label{#1}}
% New command for marking index entries
Expand Down
4 changes: 4 additions & 0 deletions examples/124_eoatex/preambel/pre_xml.tex
Expand Up @@ -218,6 +218,10 @@
\newcommand*{\EOAref}[1]{\begin{xmlelement}{EOAref}%
\ref{#1}\begin{xmlelement}{Label}#1\end{xmlelement}%
\end{xmlelement}}
\newcommand*{\EOAtextref}[2]{\begin{xmlelement}{EOAref}%
\AddAttToLast{type}{text}#2\ref{#1}%
\begin{xmlelement}{Label}#1\end{xmlelement}%
\end{xmlelement}}
\newcommand*{\EOAindex}[1]{\begin{xmlelement}{EOAindex}#1\end{xmlelement}}
\newcommand*{\EOAindexperson}[1]{\begin{xmlelement}{EOAindexperson}#1\end{xmlelement}}
\newcommand*{\EOAindexlocation}[1]{\begin{xmlelement}{EOAindexlocation}#1\end{xmlelement}}
Expand Down
2 changes: 2 additions & 0 deletions examples/124_eoatex/texfiles/05_references.tex
Expand Up @@ -33,6 +33,8 @@
This is the way to enter web addresses:
\EOAurl[2018-08-13]{http://www.edition-open-access.de}.

And here is a feature for links that contain text: \EOAtextref{sec2image2}{An image.}

\EOAsection{Citations}

The bibliographic information is kept in a separate database. The text
Expand Down

0 comments on commit 55edc10

Please sign in to comment.