From e2424c06d3bfa552f35fb288429c3ef4e5357cc7 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Thu, 24 Mar 2022 12:38:41 -0400 Subject: latex output (try tidy); linebreaks more generally --- org/default_regex.org | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'org/default_regex.org') diff --git a/org/default_regex.org b/org/default_regex.org index 86f6d2d..8d7a26f 100644 --- a/org/default_regex.org +++ b/org/default_regex.org @@ -506,6 +506,7 @@ static space = ctRegex!(`[ ]`, "mg"); static spaces_keep = ctRegex!(`(?P^[ ]+|[ ]{2,})`, "mg"); // code, verse, block static spaces_line_start = ctRegex!(`^(?P[ ]+)`, "mg"); static nbsp_char = ctRegex!(`░`, "mg"); +static nbsp_chars = ctRegex!(`[░]+`, "mg"); #+END_SRC ** filename (& path) (including insert file) :insert:file:path:filename: @@ -535,9 +536,12 @@ static src_formalised_file_path_parts = ctRegex!(`(?P(?:[/a #+BEGIN_SRC d /+ line breaks +/ static br_empty_line = ctRegex!(`\n[ ]*\n`, "mg"); -static br_newlines_linebreaks = ctRegex!(`[\n┘┙]`, "mg"); +static br_linebreaks_newlines = ctRegex!(`[\n┘┙]`, "mg"); +static br_linebreaks = ctRegex!(`[┘┙]`, "mg"); static br_line = ctRegex!(`┘`, "mg"); -static br_newline_inline = ctRegex!(`┙`, "mg"); +static br_line_inline = ctRegex!(`┙`, "mg"); +static br_line_spaced = ctRegex!(`┚`, "mg"); +static brln = ctRegex!(`(?:\\\\)+`, "mg"); #+END_SRC *** inline (internal program) markup footnotes endnotes :inline:footnote: -- cgit v1.2.3