-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Generated LaTeX fails to compile for tests #543
Comments
Oh I think this is a glitch coming from the |
I remember trying to quickly work around it some time ago without success, but I don't have your skillz with LaTeX ;) |
From https://pandoc.org/MANUAL.html :
|
Adding the relevant packages mentionned above here : https://github.com/CatalaLang/catala/blob/master/compiler/literate/latex.ml#L64 should do the trick |
@AltGr this package provides the |
I still have the issue, even with the Here I have You can test with it with |
I have |
ah don't update then 😨 |
I confirm that for me, the following Catala source : Le test ci-dessus doit donner le résultat suivant à l'exécution.
```catala-test-inline
$ catala Interpret --disable-warnings -s NombreDeParts1
[RESULT] Computation successful! Results:
[RESULT]
sortie =
Impot_revenu.NombreDeParts {
-- nombre_de_parts: 3,0
-- abattement: 0,00 €
}
``` Gets weaved into LaTeX into : Le test ci-dessus doit donner le résultat suivant à l'exécution.
\begin{verbatim}
$ catala Interpret --disable-warnings -s NombreDeParts1
[RESULT] Computation successful! Results:
[RESULT]
sortie =
Impot_revenu.NombreDeParts {
-- nombre_de_parts: 3,0
-- abattement: 0,00 €
}
\end{verbatim} With |
Yep the issue is clearly the pandoc output which differs with newer versions:
instead of using verbatim |
haha ok I found it 😓
(if using |
Fixed for now with |
Whenever trying to compile the
tex
obtained from acatala
file containing a```catala-test-inline
section, I obtain the following error:Is it an error with the generation or do I need additional specific LaTeX packages installed ?
The text was updated successfully, but these errors were encountered: