]> granicus.if.org Git - multimarkdown/commitdiff
NOTE: Tidy up
authorFletcher T. Penney <fletcher@fletcherpenney.net>
Thu, 16 Feb 2017 18:08:35 +0000 (13:08 -0500)
committerFletcher T. Penney <fletcher@fletcherpenney.net>
Thu, 16 Feb 2017 18:08:35 +0000 (13:08 -0500)
src/beamer.c
src/latex.c

index 85c59b01e908daacdb31bd737a84eadc3fcf2601..656fed23e52eb6cd8521ffca69ed722495c28db7 100644 (file)
@@ -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;
index d0493d1738d92599e8b5277205fffcd1c9b18537..0d00a2ab64b721bfbbd63a1778fb2a4ca2fc35cd 100644 (file)
@@ -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;