diff options
author | Ralph Amissah <ralph.amissah@gmail.com> | 2022-03-07 12:13:48 -0500 |
---|---|---|
committer | Ralph Amissah <ralph.amissah@gmail.com> | 2022-03-07 14:40:59 -0500 |
commit | 60e34a2acd828681be9043ac710174aee6aba203 (patch) | |
tree | 266708eedc0c833d0a55160ee503233013779712 /src/doc_reform/io_out/rgx.d | |
parent | latex, pdf headers, some removed (diff) |
latex, pagebreaks, make headers
- for book, article and manually set pagebreaks,
not fully utilized but flexibility introduced
Diffstat (limited to 'src/doc_reform/io_out/rgx.d')
-rw-r--r-- | src/doc_reform/io_out/rgx.d | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/doc_reform/io_out/rgx.d b/src/doc_reform/io_out/rgx.d index 3aaf420..37ad39c 100644 --- a/src/doc_reform/io_out/rgx.d +++ b/src/doc_reform/io_out/rgx.d @@ -54,6 +54,8 @@ module doc_reform.io_out.rgx; static template spineRgxOut() { static struct RgxO { + static make_breakpage = ctRegex!(`new=(?P<breakpage>.+?)(?:;|$)`); + static make_breakcolumn = ctRegex!(`break=(?P<breakcolumn>.+?)(?:;|$)`,); static newline = ctRegex!("\n", "mg"); static space = ctRegex!(`[ ]`, "mg"); static spaces_keep = ctRegex!(`(?P<keep_spaces>^[ ]+|[ ]{2,})`, "mg"); // code, verse, block |