From: Fletcher T. Penney Date: Thu, 16 Feb 2017 18:08:35 +0000 (-0500) Subject: NOTE: Tidy up X-Git-Tag: 0.3.1a^2~12 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=95a62af775c41a6c4511ca30cb669e7a27cf60f5;p=multimarkdown NOTE: Tidy up --- diff --git a/src/beamer.c b/src/beamer.c index 85c59b0..656fed2 100644 --- a/src/beamer.c +++ b/src/beamer.c @@ -105,12 +105,12 @@ void mmd_outline_add_beamer(DString * out, token * current, scratch_pad * scratc // Close out level switch (t_level) { case 3: - pad(out, 2, scratch); + pad(out, 1, scratch); print("\\end{frame}\n\n"); scratch->padded = 2; break; case 4: - pad(out, 2, scratch); + pad(out, 1, scratch); print("}\n\n"); scratch->padded = 2; break; diff --git a/src/latex.c b/src/latex.c index d0493d1..0d00a2a 100644 --- a/src/latex.c +++ b/src/latex.c @@ -63,7 +63,6 @@ #include "parser.h" #include "scanners.h" - #define print(x) d_string_append(out, x) #define print_char(x) d_string_append_c(out, x) #define printf(...) d_string_append_printf(out, __VA_ARGS__) @@ -204,7 +203,6 @@ void mmd_print_localized_char_latex(DString * out, unsigned short type, scratch_ } - void mmd_export_link_latex(DString * out, const char * source, token * text, link * link, scratch_pad * scratch) { attr * a = link->attributes; char * temp_char; @@ -1648,6 +1646,7 @@ void mmd_end_complete_latex(DString * out, const char * source, scratch_pad * sc scratch->padded = 0; } + void mmd_export_citation_list_latex(DString * out, const char * source, scratch_pad * scratch) { if (scratch->used_citations->size > 0) { footnote * note;