``` {settings=""} macros: year: "2018" dates: - 1.1.2018 - 11.1.2018 - 31.1.2018 - 21.2.2018 - 21.3.2018 - 25.4.2018 - 30.5.2018 - 19.6.2018 - 1.1.2018 - 1.1.2018 - 1.1.2018 - 1.1.2018 - 1.1.2018 - 21.12.2018 times: - '8:30' - '9:00' - '9:00' - '9:00' - '9:00' - '9:00' - '9:00' - '9:00' - '9:00' - '9:00' - '9:00' - '9:00' - '9:00' lait: "148037" knro: 3 stampformat: Kokous {1} \newline Liite {2} lista {3} sami: 'Yliopistonopettaja Sami Kollanus, puh. 0400248089, [sami.kollanus@jyu.fi](mailto:sami.kollanus@jyu.fi)' eija: 'Opintopäällikkö Eija Hatanpää puh. 0503610988, [opintoasiat@it.jyu.fi](mailto:opintoasiat@it.jyu.fi)' jaana: 'Hallintopäällikkö Jaana Markkanen, puh. 0408053279, [hallintopaallikko-it@jyu.fi](mailto:hallintopaallikko-it@jyu.fi)' editor_templates: templates: TDK: - text: "Listaotsikko" data: | %%lista(⁞,sami)%% - text: "Lakikohta" data: | #- {rd="148037" ra="arvostelu⁞" rl="no" .laki} - text: "Liite" data: | ``` {plugin="showPdf"} %%liite("Uusi liite⁞", "A","1","URLHERE")%% ``` css: |!! .listVideoRunDiv .stem { margin-left: 0em; margin-right: 0em; } .listaotsikko { border-top: navy 2pt solid; margin-top: 10em; } .alkuotsikko { border-top: navy 1pt solid; margin-top: 0em; } .listaotsikko td { width: 50em; } .listaotsikko p { font-size: smaller; } .paragraphs .listaotsikko table th { background-color: initial; border: none; font-weight: normal; padding: 0; } .paragraphs .listaotsikko table td { background-color: initial; border: none; font-weight: normal; padding: 0; } .paragraphs .listaotsikko table { background-color: initial; border: none; font-weight: normal; margin-bottom: 0; } .laki { font-style: italic; font-size: x-small; } .smallertable td { font-size: smaller; text-align: left; } .smallertable th { font-size: smaller; text-align: left; } .laki p { font-size: small; margin-left: 1em; } .laki ol { font-size: x-small; } a.xvideoname { display: list-item; text-align: -webkit-match-parent; margin-left: 2.5em; margin-top: -1.5em; padding-top: 0em; } .reveal .laki p { visibility: collapse; } @media print and (color) { .paragraphs .showVideo{ display: block !important; } } !! texmacros: xtexdocumentclass: 'extbook' texautonumber: 1 texforcetoplevel: 'chapter' texforcesonlysectionnumber: 1 tex: true texfont: \usepackage[default]{sourcesanspro} texmacros: |!! \newcommand{\alkuotsikko}[1]{#1} \newcommand{\listaotsikko}[1]{\newpage #1} \newcommand{\laki}[1]{\begin{adjustwidth}{0.5cm}{0.2cm}\footnotesize \it{#1}\end{adjustwidth}} \newcommand{\smallertable}[1] { {\footnotesize{#1}} } \newcommand{\valmistelija}[1]{\begin{adjustwidth}{0.2cm}{1cm}\footnotesize #1\end{adjustwidth}} \renewcommand{\smallVideoRunDiv}[1]{\begin{itemize} \tightlist \item #1 \end{itemize}} !! globalmacros: A:|!! {% if tex %} \begin{tabular}{p{10cm} l} JYVÄSKYLÄN YLIOPISTO & KOKOUSKUTSU \\ Informaatioteknologian tiedekunta & \\ \end{tabular} {% else %}
JYVÄSKYLÄN YLIOPISTO | KOKOUSKUTSU -------------------------------|---------------- Informaatioteknologian tiedekunta |
{% endif %} # TIEDEKUNTANEUVOSTON KOKOUS %%kokous%% Aika %%dates[nr]%% klo %%klo%% Paikka %%paikka%% !! ADDFOREVERY:|!! {% macro lista(n,esittelija) -%} {% if tex %} \pagebreak \begin{tabular}{p{10cm} l} JYVÄSKYLÄN YLIOPISTO & Asialista %%kokous%% \\ Informaatioteknologian tiedekunta & %%pvm%% \\ Tiedekuntaneuvosto & {% if n %}Lista %%n%%{% endif %} \end{tabular} {% if esittelija %}[Asian valmistelija: %%esittelija%%]{.valmistelija}{% endif %} {% else %}

!================!Page Break!================!

-----
JYVÄSKYLÄN YLIOPISTO | Asialista %%kokous%% -------------------------------|---------------- Informaatioteknologian tiedekunta |%%pvm%% Tiedekuntaneuvosto |{% if n %}Lista %%n%%{% endif %} {% if esittelija %}

Asian valmistelija: %%esittelija%%

{% endif %}
{% endif %} {%- endmacro %} {% macro liite(selitys,liiteNro,lista,linkki) -%} {% set server = "https://tim.jyu.fi" %} {% if linkki.startswith('http') %} {% set server = "" %} {% endif %} iframe: true open: false videoicon: false xdocicon: false stem: "%%selitys%%" hidetext: Piilota liite type: list videoname: "(%%dates[knro]%% LIITE %%liiteNro%% / lista %%lista%%," text: Kokous %%dates[knro]%% \newline LIITE %%liiteNro%% / lista %%lista%% doctext: ")" doclink: %%linkki%% stamped-file: width: 800 height: 600 file: %%linkki%% texprint: "- %%selitys%% ([%%teksti%%](%%server+linkki%%))" {%- endmacro %} !! ```