aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/doc_reform/io_out/rgx.d
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2022-03-07 12:13:48 -0500
committerRalph Amissah <ralph.amissah@gmail.com>2022-03-07 14:40:59 -0500
commit60e34a2acd828681be9043ac710174aee6aba203 (patch)
tree266708eedc0c833d0a55160ee503233013779712 /src/doc_reform/io_out/rgx.d
parentlatex, 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.d2
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