Skip to content
Snippets Groups Projects
Commit 05dd9b57 authored by dgelessus's avatar dgelessus
Browse files

Set all attributes in adoc header instead of build.gradle

So they are automatically accessible to other AsciiDoc tools.
parent c3c00592
Branches
No related tags found
No related merge requests found
......@@ -38,8 +38,6 @@ task bibtex() {
asciidoctor {
dependsOn = [bibtex, asciidoctorGemsPrepare]
options doctype: 'book'
outputOptions {
backends = ['html5', 'pdf']
}
......@@ -49,16 +47,6 @@ asciidoctor {
diagram.use()
}
requires = ['asciidoctor-bibtex']
attributes = [
'source-highlighter': 'coderay',
'coderay-linenums-mode': 'table',
'toc': 'left',
'imagesdir': 'images',
'icon': 'font',
'linkattrs': true,
'encoding': 'utf-8',
'bibtex-file': 'combined.bib',
]
}
baseDirFollowsSourceDir()
......
= ProB Handbook
Jens Bendisposto;Joy Clark;Michael Leuschel
:bibtex-file: combined.bib
:coderay-linenums-mode: table
:doctype: book
:encoding: utf-8
:icon: font
:imagesdir: images
:linkattrs:
:source-highlighter: coderay
:toc: left
:xrefstyle: short
:toc:
:leveloffset: +1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment