pillar-markup / pillar

Markup syntax and associated tools to write and generate documentation, books and slides
MIT License
50 stars 37 forks source link

Local Properties (metadata) are ignored #612

Open Ducasse opened 5 hours ago

Ducasse commented 5 hours ago
{
"title" : "Advanced Object-Oriented Design",
"subtitle" : "",
"author" : "S. Costiou, S. Jordan Montano and S. Ducasse"
}

# Lectures Web Site

- [https://github.com/UnivLille-Meta/IMT-Advanced-OOP/](https://github.com/UnivLille-Meta/IMT-Advanced-OOP/)
- All slides and Videos are at [https://advanced-design-mooc.pharo.org/](https://advanced-design-mooc.pharo.org/)

does not honorate the local properties.

Ducasse commented 5 hours ago

So in the presentation.template authors where hardcoded.

% -*- mode: latex; -*- mustache tags: {{=« »=}} «! the '&' below prevents HTML escaping. »

% add the PATH to retrieve cls and sty beamer styles files
\makeatletter
\providecommand*{\input@path}{}
\edef\input@path{{_result/pdf/_support/templates/beamer}{_result/pdf/_support/templates/beamer/imgs}{_support/templates/beamer}\input@path}
\makeatother

\documentclass[aspectratio=169]{pharoslides} % format 16/9
%\documentclass[aspectratio=169,withvideo]{pharoslides} % format 16/9
% \documentclass{pharoslides} % format 4/3

\graphicspath{{./}{figures/}{../figures/}{_support/templates/beamer/imgs/}{_support/templates/beamer/}}

%Information to be included in the title page:
\title{«& title»}
\subtitle{«& subtitle»}
%\author{}
\author{S.Ducasse, L. Fabresse, G. Polito, and P. Tesone}
\institute{«& complement»}
\slidesid{«& slidesid»}

replacing

%\author{}
\author{«& author»}

worked for slides with author. Now let us check slides without author so see if the default ones are used.

Ducasse commented 4 hours ago

Now I do not get it because

{
"title" : "C3P: Advanced Object-Oriented Design",
 "author" :"Toto",
"subtitle" : "",
}

# Lectures Web Site
- [https://github.com/UnivLille-Meta/Miage23](https://github.com/UnivLille-Meta/Miage23)
- All slides are at [https://rmod-files.lille.inria.fr/?dir=DesignCoffeeClub/](https://rmod-files.lille.inria.fr/?dir=DesignCoffeeClub/)
- 
- 

only takes the values from the pillar.conf file.