Commit 2f9be28f authored by Matija Obreza's avatar Matija Obreza
Browse files

Build Anno PDF manual

parent 46da3175
......@@ -3,7 +3,4 @@
== Version information
* Matija Obreza, Crop Trust: Initial document, January 2016.
=== Acknowledgements
*TBD*
* Matija Obreza, Crop Trust: PDF version, October 2017.
......@@ -15,14 +15,14 @@ WARNING: Disable Java in all Internet browsers on your computer. Nobody in their
If downloading pre-compiled binaries, make sure to download the latest version of Anno for your platform.
You probably have 64-bit CPU and JRE and should use the package labeled `x86_64`. `x86` is for the 32-bit JRE.
Download the package from the https://bitbucket.org/genesys2/anno-swt/downloads[downloads section]
Download the package from the https://goo.gl/r5QFns[downloads section]
extract if necessary and run the executable for your platform.
[cols="1,4"]
.Resources
|===
|Project page|https://gitlab.croptrust.org/genesys-pgr/anno
|Pre-compiled binaries|https://bitbucket.org/genesys2/anno-swt/downloads
|Pre-compiled binaries|https://goo.gl/r5QFns
|`git` repository URL|https://gitlab.croptrust.org/genesys-pgr/anno.git
|Issue tracker|https://gitlab.croptrust.org/genesys-pgr/anno/issues
|===
# https://github.com/asciidoctor/asciidoctor-pdf/blob/master/docs/theming-guide.adoc
#
title_page:
align: left
background_image: anno-cover.png
page:
layout: portrait
margin: [0.75in, 1in, 0.75in, 1in]
size: A4
base:
font_color: #4d4c46
font_size: 10
line_height_length: 17
line_height: $base_line_height_length / $base_font_size
vertical_rhythm: $base_line_height_length
heading:
font_color: #4d4c46
font_style: bold
line_height: 1.2
margin_bottom: $vertical_rhythm
heading_h1:
font_size: $base_font_size * 1.8
heading_h2:
font_size: $base_font_size * 1.6
heading_h3:
font_size: $base_font_size * 1.4
link:
font_color: #006db4
outline_list:
indent: $base_font_size * 1.5
header:
height: 0.75in
line_height: 1
recto_content:
center: '{document-title}'
verso_content:
center: '{document-title}'
footer:
height: 0.75in
line_height: 1
recto_content:
right: '{page-number} / {page-count}' # {chapter-title} |
verso_content:
left: '{page-number} / {page-count}' # | {chapter-title}
image:
align: center
caption:
align: center
font_color: #4d4c46
font_size: 10
......@@ -188,51 +188,6 @@
<encoding>UTF-8</encoding>
</configuration>
</plugin>
<plugin>
<groupId>org.asciidoctor</groupId>
<artifactId>asciidoctor-maven-plugin</artifactId>
<version>1.5.3</version>
<executions>
<execution>
<id>output-html</id>
<phase>generate-resources</phase>
<goals>
<goal>process-asciidoc</goal>
</goals>
<configuration>
<backend>html5</backend>
<doctype>book</doctype>
<sourceHighlighter>coderay</sourceHighlighter>
<attributes>
<copycss>true</copycss>
<!-- <linkcss /> -->
<toc>left</toc>
<icons>font</icons>
<sectanchors>true</sectanchors>
<idprefix />
<idseparator>-</idseparator>
<docinfo1>true</docinfo1>
</attributes>
</configuration>
</execution>
<!-- <execution> <id>output-docbook</id> <phase>generate-resources</phase>
<goals> <goal>process-asciidoc</goal> </goals> <configuration> <backend>docbook</backend>
<doctype>book</doctype> </configuration> </execution> -->
</executions>
<configuration>
<sourceDirectory>src/main/asciidoc</sourceDirectory>
<preserveDirectories>true</preserveDirectories>
<headerFooter>true</headerFooter>
<numbered>true</numbered>
<!-- <imagesDir>images</imagesDir> -->
<attributes>
<buildNumber>${buildNumber}</buildNumber>
<projectArtifact>${project.artifactId}</projectArtifact>
<projectVersion>${project.version}</projectVersion>
<snippets>${snippetsDirectory}</snippets>
</attributes>
</configuration>
</plugin>
</plugins>
</build>
</project>
......@@ -33,6 +33,7 @@
<modules>
<module>anno-gui</module>
<module>anno-docs</module>
<module>anno-gui-package</module>
<module>anno-gui-macosx</module>
</modules>
......@@ -54,4 +55,4 @@
</plugin>
</plugins>
</build>
</project>
\ No newline at end of file
</project>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment