wip
This commit is contained in:
		
							parent
							
								
									5e703f6298
								
							
						
					
					
						commit
						a1a6d7cff8
					
				
					 6 changed files with 144 additions and 6 deletions
				
			
		| 
						 | 
				
			
			@ -2,6 +2,7 @@
 | 
			
		|||
 | 
			
		||||
#import "cover.typ": cover
 | 
			
		||||
#import "abstracts.typ": abstracts
 | 
			
		||||
#import "todos.typ": todos
 | 
			
		||||
 | 
			
		||||
#let matisse-thesis(
 | 
			
		||||
  // English title, will be used for the document title metadata
 | 
			
		||||
| 
						 | 
				
			
			@ -33,6 +34,8 @@
 | 
			
		|||
  body
 | 
			
		||||
) = {
 | 
			
		||||
 | 
			
		||||
  if draft { todos() }
 | 
			
		||||
 | 
			
		||||
  // ---------- GENERAL ----------
 | 
			
		||||
 | 
			
		||||
  let draft-string = ""
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -12,7 +12,7 @@
 | 
			
		|||
#let todos() = context {
 | 
			
		||||
  if (todo-list.final().len() != 0) and (show-todos.get()) {
 | 
			
		||||
    pagebreak(weak: true)
 | 
			
		||||
    [= TO-DOs]
 | 
			
		||||
    text(size: 2em, weight: "bold", fill:red)[TO-DOs]
 | 
			
		||||
    for t in todo-list.final() {
 | 
			
		||||
      let l =  label(t.first())
 | 
			
		||||
      list.item(link(l)[TODO n°#t.at(1) p.#locate(l).page() : #t.last()])
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue