Commit 71535ab2 authored by Benjamin Engel's avatar Benjamin Engel
Browse files

Initial commit

parents
Pipeline #640 passed with stage
in 33 seconds
*.code-workspace
*concept_document/adoc/.asciidoctor/
concept_document/adoc/generated_images/
\ No newline at end of file
# Cache docker images
cache:
key: one-key-to-rule-them-all
stages:
- build
html:
stage: build
script:
- asciidoctor -r asciidoctor-diagram main.adoc -o P2020_OpenSCENARIO_2-0_Project_Proposal.html
artifacts:
paths:
- P2020_OpenSCENARIO_2-0_Project_Proposal.html
pdf:
stage: build
script:
- asciidoctor-pdf -r asciidoctor-diagram -r asciidoctor-mathematical main.adoc -o P2020_OpenSCENARIO_2-0_Project_Proposal.pdf
artifacts:
paths:
- P2020_OpenSCENARIO_2-0_Project_Proposal.pdf
:revnumber: 1.0
:revdate: 07.02.2020
:toc: left
:toclevels: 2
:sectnums:
// header & footer for html
// pdf themes
:pdf-theme: asam.yml
:pdf-themesdir: 0_resources/themes/pdf
:pdf-fontsdir: 0_resources/fonts
:title-logo-image: image:asam_logo.png[align=left, top=10%, pdfwidth=3in]
:title-page:
// html themes
:stylesheet: asam.css
:stylesdir: 0_resources/themes/html
:linkcs:
:docinfodir: 0_resources/themes/html
:docinfo: shared,private
//
:stem: latexmath
:icons: font
// source highlighting
:source-highlighter: rouge
:rouge-style: base16.solarized.light
//
// :nofooter:
:last-update-label!:
//embed images into html
:data-uri:
:mathematical-format: svg
:imagesdir: images
:imagesoutdir: images/generated_images
\ No newline at end of file
This diff is collapsed.
<div id="footer">
<div id="footer-text">
ASAM Project Proposal
<br/>
Version: {revnumber}
<br/>
Last updated: {docdatetime}
</div>
</div>
\ No newline at end of file
<head>
<div id="asam_logo">
<a href="https://www.asam.net">
<img src="https://code.asam.net/simulation/resources/raw/master/logo.png"></img>
</a>
</div>
</head>
\ No newline at end of file
font:
catalog:
SourceSansPro:
normal: SourceSansPro-Regular.ttf
italic: SourceSansPro-Italic.ttf
bold: SourceSansPro-Bold.ttf
bold_italic: SourceSansPro-BoldItalic.ttf
NotoSans:
normal: NotoSans-Regular.ttf
italic: NotoSans-Italic.ttf
bold: NotoSans-Bold.ttf
bold_italic: NotoSans-BoldItalic.ttf
Hack:
normal: Hack-Regular.ttf
italic: Hack-Italic.ttf
bold: Hack-Bold.ttf
bold_italic: Hack-BoldItalic.ttf
page:
background_color: ffffff
layout: portrait
initial_zoom: FitH
margin: [1in, 0.67in, 0.67in, 0.67in]
# margin_inner and margin_outer keys are used for recto/verso print margins when media=prepress
margin_inner: 0.75in
margin_outer: 0.59in
size: A4
base:
align: justify
# color as hex string (leading # is optional)
font_color: 333333
# color as RGB array
#font_color: [51, 51, 51]
# color as CMYK array (approximated)
#font_color: [0, 0, 0, 0.92]
#font_color: [0, 0, 0, 92%]
font_family: NotoSans
# choose one of these font_size/line_height_length combinations
#font_size: 14
#line_height_length: 20
#font_size: 11.25
#line_height_length: 18
#font_size: 11.2
#line_height_length: 16
font_size: 10.5
#line_height_length: 15
# correct line height for Noto Serif metrics
line_height_length: 12
#font_size: 11.25
#line_height_length: 18
line_height: $base_line_height_length / $base_font_size
font_size_large: round($base_font_size * 1.25)
font_size_small: round($base_font_size * 0.85)
font_size_min: $base_font_size * 0.75
font_style: normal
border_color: eeeeee
border_radius: 4
border_width: 0.5
role:
line-through:
text_decoration: line-through
underline:
text_decoration: underline
big:
font_size: $base_font_size_large
small:
font_size: $base_font_size_small
subtitle:
font_size: 0.8em
font_color: 999999
# FIXME vertical_rhythm is weird; we should think in terms of ems
#vertical_rhythm: $base_line_height_length * 2 / 3
# correct line height for Noto Serif metrics (comes with built-in line height)
vertical_rhythm: $base_line_height_length
horizontal_rhythm: $base_line_height_length
# QUESTION should vertical_spacing be block_spacing instead?
vertical_spacing: $vertical_rhythm
link:
font_color: 428bca
# literal is currently used for inline monospaced in prose and table cells
literal:
font_color: b12146
font_family: Hack
button:
content: "[\u2009%s\u2009]"
font_style: bold
key:
background_color: f5f5f5
border_color: cccccc
border_offset: 2
border_radius: 2
border_width: 0.5
font_family: $literal_font_family
separator: "\u202f+\u202f"
mark:
background_color: ffff00
border_offset: 1
menu:
caret_content: " <font size=\"1.15em\"><color rgb=\"b12146\">\u203a</color></font> "
heading:
align: left
#font_color: 181818
font_color: #006DA2
font_family: $base_font_family
font_style: bold
# h1 is used for part titles (book doctype) or the doctitle (article doctype)
h1_font_size: floor($base_font_size * 2.6)
# h2 is used for chapter titles (book doctype only)
h2_font_size: floor($base_font_size * 2.15)
h3_font_size: round($base_font_size * 1.7)
h4_font_size: $base_font_size_large
h5_font_size: $base_font_size
h6_font_size: $base_font_size_small
#line_height: 1.4
# correct line height for Noto Serif metrics (comes with built-in line height)
line_height: 1
margin_top: $vertical_rhythm * 0.4
margin_bottom: $vertical_rhythm * 0.9
min_height_after: $base_line_height_length * 1.5
title_page:
align: right
logo:
top: 10%
title:
top: 55%
font_size: $heading_h1_font_size
font_style: bold
font_color: #006DA2
line_height: 0.9
subtitle:
font_size: $heading_h3_font_size
font_style: italic
line_height: 1
authors:
margin_top: $base_font_size * 1.25
font_size: $base_font_size_large
font_color: 181818
revision:
margin_top: $base_font_size * 1.25
block:
margin_top: 0
margin_bottom: $vertical_rhythm
caption:
align: left
font_size: $base_font_size * 0.95
font_style: italic
# FIXME perhaps set line_height instead of / in addition to margins?
margin_inside: $vertical_rhythm / 3
#margin_inside: $vertical_rhythm / 4
margin_outside: 0
lead:
font_size: $base_font_size_large
line_height: 1.4
abstract:
font_color: 5c6266
font_size: $lead_font_size
line_height: $lead_line_height
font_style: italic
first_line_font_style: bold
title:
align: center
font_color: $heading_font_color
font_family: $heading_font_family
font_size: $heading_h4_font_size
font_style: $heading_font_style
admonition:
column_rule_color: $base_border_color
column_rule_width: $base_border_width
padding: [0, $horizontal_rhythm, 0, $horizontal_rhythm]
#icon:
# tip:
# name: far-lightbulb
# stroke_color: 111111
# size: 24
label:
text_transform: uppercase
font_style: bold
blockquote:
font_size: $base_font_size_large
border_color: $base_border_color
border_width: 0
border_left_width: 5
# FIXME disable negative padding bottom once margin collapsing is implemented
padding: [0, $horizontal_rhythm, $block_margin_bottom * -0.75, $horizontal_rhythm + $blockquote_border_left_width / 2]
cite_font_size: $base_font_size_small
cite_font_color: 999999
verse:
font_size: $blockquote_font_size
border_color: $blockquote_border_color
border_width: $blockquote_border_width
border_left_width: $blockquote_border_left_width
padding: $blockquote_padding
cite_font_size: $blockquote_cite_font_size
cite_font_color: $blockquote_cite_font_color
# code is used for source blocks (perhaps change to source or listing?)
code:
font_color: $base_font_color
font_family: $literal_font_family
font_size: 10.5
padding: $code_font_size
line_height: 1.25
# line_gap is an experimental property to control how a background color is applied to an inline block element
line_gap: 3.8
background_color: f5f5f5
border_color: cccccc
border_radius: $base_border_radius
border_width: 0.75
conum:
font_family: $literal_font_family
font_color: $literal_font_color
font_size: $base_font_size
line_height: 4 / 3
glyphs: circled
example:
border_color: $base_border_color
border_radius: $base_border_radius
border_width: 0.75
background_color: ffffff
# FIXME reenable padding bottom once margin collapsing is implemented
padding: [$vertical_rhythm, $horizontal_rhythm, 0, $horizontal_rhythm]
image:
align: left
prose:
margin_top: $block_margin_top
margin_bottom: $block_margin_bottom
sidebar:
background_color: eeeeee
border_color: e1e1e1
border_radius: $base_border_radius
border_width: $base_border_width
# FIXME reenable padding bottom once margin collapsing is implemented
padding: [$vertical_rhythm, $vertical_rhythm * 1.25, 0, $vertical_rhythm * 1.25]
title:
align: center
font_color: $heading_font_color
font_family: $heading_font_family
font_size: $heading_h4_font_size
font_style: $heading_font_style
thematic_break:
border_color: $base_border_color
border_style: solid
border_width: $base_border_width
margin_top: $vertical_rhythm * 0.5
margin_bottom: $vertical_rhythm * 1.5
description_list:
term_font_style: bold
term_spacing: $vertical_rhythm / 4
description_indent: $horizontal_rhythm * 1.25
outline_list:
indent: $horizontal_rhythm * 1.5
#marker_font_color: 404040
# NOTE outline_list_item_spacing applies to list items that do not have complex content
item_spacing: $vertical_rhythm / 2
table:
background_color: $page_background_color
border_color: dddddd
border_width: $base_border_width
cell_padding: 3
head:
font_style: bold
border_bottom_width: $base_border_width * 2.5
body:
stripe_background_color: f9f9f9
foot:
background_color: f0f0f0
toc:
indent: $horizontal_rhythm
line_height: 1.4
dot_leader:
#content: ". "
font_color: a9a9a9
#levels: 2 3
footnotes:
font_size: round($base_font_size * 0.75)
item_spacing: $outline_list_item_spacing / 2
running-content:
start-at: toc
header:
font_size: $base_font_size_small
line_height: 1
vertical_align: middle
height: $base_line_height_length * 3.75
border-style: solid
border-width: 0.25
border-color: #CBC8C7
padding: [$base_line_height_length / 2, 3, 0, 1]
verso:
left:
content: 'image:asam_logo.png[pdfwidth=1.25in]'
right:
content: '{doctitle}'
recto:
left:
content: $header_verso_left_content
right:
content: $header_verso_right_content
footer:
font_size: $base_font_size_small
# NOTE if background_color is set, background and border will span width of page
border-style: solid
border-width: 0.25
border-color: #CBC8C7
height: $base_line_height_length * 2.5
line_height: 1
padding: [$base_line_height_length / 2, 1, 0, 1]
vertical_align: top
recto:
#columns: "<50% =0% >50%"
left:
content: '(C) ASAM - v{revnumber}, {docdatetime}'
right:
content: '{page-number}'
verso:
#columns: $footer_recto_columns
left:
content: $footer_recto_left_content
#columns: $footer_recto_columns
right:
content: $footer_recto_right_content
\ No newline at end of file
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