Louis Gesbert
9aed2c7479
support for parsing Module directives
2023-09-27 13:08:11 +02:00
Denis Merigoux
38782fa546
Correct fix
2023-09-22 18:02:44 +02:00
Denis Merigoux
5eba0b6562
Trying
2023-09-21 13:57:54 +02:00
Denis Merigoux
7971cb7651
Break lines in code Latex output
2023-09-21 13:30:30 +02:00
Aminata-Dev
10d147a8b1
Messages renamed to Message (lighter syntax)
2023-06-13 11:50:56 +02:00
Denis Merigoux
4e6efe08da
All renamings done, on with actual refactor
2023-06-02 10:50:33 +02:00
Denis Merigoux
94999dcc25
Correctly generate latex, nowrap option not working anymore?
2023-05-30 12:03:50 +02:00
Louis Gesbert
fc531777c0
Rework and normalise the Marked
interface
...
The module is renamed to `Mark`, and functions renamed to avoid redundancy:
`Marked.mark` is now `Mark.add`
`Marked.unmark` is now `Mark.remove`
`Marked.map_under_mark` is now simply `Mark.map`
etc.
`Marked.same_mark_as` is replaced by `Mark.copy`, but with the arguments
swapped (which seemed more convenient throughout)
Since a type `Mark.t` would indicate a mark, and to avoid confusion, the type
`Marked.t` is renamed to `Mark.ed` as a shorthand for `Mark.marked` ; this part
can easily be removed if that's too much quirkiness.
2023-05-17 17:37:00 +02:00
Denis Merigoux
3122dd7821
Update assets
2023-03-21 16:10:00 +01:00
Denis Merigoux
1a7982d225
Better printing
2023-03-21 11:24:19 +01:00
Louis Gesbert
f1e44619e0
LaTeX literate output: handle pygments coloration from within Catala
...
This leverages the embedded lexer already used for HTML output, and uses the
LaTeX pygments backend to colorise code directly, without the need for `minted`.
2023-03-13 22:33:48 +01:00
Louis Gesbert
5282aec400
LaTeX output: start refactor
2023-03-13 14:44:34 +01:00
Denis Merigoux
f4c92530c6
Update aides_logement and fix bugs to produce an updated working simulator ( #377 )
2023-01-13 12:05:32 +01:00
Louis Gesbert
41eb25e9e0
Fix code in LaTeX literate output
...
pfffff
2023-01-10 12:06:48 +01:00
Denis Merigoux
c31ebdf3f8
Add tabularx as a latex dependency
2023-01-10 10:49:03 +01:00
Denis Merigoux
d2ce111fc2
Better legifrance inclusion
2023-01-04 16:30:14 +01:00
Louis Gesbert
660e5775de
Rename utils to catala_utils
2022-11-28 16:38:09 +01:00
Denis Merigoux
d7b9396e87
Correct lines
2022-11-24 15:17:00 +01:00
Denis Merigoux
1c3d5b9a75
Fix all lines too long problems & update assets
2022-08-29 15:46:06 +02:00
Denis Merigoux
e41e0f9dcc
Fix line length and display lines of code
2022-08-26 12:05:22 +02:00
Denis Merigoux
228b6c830a
Fix line numbers in LaTeX and HTML with leading comments in code
2022-08-10 10:45:49 +02:00
Denis Merigoux
d03d82a0e7
Correctly count columns
2022-08-08 17:25:08 +02:00
Emile Rolley
ba620fca28
ocamlformat: new break-infix rule
2022-08-05 10:55:48 +02:00
Emile Rolley
d85812109c
refactor(compiler): remove the camomile dependency due to the new Utils.String_common module based on Ubase
2022-08-05 10:55:45 +02:00
Louis Gesbert
af0ac95682
Propagate renaming of Pos.mark*
into module Marked
...
this patch is just a bunch of `sed` commands
```shell
cd compiler
sed -i 's/Pos.marked/Marked.pos/g' *.ml* **/*.ml*
sed -i 's/Pos.unmark/Marked.unmark/g' *.ml* **/*.ml*
sed -i 's/Pos\.get_position/Marked.get_mark/g' *.ml* **/*.ml*
sed -i 's/Pos\.same_pos_as/Marked.same_mark_as/g' *.ml* **/*.ml*
sed -i 's/Pos\.map_under_mark/Marked.map_under_mark/g' *.ml* **/*.ml*
sed -i 's/Pos\.mark/Marked.mark/g' *.ml* **/*.ml*
sed -i 's/Pos\.compare_marked/Marked.compare/g' *.ml* **/*.ml*
```
2022-07-11 16:51:54 +02:00
Denis Merigoux
fa0d94a2b6
Remove authors feature whose behavior is not satisfactory
2022-07-08 14:41:19 +02:00
Denis Merigoux
a34a330dc4
Fix breaklines in LaTeX
2022-07-06 17:37:42 +02:00
Denis Merigoux
ec225994af
Add "print_only_law" option
2022-05-26 19:05:06 +02:00
Louis Gesbert
9a95a3554c
Add support for backend plugins using dynlink
2022-05-19 10:40:02 +02:00
Denis Merigoux
b2ca8e36aa
Corrections suggested by @Altgr
2022-05-18 15:32:13 +02:00
Louis Gesbert
f9fc1a8e8b
Formatting: sync with master
2022-05-12 15:10:55 +02:00
Denis Merigoux
8a0d5d7916
Factoring, nitpicks and updates
2022-05-05 14:01:30 +02:00
Denis Merigoux
d9da198740
Prettify family benefits
2022-05-05 14:00:44 +02:00
Denis Merigoux
e3e2e6c4e2
Better PDF
2022-05-04 14:01:24 +02:00
Denis Merigoux
1b439a09bd
Better LaTeX beginning [skip ci]
2022-05-02 16:20:39 +02:00
Denis Merigoux
5670546cc8
Fix lines too long
2022-05-02 16:20:39 +02:00
Emile Rolley
ce2c7081b0
refactor(latex): print warning for too long lines + add instruction to compilation
2022-05-01 21:02:36 +02:00
Denis Merigoux
ad7fe6a21a
Use pandoc to prettify a lot the LaTeX document with tables
2022-04-29 23:47:02 +02:00
Denis Merigoux
1bf4404bb3
Big refactoring of the APL code
2022-04-29 20:18:01 +02:00
Denis Merigoux
91cfcd9b56
Better PDFs
2022-04-29 12:55:09 +02:00
Denis Merigoux
741d151128
Correct indentation and sectionning + BMAF 2022-2023 [skip ci]
2022-04-29 10:50:46 +02:00
Denis Merigoux
6ec2938581
Subsubsubsections in LaTeX output
2022-04-29 10:25:46 +02:00
Denis Merigoux
3f3563cfeb
Print TOC in PDF
2022-04-28 13:32:35 +02:00
Denis Merigoux
2dfb15d888
reformat (sync with master)
2022-03-09 10:43:17 +01:00
Denis Merigoux
757c3eddb6
Remove mathematical symbols replacement
2022-01-19 14:43:42 +01:00
Emile Rolley
7a62147283
fix(latex): render properly the '^' and fix the french babel usage
2021-12-31 20:50:03 +01:00
Emile Rolley
5a06d33d2d
fix(latex): escape '#' inside latex outputs + refactor pre_latexify
2021-12-31 19:47:55 +01:00
Denis Merigoux
a06cbe8614
Fix literate programming problems
2021-11-26 18:07:46 +01:00
Denis Merigoux
bbd50747d9
Big renaming and dir reorg
2021-06-21 11:39:06 +02:00