From db10b7e4b31bbaf59faa4b106397cffaab673d88 Mon Sep 17 00:00:00 2001 From: Gustav Eek Date: Mon, 9 Dec 2019 19:50:07 +0100 Subject: remove dupliucated code that breaks execution --- .ikiwiki/IkiWiki/Plugin/pandoc.pm | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/.ikiwiki/IkiWiki/Plugin/pandoc.pm b/.ikiwiki/IkiWiki/Plugin/pandoc.pm index 9f3e0c2..be2db51 100755 --- a/.ikiwiki/IkiWiki/Plugin/pandoc.pm +++ b/.ikiwiki/IkiWiki/Plugin/pandoc.pm @@ -64,17 +64,6 @@ close $fh; # END -# activate with 'generate_$format' in meta; turn on all with 'generate_all_formats'. -my %extra_formats = ( - pdf => { ext=>'pdf', label=>'PDF', format=>'latex', extra=>[], order=>1 }, - docx => { ext=>'docx', label=>'DOCX', format=>'docx', extra=>[], order=>2 }, - odt => { ext=>'odt', label=>'ODT', format=>'odt', extra=>[], order=>3 }, - beamer => { ext=>'beamer.pdf', label=>'Beamer', format=>'beamer', extra=>[], order=>4 }, - revealjs => { ext=>'revealjs.html', label=>'RevealJS', format=>'revealjs', extra=>['--self-contained'], order=>5 }, - epub => { ext=>'epub', label=>'EPUB', format=>'epub3', extra=>[], order=>6 }, - latex => { ext=>'tex', label=>'LaTeX', format=>'latex', extra=>['--standalone'], order=>7 }, -); - sub import { # DEBUG Print -- cgit v1.2.3