summaryrefslogtreecommitdiffstats
path: root/templates/latex/latexobjlink.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/latex/latexobjlink.tpl')
-rw-r--r--templates/latex/latexobjlink.tpl6
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/latex/latexobjlink.tpl b/templates/latex/latexobjlink.tpl
new file mode 100644
index 0000000..89ecc2e
--- /dev/null
+++ b/templates/latex/latexobjlink.tpl
@@ -0,0 +1,6 @@
+<# inputs: obj, text #>
+<% if config.PDF_HYPERLINKS %>
+\hyperlink{<{ obj.fileName|raw }><% if obj.anchor %>_<{ obj.anchor }><% endif %>}{<{ text }>}
+<% else %>
+{\bf <{ text }>}
+<% endif %>