Added duration literal

This commit is contained in:
Denis Merigoux 2021-03-15 14:57:11 +01:00
parent 766059a62d
commit 7edc3aa768
No known key found for this signature in database
GPG Key ID: EE99DCFA365C3EE3
3 changed files with 20 additions and 5 deletions

View File

@ -1,2 +1,4 @@
syntax.pdf: syntax.tex
latexmk -pdf -halt-on-error -shell-escape -pvc syntax.tex
latexmk -pdf -halt-on-error -shell-escape -pvc syntax.tex
.PRECIOUS .SECONDARY: syntax.pdf

BIN
doc/syntax/syntax.pdf Normal file

Binary file not shown.

View File

@ -67,7 +67,6 @@ Code block&
\vspace*{-1.75em}
\begin{minted}{catala_en}
```catala
```
\end{minted}
\vspace*{-1.75em}
@ -75,7 +74,6 @@ Code block&
\vspace*{-1.75em}
\begin{minted}{catala_fr}
```catala
```
\end{minted}
\vspace*{-1.75em}
@ -84,7 +82,6 @@ Metadata block&
\vspace*{-1.75em}
\begin{minted}{catala_en}
> Begin metadata
> End metadata
\end{minted}
\vspace*{-1.75em}
@ -92,7 +89,6 @@ Metadata block&
\vspace*{-1.75em}
\begin{minted}{catala_fr}
> Début métadonnées
> Fin métadonnées
\end{minted}
\vspace*{-1.75em}
@ -444,6 +440,23 @@ Date&
\end{minted}
\vspace*{-1.75em}
\\
Durations&
\vspace*{-1.75em}
\begin{minted}{catala_en}
```catala
254 day 4 month 1 year
```
\end{minted}
\vspace*{-1.75em}
&
\vspace*{-1.75em}
\begin{minted}{catala_fr}
```catala
254 jour 4 mois 1 an
```
\end{minted}
\vspace*{-1.75em}
\\
Boolean&
\vspace*{-1.75em}
\begin{minted}{catala_en}