Skip to content
Snippets Groups Projects
Commit 09329ace authored by Alice Brenon's avatar Alice Brenon
Browse files

Add pandoc-secnos filter

parent c93d48f7
No related branches found
No related tags found
No related merge requests found
FIGURES = action_t1 arbre boumerang_t7 cathète_t9 dictionaries europe_t16 gelocus_t18 last_page_top_left_t1 sanjo_t29
SNIPPETS = $(wildcard snippets/*.md)
FILTERS = pandoc-fignos
FILTERS = pandoc-secnos pandoc-fignos
FILE_NAME = ICHLL_Brenon
DOCX_STYLE = ICHLL_STYLESHEET.docx
DEPEDENCIES = $(FIGURES:%=ressources/%.png) $(SNIPPETS:%.md=%.png) biblio.bib
......
......@@ -8,7 +8,8 @@
(nongnu packages fonts))
(let
((pandoc-fignos (load "pandoc-fignos.scm")))
((pandoc-fignos (load "pandoc-fignos.scm"))
(pandoc-secnos (load "pandoc-secnos.scm")))
(packages->manifest
(list fontconfig
font-microsoft-times-new-roman
......@@ -16,4 +17,5 @@
pandoc
poppler
texlive
pandoc-fignos)))
pandoc-fignos
pandoc-secnos)))
(use-modules ((gnu packages python-xyz) #:select (python-psutil))
((gnu packages textutils) #:select (python-pandocfilters))
(guix build-system python)
(use-modules (guix build-system python)
((guix download) #:select (url-fetch))
((guix licenses) #:select (gpl3))
(guix packages))
......
(use-modules (guix build-system python)
((guix build utils) #:select (invoke))
((guix download) #:select (url-fetch))
((guix gexp) #:select (gexp))
((guix licenses) #:select (gpl3))
(guix packages))
(let
((python-pandoc-xnos (load "pandoc-xnos.scm")))
(package
(name "python-pandoc-secnos")
(version "2.2.2")
(source (origin
(method url-fetch)
(uri (pypi-uri "pandoc-secnos" version))
(sha256
(base32
"0z0hz9zib3l6c2axjq823xjm9rj55ajb73rc0h0bhsh7rg2gxdqn"))))
(build-system python-build-system)
(arguments
(list #:phases
#~(modify-phases %standard-phases
(add-before 'build 'edit-setup
(lambda _
(invoke "sed" "-i" "65q" "setup.py"))))))
(propagated-inputs (list python-pandoc-xnos))
(home-page "https://github.com/tomduck/pandoc-secnos")
(synopsis "Equation number filter for pandoc")
(description "Equation number filter for pandoc")
(license gpl3)))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment